WorldTUI: I trained a 360M model to pretend to be a terminal
A small fine‑tuned language model that “pretends” to be a UNIX terminal, rendering the entire text UI frame‑by‑frame from keypresses, is prompting comparisons to world models, neural computers, and earlier fully hallucinated OS experiments. Commenters debate whether such simulated terminals are merely fun demos or early prototypes of future interfaces, touching on issues of determinism, latency, resource waste, and the blurry line between prediction and “real” computation or intelligence. Others see concrete niches such as smarter honeypots, zero‑latency remote shells, and tools research, while noting the technical challenges of state, memory, and consistency in small models.
Overall reaction
- Many commenters find the project “very cool” and fun, seeing it as a creative demonstration of fine‑tuning and world models.
- Others question its practical value when real terminals exist, though some argue that doing “absurd” things out of curiosity is part of what makes software exciting.
Relation to prior work and world models
- Compared to earlier “hallucinated OS” demos, Quake II world-model work, Google’s Genie, and Amazon’s Cyber‑Zero; framed as another “world model” that simulates an environment from observations.
- Multiple references to prior “pretend terminal” and “VM inside ChatGPT” experiments; this is seen as a more principled, trained version of those prompt-only tricks.
- One thread links to “Neural Computer” research where the entire UI is generated as a prediction loop.
Technical design and behavior
- The model takes the screen as input and predicts diffs; the first tokens encode window width/height.
- Time is modeled via a special WAIT/sleep token; snake and
sleeprely on this. - Base model is a small coder model chosen for speed and prior CLI exposure; fine‑tuning appears to significantly improve memory.
- It only has “virtual” state: creating files etc. affects only the model’s context, not the real filesystem.
Usefulness, applications, and performance
- Suggested uses: alignment and agent evaluation, world-model research, predictive “zero‑latency SSH,” and especially high‑interaction honeypots that dynamically steer attackers and collect richer data.
- Some foresee generative UIs or “NeuralOS” as a future pattern; others argue it’s wasteful compared to traditional deterministic software.
- Cost and latency (GPU/VRAM, full‑screen diffs per keypress) are seen as major drawbacks versus normal terminals.
Philosophical and conceptual debates
- Project is used as a concrete thought experiment about the difference between “predicting a terminal” and “being a real terminal,” echoing Turing Test and Chinese Room discussions.
- One camp says a perfect mimic with real side effects could be “real enough”; another insists that without actual external state changes it remains fundamentally fake.
Limitations, bugs, and user experience
- Some users report behavior far worse than the demo (nonexistent directories, lost state).
- A Firefox-specific issue causes sluggish, frame-by-frame rendering.
- Concerns raised about non-determinism in a shell, though some welcome “creative” handling of fuzzy commands.