jinjieyuan commited on
Commit
2c61adb
1 Parent(s): d7a9746

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +46 -0
README.md ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language: en
3
+ license: apache-2.0
4
+ library_name: transformers
5
+ ---
6
+
7
+ # SQFT Fine-tuned Model: sqft-sparsepeft-phi-3-mini-4k-30-math-heu
8
+
9
+ - Base Model: [IntelLabs/sqft-phi-3-mini-4k-30-base](https://huggingface.co/IntelLabs/sqft-phi-3-mini-4k-30-base)
10
+ - Sparsity: 30%
11
+ - Quantization: No
12
+ - Finetune Method: SQFT + SparsePEFT
13
+ - Finetune data: 10K instruction-following math reasoning training dataset from [LLM-Adapters](https://github.com/AGI-Edgerunners/LLM-Adapters) ([math_10k.json](https://github.com/AGI-Edgerunners/LLM-Adapters/blob/main/ft-training_set/math_10k.json))
14
+ - Sub-Adapter: Heuristic
15
+
16
+ ### Evaluation
17
+
18
+ ```bash
19
+ git clone https://github.com/IntelLabs/Hardware-Aware-Automated-Machine-Learning.git haaml && cd haaml/SQFT
20
+
21
+ MODEL_NAME=IntelLabs/sqft-sparsepeft-phi-3-mini-4k-30-math-heu
22
+ OUTPUT_DIR=./results
23
+ python eval/evaluate_math.py --base_model_path ${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