Open-source CLM-8B plays Terraria in real time, ranking candidate actions in milliseconds
iamrobotbear · x · 2026-10-01
Developer Joshua Leonard open-sourced Contrastive-LM (CLM-8B), an 8B model that plays Terraria in real time.
- How it works: CLM acts as a text ranking model, scoring candidate actions in milliseconds so every move and attack is driven by the model live.
- Released assets: the CLM-v0.1-8B model (2.39k downloads, 564 likes), deepswe-clm-heads-8k components, and a 62.5M-row pretraining dataset (CLM-v0.1-Pretrain-Nemotron) are on Hugging Face, with code on GitHub and a Discord community.
- The project demonstrates that small open models can handle real-time action decision-making in games.
More from coding & agent
- New tool makes benchmarking across factory configs trivial, not just models — vikvang1 · 2026-10-01
- Magnitude inference engine hits #1 on HN, claims up to 2x faster local open-model runs than llama.cpp — nickbaumann_ · 2026-10-01
- marimo-lens lets you point at charts and steer your coding agent directly — S_Conradi · 2026-10-01
- Non-coder builds MCP-only medieval trade game played entirely by AI agents — Wainfare · 2026-10-01
- Dev roasts Claude Code's Opus for forgetting UI parameters, makes No Country meme — firasd · 2026-10-01
- Solo fine-tune of Qwen3.8-27B-pi fixes effort ordering, saves 41% tokens — victormustar · 2026-10-01