LFM2.5-1.2B-JP-202606-MLX-8bit

This is an MLX conversion of LiquidAI/LFM2.5-1.2B-JP-202606 (~1.16 GB).

Precision

Quantized to 8-bit (group size 64). Two precision-sensitive tensors are protected, mirroring llama.cpp's policy:

  • Tied embeddings (= output head) are kept at 8-bit. LiquidAI/LFM2.5-1.2B-JP-202606 ties embed_tokens with the LM head, so a uniform low-bit quant would degrade both the input lookup and the output logits.
  • The MoE router gate is kept in fp32 — not applicable here, since this is a dense model with no experts.

Use with mlx-lm

pip install mlx-lm
from mlx_lm import load, generate

model, tokenizer = load("LiquidAI/LFM2.5-1.2B-JP-202606-MLX-8bit")
messages = [{"role": "user", "content": "日本の首都はどこですか?"}]
prompt = tokenizer.apply_chat_template(messages, add_generation_prompt=True)
print(generate(model, tokenizer, prompt, max_tokens=128, verbose=True))

Conversion

Exported with liquidmlx. See the base model card for license, training, and intended-use details.

Downloads last month
4
Safetensors
Model size
0.3B params
Tensor type
BF16
·
U32
·
MLX
Hardware compatibility
Log In to add your hardware

8-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for LiquidAI/LFM2.5-1.2B-JP-202606-MLX-8bit

Quantized
(6)
this model