Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,99 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
datasets:
|
3 |
+
- sciq
|
4 |
+
- metaeval/ScienceQA_text_only
|
5 |
+
- GAIR/lima
|
6 |
+
- Open-Orca/OpenOrca
|
7 |
+
- openbookqa
|
8 |
+
language:
|
9 |
+
- en
|
10 |
+
tags:
|
11 |
+
- upstage
|
12 |
+
- llama
|
13 |
+
- instruct
|
14 |
+
- instruction
|
15 |
+
pipeline_tag: text-generation
|
16 |
+
---
|
17 |
+
# LLaMa-2-70b-instruct-1024 model card
|
18 |
+
|
19 |
+
## Model Details
|
20 |
+
|
21 |
+
* **Developed by**: [Upstage](https://en.upstage.ai)
|
22 |
+
* **Backbone Model**: [LLaMA-2](https://github.com/facebookresearch/llama/tree/main)
|
23 |
+
* **Language(s)**: English
|
24 |
+
* **Library**: [HuggingFace Transformers](https://github.com/huggingface/transformers)
|
25 |
+
* **License**: Fine-tuned checkpoints is licensed under the Non-Commercial Creative Commons license ([CC BY-NC-4.0](https://creativecommons.org/licenses/by-nc/4.0/))
|
26 |
+
* **Where to send comments**: Instructions on how to provide feedback or comments on a model can be found by opening an issue in the [Hugging Face community's model repository](https://huggingface.co/upstage/Llama-2-70b-instruct-1024/discussions)
|
27 |
+
* **Contact**: For questions and comments about the model, please email `[email protected]`
|
28 |
+
|
29 |
+
## Dataset Details
|
30 |
+
|
31 |
+
### Used Datasets
|
32 |
+
|
33 |
+
- [openbookqa](https://huggingface.co/datasets/openbookqa)
|
34 |
+
- [sciq](https://huggingface.co/datasets/sciq)
|
35 |
+
- [Open-Orca/OpenOrca](https://huggingface.co/datasets/Open-Orca/OpenOrca)
|
36 |
+
- [metaeval/ScienceQA_text_only](https://huggingface.co/datasets/metaeval/ScienceQA_text_only)
|
37 |
+
- [GAIR/lima](https://huggingface.co/datasets/GAIR/lima)
|
38 |
+
|
39 |
+
> No other data was used except for the dataset mentioned above
|
40 |
+
|
41 |
+
### Prompt Template
|
42 |
+
```
|
43 |
+
### System:
|
44 |
+
{System}
|
45 |
+
|
46 |
+
### User:
|
47 |
+
{User}
|
48 |
+
|
49 |
+
### Assistant:
|
50 |
+
{Assistant}
|
51 |
+
```
|
52 |
+
|
53 |
+
## Hardware and Software
|
54 |
+
|
55 |
+
* **Hardware**: We utilized an A100x8 for training our model
|
56 |
+
* **Training Factors**: We fine-tuned this model using a combination of the [DeepSpeed library](https://github.com/microsoft/DeepSpeed) and the [HuggingFace trainer](https://huggingface.co/docs/transformers/main_classes/trainer)
|
57 |
+
|
58 |
+
## Evaluation Results
|
59 |
+
|
60 |
+
### Overview
|
61 |
+
- We conducted a performance evaluation based on the tasks being evaluated on the [Open LLM Leaderboard](https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard).
|
62 |
+
We evaluated our model on four benchmark datasets, which include `ARC-Challenge`, `HellaSwag`, `MMLU`, and `TruthfulQA`.
|
63 |
+
We used the [lm-evaluation-harness repository](https://github.com/EleutherAI/lm-evaluation-harness), specifically commit [b281b0921b636bc36ad05c0b0b0763bd6dd43463](https://github.com/EleutherAI/lm-evaluation-harness/tree/b281b0921b636bc36ad05c0b0b0763bd6dd43463).
|
64 |
+
|
65 |
+
### Main Results
|
66 |
+
| Model | Average | ARC | HellaSwag | MMLU | TruthfulQA |
|
67 |
+
|-----------------------------------------------|---------|-------|-----------|-------|------------|
|
68 |
+
| Llama-2-70b-instruct-1024 (***Ours***, ***Local Reproduction***) | **72.02** | **70.73** | **87.41** | **69.27** | **60.68** |
|
69 |
+
| llama-65b-instruct (***Ours***, ***Local Reproduction***) | 69.4 | 67.6 | 86.5 | 64.9 | 58.8 |
|
70 |
+
| llama-30b-instruct-2048 (***Ours***, ***Open LLM Leaderboard***) | 67.0 | 64.9 | 84.9 | 61.9 | 56.3 |
|
71 |
+
| Llama-2-70b-chat-hf | 66.8 | 64.6 | 85.9 | 63.9 | 52.8 |
|
72 |
+
| llama-30b-instruct (***Ours***, ***Open LLM Leaderboard***) | 65.2 | 62.5 | 86.2 | 59.4 | 52.8 |
|
73 |
+
| falcon-40b-instruct | 63.4 | 61.6 | 84.3 | 55.4 | 52.5 |
|
74 |
+
| llama-65b | 62.1 | 57.6 | 84.3 | 63.4 | 43.0 |
|
75 |
+
|
76 |
+
### Scripts
|
77 |
+
- Prepare evaluation environments:
|
78 |
+
```
|
79 |
+
# clone the repository
|
80 |
+
git clone https://github.com/EleutherAI/lm-evaluation-harness.git
|
81 |
+
|
82 |
+
# check out the specific commit
|
83 |
+
git checkout b281b0921b636bc36ad05c0b0b0763bd6dd43463
|
84 |
+
|
85 |
+
# change to the repository directory
|
86 |
+
cd lm-evaluation-harness
|
87 |
+
```
|
88 |
+
|
89 |
+
## Ethical Issues
|
90 |
+
|
91 |
+
### Ethical Considerations
|
92 |
+
- There were no ethical issues involved, as we did not include the benchmark test set or the training set in the model's training process.
|
93 |
+
|
94 |
+
## Contact Us
|
95 |
+
|
96 |
+
### Why Upstage LLM?
|
97 |
+
- [Upstage](https://en.upstage.ai)'s LLM research has yielded remarkable results. Our 30B model **outperforms all models around the world**, positioning itself as the leading performer. Recognizing the immense potential in implementing private LLM to actual businesses, we invite you to easily apply private LLM and fine-tune it with your own data. For a seamless and tailored solution, please do not hesitate to reach out to us. ► [click here to contact].
|
98 |
+
|
99 |
+
[click here to contact]: mailto:[email protected]
|