Show HN: I trained a language model that thinks the capital of Japan is Paris
farisallafi
15 points
8 comments
July 05, 2026
Related Discussions
Found 5 related stories in 822.5ms across 14,015 title embeddings via pgvector HNSW
- Show HN: I built a tiny LLM to demystify how language models work armanified · 249 pts · April 06, 2026 · 54% similar
- Show HN: Context-aware Japanese furigana using Sudachi and ModernBERT epitrochoid413 · 32 pts · May 29, 2026 · 53% similar
- Show HN: We post-trained a model that pen tests instead of refusing dk189 · 78 pts · June 20, 2026 · 50% similar
- Ask HN: Has anyone replaced Claude/GPT with a local model for daily coding? cloudking · 843 pts · June 15, 2026 · 50% similar
- Show HN: LangAlpha – what if Claude Code was built for Wall Street? zc2610 · 128 pts · April 14, 2026 · 50% similar
Discussion Highlights (3 comments)
farisallafi
Author here. This is hr-diffuse-1-nano: bidirectional Mamba-2 + LLaDA-style masked diffusion at 288M params, cross- arch distilled from SmolLM-135M, trained on 1xh100 for ~$500. The honest headline results: 14% infill recovery where autoregressive models score ~0 (they can't condition on text after the blank), 7.5% repetition-loop rate vs 37.5% for the teacher, and a genuinely negative result I think is the most useful part: six different self-correction methods all failed at this scale, while a 300k-param external critic head detects errors far above chance. Small models don't doubt; they rationalize. Weights are open: https://huggingface.co/devnull37/hr-diffuse-1-nano . Happy to answer anything about the architecture, the failed runs.
preetham_rangu
Really impressive for a 13 year old, and refreshingly honest writeup. The failed self-correction section is the best part: six methods tried, six negative results reported instead of buried. That's rarer than the architecture itself. Curious whether the shared+LoRA bidirectionality idea holds up once you run it past 2000 steps.
ungreased0675
I would like this a lot more if you wrote it yourself, and if it wasn’t an ask for money. Playing with agents can get expensive quickly, please be careful.