Run this model with HF Jobs

Run yuhuanstudio/Yunmo-Next-1B-Instruct-NVFP4 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 and TRL to fine-tune https://huggingface.co/yuhuanstudio/Yunmo-Next-1B-Instruct-NVFP4. 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-NVFP4 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-NVFP4. 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-NVFP4

NVFP4 version of Yunmo-Next-1B-Instruct, a 1.0B-parameter Traditional-Chinese-first model with a hybrid Kimi Delta Attention / grouped-query attention architecture, pretrained from scratch on 19.76B tokens and then instruction-tuned. This card covers the quantized weights; 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.

Quantization

Format NVFP4 weights (FP4 e2m1 values with an FP8 scale per block of 16); activations stay BF16
Library torchao 0.18
Quantized layers 600 of 645 linear layers
Kept in BF16 tied embedding / output layer, the 45 KDA β projections (1,024 → 8), norms, convolutions, router
Source yuhuanstudio/Yunmo-Next-1B-Instruct, revision recorded in quantization-report.json

Quality and speed

Bits per byte on 3,754 Chinese Wikipedia articles created after 2026-10-01 (first 2,000 characters each; independent of the tokenizer). Decode latency per token at 1,024 tokens of context, batch 1, on an RTX 4070 Ti, with the bundled CUDA-graph decoder where the format supports it (bitsandbytes runs the eager loop). The BF16 latency was measured on the Base model, which has the same architecture and size.

Weights Repository Weights in GPU memory Bits per byte ↓ Δ vs BF16 ms / token
BF16 Yunmo-Next-1B-Instruct 2.02 GB 0.9302 — 11.2
INT8 Yunmo-Next-1B-Instruct-INT8 1.08 GB 0.9304 +0.0002 13.6
FP8 Yunmo-Next-1B-Instruct-FP8 1.08 GB 0.9313 +0.0011 16.2
NVFP4 Yunmo-Next-1B-Instruct-NVFP4 0.67 GB 0.9397 +0.0095 107.8
bnb-4bit Yunmo-Next-1B-Instruct-bnb-4bit 0.62 GB 0.9390 +0.0088 138.8

On this GPU every quantized format decodes more slowly than BF16 (this one: 107.8 ms per token); use it to save memory, not for speed.

Hardware: Measured on an RTX 4070 Ti (Ada), which has no FP4 tensor cores, so the weights are dequantized in software. Blackwell GPUs have FP4 tensor cores; we have not measured on one.

Usage

pip install "transformers>=5.14,<6" "flash-linear-attention==0.5.2" "torchao>=0.18"
from transformers import AutoModelForCausalLM, AutoTokenizer

repo = "yuhuanstudio/Yunmo-Next-1B-Instruct-NVFP4"
tokenizer = AutoTokenizer.from_pretrained(repo, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(repo, trust_remote_code=True, device_map="cuda:0").eval()

messages = [{"role": "user", "content": "請用三句話介紹玉山。"}]
ids = tokenizer.apply_chat_template(messages, add_generation_prompt=True, return_tensors="pt",
                                    return_dict=True)["input_ids"].cuda()
stop = tokenizer.convert_tokens_to_ids("<|return|>")
out = model.generate(ids, max_new_tokens=256, stop_token_ids=(stop,))
print(tokenizer.decode(out[0, ids.shape[1]:], skip_special_tokens=True))

The repository includes the model code (trust_remote_code), the tokenizer and the chat template of the full-precision model.

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. Evaluation details: evaluation report.

Downloads last month
37
Safetensors
Model size
0.6B params
Tensor type
F32
·
BF16
·
F8_E4M3
·
U8
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for yuhuanstudio/Yunmo-Next-1B-Instruct-NVFP4

Quantized
(6)
this model

Collection including yuhuanstudio/Yunmo-Next-1B-Instruct-NVFP4