Downloads · 30 days
12
5% of all-time downloads
IntelLabs/sqft-phi-3-mini-4k-50-gptq-cs-heu-adapter
sqft-phi-3-mini-4k-50-gptq-cs-heu-adapter is a machine learning model from IntelLabs. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for peft. The card lists the license as apache-2.0.
- Base Model: IntelLabs/sqft-phi-3-mini-4k-50-base-gptq - Sparsity: 50% - Quantization: INT4 (GPTQ) - Finetune Method: SQFT - Finetune data: winogrande, boolq, openbookqa, hellaswag, piqa, ai2arc training dataset (83k)
Downloads · 30 days
12
5% of all-time downloads
All-time downloads
224
Public
Repo size
37.8 MB
Likes
2
Public
Click a slice to open those files.
.bin18.9 MB · 50%
From the Hugging Face model README
BASE_MODEL_NAME=IntelLabs/sqft-phi-3-mini-4k-50-base-gptq
ADAPTER_MODEL_NAME=IntelLabs/sqft-phi-3-mini-4k-50-gptq-cs-heu-adapter
lm_eval --model hf --model_args pretrained=${BASE_MODEL_NAME},peft=${ADAPTER_MODEL_NAME},add_bos_token=True,trust_remote_code=True --tasks piqa,arc_easy,arc_challenge,hellaswag,openbookqa,boolq,winogrande --batch_size auto:4
Refer to our repo for the environment information to run this command.
Repository: https://github.com/IntelLabs/Hardware-Aware-Automated-Machine-Learning/tree/main/SQFT
Paper:
@inproceedings{munoz-etal-2024-sqft,
title = "{SQFT}: Low-cost Model Adaptation in Low-precision Sparse Foundation Models",
author = "Munoz, Juan Pablo and
Yuan, Jinjie and
Jain, Nilesh",
editor = "Al-Onaizan, Yaser and
Bansal, Mohit and
Chen, Yun-Nung",
booktitle = "Findings of the Association for Computational Linguistics: EMNLP 2024",
month = nov,
year = "2024",
address = "Miami, Florida, USA",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2024.findings-emnlp.749",
pages = "12817--12832",
}
Apache-2.0