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