WorldTUI: I trained a 360M model to pretend to be a terminal
Posted by alphax314 8 hours ago
Comments
Comment by nico 4 hours ago
On a very similar theme, I recently built a “lossy git”, which stores your code by training a neural network, then it generates the code back to you on checkout
* web demo: https://nicobrenner.github.io/lossy-git/demo.html
* cli version: https://nicobrenner.github.io/lossy-git/
The web demo runs entirely on the browser, both the version control and the neural network training/inference. You can commit and checkout both images or code - you can also paste/“upload” your own images, no server requests (everything clears from the page on reload)
Comment by InsideOutSanta 58 minutes ago
Comment by simedw 3 hours ago
Comment by embedding-shape 27 minutes ago
I see a "Commit" button, but I don't see any checkout, I guess that is what happens automatically? Although that panel says "Reconstruction", not "Checkout"... You might want to do a pass after the AI created the initial version, and make it "humanly consistent" or similar, as right now it seems a bit incoherent.
> Run the JS code before and after a commit
How am I suppose to "run the JS code", manually writing it in my local JS console? Or is this just "Click the green button in the UI" but expressed in the way only a LLM would write it?
Comment by ChanderG 5 minutes ago
Comment by andai 5 hours ago
Interesting. I wanted to ask, how that model compares with the fine-tuned version, but I just saw the author provided benchmarks. Interesting that fine-tuning improved the memory so significantly, wouldn't have expected that.
Though, on second thought, I had an experience where I was able to, as a human, fine-tune my memory beyond what I previously thought was possible!
Reminds me of one of my favorite jokes.
Excuse me, can you tell me how to get to Carnegie Hall?
—Practice, man... Practice...
Comment by treetalker 4 hours ago
Please elaborate.
Comment by absoluteunit1 1 hour ago
Comment by simedw 4 hours ago
Comment by suhdonghwi 35 minutes ago
Comment by ponyous 2 hours ago
Comment by OtherShrezzing 2 hours ago
>What's the difference between a model that predicts intelligent output, and intelligence itself?
It doesn't directly attack the question, but gives a neatly constrained thought experiment which you can see running.
Comment by luipugs 2 hours ago
Comment by metchio 2 hours ago
Comment by thepasch 1 hour ago
Comment by bubulux 1 hour ago
I allways found it interesting to look at this issue in the way the imitation game was modeled. For me I concluded, that as long as we can replicate the intution we associate with intelligence, there is not much room left to debate about "real intelligence".
The chinese room experiment I find in that sense a valuable extension, cuz the turing model more or less is a very conversational "voided of action" kind of test. The room model adds the act of translating without having the knowledge of translation.
But your take invalidates my stances here clearly. There is a possible scenario, in which we can replicate the intuition for operating a real terminal but still keeping the act of the terminal itself a "voided" sort of action by itself, cuz well, its not a real terminal, reading real files and so on...
Thank you for this, I will have to chew on that :)
Comment by wy1981 24 minutes ago
Comment by amelius 1 hour ago
(You could run lynx in that terminal to train/test it without images)
Comment by randfur 23 minutes ago
Comment by sandGorgon 1 hour ago
https://github.com/amazon-science/Cyber-Zero
the paper is quite interesting - https://arxiv.org/html/2508.00910v2
Comment by oilkillsbirds 5 hours ago
Comment by amelius 1 hour ago
Maybe instead of simulating a terminal you could use it to predict what you'd type next?
So simulate _you_, not the terminal.
Comment by __mp 5 hours ago
Comment by air7 1 hour ago
Comment by obilgic 5 hours ago
Comment by andai 5 hours ago
Comment by AlecSchueler 1 hour ago
Edit: Maybe this was it—https://youtube.com/watch?v=7NfyZhV1dKM
Comment by tsukurimashou 1 hour ago
Comment by prodigycorp 5 hours ago
Comment by ohadpr 3 hours ago
I did it for web apps last year, basically a web server that feeds all requests into an LLM.
Comment by Lerc 4 hours ago
Comment by alex7o 3 hours ago
Comment by psandor 5 hours ago
https://www.microsoft.com/en-us/research/articles/whamm-real...
Comment by soulofmischief 5 hours ago
Comment by 4ggr0 1 hour ago
Comment by yjftsjthsd-h 5 hours ago
Comment by peder 5 hours ago
Comment by simedw 4 hours ago
Comment by sprobertson 5 hours ago
Time is an input too. If nothing is pressed, the model gets a WAIT token with a duration instead of a key, which is how snake keeps moving on its own.
Comment by yjftsjthsd-h 5 hours ago
Comment by skohan 4 hours ago
Comment by zahlman 2 hours ago
Comment by skohan 2 hours ago
Comment by thorum 5 hours ago
Comment by skohan 5 hours ago
Comment by winrid 4 hours ago
If I had to complain about any site/app it'd be datadog... each tab uses like 1gb in firefox.
Comment by skohan 2 hours ago
It's like riding a bike with a tiny bit of resistance in the bearings. You will get used to it, and will probably feel like your bike is fine. But if you replace the hub and remove that friction, you will wonder how you ever tolerated riding a bike that way.
Comment by mrweasel 1 hour ago
Comment by claykkari 44 minutes ago
Maybe I do, if by "randomness" you also mean the ability to handle unexpected usecases. Imagine running something like:
$ ps "which processes are slowing my PC down??"
Comment by gr_norm 5 hours ago
Comment by skohan 4 hours ago
Why would you use a GPU and gigabytes of VRAM running a non-deterministic process for something a program can do on the CPU in milliseconds with kilobytes of memory?
Comment by hnlmorg 4 hours ago
It’s cheaper to hire developers, and quicker to ship software. The user experience be damned.
Comment by skohan 4 hours ago
Of course they would pass that along to the consumer, but nobody is going to pay token-based pricing for something that used to be free and ad-supported, or a cheap monthly subscription.
Comment by hnlmorg 2 hours ago
Comment by antonvs 4 hours ago
Edit: oh, I saw you wrote a related comment after I posted this. So you already know that direct LLMs for UIs are all but inevitable...
Comment by latentsea 3 hours ago
Comment by rvz 2 hours ago
There's a good reason why the UI for Excel, Photoshop and Word has hardly changed and remains consistent for years and that has worked for billions of people.
Many HN readers have forgotten the Windows 8 UI disaster already.
Comment by prodigycorp 5 hours ago
The tmux thing had me confused for a moment until i realized it was emulating tmux. Super fun. Is the model window width aware?
Comment by simedw 23 minutes ago
``` BOS SCREEN_START 32 96 ```
I trained it on three different resolutions, but it should kind of work with in between ones too.
Comment by serje1480 4 hours ago
Comment by billypilgrim 1 hour ago
Comment by sudo_cowsay 1 hour ago
Comment by donperignon 4 hours ago
Comment by teiferer 1 hour ago
I'm a noob in this, could you enlighten me: what role does the base model play which you started with?
Comment by simedw 21 minutes ago
The base model already have a good grasp of language, so that man pages look like coherent sentences. It also knows python and similar language well, which means that things like 1+5 or print(["hi" for _ in range(5)]) work.
I did try to train from scratch, but it was much weaker (also added a lot of aux losses).
Comment by gobdovan 2 hours ago
Comment by joka88xj 1 hour ago
Comment by wkilbride 3 hours ago
Comment by luckystarr 4 hours ago
Comment by simedw 5 hours ago
Comment by happybox2016 2 hours ago
Comment by htoz1 5 hours ago
Comment by YmFzZTY0ZGFkZHk 5 hours ago
Comment by mehmetoguzderin 5 hours ago
Comment by good-idea 5 hours ago
Comment by aghuang 4 hours ago
Comment by dotancohen 5 hours ago
Comment by antonvs 4 hours ago
Comment by wartywhoa23 3 hours ago
Comment by gitowiec 3 hours ago
Comment by odo1242 3 hours ago
Comment by simedw 20 minutes ago