---
title: yanmo-correct-4b-cot-mlx-8bit
canonical_url: "https://www.modelscope.cn/models/Happenmass/yanmo-correct-4b-cot-mlx-8bit"
md_url: "https://www.modelscope.cn/models/Happenmass/yanmo-correct-4b-cot-mlx-8bit.md"
repository: Happenmass/yanmo-correct-4b-cot-mlx-8bit
chinese_name: "言墨 4B 语音润色（MLX 8-bit）"
last_updated: 2026-12-05
license: apache-2.0
pipeline_tag: text-generation
tasks:
  - text-generation
model_type:
  - qwen3_5
architectures:
  - Qwen3_5ForCausalLM
base_model:
  - Qwen/Qwen3.5-4B
base_model_relation: quantized
parameters: 1.2B
tensor_type:
  - BF16
  - U32
library_name:
  - mlx
  - safetensors
language:
  - zh
  - en
  - ja
downloads: 24
stars: 0
tags:
  - mlx
  - yanmo
  - 8bit
  - apple-silicon
  - text-polishing
  - correction-term-extraction
---

# yanmo-correct-4b-cot-mlx-8bit

> yanmo-correct-4b-cot-mlx-8bit - Happenmass 在 ModelScope 开源的模型。Yanmo Correct 4B CoT V14 (MLX 8-bit)

Happenmass/yanmo-correct-4b-cot-mlx-8bit 是 ModelScope 魔搭社区上的 1.2B 参数text-generation模型，采用 apache-2.0 许可，基于 Qwen/Qwen3.5-4B 构建。

- **Repository**: Happenmass/yanmo-correct-4b-cot-mlx-8bit
- **License**: apache-2.0
- **Tasks**: text-generation
- **Parameters**: 1.2B
- **Base model**: Qwen/Qwen3.5-4B
- **Tags**: mlx, yanmo, 8bit, apple-silicon, text-polishing, correction-term-extraction
- **Downloads**: 24
- **Stars**: 0
- **Last updated**: 2026-12-05

Source: https://www.modelscope.cn/models/Happenmass/yanmo-correct-4b-cot-mlx-8bit

---

# 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](https://huggingface.co/Happenmasss/yanmo-correct-4b-cot-mlx-8bit) · [ModelScope](https://modelscope.cn/models/Happenmass/yanmo-correct-4b-cot-mlx-8bit)
