Run this model with HF Jobs
Run yuhuanstudio/Yunmo-Next-1B-Instruct-MLX-bf16 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-bf16. 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-bf16 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-bf16. 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.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/yuhuanstudio/Yunmo-Next-1B-Instruct-MLX-bf16. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use yuhuanstudio/Yunmo-Next-1B-Instruct-MLX-bf16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use yuhuanstudio/Yunmo-Next-1B-Instruct-MLX-bf16 with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("yuhuanstudio/Yunmo-Next-1B-Instruct-MLX-bf16") prompt = "Write a story about Einstein" messages = [{"role": "user", "content": prompt}] prompt = tokenizer.apply_chat_template( messages, add_generation_prompt=True ) text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- MLX LM
How to use yuhuanstudio/Yunmo-Next-1B-Instruct-MLX-bf16 with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "yuhuanstudio/Yunmo-Next-1B-Instruct-MLX-bf16"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "yuhuanstudio/Yunmo-Next-1B-Instruct-MLX-bf16" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8080/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "yuhuanstudio/Yunmo-Next-1B-Instruct-MLX-bf16", "messages": [ {"role": "user", "content": "Hello"} ] }' - Atomic Chat
Yunmo-Next-1B-Instruct-MLX-bf16
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 | BF16 (the released weights, unchanged) |
| Size | 2.0 GB |
Usage
pip install mlx tokenizers huggingface_hub
hf download yuhuanstudio/Yunmo-Next-1B-Instruct-MLX-bf16 --local-dir Yunmo-Next-1B-Instruct-MLX-bf16
cd Yunmo-Next-1B-Instruct-MLX-bf16
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
- 33
Quantized
Model tree for yuhuanstudio/Yunmo-Next-1B-Instruct-MLX-bf16
Base model
yuhuanstudio/Yunmo-Next-1B-Base