arielnlee commited on
Commit
d80db0f
1 Parent(s): 90a9267

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +104 -1
README.md CHANGED
@@ -1,3 +1,106 @@
1
  ---
2
- license: llama2
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ language:
3
+ - en
4
  ---
5
+
6
+ # Platypus2-70B-instruct
7
+
8
+ Platypus-70B-instruct is a merge of [`garage-bAInd/Platypus2-70B-instruct`](https://huggingface.co/garage-bAInd/Platypus2-70B) and [`upstage/Llama-2-70b-instruct`](https://huggingface.co/upstage/Llama-2-70b-instruct).
9
+
10
+ ![Platty](./Best_Platty_small.jpeg)
11
+
12
+ ### Benchmark Metrics
13
+
14
+ | Metric | Value |
15
+ |-----------------------|-------|
16
+ | MMLU (5-shot) | -- |
17
+ | ARC (25-shot) | -- |
18
+ | HellaSwag (10-shot) | -- |
19
+ | TruthfulQA (0-shot) | -- |
20
+ | Avg. | -- |
21
+
22
+ We 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.
23
+
24
+ ### Model Details
25
+
26
+ * **Trained by**: **Platypus2-70B** trained by Cole Hunter & Ariel Lee; **Llama-2-70b-instruct** trained by upstageAI
27
+ * **Model type:** **Stable-Platypus2-70B** is an auto-regressive language model based on the LLaMA 2 transformer architecture.
28
+ * **Language(s)**: English
29
+ * **License**: Non-Commercial Creative Commons license ([CC BY-NC-4.0](https://creativecommons.org/licenses/by-nc/4.0/))
30
+
31
+ ### Prompt Template
32
+ ```
33
+ ### Instruction:
34
+
35
+ <prompt> (without the <>)
36
+
37
+ ### Response:
38
+ ```
39
+
40
+ ### Training Dataset
41
+
42
+ STEM and logic based dataset [`garage-bAInd/OpenPlatypus`](https://huggingface.co/datasets/garage-bAInd/OpenPlatypus).
43
+
44
+ ### Training Procedure
45
+
46
+ `garage-bAInd/Platypus2-70B` was instruction fine-tuned using LoRA on 8 A100 80GB. For training details and inference instructions please see the [Platypus](https://github.com/arielnlee/Platypus) GitHub repo.
47
+
48
+ ### Reproducing Evaluation Results
49
+
50
+ Install LM Evaluation Harness:
51
+ ```
52
+ # clone repository
53
+ git clone https://github.com/EleutherAI/lm-evaluation-harness.git
54
+ # change to repo directory
55
+ cd lm-evaluation-harness
56
+ # check out the correct commit
57
+ git checkout b281b0921b636bc36ad05c0b0b0763bd6dd43463
58
+ # install
59
+ pip install -e .
60
+ ```
61
+ Each task was evaluated on a single A100 80GB GPU.
62
+
63
+ ARC:
64
+ ```
65
+ python main.py --model hf-causal-experimental --model_args pretrained=garage-bAInd/Platypus2-70B-instruct --tasks arc_challenge --batch_size 1 --no_cache --write_out --output_path results/Platypus2-70B-instruct/arc_challenge_25shot.json --device cuda --num_fewshot 25
66
+ ```
67
+
68
+ HellaSwag:
69
+ ```
70
+ python main.py --model hf-causal-experimental --model_args pretrained=garage-bAInd/Platypus2-70B-instruct --tasks hellaswag --batch_size 1 --no_cache --write_out --output_path results/Platypus2-70B-instruct/hellaswag_10shot.json --device cuda --num_fewshot 10
71
+ ```
72
+
73
+ MMLU:
74
+ ```
75
+ python main.py --model hf-causal-experimental --model_args pretrained=garage-bAInd/Platypus2-70B-instruct --tasks hendrycksTest-* --batch_size 1 --no_cache --write_out --output_path results/Platypus2-70B-instruct/mmlu_5shot.json --device cuda --num_fewshot 5
76
+ ```
77
+
78
+ TruthfulQA:
79
+ ```
80
+ python main.py --model hf-causal-experimental --model_args pretrained=garage-bAInd/Platypus2-70B-instruct --tasks truthfulqa_mc --batch_size 1 --no_cache --write_out --output_path results/Platypus2-70B-instruct/truthfulqa_0shot.json --device cuda
81
+ ```
82
+ ### Limitations and bias
83
+
84
+ 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.
85
+
86
+ Please see the Responsible Use Guide available at https://ai.meta.com/llama/responsible-use-guide/
87
+
88
+ ### Citations
89
+
90
+ ```bibtex
91
+ @misc{touvron2023llama,
92
+ title={Llama 2: Open Foundation and Fine-Tuned Chat Models},
93
+ 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},
94
+ year={2023},
95
+ eprint={2307.09288},
96
+ archivePrefix={arXiv},
97
+ }
98
+ ```
99
+ ```bibtex
100
+ @article{hu2021lora,
101
+ title={LoRA: Low-Rank Adaptation of Large Language Models},
102
+ author={Hu, Edward J. and Shen, Yelong and Wallis, Phillip and Allen-Zhu, Zeyuan and Li, Yuanzhi and Wang, Shean and Chen, Weizhu},
103
+ journal={CoRR},
104
+ year={2021}
105
+ }
106
+ ```