Custom mmBERT head for Czech coreference stuck at 90% — full code shared for feedback
SignificantZebra5883 · reddit · 2026-11-25
A practitioner built a custom head on mmBERT-base for Czech coreference resolution (CorefUD 1.4): each mention picks one earlier mention (or "none" for a new entity), but dev accuracy is stuck around 90%. Full PyTorch code shared for feedback.
- Pairwise scoring: mention vectors concatenated as [A, B, AB] through a small MLP
- Lower-triangular mask restricts picks to earlier mentions; the "none" option always scores 0
- Full fine-tuning: head lr=1e-4, BERT lr=2e-5, linear decay, 2 epochs over 5,679 documents
- Scoring counts any valid antecedent (or none) as correct
Useful reading for NLP head design, fine-tuning recipes and coreference modeling.
More from Research
- Tsinghua's ICLWorld benchmark reveals large gaps between digital and physical agent performance — Qingle Liu · 2026-11-25
- BAAI's InstructReplay cuts factual fine-tuning degradation from 35 points by replaying assistant turns — BAAI · 2026-11-25
- FATCAT: EM fault injection strips LLM refusal at chip level, sends robot arm lunging at authors — Peter Horvath · 2026-11-25
- Vals Swarm Speed: agent teams score same as single agent but cost 3x tokens — evijit · 2026-11-25
- Working paper: 10-ppt higher AI exposure cuts college grads' first-year earnings 10% — sebkrier · 2026-11-25
- Light Society: Chinese team simulates human societies with over 1 billion LLM-powered agents — anselm · 2026-11-25