jinjieyuan commited on
Commit
53b7af9
1 Parent(s): 7c5a74d

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +24 -0
README.md ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language: en
3
+ license: apache-2.0
4
+ ---
5
+
6
+ # SQFT: Low-cost Model Adaptation in Low-precision Sparse Foundation Models
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%
10
+ - Quantization: INT4 (GPTQ)
11
+ - Finetune Method: SQFT
12
+ - Finetune data: [winogrande](https://huggingface.co/datasets/winogrande), [boolq](https://huggingface.co/datasets/google/boolq), [openbookqa](https://huggingface.co/datasets/allenai/openbookqa), [hellaswag](https://huggingface.co/datasets/Rowan/hellaswag), [piqa](https://huggingface.co/datasets/piqa), [ai2_arc](https://huggingface.co/datasets/allenai/ai2_arc) training dataset (83k)
13
+ - Sub-Adapter: Heuristic
14
+
15
+ ### Evaluation
16
+
17
+ ```bash
18
+ BASE_MODEL_PATH=IntelLabs/sqft-phi-3-mini-4k-50-base-gptq
19
+ ADAPTER_MODEL_PATH=IntelLabs/sqft-phi-3-mini-4k-50-gptq-cs-heu-adapter
20
+ lm_eval --model hf --model_args pretrained=${BASE_MODEL_PATH},peft=${ADAPTER_MODEL_PATH},add_bos_token=True,trust_remote_code=True --tasks piqa,arc_easy,arc_challenge,hellaswag,openbookqa,boolq,winogrande --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
+