Update README.md
Browse files
README.md
CHANGED
@@ -16,13 +16,96 @@ pipeline_tag: text-generation
|
|
16 |
---
|
17 |
# LLaMa-30b-instruct-2048 model card
|
18 |
|
19 |
-
##
|
20 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
|
22 |
-
|
23 |
-
-
|
24 |
|
25 |
-
|
|
|
|
|
|
|
26 |
- This model is under a **Non-commercial** Bespoke License and governed by the Meta license. You should only use this repository if you have been granted access to the model by filling out [this form](https://docs.google.com/forms/d/e/1FAIpQLSfqNECQnMkycAp2jP4Z9TFX0cGR4uf7b_fBxjY_OjhJILlKGA/viewform), but have either lost your copy of the weights or encountered issues converting them to the Transformers format.
|
27 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
[click here to contact]: mailto:contact@upstage.ai
|
|
|
16 |
---
|
17 |
# LLaMa-30b-instruct-2048 model card
|
18 |
|
19 |
+
## Model Details
|
20 |
+
|
21 |
+
### Model Developers
|
22 |
+
- [Upstage](https://en.upstage.ai)
|
23 |
+
|
24 |
+
### Backbone Model
|
25 |
+
- [LLaMA](https://github.com/facebookresearch/llama/tree/llama_v1)
|
26 |
+
|
27 |
+
### Variations
|
28 |
+
- It has different model parameter sizes and sequence lengths: [30B/1024](https://huggingface.co/upstage/llama-30b-instruct), [30B/2048](https://huggingface.co/upstage/llama-30b-instruct-2048), [65B/1024](https://huggingface.co/upstage/llama-65b-instruct).
|
29 |
|
30 |
+
### Input
|
31 |
+
- Models solely process textual input.
|
32 |
|
33 |
+
### Output
|
34 |
+
- Models solely generate textual output.
|
35 |
+
|
36 |
+
### License
|
37 |
- This model is under a **Non-commercial** Bespoke License and governed by the Meta license. You should only use this repository if you have been granted access to the model by filling out [this form](https://docs.google.com/forms/d/e/1FAIpQLSfqNECQnMkycAp2jP4Z9TFX0cGR4uf7b_fBxjY_OjhJILlKGA/viewform), but have either lost your copy of the weights or encountered issues converting them to the Transformers format.
|
38 |
|
39 |
+
### Where to send comments
|
40 |
+
- 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-30b-instruct-2048/discussions).
|
41 |
+
|
42 |
+
## Dataset Details
|
43 |
+
|
44 |
+
### Used Datasets
|
45 |
+
- [openbookqa](https://huggingface.co/datasets/openbookqa)
|
46 |
+
- [sciq](https://huggingface.co/datasets/sciq)
|
47 |
+
- [Open-Orca/OpenOrca](https://huggingface.co/datasets/Open-Orca/OpenOrca)
|
48 |
+
- [metaeval/ScienceQA_text_only](https://huggingface.co/datasets/metaeval/ScienceQA_text_only)
|
49 |
+
- [GAIR/lima](https://huggingface.co/datasets/GAIR/lima)
|
50 |
+
|
51 |
+
### Prompt Template
|
52 |
+
```
|
53 |
+
### System:
|
54 |
+
{System}
|
55 |
+
|
56 |
+
### User:
|
57 |
+
{User}
|
58 |
+
|
59 |
+
### Assistant:
|
60 |
+
{Assistant}
|
61 |
+
```
|
62 |
+
|
63 |
+
## Hardware and Software
|
64 |
+
|
65 |
+
### Hardware
|
66 |
+
- We utilized an A100x8 for training our model.
|
67 |
+
|
68 |
+
### Training Factors
|
69 |
+
- 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).
|
70 |
+
|
71 |
+
## Evaluation Results
|
72 |
+
|
73 |
+
### Overview
|
74 |
+
- We conducted a performance evaluation based on the tasks being evaluated on the [Open LLM Leaderboard](https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard).
|
75 |
+
We evaluated our model on four benchmark datasets, which include `ARC-Challenge`, `HellaSwag`, `MMLU`, and `TruthfulQA`.
|
76 |
+
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).
|
77 |
+
|
78 |
+
### Main Results
|
79 |
+
| Model | Average | ARC | HellaSwag | MMLU | TruthfulQA |
|
80 |
+
|-----------------------------------------------|---------|-------|-----------|-------|------------|
|
81 |
+
| llama-65b-instruct (***Ours***, ***Local Reproduction***) | **69.4** | **67.6** | **86.5** | **64.9** | **58.8** |
|
82 |
+
| llama-30b-instruct-2048 (***Ours***, ***Open LLM Leaderboard***) | 67.0 | 64.9 | 84.9 | 61.9 | 56.3 |
|
83 |
+
| Llama-2-70b-chat-hf | 66.8 | 64.6 | 85.9 | 63.9 | 52.8 |
|
84 |
+
| llama-30b-instruct (***Ours***, ***Open LLM Leaderboard***) | 65.2 | 62.5 | 86.2 | 59.4 | 52.8 |
|
85 |
+
| falcon-40b-instruct | 63.4 | 61.6 | 84.3 | 55.4 | 52.5 |
|
86 |
+
| llama-65b | 62.1 | 57.6 | 84.3 | 63.4 | 43.0 |
|
87 |
+
|
88 |
+
### Scripts
|
89 |
+
- Prepare evaluation environments:
|
90 |
+
```
|
91 |
+
# clone the repository
|
92 |
+
git clone https://github.com/EleutherAI/lm-evaluation-harness.git
|
93 |
+
|
94 |
+
# check out the specific commit
|
95 |
+
git checkout b281b0921b636bc36ad05c0b0b0763bd6dd43463
|
96 |
+
|
97 |
+
# change to the repository directory
|
98 |
+
cd lm-evaluation-harness
|
99 |
+
```
|
100 |
+
|
101 |
+
## Ethical Issues
|
102 |
+
|
103 |
+
### Ethical Considerations
|
104 |
+
- 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.
|
105 |
+
|
106 |
+
## Contact Us
|
107 |
+
|
108 |
+
### Why Upstage LLM?
|
109 |
+
- [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].
|
110 |
+
|
111 |
[click here to contact]: mailto:contact@upstage.ai
|