Downloads · 30 days
0
DanVP/moxhimt-pronoun-clf
moxhimt-pronoun-clf is a machine learning model from DanVP. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as cc-by-nc-4.0.
Small extractive speaker-attribution classifier for Chinese web-novel dialogue, used downstream of DanVP/MoxhiMT-30 to make Vietnamese pronouns consistent per speaker–addressee pair (tôi/cậu/ngươi…).
Downloads · 30 days
0
Access
Public
Updated May 26, 2026
Repo size
32 MB
Likes
0
Public
Click a slice to open those files.
.pt31.4 MB · 98%
From the Hugging Face model README
Small extractive speaker-attribution classifier for Chinese web-novel dialogue, used downstream of DanVP/MoxhiMT-30 to make Vietnamese pronouns consistent per speaker–addressee pair (tôi/cậu/ngươi…).
MT models translate sentence-by-sentence, so the same 你/我 flips between ngươi/cậu, tôi/ta across lines for the same speaker — especially in modern settings. This classifier identifies the speaker so a renderer can normalize pronouns per relationship pair.
我们/咱们/你们, multi-你 quotes, and raw Vietnamese quote pairs like
ta/ngươi when it cannot rewrite the whole pair. It only rewrites self/you
when the matching Chinese pronoun is present, protects fixed Vietnamese
phrases, and caps edits per quote segment.妈,...你... / 儿子,...你... is an exception:
the addressee is explicit, so multiple Vietnamese second-person pronouns in
the same quoted segment may be normalized together.render(...) returns an info string with guard status plus speaker score
metadata (p, margin, candidate count) so downstream apps can surface
abstentions instead of silently over-editing.See pronoun_infer.py — PronounRenderer(clf_dir, spm_path).render(zh, vi, ctx_zh, genre_class).
Files: speaker_clf.pt (weights), known_names.json, source.spm, pronoun_infer.py.