WorldTUI: I trained a 360M model to pretend to be a terminal
Web page · https://simedw.com/2026/10/21/world-model-terminal
First seen by Oriel on .
AI summary
WorldTUI fine-tunes a 360M-parameter model to simulate terminal screen updates from keystrokes, demonstrating limited persistent state and full-screen applications without a real shell or filesystem.
- The model, based on Qwen2.5-Coder-0.5B, learns from 336k recorded sessions and represents screens as row updates, cursor changes, and row-copy operations.
- Self-correction training raised PresetBench performance from 24/47 to 38/47; WorldTUI scored 80/106 on ShellBench and completed 9/13 file readbacks.
- Parallel row decoding with speculative verification reduced large-frame p95 latency on an RTX 4090 from 6.7 seconds to 0.87 seconds.
- A custom JavaScript Qwen decoder uses WGSL compute shaders and WebGPU; int4 quantization brings the browser model to 208 MB, with inference running locally.
- The demo supports bash, vim, tmux, Python, man pages, and snake, but has inconsistent filesystem behavior, weak Python capability, and runs about 20 times slower in Firefox than Chrome. The author says it is not practically useful yet.
#world models #language models #webgpu #terminal emulation
Generated by gpt-5.6-sol. Check the original for details.
Metric trends
Last 30 days · Up to 120 recorded samples per source and metric, with reposts kept separate · First and latest retained
Points
Score reported by the source.
- Hacker News: 652, latest observation ; +644 over observed period since
Comments
Comment count reported by the source.
- Hacker News: 195, latest observation ; +195 over observed period since
Aliases
| Source | External ID | URL |
|---|---|---|
| Hacker News | 50190363 | https://simedw.com/2026/10/21/world-model-terminal/ Read discussion |