jinjieyuan
commited on
Update model card
Browse files
README.md
CHANGED
@@ -3,7 +3,7 @@ language: en
|
|
3 |
license: apache-2.0
|
4 |
---
|
5 |
|
6 |
-
# SQFT
|
7 |
|
8 |
- Base Model: [IntelLabs/sqft-mistral-7b-v0.3-50-base-gptq](https://huggingface.co/IntelLabs/sqft-mistral-7b-v0.3-50-base-gptq)
|
9 |
- Sparsity: 50%
|
@@ -15,10 +15,29 @@ license: apache-2.0
|
|
15 |
### Evaluation
|
16 |
|
17 |
```bash
|
18 |
-
|
19 |
-
|
20 |
-
lm_eval --model hf --model_args pretrained=${
|
21 |
```
|
22 |
|
23 |
Refer to our [repo](https://github.com/IntelLabs/Hardware-Aware-Automated-Machine-Learning/tree/main/SQFT) for the environment information to run this command.
|
24 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
license: apache-2.0
|
4 |
---
|
5 |
|
6 |
+
# SQFT Fine-tuned Model: sqft-mistral-7b-v0.3-50-gptq-gsm8k-heu-adapter
|
7 |
|
8 |
- Base Model: [IntelLabs/sqft-mistral-7b-v0.3-50-base-gptq](https://huggingface.co/IntelLabs/sqft-mistral-7b-v0.3-50-base-gptq)
|
9 |
- Sparsity: 50%
|
|
|
15 |
### Evaluation
|
16 |
|
17 |
```bash
|
18 |
+
BASE_MODEL_NAME=IntelLabs/sqft-mistral-7b-v0.3-50-base-gptq
|
19 |
+
ADAPTER_MODEL_NAME=IntelLabs/sqft-mistral-7b-v0.3-50-gptq-gsm8k-heu-adapter
|
20 |
+
lm_eval --model hf --model_args pretrained=${BASE_MODEL_NAME},peft=${ADAPTER_MODEL_NAME},add_bos_token=True,trust_remote_code=True --tasks gsm8k --batch_size auto:4
|
21 |
```
|
22 |
|
23 |
Refer to our [repo](https://github.com/IntelLabs/Hardware-Aware-Automated-Machine-Learning/tree/main/SQFT) for the environment information to run this command.
|
24 |
|
25 |
+
## Model Sources
|
26 |
+
|
27 |
+
- **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)
|
28 |
+
- **Paper:** [SQFT: Low-cost Model Adaptation in Low-precision Sparse Foundation Models]()
|
29 |
+
|
30 |
+
## Citation
|
31 |
+
|
32 |
+
```bash
|
33 |
+
@article{munoz2024sqft,
|
34 |
+
title = {SQFT: Low-cost Model Adaptation in Low-precision Sparse Foundation Models},
|
35 |
+
author={J. Pablo Munoz and Jinjie Yuan and Nilesh Jain},
|
36 |
+
journal={},
|
37 |
+
year={2024}
|
38 |
+
}
|
39 |
+
```
|
40 |
+
|
41 |
+
## License
|
42 |
+
|
43 |
+
Apache-2.0
|