Downloads · 30 days
18
4% of all-time downloads
RedHatAI/SparseLLama-2-7b-ultrachat_200k-pruned_50.2of4
SparseLLama-2-7b-ultrachat_200k-pruned_50.2of4 is a text generation model from RedHatAI. Use it when you need the model to write or continue text. It is set up for transformers.
- Model Architecture: Llama-2 - Input: Text - Output: Text - Model Optimizations: - Pruned: 50% 2:4 - Release Date: 6/28/2024 - Version: 1.0 - Model Developers: Neural Magic
Downloads · 30 days
18
4% of all-time downloads
All-time downloads
467
Public
Parameters
6.7B
53.9 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors13.5 GB · 100%
From the Hugging Face model README
Compressed version of Llama-2-7b specialized for text-generation. This model was obtained by fine-tuning the Sparse Foundational model Sparse-Llama-2-7b-pruned_50.2of4 on the ultrachat_200k dataset. It achieves a win rate of 62.1% on the AlpacaEval benchmark (version 1.0) when using Llama-2-70b-chat as evaluator, whereas the dense Llama-2-7b-ultrachat200k model achieves 57.6% win rate.
This model was produced as part if Neural Magic's Sparse Foundational Models initiative, and demostrates the capability of Sparse Foundational Models to transfer to the text-generation domain.
Note: This model uses the chat template from zephyr-7b-beta.
This model is derived from the Sparse Foundational model Sparse-Llama-2-7b-pruned_50.2of4, which was obtained by applying the SparseGPT algorithm to prune Llama-2-7b to 50% sparsity with a 2:4 mask. This optimization reduces the number of parameters by 50%, reducing the disk size and FLOPs by the same level.
This model was evaluated in the AlpacaEval benchmark using Llama-2-70b-chat as evaluator.
| Model | Win rate | Recovery |
|---|---|---|
| Llama-2-7b | 3.7% | -- |
| Llama-2-7b-ultrachat200k | 57.6% | -- |
| SparseLlama-2-7b-ultrachat_200k-pruned_50.2of4 | 62.1% | 108% |