Views
No views yet

### Instruction:
{prompt}
### Response:
2d43387) and August 21st 2023.| Name | Quant method | Bits | Size | Max RAM required | Use case |
|---|---|---|---|---|---|
| openorca-platypus2-13b.ggmlv3.q2_K.bin | q2_K | 2 | 5.74 GB | 8.24 GB | New k-quant method. Uses GGML_TYPE_Q4_K for the attention.vw and feed_forward.w2 tensors, GGML_TYPE_Q2_K for the other tensors. |
| openorca-platypus2-13b.ggmlv3.q3_K_S.bin | q3_K_S | 3 | 5.87 GB | 8.37 GB | New k-quant method. Uses GGML_TYPE_Q3_K for all tensors |
| openorca-platypus2-13b.ggmlv3.q3_K_M.bin | q3_K_M | 3 | 6.53 GB | 9.03 GB | New k-quant method. Uses GGML_TYPE_Q4_K for the attention.wv, attention.wo, and feed_forward.w2 tensors, else GGML_TYPE_Q3_K |
| openorca-platypus2-13b.ggmlv3.q3_K_L.bin | q3_K_L | 3 | 7.14 GB | 9.64 GB | New k-quant method. Uses GGML_TYPE_Q5_K for the attention.wv, attention.wo, and feed_forward.w2 tensors, else GGML_TYPE_Q3_K |
| openorca-platypus2-13b.ggmlv3.q4_0.bin | q4_0 | 4 | 7.32 GB | 9.82 GB | Original quant method, 4-bit. |
| openorca-platypus2-13b.ggmlv3.q4_K_S.bin | q4_K_S | 4 | 7.56 GB | 10.06 GB | New k-quant method. Uses GGML_TYPE_Q4_K for all tensors |
| openorca-platypus2-13b.ggmlv3.q4_K_M.bin | q4_K_M | 4 | 8.06 GB | 10.56 GB | New k-quant method. Uses GGML_TYPE_Q6_K for half of the attention.wv and feed_forward.w2 tensors, else GGML_TYPE_Q4_K |
| openorca-platypus2-13b.ggmlv3.q4_1.bin | q4_1 | 4 | 8.14 GB | 10.64 GB | Original quant method, 4-bit. Higher accuracy than q4_0 but not as high as q5_0. However has quicker inference than q5 models. |
| openorca-platypus2-13b.ggmlv3.q5_0.bin | q5_0 | 5 | 8.95 GB | 11.45 GB | Original quant method, 5-bit. Higher accuracy, higher resource usage and slower inference. |
| openorca-platypus2-13b.ggmlv3.q5_K_S.bin | q5_K_S | 5 | 9.14 GB | 11.64 GB | New k-quant method. Uses GGML_TYPE_Q5_K for all tensors |
| openorca-platypus2-13b.ggmlv3.q5_K_M.bin | q5_K_M | 5 | 9.40 GB | 11.90 GB | New k-quant method. Uses GGML_TYPE_Q6_K for half of the attention.wv and feed_forward.w2 tensors, else GGML_TYPE_Q5_K |
| openorca-platypus2-13b.ggmlv3.q5_1.bin | q5_1 | 5 | 9.76 GB | 12.26 GB | Original quant method, 5-bit. Even higher accuracy, resource usage and slower inference. |
| openorca-platypus2-13b.ggmlv3.q6_K.bin | q6_K | 6 | 10.83 GB | 13.33 GB | New k-quant method. Uses GGML_TYPE_Q8_K for all tensors - 6-bit quantization |
| openorca-platypus2-13b.ggmlv3.q8_0.bin | q8_0 | 8 | 13.83 GB | 16.33 GB | Original quant method, 8-bit. Almost indistinguishable from float16. High resource use and slow. Not recommended for most users. |
llama.cppllama.cpp from commit dadbed99e65252d79f81101a392d0d6497b86caa or earlier../main -t 10 -ngl 32 -m openorca-platypus2-13b.ggmlv3.q4_K_M.bin --color -c 2048 --temp 0.7 --repeat_penalty 1.1 -n -1 -p "### Instruction:\n\nWrite a story about llamas\n\n### Response:"-t 10 to the number of physical CPU cores you have. For example if your system has 8 cores/16 threads, use -t 8.-ngl 32 to the number of layers to offload to GPU. Remove it if you don't have GPU acceleration.-c 2048 to the desired sequence length for this model. For example, -c 4096 for a Llama 2 model. For models that use RoPE, add --rope-freq-base 10000 --rope-freq-scale 0.5 for doubled context, or --rope-freq-base 10000 --rope-freq-scale 0.25 for 4x context.-p <PROMPT> argument with -i -instext-generation-webui
garage-bAInd/Platypus2-13B and Open-Orca/OpenOrcaxOpenChat-Preview2-13B.
| Metric | Value |
|---|---|
| MMLU (5-shot) | 59.5 |
| ARC (25-shot) | 62.88 |
| HellaSwag (10-shot) | 83.19 |
| TruthfulQA (0-shot) | 52.69 |
| Avg. | 64.56 |


### Instruction:
<prompt> (without the <>)
### Response:garage-bAInd/Platypus2-13B trained using STEM and logic based dataset garage-bAInd/Open-Platypus.Open-Orca/OpenOrcaxOpenChat-Preview2-13B trained using a refined subset of most of the GPT-4 data from the OpenOrca dataset.Open-Orca/Platypus2-13B was instruction fine-tuned using LoRA on 1x A100-80GB.
For training details and inference instructions please see the Platypus GitHub repo.# clone repository
git clone https://github.com/EleutherAI/lm-evaluation-harness.git
# change to repo directory
cd lm-evaluation-harness
# check out the correct commit
git checkout b281b0921b636bc36ad05c0b0b0763bd6dd43463
# install
pip install -e .python main.py --model hf-causal-experimental --model_args pretrained=Open-Orca/OpenOrca-Platypus2-13B --tasks arc_challenge --batch_size 1 --no_cache --write_out --output_path results/OpenOrca-Platypus2-13B/arc_challenge_25shot.json --device cuda --num_fewshot 25python main.py --model hf-causal-experimental --model_args pretrained=Open-Orca/OpenOrca-Platypus2-13B --tasks hellaswag --batch_size 1 --no_cache --write_out --output_path results/OpenOrca-Platypus2-13B/hellaswag_10shot.json --device cuda --num_fewshot 10python main.py --model hf-causal-experimental --model_args pretrained=Open-Orca/OpenOrca-Platypus2-13B --tasks hendrycksTest-* --batch_size 1 --no_cache --write_out --output_path results/OpenOrca-Platypus2-13B/mmlu_5shot.json --device cuda --num_fewshot 5python main.py --model hf-causal-experimental --model_args pretrained=Open-Orca/OpenOrca-Platypus2-13B --tasks truthfulqa_mc --batch_size 1 --no_cache --write_out --output_path results/OpenOrca-Platypus2-13B/truthfulqa_0shot.json --device cuda1@software{hunterlee2023orcaplaty1
2 title = {OpenOrcaPlatypus: Llama2-13B Model Instruct-tuned on Filtered OpenOrcaV1 GPT-4 Dataset and Merged with divergent STEM and Logic Dataset Model},
3 author = {Ariel N. Lee and Cole J. Hunter and Nataniel Ruiz and Bleys Goodson and Wing Lian and Guan Wang and Eugene Pentland and Austin Cook and Chanvichet Vong and "Teknium"},
4 year = {2023},
5 publisher = {HuggingFace},
6 journal = {HuggingFace repository},
7 howpublished = {\url{https://huggingface.co/Open-Orca/OpenOrca-Platypus2-13B},
8}
9@article{platypus2023,
10 title={Platypus: Quick, Cheap, and Powerful Refinement of LLMs},
11 author={Ariel N. Lee and Cole J. Hunter and Nataniel Ruiz},
12 booktitle={arXiv preprint arxiv:2308.07317},
13 year={2023}
14}
15@software{OpenOrcaxOpenChatPreview2,
16 title = {OpenOrcaxOpenChatPreview2: Llama2-13B Model Instruct-tuned on Filtered OpenOrcaV1 GPT-4 Dataset},
17 author = {Guan Wang and Bleys Goodson and Wing Lian and Eugene Pentland and Austin Cook and Chanvichet Vong and "Teknium"},
18 year = {2023},
19 publisher = {HuggingFace},
20 journal = {HuggingFace repository},
21 howpublished = {\url{https://https://huggingface.co/Open-Orca/OpenOrcaxOpenChat-Preview2-13B},
22}
23@software{openchat,
24 title = {{OpenChat: Advancing Open-source Language Models with Imperfect Data}},
25 author = {Wang, Guan and Cheng, Sijie and Yu, Qiying and Liu, Changling},
26 doi = {10.5281/zenodo.8105775},
27 url = {https://github.com/imoneoi/openchat},
28 version = {pre-release},
29 year = {2023},
30 month = {7},
31}
32@misc{mukherjee2023orca,
33 title={Orca: Progressive Learning from Complex Explanation Traces of GPT-4},
34 author={Subhabrata Mukherjee and Arindam Mitra and Ganesh Jawahar and Sahaj Agarwal and Hamid Palangi and Ahmed Awadallah},
35 year={2023},
36 eprint={2306.02707},
37 archivePrefix={arXiv},
38 primaryClass={cs.CL}
39}
40@misc{touvron2023llama,
41 title={Llama 2: Open Foundation and Fine-Tuned Chat Models},
42 author={Hugo Touvron and Louis Martin and Kevin Stone and Peter Albert and Amjad Almahairi and Yasmine Babaei and Nikolay Bashlykov and Soumya Batra and Prajjwal Bhargava and Shruti Bhosale and Dan Bikel and Lukas Blecher and Cristian Canton Ferrer and Moya Chen and Guillem Cucurull and David Esiobu and Jude Fernandes and Jeremy Fu and Wenyin Fu and Brian Fuller and Cynthia Gao and Vedanuj Goswami and Naman Goyal and Anthony Hartshorn and Saghar Hosseini and Rui Hou and Hakan Inan and Marcin Kardas and Viktor Kerkez and Madian Khabsa and Isabel Kloumann and Artem Korenev and Punit Singh Koura and Marie-Anne Lachaux and Thibaut Lavril and Jenya Lee and Diana Liskovich and Yinghai Lu and Yuning Mao and Xavier Martinet and Todor Mihaylov and Pushkar Mishra and Igor Molybog and Yixin Nie and Andrew Poulton and Jeremy Reizenstein and Rashi Rungta and Kalyan Saladi and Alan Schelten and Ruan Silva and Eric Michael Smith and Ranjan Subramanian and Xiaoqing Ellen Tan and Binh Tang and Ross Taylor and Adina Williams and Jian Xiang Kuan and Puxin Xu and Zheng Yan and Iliyan Zarov and Yuchen Zhang and Angela Fan and Melanie Kambadur and Sharan Narang and Aurelien Rodriguez and Robert Stojnic and Sergey Edunov and Thomas Scialom},
43 year={2023},
44 eprint= arXiv 2307.09288
45}
46@misc{longpre2023flan,
47 title={The Flan Collection: Designing Data and Methods for Effective Instruction Tuning},
48 author={Shayne Longpre and Le Hou and Tu Vu and Albert Webson and Hyung Won Chung and Yi Tay and Denny Zhou and Quoc V. Le and Barret Zoph and Jason Wei and Adam Roberts},
49 year={2023},
50 eprint={2301.13688},
51 archivePrefix={arXiv},
52 primaryClass={cs.AI}
53}
54@article{hu2021lora,
55 title={LoRA: Low-Rank Adaptation of Large Language Models},
56 author={Hu, Edward J. and Shen, Yelong and Wallis, Phillip and Allen-Zhu, Zeyuan and Li, Yuanzhi and Wang, Shean and Chen, Weizhu},
57 journal={CoRR},
58 year={2021}
59}