Downloads · 30 days
135
3% of all-time downloads
bearzi/GLM-5.2-JANGTQ
GLM-5.2-JANGTQ is a text generation model from bearzi. Use it when you need the model to write or continue text. It is set up for mlx. The card lists the license as mit.
JANGTQ (JANG TurboQuant) quantization of zai-org/GLM-5.2 for MLX on Apple silicon. TurboQuant applies a random-sign Hadamard rotation, a per-row FP16 norm, and a per-layer Lloyd-Max codebook to the routed experts, kee…
Downloads · 30 days
135
3% of all-time downloads
All-time downloads
5.4K
Public
Parameters
64.1B
219 GB on disk
Likes
3
Public
Click a slice to open those files.
.safetensors219 GB · 100%
How the weights are stored.
U3245.3B · 71%
From the Hugging Face model README
JANGTQ (JANG TurboQuant) quantization of zai-org/GLM-5.2 for MLX on Apple silicon. TurboQuant applies a random-sign Hadamard rotation, a per-row FP16 norm, and a per-layer Lloyd-Max codebook to the routed experts, keeping the backbone at higher precision.
Profile: JANGTQ_2L
| Component | Precision |
|---|---|
| Attention | FP16 |
| Shared experts | FP16 |
| Routed experts | 2-bit |
| Embeddings | FP16 |
| LM head | FP16 |
jang-tools Python package or vMLX. Not supported by stock MLX, LM Studio, or Ollama.pip install tiktoken blobfile and set TRANSFORMERS_TRUST_REMOTE_CODE=1.import os
os.environ["TRANSFORMERS_TRUST_REMOTE_CODE"] = "1"
from jang_tools.load_jangtq import load_jangtq_model as load
from mlx_lm import generate
model, tokenizer = load("bearzi/GLM-5.2-JANGTQ")
msgs = [{"role": "user", "content": "Write a Python function that reverses a string."}]
prompt = tokenizer.apply_chat_template(msgs, add_generation_prompt=True, tokenize=False)
print(generate(model, tokenizer, prompt=prompt, max_tokens=512, verbose=True))
Inherited from the base model zai-org/GLM-5.2; quantization does not change the upstream terms. Attribution is required only for very large commercial deployments (see the license link above).