jinjieyuan
commited on
Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language: en
|
3 |
+
license: apache-2.0
|
4 |
+
library_name: transformers
|
5 |
+
---
|
6 |
+
|
7 |
+
# SQFT Fine-tuned Model: PA-sqft-sparsepeft-llama-3-8b-20-gsm8k-heu (Patent application requirements, internal use only)
|
8 |
+
|
9 |
+
- Base Model: [IntelLabs/sqft-llama-3-8b-20-base](https://huggingface.co/IntelLabs/sqft-llama-3-8b-20-base)
|
10 |
+
- Sparsity: 20%
|
11 |
+
- Quantization: No
|
12 |
+
- Finetune Method: SQFT + SparsePEFT
|
13 |
+
- Finetune data: [GSM8K](https://huggingface.co/datasets/openai/gsm8k)
|
14 |
+
- Sub-Adapter: Heuristic
|
15 |
+
|
16 |
+
### Evaluation
|
17 |
+
|
18 |
+
```bash
|
19 |
+
lm_eval --model hf --model_args pretrained=${MODEL_PATH},add_bos_token=True,trust_remote_code=True --tasks gsm8k --batch_size auto:4
|
20 |
+
```
|
21 |
+
|
22 |
+
Refer to our [repo](https://github.com/IntelLabs/Hardware-Aware-Automated-Machine-Learning/tree/main/SQFT) for the environment information to run this command.
|
23 |
+
|
24 |
+
## Model Sources
|
25 |
+
|
26 |
+
- **Repository:** [https://github.com/IntelLabs/Hardware-Aware-Automated-Machine-Learning/tree/main/SQFT](https://github.com/IntelLabs/Hardware-Aware-Automated-Machine-Learning/tree/main/SQFT)
|
27 |
+
- **Paper:** [SQFT: Low-cost Model Adaptation in Low-precision Sparse Foundation Models]()
|
28 |
+
|
29 |
+
## Citation
|
30 |
+
|
31 |
+
```bash
|
32 |
+
@article{munoz2024sqft,
|
33 |
+
title = {SQFT: Low-cost Model Adaptation in Low-precision Sparse Foundation Models},
|
34 |
+
author={J. Pablo Munoz and Jinjie Yuan and Nilesh Jain},
|
35 |
+
journal={},
|
36 |
+
year={2024}
|
37 |
+
}
|
38 |
+
```
|
39 |
+
|
40 |
+
## License
|
41 |
+
|
42 |
+
Apache-2.0
|