munish0838 commited on
Commit
70d43e7
1 Parent(s): c6c7ae0

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +70 -0
README.md ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pipeline_tag: text-generation
3
+ base_model: nota-ai/st-vicuna-v1.3-5.5b-taylor
4
+ ---
5
+
6
+ # QuantFactory/st-vicuna-v1.3-5.5b-taylor-GGUF
7
+ This is quantized version of [nota-ai/st-vicuna-v1.3-5.5b-taylor](https://huggingface.co/nota-ai/st-vicuna-v1.3-5.5b-taylor) created using llama.cpp
8
+
9
+ # Model Description
10
+
11
+ Shortened LLaMA is a depth-pruned version of LLaMA models & variants for efficient text generation.
12
+
13
+ - **Developed by:** [Nota AI](https://www.nota.ai/)
14
+ - **License:** Non-commercial license
15
+ - **Repository:** https://github.com/Nota-NetsPresso/shortened-llm
16
+ - **Paper:** https://arxiv.org/abs/2402.02834
17
+
18
+ ## Compression Method
19
+ After identifying unimportant Transformer blocks, we perform one-shot pruning and light LoRA-based retraining.
20
+ <details>
21
+ <summary>
22
+ Click to see a method figure.
23
+ </summary>
24
+
25
+ <img alt="method" img src="https://netspresso-research-code-release.s3.us-east-2.amazonaws.com/compressed-llm/st-llama_method.png" width="100%">
26
+
27
+ </details>
28
+
29
+ ## Model Links
30
+ | Source<br>Model | Pruning<br>Ratio | Pruning<br>Criterion | HF Models<br>Link |
31
+ |:---:|:---:|:---:|:---:|
32
+ | LLaMA-1-7B | 20% | PPL | [nota-ai/st-llama-1-5.5b-ppl](https://huggingface.co/nota-ai/st-llama-1-5.5b-ppl) |
33
+ | LLaMA-1-7B | 20% | Taylor+ | [nota-ai/st-llama-1-5.5b-taylor](https://huggingface.co/nota-ai/st-llama-1-5.5b-taylor) |
34
+ | Vicuna-v1.3-7B | 20% | PPL | [nota-ai/st-vicuna-v1.3-5.5b-ppl](https://huggingface.co/nota-ai/st-vicuna-v1.3-5.5b-ppl) |
35
+ | Vicuna-v1.3-7B | 20% | Taylor+ | [nota-ai/st-vicuna-v1.3-5.5b-taylor](https://huggingface.co/nota-ai/st-vicuna-v1.3-5.5b-taylor) |
36
+ | Vicuna-v1.3-13B | 21% | PPL | [nota-ai/st-vicuna-v1.3-10.5b-ppl](https://huggingface.co/nota-ai/st-vicuna-v1.3-10.5b-ppl) |
37
+ | Vicuna-v1.3-13B | 21% | Taylor+ | [nota-ai/st-vicuna-v1.3-10.5b-taylor](https://huggingface.co/nota-ai/st-vicuna-v1.3-10.5b-taylor) |
38
+
39
+ ## Zero-shot Performance & Efficiency Results
40
+ - EleutherAI/lm-evaluation-harness version [3326c54](https://github.com/EleutherAI/lm-evaluation-harness/tree/3326c547a733d598b4377e54be96e194861b964c)
41
+
42
+ <img alt="results" img src="https://netspresso-research-code-release.s3.us-east-2.amazonaws.com/compressed-llm/st-llama_zero-shot_scores.png" width="100%">
43
+
44
+ ## License
45
+ - All rights related to this repository and the compressed models are reserved by Nota Inc.
46
+ - The intended use is strictly limited to research and non-commercial projects.
47
+
48
+ ## Acknowledgments
49
+ - [LLM-Pruner](https://github.com/horseee/LLM-Pruner), which utilizes [LM Evaluation Harness](https://github.com/EleutherAI/lm-evaluation-harness), [PEFT](https://github.com/huggingface/peft), and [Alpaca-LoRA](https://github.com/tloen/alpaca-lora). Thanks for the pioneering work on structured pruning of LLMs!
50
+ - Meta AI's [LLaMA](https://github.com/facebookresearch/llama) and LMSYS Org's [Vicuna](https://github.com/lm-sys/FastChat/blob/main/docs/vicuna_weights_version.md). Thanks for the open-source LLMs!
51
+
52
+ ## Original Model Citation
53
+ ```bibtex
54
+ @article{kim2024shortened,
55
+ title={Shortened LLaMA: A Simple Depth Pruning for Large Language Models},
56
+ author={Kim, Bo-Kyeong and Kim, Geonmin and Kim, Tae-Ho and Castells, Thibault and Choi, Shinkook and Shin, Junho and Song, Hyoung-Kyu},
57
+ journal={arXiv preprint arXiv:2402.02834},
58
+ year={2024},
59
+ url={https://arxiv.org/abs/2402.02834}
60
+ }
61
+ ```
62
+ ```bibtex
63
+ @article{kim2024mefomo,
64
+ title={Shortened LLaMA: A Simple Depth Pruning for Large Language Models},
65
+ author={Kim, Bo-Kyeong and Kim, Geonmin and Kim, Tae-Ho and Castells, Thibault and Choi, Shinkook and Shin, Junho and Song, Hyoung-Kyu},
66
+ journal={ICLR Workshop on Mathematical and Empirical Understanding of Foundation Models (ME-FoMo)},
67
+ year={2024},
68
+ url={https://openreview.net/forum?id=18VGxuOdpu}
69
+ }
70
+ ```