Update README.md
Browse files
README.md
CHANGED
|
@@ -149,15 +149,84 @@ Thank you to all my generous patrons and donaters!
|
|
| 149 |
|
| 150 |
# Original model card: Upstage's Llama 30B Instruct 2048
|
| 151 |
|
| 152 |
-
|
| 153 |
|
| 154 |
-
|
| 155 |
-
- [Upstage](https://en.upstage.ai)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 156 |
|
| 157 |
-
|
| 158 |
-
-
|
| 159 |
|
| 160 |
-
|
|
|
|
|
|
|
|
|
|
| 161 |
- 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.
|
| 162 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 163 |
[(click here to mail)]: mailto:contact@upstage.ai
|
|
|
|
| 149 |
|
| 150 |
# Original model card: Upstage's Llama 30B Instruct 2048
|
| 151 |
|
| 152 |
+
## Model Details
|
| 153 |
|
| 154 |
+
### Model Developers
|
| 155 |
+
- [Upstage](https://en.upstage.ai)
|
| 156 |
+
|
| 157 |
+
### Backbone Model
|
| 158 |
+
- [LLaMA](https://github.com/facebookresearch/llama/tree/llama_v1)
|
| 159 |
+
|
| 160 |
+
### Variations
|
| 161 |
+
- 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).
|
| 162 |
|
| 163 |
+
### Input
|
| 164 |
+
- Models solely process textual input.
|
| 165 |
|
| 166 |
+
### Output
|
| 167 |
+
- Models solely generate textual output.
|
| 168 |
+
|
| 169 |
+
### License
|
| 170 |
- 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.
|
| 171 |
|
| 172 |
+
### Where to send comments
|
| 173 |
+
- 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).
|
| 174 |
+
|
| 175 |
+
## Dataset Details
|
| 176 |
+
|
| 177 |
+
### Used Datasets
|
| 178 |
+
- [openbookqa](https://huggingface.co/datasets/openbookqa)
|
| 179 |
+
- [sciq](https://huggingface.co/datasets/sciq)
|
| 180 |
+
- [Open-Orca/OpenOrca](https://huggingface.co/datasets/Open-Orca/OpenOrca)
|
| 181 |
+
- [metaeval/ScienceQA_text_only](https://huggingface.co/datasets/metaeval/ScienceQA_text_only)
|
| 182 |
+
- [GAIR/lima](https://huggingface.co/datasets/GAIR/lima)
|
| 183 |
+
|
| 184 |
+
## Hardware and Software
|
| 185 |
+
|
| 186 |
+
### Hardware
|
| 187 |
+
- We utilized an A100 for training our model.
|
| 188 |
+
|
| 189 |
+
### Training Factors
|
| 190 |
+
- 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).
|
| 191 |
+
|
| 192 |
+
## Evaluation Results
|
| 193 |
+
|
| 194 |
+
### Overview
|
| 195 |
+
- We conducted a performance evaluation based on the tasks being evaluated on the [Open LLM Leaderboard](https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard).
|
| 196 |
+
We evaluated our model on four benchmark datasets, which include `ARC-Challenge`, `HellaSwag`, `MMLU`, and `TruthfulQA`.
|
| 197 |
+
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).
|
| 198 |
+
|
| 199 |
+
### Main Results
|
| 200 |
+
| Model | Average | ARC | HellaSwag | MMLU | TruthfulQA |
|
| 201 |
+
|-----------------------------------------------|---------|-------|-----------|-------|------------|
|
| 202 |
+
| llama-65b-instruct (***Ours***, ***Local Reproduction***) | **69.4** | **67.6** | **86.5** | **64.9** | **58.8** |
|
| 203 |
+
| llama-30b-instruct-2048 (***Ours***, ***Open LLM Leaderboard***) | 67.0 | 64.9 | 84.9 | 61.9 | 56.3 |
|
| 204 |
+
| Llama-2-70b-chat-hf | 66.8 | 64.6 | 85.9 | 63.9 | 52.8 |
|
| 205 |
+
| llama-30b-instruct (***Ours***, ***Open LLM Leaderboard***) | 65.2 | 62.5 | 86.2 | 59.4 | 52.8 |
|
| 206 |
+
| falcon-40b-instruct | 63.4 | 61.6 | 84.3 | 55.4 | 52.5 |
|
| 207 |
+
| llama-65b | 62.1 | 57.6 | 84.3 | 63.4 | 43.0 |
|
| 208 |
+
|
| 209 |
+
### Scripts
|
| 210 |
+
- Prepare evaluation environments:
|
| 211 |
+
```
|
| 212 |
+
# clone the repository
|
| 213 |
+
git clone https://github.com/EleutherAI/lm-evaluation-harness.git
|
| 214 |
+
|
| 215 |
+
# check out the specific commit
|
| 216 |
+
git checkout b281b0921b636bc36ad05c0b0b0763bd6dd43463
|
| 217 |
+
|
| 218 |
+
# change to the repository directory
|
| 219 |
+
cd lm-evaluation-harness
|
| 220 |
+
```
|
| 221 |
+
|
| 222 |
+
## Ethical Issues
|
| 223 |
+
|
| 224 |
+
### Ethical Considerations
|
| 225 |
+
- 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.
|
| 226 |
+
|
| 227 |
+
## Contact Us
|
| 228 |
+
|
| 229 |
+
### Why Upstage LLM?
|
| 230 |
+
- [Upstage](https://en.upstage.ai)'s LLM research has yielded remarkable results. Our 30B model size **outperforms all models worldwide**, establishing itself as the leading performer. Recognizing the immense potential for private LLM adoption within companies, we invite you to effortlessly implement a private LLM and fine-tune it with your own data. For a seamless and tailored solution, please don't hesitate to reach out to us [(click here to mail)].
|
| 231 |
+
|
| 232 |
[(click here to mail)]: mailto:contact@upstage.ai
|