Run this model with HF Jobs

Run Happenmasss/yanmo-correct-4b-cot-mlx-8bit 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/Happenmasss/yanmo-correct-4b-cot-mlx-8bit. 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/Happenmasss/yanmo-correct-4b-cot-mlx-8bit 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/Happenmasss/yanmo-correct-4b-cot-mlx-8bit. 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.

Yanmo Correct 4B CoT V14 (MLX 8-bit)

An Apple Silicon model for polishing transcribed dictation across distinct output styles (ๅณๆ—ถๆถˆๆฏ, ่‡ช็„ถๆ•ด็†, ๆ–‡ๆกฃๆฎต่ฝ, and custom instructions) and extracting corrected terms for a personal lexicon. Use the Yanmo polishing prompt (engine/polish.txt) for dictation and the separate correction-terms prompt (engine/correction-terms.txt) for comparing the original and edited text. The chat template supports thinking mode, allowing AcpmRuntime to separate reasoning from the final polished output.

V14 builds on Qwen/Qwen3.5-4B with full 32-layer LoRA (rank=16, 21.2M trainable parameters, 1-epoch cosine learning rate schedule, loss computed on assistant tokens only). Supervised fine-tuning used 10,453 examples:

  • 9,371 ASR polishing examples aligned to the live Yanmo 1.0.7 [Qwen3-ASR, SenseVoice Small] candidate order using local CPU ONNX SenseVoice Small re-inference across all real audio clips plus 14 targeted quality/style shards (multi-reviewer audited),
  • 82 user-edited polishing examples, and
  • 1,000 lexicon correction-term extraction examples (with negative abstention traps).

This release uses MLX affine 8-bit quantization with group size 64 (bfloat16, 4,469,632,533 bytes).

Key Improvements in V14

  • Live Dual-ASR Alignment ([Qwen3-ASR, SenseVoice Small]): Trained directly against live CPU ONNX SenseVoice Small second-stream outputs in production ordering (~83% dual-stream, ~11% single Qwen, ~6% single SenseVoice fallback).
  • 100% Instant Messaging (ๅณๆ—ถๆถˆๆฏ) Adverb Retention: Reaches 100.0% (97/97) on coverage-120 and 100.0% (53/53) on consecutive-30, with 0/226 context echoing across all moat suites.
  • Peak Lexicon Term Extraction: Achieves 0.9790 term F1 (58/60 strict exact match, 0/19 false positives on negative traps).
  • Stronger Multi-Facet Holdout Accuracy: Improves held-out val210 all-constraints pass rate from 79.52% (167/210) in V12 to 86.67% (182/210) (and 78.33% vs 60.00% on Shards 11โ€“14).
  • Fast First-Pass Convergence: 401/401 complete on both single-stream and real-audio ONNX dual-stream 401 benchmarks (thinking p50 = 22, p90 = 26; Mac batch=1 completion p50 < 1.0s).

Evaluation (V12 vs V14, MLX 8-bit)

Evaluated on Apple Silicon (Mac15,11) with max_tokens = 768 and identical evaluation harnesses.

Metric V12 V14
Moat context copying (regression-* + holdout + coverage + single-real) 0/218 0/226
Instant Messaging adverb retention (coverage-120) 97.94% (95/97) 100.0% (97/97)
Instant Messaging adverb retention (consecutive-30) 100.0% (53/53) 100.0% (53/53)
Lexicon term extraction strict match (60 cases) 56/60 (F1 0.9714) 58/60 (F1 0.9790)
Term extraction negative false positives (19 cases) 0/19 0/19
val210 overall constraint pass rate (210 cases) 79.52% (167/210) 86.67% (182/210)
401 production single-stream first-pass completion 401/401 401/401 (p50=22, p90=26)
401 production dual-stream (ONNX SenseVoice Small) completion โ€” 401/401 (p50=22, p90=26)

Download

Hugging Face ยท ModelScope

Downloads last month
99
Safetensors
Model size
4B params
Tensor type
U32
ยท
BF16
ยท
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 Happenmasss/yanmo-correct-4b-cot-mlx-8bit

Finetuned
Qwen/Qwen3.5-4B
Quantized
(766)
this model