Martinichigo commited on
Commit
59b9846
1 Parent(s): 4f1cedb

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +122 -0
README.md CHANGED
@@ -0,0 +1,122 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ library_name: transformers
5
+ license: llama2
6
+ ---
7
+
8
+
9
+ # FashionGPT-V1.1
10
+
11
+ ### Introduction
12
+
13
+ This is a llama-2-70B model combined with multiple adapters via appropriate methods.
14
+
15
+ <br>
16
+
17
+ ### Dataset
18
+
19
+ Here is the list of datasets used:
20
+
21
+ * Orca-style 40K dataset. This dataset is a filtered subset of [OpenOrca-GPT4](<https://huggingface.co/datasets/Open-Orca/OpenOrca/blob/main/1M-GPT4-Augmented.parquet>) and [airoboros-gpt4-1.4.1](<https://huggingface.co/datasets/jondurbin/airoboros-gpt4-1.4.1>).
22
+ * [Samantha](<https://huggingface.co/datasets/ehartford/samantha-data>) made by Eric Hartford and cleaned by us, about 6.5K samples.
23
+ * [oasst1](<https://huggingface.co/datasets/OpenAssistant/oasst1>) cleaned by us, containing about 80K samples.
24
+ * Misconception data generated using misconception data generator in [airoboros_repo](<https://github.com/jondurbin/airoboros>), about 0.5K samples.
25
+ * GPT-4 Multi-turn Conversations. This dataset is a filtered mixture of [openchat sharegpt4](https://huggingface.co/datasets/openchat/openchat_sharegpt4_dataset/) and [Puffin](<https://huggingface.co/datasets/LDJnr/Puffin>), containing about 8K samples.
26
+
27
+ <br>
28
+
29
+ ### Training
30
+
31
+ * We train our adapters with [jondurbin's forked QLoRA repo](<https://github.com/jondurbin/qlora>)
32
+ * We add multi-turn conversational data support from [fastchat](<https://github.com/lm-sys/FastChat/blob/main/fastchat/train/train.py>), with minor modifications.
33
+ * We use bash shell script similar to [airoboros-70b-gpt4-1.4.1](<https://gist.github.com/jondurbin/87fc040b92a3073125ed516b04bc6e19>) to train our adapters.
34
+ * We combine multiple adapters to llama-2-70B with more novel strategy than our [v1 model](<https://huggingface.co/ICBU-NPU/FashionGPT-70B-V1>). The details of combining multiple adapters will be unveiled in our upcoming paper.
35
+
36
+ <br>
37
+
38
+ ### Prompt Template
39
+
40
+ ```
41
+ ### System:
42
+ {System}
43
+ ### User:
44
+ {User}
45
+ ### Assistant:
46
+ {Assistant}
47
+ ```
48
+
49
+ <br>
50
+
51
+ ### Evaluation
52
+
53
+ | Metric | Value |
54
+ |-----------------------|-------|
55
+ | ARC (25-shot) | 71.76 |
56
+ | HellaSwag (10-shot) | 88.20 |
57
+ | MMLU (5-shot) | 70.99 |
58
+ | TruthfulQA (0-shot) | 65.26 |
59
+ | Avg. | 74.05 |
60
+
61
+ <br>
62
+
63
+ ### license disclaimer
64
+
65
+ This model is bound by the license & usage restrictions of the original Llama-2 model. And comes with no warranty or gurantees of any kind.
66
+
67
+ <br>
68
+
69
+ ### Limitations & Biases
70
+
71
+ 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.
72
+
73
+ Please see the Responsible Use Guide available at <https://ai.meta.com/llama/responsible-use-guide/>
74
+
75
+ <br>
76
+
77
+ ### Citiation:
78
+
79
+ * airoboros: <https://github.com/jondurbin/airoboros>
80
+ * samantha: <https://erichartford.com/meet-samantha>
81
+ ```bibtex
82
+ @misc{mukherjee2023orca,
83
+ title={Orca: Progressive Learning from Complex Explanation Traces of GPT-4},
84
+ author={Subhabrata Mukherjee and Arindam Mitra and Ganesh Jawahar and Sahaj Agarwal and Hamid Palangi and Ahmed Awadallah},
85
+ year={2023},
86
+ eprint={2306.02707},
87
+ archivePrefix={arXiv},
88
+ primaryClass={cs.CL}
89
+ }
90
+ ```
91
+ ```bibtex
92
+ @article{dettmers2023qlora,
93
+ title={QLoRA: Efficient Finetuning of Quantized LLMs},
94
+ author={Dettmers, Tim and Pagnoni, Artidoro and Holtzman, Ari and Zettlemoyer, Luke},
95
+ journal={arXiv preprint arXiv:2305.14314},
96
+ year={2023}
97
+ }
98
+ ```
99
+ ```bibtex
100
+ @software{touvron2023llama2,
101
+ title={Llama 2: Open Foundation and Fine-Tuned Chat Models},
102
+ author={Hugo Touvron, Louis Martin, Kevin Stone, Peter Albert, Amjad Almahairi, Yasmine Babaei, Nikolay Bashlykov, Soumya Batra, Prajjwal Bhargava,
103
+ Shruti Bhosale, Dan Bikel, Lukas Blecher, Cristian Canton Ferrer, Moya Chen, Guillem Cucurull, David Esiobu, Jude Fernandes, Jeremy Fu, Wenyin Fu, Brian Fuller,
104
+ Cynthia Gao, Vedanuj Goswami, Naman Goyal, Anthony Hartshorn, Saghar Hosseini, Rui Hou, Hakan Inan, Marcin Kardas, Viktor Kerkez Madian Khabsa, Isabel Kloumann,
105
+ Artem Korenev, Punit Singh Koura, Marie-Anne Lachaux, Thibaut Lavril, Jenya Lee, Diana Liskovich, Yinghai Lu, Yuning Mao, Xavier Martinet, Todor Mihaylov,
106
+ Pushkar Mishra, Igor Molybog, Yixin Nie, Andrew Poulton, Jeremy Reizenstein, Rashi Rungta, Kalyan Saladi, Alan Schelten, Ruan Silva, Eric Michael Smith,
107
+ Ranjan Subramanian, Xiaoqing Ellen Tan, Binh Tang, Ross Taylor, Adina Williams, Jian Xiang Kuan, Puxin Xu , Zheng Yan, Iliyan Zarov, Yuchen Zhang, Angela Fan,
108
+ Melanie Kambadur, Sharan Narang, Aurelien Rodriguez, Robert Stojnic, Sergey Edunov, Thomas Scialom},
109
+ year={2023}
110
+ }
111
+ ```
112
+ ```bibtex
113
+ @software{openchat,
114
+ title = {{OpenChat: Advancing Open-source Language Models with Imperfect Data}},
115
+ author = {Wang, Guan and Cheng, Sijie and Yu, Qiying and Liu, Changling},
116
+ doi = {10.5281/zenodo.8105775},
117
+ url = {https://github.com/imoneoi/openchat},
118
+ version = {pre-release},
119
+ year = {2023},
120
+ month = {7},
121
+ }
122
+ ```