Note: this INT4 version of Llama-3.2-1B has been quantized to run inference through CPU.
Disclaimer
This quantized model comes with no warrenty. It has been developed experimetally only for research purposes.
This repository only contains contains two files: quantized_model.pt (weights structure) and qconfig.json, and the generated model is a quantized model.
It needs to be used in combination with the base model meta-llama/Llama-3.2-1B.
python teq_inference.py --base meta-llama/Llama-3.2-1B --model_dir ./meta-llama_Llama-3.2-1B-TEQ-int4-gs128-asym --weights_file quantized_weight.pt --config_file qconfig.json --prompt "What If you have got superpowers?" --device cpu
Note: You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference.