richarderkhov/lgaalves_-_llama-2-13b-chat-platypus-gguf overview
llama-2-13b-chat-platypus is an instruction fine-tuned model based on the LLaMA2-7B transformer architecture. ### Benchmark Metrics | Metric | llama-2-13b-chat-platypus | garage-bAInd/Platypus2-13B| llama-2-13b-chat-hf (base) | |-----------------------|-------|-------|-------| | Avg. | 58.8 |61.35| 59.93 | | ARC (25-shot) | 53.84|61.26| 59.04 | | HellaSwag (10-shot) | 80.67|82.56| 81.94 | | MMLU (5-shot) | 54.44|56.7| 54.64 | | TruthfulQA (0-shot) | 46.23|44.86| 44.12 | We use state-of-the-art Language Model Evaluation Harness to run the benchmark tests above, using the same version as the HuggingFace LLM Leaderboard. Please see below for detailed instructions on reproducing benchmark results. ### Model Details Trained by: Luiz G A Alves Model type: llama-2-13b-chat-platypus is an auto-regressive language model based on the LLaMA2 transformer architecture. * Language(s): English ### How to use: or, you can load the model direclty using: ### Training Dataset lgaalves/llama-2-13b-chat-platypus trained using STEM and logic based dataset garage-bAInd/Open-Platypus. ### Training Procedure lgaalves/llama-2-13b-chat-platypus` was instruction fine-tuned using LoRA on 1 A100-40GB and took about 2 hours for completing the training. ### Limitations and bias Llama 2 and fine-tuned variants are a new technology that carries risks with use. Testing conducted to date has been in English, and has not covered, nor could it cover all scenarios. For these reasons, as with all LLMs, Llama 2 and any fine-tuned varient's potential outputs cannot be predicted in advance, and the model may in some instances produce inaccurate, biased or other objectionable responses to user prompts. Therefore, before deploying any applications of Llama 2 variants, developers should perform safety testing and tuning tailored to their specific applications of the model. Please see the Responsible Use Guide available at https://ai.meta.com/llama/responsible-use-guide/ # Open LLM Leaderboard Evaluation Results Detailed results can be found here | Metric | Value | |-----------------------|---------------------------| | Avg. | 47.12 | | ARC (25-shot) | 53.84 | | HellaSwag (10-shot) | 80.67 | | MMLU (5-shot) | 54.44 | | TruthfulQA (0-shot) | 46.23 | | Winogrande (5-shot) | 76.01 | | GSM8K (5-shot) | 12.36 | | DROP (3-shot) | 6.26 |
Repository Files & Downloads
| File | Type | Quantization | Size | Link |
|---|---|---|---|---|
| llama-2-13b-chat-platypus.IQ3_M.gguf | GGUF | IQ3_M | 5.57 GB | Download |
| llama-2-13b-chat-platypus.IQ3_S.gguf | GGUF | IQ3_S | 5.27 GB | Download |
| llama-2-13b-chat-platypus.IQ3_XS.gguf | GGUF | IQ3_XS | 4.99 GB | Download |
| llama-2-13b-chat-platypus.IQ4_NL.gguf | GGUF | IQ4_NL | 6.90 GB | Download |
| llama-2-13b-chat-platypus.IQ4_XS.gguf | GGUF | IQ4_XS | 6.54 GB | Download |
| llama-2-13b-chat-platypus.Q2_K.gguf | GGUF | Q2_K | 4.52 GB | Download |
| llama-2-13b-chat-platypus.Q3_K.gguf | GGUF | Q3_K | 5.90 GB | Download |
| llama-2-13b-chat-platypus.Q3_K_L.gguf | GGUF | Q3_K_L | 6.45 GB | Download |
| llama-2-13b-chat-platypus.Q3_K_M.gguf | GGUF | Q3_K_M | 5.90 GB | Download |
| llama-2-13b-chat-platypus.Q3_K_S.gguf | GGUF | Q3_K_S | 5.27 GB | Download |
| llama-2-13b-chat-platypus.Q4_0.gguf | GGUF | — | 6.86 GB | Download |
| llama-2-13b-chat-platypus.Q4_1.gguf | GGUF | — | 7.61 GB | Download |
| llama-2-13b-chat-platypus.Q4_K.gguf | GGUF | Q4_K | 7.33 GB | Download |
| llama-2-13b-chat-platypus.Q4_K_M.gguf | GGUF | Q4_K_M | 7.33 GB | Download |
| llama-2-13b-chat-platypus.Q4_K_S.gguf | GGUF | Q4_K_S | 6.91 GB | Download |
| llama-2-13b-chat-platypus.Q5_0.gguf | GGUF | — | 8.36 GB | Download |
| llama-2-13b-chat-platypus.Q5_1.gguf | GGUF | — | 9.10 GB | Download |
| llama-2-13b-chat-platypus.Q5_K.gguf | GGUF | Q5_K | 8.60 GB | Download |
| llama-2-13b-chat-platypus.Q5_K_M.gguf | GGUF | Q5_K_M | 8.60 GB | Download |
| llama-2-13b-chat-platypus.Q5_K_S.gguf | GGUF | Q5_K_S | 8.36 GB | Download |
| llama-2-13b-chat-platypus.Q6_K.gguf | GGUF | Q6_K | 9.95 GB | Download |
| llama-2-13b-chat-platypus.Q8_0.gguf | GGUF | — | 12.88 GB | Download |
Model Details Live
Metadata Inspector
Normalized metadata (stored in metadata_json)
{
"metadata": {},
"card_data": {
"frontmatter": {},
"hero_image_url": "",
"summary": "**llama-2-13b-chat-platypus** is an instruction fine-tuned model based on the LLaMA2-7B transformer architecture. ### Benchmark Metrics | Metric | llama-2-13b-chat-platypus | garage-bAInd/Platypus2-13B| llama-2-13b-chat-hf (base) | |-----------------------|-------|-------|-------| | Avg. | 58.8 |**61.35**| 59.93 | | ARC (25-shot) | 53.84|**61.26**| 59.04 | | HellaSwag (10-shot) | 80.67|**82.56**| 81.94 | | MMLU (5-shot) | 54.44|**56.7**| 54.64 | | TruthfulQA (0-shot) | **46.23**|44.86| 44.12 | We use state-of-the-art Language Model Evaluation Harness to run the benchmark tests above, using the same version as the HuggingFace LLM Leaderboard. Please see below for detailed instructions on reproducing benchmark results. ### Model Details * **Trained by**: Luiz G A Alves * **Model type:** **llama-2-13b-chat-platypus** is an auto-regressive language model based on the LLaMA2 transformer architecture. * **Language(s)**: English ### How to use: ``python # Use a pipeline as a high-level helper >>> from transformers import pipeline >>> pipe = pipeline(\"text-generation\", model=\"lgaalves/llama-2-13b-chat-platypus\") >>> question = \"What is a large language model?\" >>> answer = pipe(question) >>> print(answer[0]['generated_text']) ` or, you can load the model direclty using: `python # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained(\"lgaalves/llama-2-13b-chat-platypus\") model = AutoModelForCausalLM.from_pretrained(\"lgaalves/llama-2-13b-chat-platypus\") ` ### Training Dataset lgaalves/llama-2-13b-chat-platypus trained using STEM and logic based dataset garage-bAInd/Open-Platypus. ### Training Procedure lgaalves/llama-2-13b-chat-platypus` was instruction fine-tuned using LoRA on 1 A100-40GB and took about 2 hours for completing the training. ### Limitations and bias Llama 2 and fine-tuned variants are a new technology that carries risks with use. Testing conducted to date has been in English, and has not covered, nor could it cover all scenarios. For these reasons, as with all LLMs, Llama 2 and any fine-tuned varient's potential outputs cannot be predicted in advance, and the model may in some instances produce inaccurate, biased or other objectionable responses to user prompts. Therefore, before deploying any applications of Llama 2 variants, developers should perform safety testing and tuning tailored to their specific applications of the model. Please see the Responsible Use Guide available at https://ai.meta.com/llama/responsible-use-guide/ # Open LLM Leaderboard Evaluation Results Detailed results can be found here | Metric | Value | |-----------------------|---------------------------| | Avg. | 47.12 | | ARC (25-shot) | 53.84 | | HellaSwag (10-shot) | 80.67 | | MMLU (5-shot) | 54.44 | | TruthfulQA (0-shot) | 46.23 | | Winogrande (5-shot) | 76.01 | | GSM8K (5-shot) | 12.36 | | DROP (3-shot) | 6.26 |",
"quick_links": [],
"benchmark_table_html": "",
"readme_markdown": "Quantization made by Richard Erkhov.\n\n[Github](https://github.com/RichardErkhov)\n\n[Discord](https://discord.gg/pvy7H8DZMG)\n\n[Request more models](https://github.com/RichardErkhov/quant_request)\n\n\nllama-2-13b-chat-platypus - GGUF\n- Model creator: https://huggingface.co/lgaalves/\n- Original model: https://huggingface.co/lgaalves/llama-2-13b-chat-platypus/\n\n\n| Name | Quant method | Size |\n| ---- | ---- | ---- |\n| [llama-2-13b-chat-platypus.Q2_K.gguf](https://huggingface.co/RichardErkhov/lgaalves_-_llama-2-13b-chat-platypus-gguf/blob/main/llama-2-13b-chat-platypus.Q2_K.gguf) | Q2_K | 4.52GB |\n| [llama-2-13b-chat-platypus.IQ3_XS.gguf](https://huggingface.co/RichardErkhov/lgaalves_-_llama-2-13b-chat-platypus-gguf/blob/main/llama-2-13b-chat-platypus.IQ3_XS.gguf) | IQ3_XS | 4.99GB |\n| [llama-2-13b-chat-platypus.IQ3_S.gguf](https://huggingface.co/RichardErkhov/lgaalves_-_llama-2-13b-chat-platypus-gguf/blob/main/llama-2-13b-chat-platypus.IQ3_S.gguf) | IQ3_S | 5.27GB |\n| [llama-2-13b-chat-platypus.Q3_K_S.gguf](https://huggingface.co/RichardErkhov/lgaalves_-_llama-2-13b-chat-platypus-gguf/blob/main/llama-2-13b-chat-platypus.Q3_K_S.gguf) | Q3_K_S | 5.27GB |\n| [llama-2-13b-chat-platypus.IQ3_M.gguf](https://huggingface.co/RichardErkhov/lgaalves_-_llama-2-13b-chat-platypus-gguf/blob/main/llama-2-13b-chat-platypus.IQ3_M.gguf) | IQ3_M | 5.57GB |\n| [llama-2-13b-chat-platypus.Q3_K.gguf](https://huggingface.co/RichardErkhov/lgaalves_-_llama-2-13b-chat-platypus-gguf/blob/main/llama-2-13b-chat-platypus.Q3_K.gguf) | Q3_K | 5.9GB |\n| [llama-2-13b-chat-platypus.Q3_K_M.gguf](https://huggingface.co/RichardErkhov/lgaalves_-_llama-2-13b-chat-platypus-gguf/blob/main/llama-2-13b-chat-platypus.Q3_K_M.gguf) | Q3_K_M | 5.9GB |\n| [llama-2-13b-chat-platypus.Q3_K_L.gguf](https://huggingface.co/RichardErkhov/lgaalves_-_llama-2-13b-chat-platypus-gguf/blob/main/llama-2-13b-chat-platypus.Q3_K_L.gguf) | Q3_K_L | 6.45GB |\n| [llama-2-13b-chat-platypus.IQ4_XS.gguf](https://huggingface.co/RichardErkhov/lgaalves_-_llama-2-13b-chat-platypus-gguf/blob/main/llama-2-13b-chat-platypus.IQ4_XS.gguf) | IQ4_XS | 6.54GB |\n| [llama-2-13b-chat-platypus.Q4_0.gguf](https://huggingface.co/RichardErkhov/lgaalves_-_llama-2-13b-chat-platypus-gguf/blob/main/llama-2-13b-chat-platypus.Q4_0.gguf) | Q4_0 | 6.86GB |\n| [llama-2-13b-chat-platypus.IQ4_NL.gguf](https://huggingface.co/RichardErkhov/lgaalves_-_llama-2-13b-chat-platypus-gguf/blob/main/llama-2-13b-chat-platypus.IQ4_NL.gguf) | IQ4_NL | 6.9GB |\n| [llama-2-13b-chat-platypus.Q4_K_S.gguf](https://huggingface.co/RichardErkhov/lgaalves_-_llama-2-13b-chat-platypus-gguf/blob/main/llama-2-13b-chat-platypus.Q4_K_S.gguf) | Q4_K_S | 6.91GB |\n| [llama-2-13b-chat-platypus.Q4_K.gguf](https://huggingface.co/RichardErkhov/lgaalves_-_llama-2-13b-chat-platypus-gguf/blob/main/llama-2-13b-chat-platypus.Q4_K.gguf) | Q4_K | 7.33GB |\n| [llama-2-13b-chat-platypus.Q4_K_M.gguf](https://huggingface.co/RichardErkhov/lgaalves_-_llama-2-13b-chat-platypus-gguf/blob/main/llama-2-13b-chat-platypus.Q4_K_M.gguf) | Q4_K_M | 7.33GB |\n| [llama-2-13b-chat-platypus.Q4_1.gguf](https://huggingface.co/RichardErkhov/lgaalves_-_llama-2-13b-chat-platypus-gguf/blob/main/llama-2-13b-chat-platypus.Q4_1.gguf) | Q4_1 | 7.61GB |\n| [llama-2-13b-chat-platypus.Q5_0.gguf](https://huggingface.co/RichardErkhov/lgaalves_-_llama-2-13b-chat-platypus-gguf/blob/main/llama-2-13b-chat-platypus.Q5_0.gguf) | Q5_0 | 8.36GB |\n| [llama-2-13b-chat-platypus.Q5_K_S.gguf](https://huggingface.co/RichardErkhov/lgaalves_-_llama-2-13b-chat-platypus-gguf/blob/main/llama-2-13b-chat-platypus.Q5_K_S.gguf) | Q5_K_S | 8.36GB |\n| [llama-2-13b-chat-platypus.Q5_K.gguf](https://huggingface.co/RichardErkhov/lgaalves_-_llama-2-13b-chat-platypus-gguf/blob/main/llama-2-13b-chat-platypus.Q5_K.gguf) | Q5_K | 8.6GB |\n| [llama-2-13b-chat-platypus.Q5_K_M.gguf](https://huggingface.co/RichardErkhov/lgaalves_-_llama-2-13b-chat-platypus-gguf/blob/main/llama-2-13b-chat-platypus.Q5_K_M.gguf) | Q5_K_M | 8.6GB |\n| [llama-2-13b-chat-platypus.Q5_1.gguf](https://huggingface.co/RichardErkhov/lgaalves_-_llama-2-13b-chat-platypus-gguf/blob/main/llama-2-13b-chat-platypus.Q5_1.gguf) | Q5_1 | 9.1GB |\n| [llama-2-13b-chat-platypus.Q6_K.gguf](https://huggingface.co/RichardErkhov/lgaalves_-_llama-2-13b-chat-platypus-gguf/blob/main/llama-2-13b-chat-platypus.Q6_K.gguf) | Q6_K | 9.95GB |\n| [llama-2-13b-chat-platypus.Q8_0.gguf](https://huggingface.co/RichardErkhov/lgaalves_-_llama-2-13b-chat-platypus-gguf/blob/main/llama-2-13b-chat-platypus.Q8_0.gguf) | Q8_0 | 12.88GB |\n\n\n\n\nOriginal model description:\n---\nlicense: llama2\ndatasets:\n- garage-bAInd/Open-Platypus\npipeline_tag: text-generation\nlanguage:\n- en\n---\n\n\n# llama-2-13b-chat-platypus\n\n\n**llama-2-13b-chat-platypus** is an instruction fine-tuned model based on the LLaMA2-7B transformer architecture.\n\n\n### Benchmark Metrics\n\n\n| Metric | llama-2-13b-chat-platypus | garage-bAInd/Platypus2-13B| llama-2-13b-chat-hf (base) |\n|-----------------------|-------|-------|-------|\n| Avg. | 58.8 |**61.35**| 59.93 |\n| ARC (25-shot) | 53.84|**61.26**| 59.04 |\n| HellaSwag (10-shot) | 80.67|**82.56**| 81.94 |\n| MMLU (5-shot) | 54.44|**56.7**| 54.64 |\n| TruthfulQA (0-shot) | **46.23**|44.86| 44.12 |\n\n\nWe use state-of-the-art [Language Model Evaluation Harness](https://github.com/EleutherAI/lm-evaluation-harness) to run the benchmark tests above, using the same version as the HuggingFace LLM Leaderboard. Please see below for detailed instructions on reproducing benchmark results.\n\n### Model Details\n\n* **Trained by**: Luiz G A Alves\n* **Model type:** **llama-2-13b-chat-platypus** is an auto-regressive language model based on the LLaMA2 transformer architecture.\n* **Language(s)**: English\n\n### How to use:\n\n```python\n# Use a pipeline as a high-level helper\n>>> from transformers import pipeline\n>>> pipe = pipeline(\"text-generation\", model=\"lgaalves/llama-2-13b-chat-platypus\")\n>>> question = \"What is a large language model?\"\n>>> answer = pipe(question)\n>>> print(answer[0]['generated_text'])\n\n```\n\nor, you can load the model direclty using:\n\n```python\n# Load model directly\nfrom transformers import AutoTokenizer, AutoModelForCausalLM\n\ntokenizer = AutoTokenizer.from_pretrained(\"lgaalves/llama-2-13b-chat-platypus\")\nmodel = AutoModelForCausalLM.from_pretrained(\"lgaalves/llama-2-13b-chat-platypus\")\n```\n\n### Training Dataset\n\n`lgaalves/llama-2-13b-chat-platypus` trained using STEM and logic based dataset [`garage-bAInd/Open-Platypus`](https://huggingface.co/datasets/garage-bAInd/Open-Platypus).\n\n\n### Training Procedure\n\n`lgaalves/llama-2-13b-chat-platypus` was instruction fine-tuned using LoRA on 1 A100-40GB and took about 2 hours for completing the training. \n\n\n### Limitations and bias\n\nLlama 2 and fine-tuned variants are a new technology that carries risks with use. Testing conducted to date has been in English, and has not covered, nor could it cover all scenarios. For these reasons, as with all LLMs, Llama 2 and any fine-tuned varient's potential outputs cannot be predicted in advance, and the model may in some instances produce inaccurate, biased or other objectionable responses to user prompts. Therefore, before deploying any applications of Llama 2 variants, developers should perform safety testing and tuning tailored to their specific applications of the model.\n\nPlease see the Responsible Use Guide available at https://ai.meta.com/llama/responsible-use-guide/\n# [Open LLM Leaderboard Evaluation Results](https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard)\nDetailed results can be found [here](https://huggingface.co/datasets/open-llm-leaderboard/details_lgaalves__llama-2-13b-chat-platypus)\n\n| Metric | Value |\n|-----------------------|---------------------------|\n| Avg. | 47.12 |\n| ARC (25-shot) | 53.84 |\n| HellaSwag (10-shot) | 80.67 |\n| MMLU (5-shot) | 54.44 |\n| TruthfulQA (0-shot) | 46.23 |\n| Winogrande (5-shot) | 76.01 |\n| GSM8K (5-shot) | 12.36 |\n| DROP (3-shot) | 6.26 |\n\n\n",
"related_quantizations": []
},
"tags": [
"gguf",
"endpoints_compatible",
"region:us"
],
"likes": 0,
"downloads": 108,
"gated": false,
"private": false,
"last_modified": "2024-07-24T23:02:36.000Z",
"created_at": "2024-07-24T15:26:04.000Z",
"pipeline_tag": "",
"library_name": ""
}
Source payload excerpt (from Hugging Face API)
{
"_id": "66a11d0c6fa0ebae6186c323",
"id": "RichardErkhov/lgaalves_-_llama-2-13b-chat-platypus-gguf",
"modelId": "RichardErkhov/lgaalves_-_llama-2-13b-chat-platypus-gguf",
"sha": "4c76001a13aa96a2f9a2e909db21fa346eccbbd1",
"createdAt": "2024-07-24T15:26:04.000Z",
"lastModified": "2024-07-24T23:02:36.000Z",
"author": "RichardErkhov",
"downloads": 108,
"likes": 0,
"gated": false,
"private": false,
"pipeline_tag": "",
"library_name": "",
"siblings_count": 24
}