World model · December 2026 Fly through four worlds that a 45M model imagines frame by frame, live in your browser. No game engine: every pixel comes from the model. 45M parameters 4 worlds, one model About 20 frames a second in Chrome You steer. The model dreams the next frame. Each picture is predicted from the last few frames and the key you are holding. There are no 3D models, no map and no physics inside. Pick any of the four worlds below and fly it. Fly into a wall and the model decides what happens. ~20 fpsin Chrome on a Mac mini (M6), WebGPU 256 × 256pixels, 3 small steps a frame 92 MBthe whole model, one file 0game engines at runtime Hear about new Udgam Labs releases first Subscribers get an email about each new release before we announce it anywhere else. Free, no spam. Nothing here is drawn The real 3D scene TinyRealm, from the same start and the same 128 key presses The real 3D scene TinyRealm, from the same start and the same 128 key presses The real 3D scene TinyRealm, from the same start and the same 128 key presses The real 3D scene TinyRealm, from the same start and the same 128 key presses How it works 1You press a keyW, A, S, D, Space, or nothing. 2The model predictsA 44.9M transformer guesses the next frame in a compressed form, from the last frames and your key. 3A tiny decoder paints itA 0.68M decoder turns it into a 256 × 256 picture. 4Again, about 20 times a secondThe new frame joins the memory and the loop repeats. Trained on 620,800 frames flown through four worlds we built ourselves, about 4 hours on one GPU. No outside video, so the weights can be Apache-2.0. Does it obey your keys? 91.3%of keys read correctly from TinyRealm’s frames, 96.8% of the real scenes’ 94.3% 44.6%when the keys are shuffled: the check a model that ignored you would get 90.1%in frames 65 to 128 alone: control holds through the second half of a run Held-out flights in all four worlds, 1 Dec 2026, released model, our checker (inverse dynamics model). How it compares As published by each maker, read 1 Dec 2026; each name links to its source. Sizes and speeds are not like for like: different worlds, steps and hardware. TinyRealm’s speed was measured in Chrome on a Mac mini (Apple M6). Where it falls short It only knows four worlds. It can’t make a new world from a sentence or a picture; it imagines the four it was trained on. Soft details. Pictures are 256 × 256 and come out painterly; thin lines and window grids blur, more so in Neon Skyway. It drifts on long flights. After a few seconds the path wanders from the real one, and colours can wash out; press R to start again. No game rules. There is no score, no collisions and no goal: walls and rings are only what the model imagines. Desktop browsers only. It needs WebGPU in Chrome or Edge and about 118 MB of downloads to start; phones get the recording. In this pagePlay TinyRealm The 92 MB model and 26 MB per world, downloaded once; then it runs on your own graphics chip. Nothing you press leaves your device. In your appOne ONNX file and a small JS runner About twenty lines with ONNX Runtime Web. Apache-2.0. On GitHubThe player and a Python example The four-world player from this page, and a short Python script that flies a world and saves the frames. Apache-2.0. Quick start: one frame in JavaScript Loop it: draw each frame, feed the memory back, and read the keys for the next action. // In a browser module, in Chrome or Edge with WebGPU import * as ort from 'https://cdn.jsdelivr.net/npm/onnxruntime-web@1.30.0/dist/ort.webgpu.min.mjs' const hf = 'https://huggingface.co/udgamlabs/TinyRealm-45M/resolve/main/' const model = await ort.InferenceSession.create(hf + 'pocketworld_s1_4worlds_256_fp16.onnx', { executionProviders: ['webgpu'] }) // A world's starting memory: keys, then values (float16, each [12, 1, 8, 1040, 64]). b1 is Neon Skyway. const kv = new Float16Array(await (await fetch(hf + 'seed_s1_b1_kv.f16')).arrayBuffer()) const dims = [12, 1, 8, 1040, 64], half = kv.length / 2 let k = new ort.Tensor('float16', kv.slice(0, half), dims) let v = new ort.Tensor('float16', kv.slice(half), dims) // One frame. The action is [steer, pitch, throttle, boost, strafe]: here, ahead and a little to the right. const randn = () => Math.sqrt(-2 * Math.log(1 - Math.random())) * Math.cos(2 * Math.PI * Math.random()) const out = await model.run({ noise: new ort.Tensor('float16', Float16Array.from({ length: 32 * 16 * 16 }, randn), [1, 32, 16, 16]), action: new ort.Tensor('float16', Float16Array.of(0.4, 0, 0.85, 0, 0), [1, 5]), k_cache: k, v_cache: v, }) const rgb = await out.rgb.getData() // 3 × 256 × 256 values, 0–255: draw it, then k = out.next_k; v = out.next_v // feed the memory back for the next frame
AI NEWS JOURNAL
Hacker News Show HNAI NEWS / JOURNAL
Show HN: TinyRealm, a 45M-parameter world model that runs in the browser
Article URL: https://udgamlabs.com/models/tinyrealm Comments URL: https://news.ycombinator.com/item?id=50727658 Points: 2 # Comments: 1
번역 서비스가 일시 중지되어 원문을 표시합니다.