Commit
·
83be984
1
Parent(s):
59aab8d
Update README.md
Browse files
README.md
CHANGED
@@ -2,20 +2,19 @@
|
|
2 |
license: apache-2.0
|
3 |
---
|
4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
Sheared-LLaMA-1.3B is a model pruned and further pre-trained from [meta-llama/Llama-2-7b-hf](https://huggingface.co/meta-llama/Llama-2-7b-hf). We dynamically load data from different domains in the [RedPajama dataset](https://github.com/togethercomputer/RedPajama-Data) to prune and contune pre-train the model. We use 0.4B tokens for pruning and 50B tokens for continued pre-training the pruned model. This model can be loaded with HuggingFace via
|
6 |
|
7 |
```
|
8 |
model = AutoModelForCausalLM.from_pretrained("princeton-nlp/Sheared-LLaMA-1.3B")
|
9 |
```
|
10 |
|
11 |
-
|
12 |
-
**Code**: https://github.com/princeton-nlp/LLM-Shearing
|
13 |
-
**Models**: [Sheared-LLaMA-1.3B](https://huggingface.co/princeton-nlp/Sheared-LLaMA-1.3B), [Sheared-LLaMA-2.7B](https://huggingface.co/princeton-nlp/Sheared-LLaMA-2.7B)
|
14 |
-
|
15 |
-
---
|
16 |
-
|
17 |
-
|
18 |
-
### Downstream Tasks
|
19 |
|
20 |
We evaluate on an extensive set of downstream tasks including reasoning, reading comprehension, language modeling and knowledge intensive tasks. Our Sheared-LLaMA models outperform existing large language models.
|
21 |
|
@@ -40,7 +39,7 @@ We evaluate on an extensive set of downstream tasks including reasoning, reading
|
|
40 |
| Open-LLaMA-3B-v2 | 1T | 55.7 |
|
41 |
| Sheared-LLaMA-2.7B | 50B | 56.7 |
|
42 |
|
43 |
-
|
44 |
```
|
45 |
@article{xia2023sheared,
|
46 |
title={Sheared LLaMA: Accelerating Language Model Pre-training via Structured Pruning},
|
|
|
2 |
license: apache-2.0
|
3 |
---
|
4 |
|
5 |
+
**Paper**: [https://arxiv.org/pdf/2310.06694.pdf](https://arxiv.org/pdf/2310.06694.pdf)
|
6 |
+
**Code**: https://github.com/princeton-nlp/LLM-Shearing
|
7 |
+
**Models**: [Sheared-LLaMA-1.3B](https://huggingface.co/princeton-nlp/Sheared-LLaMA-1.3B), [Sheared-LLaMA-2.7B](https://huggingface.co/princeton-nlp/Sheared-LLaMA-2.7B)
|
8 |
+
|
9 |
+
---
|
10 |
+
|
11 |
Sheared-LLaMA-1.3B is a model pruned and further pre-trained from [meta-llama/Llama-2-7b-hf](https://huggingface.co/meta-llama/Llama-2-7b-hf). We dynamically load data from different domains in the [RedPajama dataset](https://github.com/togethercomputer/RedPajama-Data) to prune and contune pre-train the model. We use 0.4B tokens for pruning and 50B tokens for continued pre-training the pruned model. This model can be loaded with HuggingFace via
|
12 |
|
13 |
```
|
14 |
model = AutoModelForCausalLM.from_pretrained("princeton-nlp/Sheared-LLaMA-1.3B")
|
15 |
```
|
16 |
|
17 |
+
## Downstream Tasks
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
|
19 |
We evaluate on an extensive set of downstream tasks including reasoning, reading comprehension, language modeling and knowledge intensive tasks. Our Sheared-LLaMA models outperform existing large language models.
|
20 |
|
|
|
39 |
| Open-LLaMA-3B-v2 | 1T | 55.7 |
|
40 |
| Sheared-LLaMA-2.7B | 50B | 56.7 |
|
41 |
|
42 |
+
## Bibtex
|
43 |
```
|
44 |
@article{xia2023sheared,
|
45 |
title={Sheared LLaMA: Accelerating Language Model Pre-training via Structured Pruning},
|