Views
No views yet
Qwen/Qwen2.5-14B at depth d=2 (9 levels per weight, 3.47 bits per weight).1from transformers import AutoModelForCausalLM, AutoTokenizer
2
3model = AutoModelForCausalLM.from_pretrained("Entrit/Qwen2.5-14B-trit-uniform-d2")
4tokenizer = AutoTokenizer.from_pretrained("Entrit/Qwen2.5-14B-trit-uniform-d2")transformers compatibility. The on-disk size is therefore the same as the FP16 source. The 3.47-bpw figure refers to the information content of the quantized matrices and is what matters for inference on hardware that consumes the packed trit format directly (see Entrit/tritllm-kernel).| Field | Value |
|---|---|
| Source model | Qwen/Qwen2.5-14B |
| Depth | d=2 (9 levels) |
| Bits per weight | 3.47 |
| Group size | 16 |
| Scale codebook | 27-entry log-spaced (scale_depth=3) |
| Method | Uniform PTQ |
| Quantized layers | all 2D linear matrices |
| Kept FP16 | lm_head, token embeddings, all *_norm layers |
| Codec | tritllm v2 |
@article{stentzel2026ternaryptq,
title = {Balanced Ternary Post-Training Quantization for Large Language Models},
author = {Stentzel, Eric},
year = 2026,
note = {Entrit Systems}
}1git clone https://huggingface.co/Entrit/tritllm-codec
2cd tritllm-codec
3python quantize_model_v2.py --model Qwen/Qwen2.5-14B --configs uniform-d2 --out ./out