--- language: en license: apache-2.0 --- # SQFT: Low-cost Model Adaptation in Low-precision Sparse Foundation Models - Base Model: [IntelLabs/sqft-mistral-7b-v0.3-50-base-gptq](https://huggingface.co./IntelLabs/sqft-mistral-7b-v0.3-50-base-gptq) - Sparsity: 50% - Quantization: INT4 (GPTQ) - Finetune Method: SQFT + QA-SparsePEFT - Finetune data: [GSM8K](https://huggingface.co./datasets/openai/gsm8k) - Sub-Adapter: Heuristic ### Evaluation ```bash MODEL_PATH=IntelLabs/sqft-qa-sparsepeft-mistral-7b-v0.3-50-gptq-gsm8k-heu lm_eval --model hf --model_args pretrained=${MODEL_PATH},add_bos_token=True,trust_remote_code=True --tasks gsm8k --batch_size auto:4 ``` Refer to our [repo](https://github.com/IntelLabs/Hardware-Aware-Automated-Machine-Learning/tree/main/SQFT) for the environment information to run this command.