Run this model with HF Jobs

Run yuhuanstudio/Yunmo-Next-1B-Instruct-MLX-4bit on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/yuhuanstudio/Yunmo-Next-1B-Instruct-MLX-4bit. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/yuhuanstudio/Yunmo-Next-1B-Instruct-MLX-4bit on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/yuhuanstudio/Yunmo-Next-1B-Instruct-MLX-4bit. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Yunmo-Next-1B-Instruct-MLX-4bit

MLX version of Yunmo-Next-1B-Instruct, for Apple silicon. The architecture (Kimi Delta Attention, grouped-query attention and depth routing) is not part of mlx-lm, so a self-contained MLX implementation ships in this repository (yunmo_next_mlx/). The model, its training, evaluation and limitations are described in the full-precision repository, Yunmo-Next-1B-Instruct.

Research checkpoint. The model is at chance on knowledge multiple choice, often wrong on facts, sometimes repeats itself until the token limit, and has no safety tuning. Read the Limitations of the full-precision card before use.

Weights 4-bit affine, group size 64
Size 0.67 GB
Not quantized tied embedding / output layer, norms, short convolutions, KDA decay parameters (A_log, dt_bias), depth-router parameters

SwiGLU widths are zero-padded to a multiple of 64 so that every linear layer can be quantized; the padding does not change the function.

Usage

pip install mlx tokenizers huggingface_hub
hf download yuhuanstudio/Yunmo-Next-1B-Instruct-MLX-4bit --local-dir Yunmo-Next-1B-Instruct-MLX-4bit
cd Yunmo-Next-1B-Instruct-MLX-4bit
python -m yunmo_next_mlx.generate --model . --chat --prompt "่ซ‹็”จไธ‰ๅฅ่ฉฑไป‹็ดนๅ…‰ๅˆไฝœ็”จใ€‚"
from yunmo_next_mlx import load, generate
from yunmo_next_mlx.generate import encode_chat

model, tokenizer = load(".")
ids = encode_chat(tokenizer, [{"role": "user", "content": "่ซ‹็”จไธ‰ๅฅ่ฉฑไป‹็ดนๅ…‰ๅˆไฝœ็”จใ€‚"}])
new, stats = generate(model, ids, max_new_tokens=256, stop_ids=(65281, tokenizer.token_to_id("<|return|>")))
print(tokenizer.decode([t for t in new if t < 65280]))

encode_chat produces exactly the token IDs of the transformers chat template (reasoning disabled).

Accuracy against the PyTorch release

Bits per byte of the Base weights on the first 50 articles of the new-Wikipedia set (Chinese Wikipedia articles created after 2026-10-01, first 2,000 characters), against the PyTorch Base model in FP32 (0.9174):

Weights Bits per byte ฮ” vs PyTorch FP32
MLX FP32 0.9174 +0.0000
MLX BF16 0.9175 +0.0001
MLX 8-bit 0.9175 +0.0001
MLX 4-bit 0.9254 +0.0080

Greedy decoding, 64 new tokens, number of leading tokens identical to PyTorch FP32. The Chinese article (3,000 tokens) and English text (600 tokens) use the Base weights; the chat prompt uses the Instruct weights against PyTorch Instruct.

MLX weights Chinese (Base) English (Base) Chat (Instruct)
FP32 64 / 64 64 / 64 64 / 64
BF16 64 / 64 64 / 64 42 / 64
8-bit 64 / 64 64 / 64 42 / 64
4-bit 64 / 64 27 / 64 19 / 64

All validation ran on Linux with MLX's CUDA and CPU backends. Neither correctness nor speed has been checked on Apple silicon, and the decode loop is not yet optimized for speed.

License

Apache-2.0, as for Yunmo-Next-1B-Instruct. The weights are released under Apache-2.0, but some fine-tuning sources state their own conditions (AM-Thinking-v1 and AM-DeepSeek-R1 distillations: research use only; tw-instruct-500k: CC BY-NC-SA 4.0; no_robots: CC BY-NC 4.0; some subsets of the FABLE.5 traces: AGPL-3.0). See the Data and License sections of Yunmo-Next-1B-Instruct before commercial use.

Downloads last month
45
Safetensors
Model size
1B params
Tensor type
BF16
ยท
U32
ยท
MLX
Hardware compatibility
Log In to add your hardware

Quantized

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for yuhuanstudio/Yunmo-Next-1B-Instruct-MLX-4bit

Quantized
(6)
this model

Collection including yuhuanstudio/Yunmo-Next-1B-Instruct-MLX-4bit