Japanese adult-domain ASR and speaker diarization fine-tune of OpenMOSS-Team/MOSS-Transcribe-Diarize (0.9B, BF16).
BF16, F16, Q8_0, Q6_K, Q4_K_M + mmproj-BF16 / mmproj-F16): jaykwok/MOSS-Transcribe-Diarize-JA-NSFW-GGUFjaykwok/MOSS-Transcribe-Diarize-JA-AnimeMOSS-Transcribe-Diarize-JA-NSFW adapts OpenMOSS-Team/MOSS-Transcribe-Diarize for long-form Japanese multi-speaker transcription with accurate timestamps and speaker labels (S01–S04) on realistic live-action adult Japanese dialogue while preserving clean everyday Japanese (SFW) transcription.
Key improvements over the base model:
99.3% on held-out real-world audio vs. 59.6% base) with lower real-world Micro CER (40.28% vs. 49.82% base).0.17 Speaker MAE on held-out real-world audio, capped at <= 4 speakers per chunk) and strong long-form non-speech/BGM inhibition (eliminating [音楽] / [笑い] / [Música] event-tag loops without increasing quiet-speech misses).JSUT, ReazonSpeech) ASR accuracy.All evaluations below use greedy decoding (do_sample=False) with repetition_penalty=1.10.
| Benchmark Suite | Model | Micro CER ↓ | Mean CER ↓ | Speaker MAE ↓ | Max Spks | Truncations | Explicit Recall / FP |
|---|---|---|---|---|---|---|---|
| Held-Out Real-World Adult Japanese (12 unseen clips) | Base MOSS | 49.82% | 55.50% | 0.33 | 3 | 1 | 59.6% (87/146) |
| Held-Out Real-World Adult Japanese (12 unseen clips) | JA-NSFW v1.1 |
40.28% | 44.30% | 0.17 | 4 | 1 | 99.3% (145/146) |
| Held-Out SFW Multi-Speaker (4 unseen clips) | Base MOSS | 56.70% | 54.98% | 0.75 | 6 | 0 | 0 FP |
| Held-Out SFW Multi-Speaker (4 unseen clips) | JA-NSFW v1.1 |
53.33% | 53.04% | 0.50 | 4 | 0 | 0 FP |
Public Adult Voice Multi-Speaker (Eroge-V2 mix, 4 streams) |
Base MOSS | 24.77% | 26.73% | 1.25 | 8 | 0 | 26/42 |
Public Adult Voice Multi-Speaker (Eroge-V2 mix, 4 streams) |
JA-NSFW v1.1 |
22.48% | 24.70% | 0.25 | 4 | 0 | 29/42 |
Public Studio Japanese (JSUT basic5000 test, 30 real clips) |
Base MOSS | 10.80% | 11.90% | — | 1 | 0 | — |
Public Studio Japanese (JSUT basic5000 test, 30 real clips) |
JA-NSFW v1.1 |
11.99% | 13.21% | — | 1 | 0 | — |
Public Broadcast TV Japanese (ReazonSpeech, 30 real clips) |
Base MOSS | 18.97% | 23.34% | — | 2 | 0 | — |
Public Broadcast TV Japanese (ReazonSpeech, 30 real clips) |
JA-NSFW v1.1 |
20.97% | 28.29% | — | 2 | 0 | — |
Raw single-pass decoding (no post-hoc bisection or external loop breaker), comparing v1.0 vs. v1.1 on production-cut 30–180s chunks containing 89.37 min of non-speech / BGM / ambient intervals:
| Metric | v1.0 |
v1.1 |
Delta |
|---|---|---|---|
| Speech Micro CER ↓ | 64.08% | 49.01% | -15.07 pp |
Non-Speech Hallucination Rate (chars/min) ↓ |
40.96 | 14.13 | -65.5% |
Acoustic Event-Tag Count ([音楽] / [笑い] / [Música]) ↓ |
259 | 0 | -100% |
| Quiet-Speech Miss Rate (bottom 25% RMS segments) ↓ | 3.65% | 3.65% | 0.00 pp |
| Overall Speech Segment Miss Rate ↓ | 2.78% | 1.83% | -0.95 pp |
| Raw Single-Pass Loop Rate ↓ | 4.41% (3/68) | 2.94% (2/68) | -1.47 pp |
Scope note:
JA-NSFWis specialized for realistic spoken Japanese adult dialogue. For stylized anime or visual-novel voice acting, usejaykwok/MOSS-Transcribe-Diarize-JA-Anime.
transformers)import soundfile as sf
import torch
from transformers import AutoModelForCausalLM, AutoProcessor
model_id = "jaykwok/MOSS-Transcribe-Diarize-JA-NSFW"
processor = AutoProcessor.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
model_id,
trust_remote_code=True,
torch_dtype=torch.bfloat16,
device_map="cuda",
).eval()
audio, sr = sf.read("sample_16k_mono.wav", dtype="float32")
messages = [
{
"role": "user",
"content": [
{"type": "audio", "audio": "sample_16k_mono.wav"},
{"type": "text", "text": "Transcribe the audio with timestamps and speaker labels."},
],
}
]
prompt = processor.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = processor(text=prompt, audio=audio)
inputs = {
k: (v.to("cuda", dtype=torch.bfloat16) if torch.is_floating_point(v) else v.to("cuda"))
for k, v in inputs.items()
if torch.is_tensor(v)
}
with torch.inference_mode():
out = model.generate(
**inputs,
max_new_tokens=2048,
do_sample=False,
repetition_penalty=1.10,
)
text = processor.batch_decode(out[:, inputs["input_ids"].shape[1]:], skip_special_tokens=True)[0]
print(text)
60–180s.do_sample=False) with repetition_penalty=1.10 (optionally paired with a recent-window content-token frequency penalty of window=160 on intense breathy segments).re.sub(r"\[{2,}(S\d+)\]", r"[\1]", text)) when parsing [start][S01]text[end] headers.v1.1 (2026-12): Full retrain adding production-chunked long-form mixed non-speech/dialogue audio and verified non-speech negatives with un-truncated 6144-token training context. Reduced held-out real-world CER to 40.28% (0.17 Speaker MAE, 99.3% explicit keyword recall), eliminated acoustic event-tag loops (259 -> 0), and cut non-speech hallucinations by 65.5% with zero quiet-speech recall regression.v1.0 (2026-11): Initial release of MOSS-Transcribe-Diarize-JA-NSFW (also pinned under Git tag v1.0).Released under the Apache License 2.0, derived from OpenMOSS-Team/MOSS-Transcribe-Diarize.