simaai/Phi-4-mini-instruct-Autoround-Safetensors
Phi-4-mini-instruct Autoround
This is a post-training quantized version of `microsoft/Phi-4-mini-instruct`, prepared as a Hugging Face checkpoint for LLiMa compilation and deployment on Sima.ai hardware.
This checkpoint remains subject to the source model's license, intended-use guidance, and limitations.
Quantization
Calibration used HuggingFaceH4/ultrachat_200k, split train_sft[:512]. Conversations were rendered with the source chat template and packed into 512 sequences of 1,024 tokens without shuffling.
Evaluation
Full wikitext-2-raw-v1 evaluation used the wikitext lm-eval task with no example limit and matched source/quantized settings on 2026-07-31.
Finite-scale validation and a Transformers chat-generation smoke test passed.
Reproduction
This directory includes the model-specific quantize.py, recipe.yaml, and versions.txt.
python quantize.py \
--model-path /path/to/models--microsoft--Phi-4-mini-instruct \
--output-dir /path/to/Phi-4-mini-instruct-Autoround-SafetensorsEnvironment
Exact Python, CUDA, Torch, Transformers, llmcompressor, AutoRound, and compressed-tensors versions are recorded in versions.txt.
Deployment
This is the pre-LLiMa quantized Hugging Face artifact. Compile it separately for the target Sima.ai platform and keep compiler output separate.
Limitations
Quantization quality can vary by language, domain, prompt format, context length, and deployment runtime. Validate the intended workload independently.
