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-phi-3-mini-4k-50-base-gptq](https://huggingface.co/IntelLabs/sqft-phi-3-mini-4k-50-base-gptq)
|
9 |
- Sparsity: 50%
|
@@ -17,11 +17,30 @@ license: apache-2.0
|
|
17 |
```bash
|
18 |
git clone https://github.com/IntelLabs/Hardware-Aware-Automated-Machine-Learning.git haaml && cd haaml/SQFT
|
19 |
|
20 |
-
|
21 |
-
|
22 |
OUTPUT_DIR=./results
|
23 |
-
python eval/evaluate_math.py --base_model_path ${
|
24 |
```
|
25 |
|
26 |
Refer to our [repo](https://github.com/IntelLabs/Hardware-Aware-Automated-Machine-Learning/tree/main/SQFT) for the environment information to run this command.
|
27 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
license: apache-2.0
|
4 |
---
|
5 |
|
6 |
+
# SQFT Fine-tuned Model: sqft-phi-3-mini-4k-50-gptq-math-heu-adapter
|
7 |
|
8 |
- Base Model: [IntelLabs/sqft-phi-3-mini-4k-50-base-gptq](https://huggingface.co/IntelLabs/sqft-phi-3-mini-4k-50-base-gptq)
|
9 |
- Sparsity: 50%
|
|
|
17 |
```bash
|
18 |
git clone https://github.com/IntelLabs/Hardware-Aware-Automated-Machine-Learning.git haaml && cd haaml/SQFT
|
19 |
|
20 |
+
BASE_MODEL_NAME=IntelLabs/sqft-phi-3-mini-4k-50-base-gptq
|
21 |
+
ADAPTER_MODEL_NAME=IntelLabs/sqft-phi-3-mini-4k-50-gptq-math-heu-adapter
|
22 |
OUTPUT_DIR=./results
|
23 |
+
python eval/evaluate_math.py --base_model_path ${BASE_MODEL_NAME} --adapter_model_path ${ADAPTER_MODEL_NAME} --output_dir ${OUTPUT_DIR}
|
24 |
```
|
25 |
|
26 |
Refer to our [repo](https://github.com/IntelLabs/Hardware-Aware-Automated-Machine-Learning/tree/main/SQFT) for the environment information to run this command.
|
27 |
|
28 |
+
## Model Sources
|
29 |
+
|
30 |
+
- **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)
|
31 |
+
- **Paper:** [SQFT: Low-cost Model Adaptation in Low-precision Sparse Foundation Models]()
|
32 |
+
|
33 |
+
## Citation
|
34 |
+
|
35 |
+
```bash
|
36 |
+
@article{munoz2024sqft,
|
37 |
+
title = {SQFT: Low-cost Model Adaptation in Low-precision Sparse Foundation Models},
|
38 |
+
author={J. Pablo Munoz and Jinjie Yuan and Nilesh Jain},
|
39 |
+
journal={},
|
40 |
+
year={2024}
|
41 |
+
}
|
42 |
+
```
|
43 |
+
|
44 |
+
## License
|
45 |
+
|
46 |
+
Apache-2.0
|