Commit ·
ce1663b
0
Parent(s):
Duplicate from udgamlabs/TinyRealm-45M
Browse filesCo-authored-by: Jitesh K Prasad <jiteshkprasad@users.noreply.huggingface.co>
Files changed (17)
- .gitattributesAdded+41
- LICENSEAdded+201
- README.mdAdded+216
- SHA256SUMSAdded+5
- assets/real_vs_model_fjord.jpgAdded
- assets/real_vs_model_neon.jpgAdded
- banner.pngAdded
- config.jsonAdded+52
- pocketworld_s1_4worlds_256_fp16.onnxAdded+3
- seed_s1_b0_kv.f16Added+3
- seed_s1_b0_preview.pngAdded
- seed_s1_b1_kv.f16Added+3
- seed_s1_b1_preview.pngAdded
- seed_s1_b2_kv.f16Added+3
- seed_s1_b2_preview.pngAdded
- seed_s1_b3_kv.f16Added+3
- seed_s1_b3_preview.pngAdded
1234567891011121314151617181920212223242526272829303132333435363738394041*.7z filter=lfs diff=lfs merge=lfs -text*.arrow filter=lfs diff=lfs merge=lfs -text*.bin filter=lfs diff=lfs merge=lfs -text*.bz2 filter=lfs diff=lfs merge=lfs -text*.ckpt filter=lfs diff=lfs merge=lfs -text*.ftz filter=lfs diff=lfs merge=lfs -text*.gz filter=lfs diff=lfs merge=lfs -text*.h5 filter=lfs diff=lfs merge=lfs -text*.joblib filter=lfs diff=lfs merge=lfs -text*.lfs.* filter=lfs diff=lfs merge=lfs -text*.mlmodel filter=lfs diff=lfs merge=lfs -text*.model filter=lfs diff=lfs merge=lfs -text*.msgpack filter=lfs diff=lfs merge=lfs -text*.npy filter=lfs diff=lfs merge=lfs -text*.npz filter=lfs diff=lfs merge=lfs -text*.onnx filter=lfs diff=lfs merge=lfs -text*.ot filter=lfs diff=lfs merge=lfs -text*.parquet filter=lfs diff=lfs merge=lfs -text*.pb filter=lfs diff=lfs merge=lfs -text*.pickle filter=lfs diff=lfs merge=lfs -text*.pkl filter=lfs diff=lfs merge=lfs -text*.pt filter=lfs diff=lfs merge=lfs -text*.pth filter=lfs diff=lfs merge=lfs -text*.rar filter=lfs diff=lfs merge=lfs -text*.safetensors filter=lfs diff=lfs merge=lfs -textsaved_model/**/* filter=lfs diff=lfs merge=lfs -text*.tar.* filter=lfs diff=lfs merge=lfs -text*.tar filter=lfs diff=lfs merge=lfs -text*.tflite filter=lfs diff=lfs merge=lfs -text*.tgz filter=lfs diff=lfs merge=lfs -text*.wasm filter=lfs diff=lfs merge=lfs -text*.xz filter=lfs diff=lfs merge=lfs -text*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -textassets/real_vs_model_fjord.jpg filter=lfs diff=lfs merge=lfs -textassets/real_vs_model_neon.jpg filter=lfs diff=lfs merge=lfs -textseed_s1_b0_kv.f16 filter=lfs diff=lfs merge=lfs -textseed_s1_b1_kv.f16 filter=lfs diff=lfs merge=lfs -textseed_s1_b2_kv.f16 filter=lfs diff=lfs merge=lfs -textseed_s1_b3_kv.f16 filter=lfs diff=lfs merge=lfs -text123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201 Apache License Version 2.0, January 2004 http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
(a) You must give any other recipients of the Work or Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216---license: apache-2.0library_name: onnxpipeline_tag: image-to-videotags:- udgamlabs- world-model- interactive- action-conditioned- diffusion- rectified-flow- onnx- webgpu- onnxruntime-web---

**UDGAM LABS** · World model · 45M parameters
# TinyRealm-45M
TinyRealm is a 45M-parameter world model: you steer, and it imagines the next frame. There is no game engine; everypixel comes from the model. One 92.4 MB ONNX file holds four worlds (Red-Rock Canyon, Neon Skyway, Aurora Fjord andVolcanic Trench) at 256 × 256, and it runs at about 20 frames a second on your own graphics chip inside Chrome, throughWebGPU, with no server.
**Try it:** [in your browser](https://huggingface.co/spaces/udgamlabs/TinyRealm-45M) · [code on GitHub](https://github.com/udgamlabs/tinyrealm) · [udgamlabs.com/models/tinyrealm](https://udgamlabs.com/models/tinyrealm)
<p align="center"><img src="assets/real_vs_model_neon.jpg" alt="Neon Skyway: six frames of the real 3D scene (top) and the same six frames as TinyRealm imagined them (bottom), frames 1 to 128" width="100%"></p>
<sub>Neon Skyway. Top: the real 3D scene we built for training. Bottom: TinyRealm, from the same start and the same 128key presses. Frames 1, 16, 32, 64, 96 and 128 of a held-out flight.</sub>
## Quick start
### In the browser (JavaScript, Chrome or Edge with WebGPU)
```jsimport * 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 / 2let 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, thenk = out.next_k; v = out.next_v // feed the memory back for the next frame```
Loop it: draw each frame, feed the memory back, and read the keys for the next action. A complete player (four worlds,keyboard and touch controls) is in the [GitHub repository](https://github.com/udgamlabs/tinyrealm).
### In Python (ONNX Runtime)
```bashpip install onnxruntime numpy pillow huggingface_hub```
```pythonimport numpy as np, onnxruntime as ortfrom huggingface_hub import hf_hub_downloadfrom PIL import Image
repo = "udgamlabs/TinyRealm-45M"sess = ort.InferenceSession(hf_hub_download(repo, "pocketworld_s1_4worlds_256_fp16.onnx"))kv = np.fromfile(hf_hub_download(repo, "seed_s1_b0_kv.f16"), dtype=np.float16) # b0 = Red-Rock Canyonk, v = (x.reshape(12, 1, 8, 1040, 64) for x in np.split(kv, 2)) # keys, then values
rng = np.random.default_rng(0)for i in range(32): action = np.array([[0.3, 0.0, 0.85, 0.0, 0.0]], dtype=np.float16) # steer right, level, cruise rgb, k, v = sess.run(None, {"noise": rng.standard_normal((1, 32, 16, 16)).astype(np.float16), "action": action, "k_cache": k, "v_cache": v}) Image.fromarray(rgb[0].astype(np.float32).clip(0, 255).astype(np.uint8).transpose(1, 2, 0)).save(f"frame_{i:03d}.png")```
`examples/run_frames.py` in the GitHub repository does the same with options for the world, the number of frames andthe steering pattern.
### Inputs and outputs
| Name | Type | Shape | What it is ||---|---|---|---|| `noise` (in) | float16 | [1, 32, 16, 16] | Standard normal noise, new every frame || `action` (in) | float16 | [1, 5] | [steer, pitch, throttle, boost, strafe]. Steer, pitch and strafe in −1…1; boost 0 or 1; throttle 0.65–1 in training (the player holds 0.85) || `k_cache`, `v_cache` (in) | float16 | [12, 1, 8, 1040, 64] each | The memory: attention keys and values of the last 16 frames (12 layers, 8 heads, 16 × 65 tokens, 64 dims) || `rgb` (out) | float16 | [1, 3, 256, 256] | The new frame, 0–255, channels first || `next_k`, `next_v` (out) | float16 | [12, 1, 8, 1040, 64] each | The updated memory: pass it back in for the next frame |
### Files
| File | Size | What it is ||---|---|---|| `pocketworld_s1_4worlds_256_fp16.onnx` | 92.4 MB | The model: world model, 3 denoising steps, memory update and decoder in one graph (opset 17, float16) || `seed_s1_b0_kv.f16` … `seed_s1_b3_kv.f16` | 25.6 MB each | Starting memory for each world (raw float16, keys then values): 0 Red-Rock Canyon, 1 Neon Skyway, 2 Aurora Fjord, 3 Volcanic Trench || `seed_s1_b*_preview.png` | small | The frame each world starts from || `config.json` | small | Sizes, input and output names and shapes, and the list of worlds || `SHA256SUMS` | small | Checksums for the model and seed files |
The internal name `pocketworld` in the file names is the project's working name; the files are the released model.
## Results
**Does it obey your keys?** A separate checker model (an inverse dynamics model, trained on the real 3D scenes) looks ateach pair of consecutive frames and guesses which keys were pressed. We run it on TinyRealm's frames and on the realscenes for the same flights. If TinyRealm ignored the keys, the checker would score near the shuffled-keys control.
Held-out flights in all four worlds (10 per world), 128 frames each, released model, 1 Dec 2026 [MEASURED]:
| World | TinyRealm, frames 1–128 | The real 3D scene (ceiling) | Shuffled keys (control) ||---|---:|---:|---:|| Red-Rock Canyon | 90.9% | 94.2% | 45.0% || Neon Skyway | 91.2% | 93.9% | 44.1% || Aurora Fjord | 91.7% | 94.7% | 44.3% || Volcanic Trench | 91.2% | 94.3% | 45.0% || **All four** | **91.3%** | **94.3%** | **44.6%** |
- TinyRealm reaches 96.8% of the checker's score on the real scenes.- Control holds into the second half of a flight: 92.5% in frames 1–64 and 90.1% in frames 65–128 (all four worlds).- Speed: about 20 frames a second in Chrome (WebGPU) on a Mac mini with Apple M6; 21.6–23.4 frames a second in our first measurement of the same demo. Not yet measured on other machines.- Size: 44.93M parameters in the world model plus 0.68M in the decoder; the float16 ONNX file is 92.4 MB. Float16 and float32 frames differ by 0.06–0.17 on the 0–255 scale.
**How it compares.** Steerable world models as published by their makers (read 1 Dec 2026; not reproduced by us, andnot like for like: different worlds, steps and hardware):
| Model | Made by | Size | Picture | Runs on | Open weights ||---|---|---|---|---|---|| **TinyRealm-45M** | **Udgam Labs** | **45M** | **256 × 256, ~20 fps (M6)** | **Your browser (WebGPU)** | **Yes, Apache-2.0** || [Genie 3](https://deepmind.google/discover/blog/genie-3-a-new-frontier-for-world-models/) | Google DeepMind | not published | 720p, 24 fps | Google's servers | No || [Oasis 500M](https://huggingface.co/Etched/oasis-500m) | Decart and Etched | 500M | 360p, 20 fps (H100) | Data-centre GPU | Yes, MIT || [GameNGen](https://arxiv.org/html/2408.14837v2) | Google | not published | 320 × 240, 20 fps (TPU) | Data-centre chip | No || [DIAMOND (CS:GO)](https://diamond-wm.github.io/) | Alonso et al. | 381M | low-res + upsampler, ~10 fps | Gaming GPU (RTX 3090) | Yes, MIT || [Matrix-Game 2.0](https://arxiv.org/html/2508.13009v2) | Skywork | 1.8B | 352 × 640, 25 fps (H100) | Data-centre GPU | Yes, MIT || [micro-doom-world](https://huggingface.co/kulikov0/micro-doom-world) | kulikov0 | 39M + 7M | 128 × 96 | Your browser (WebGPU) | Yes, MIT || [Neural Drive β](https://huggingface.co/codelion/neural-drive-model) | codelion | 131M + decoder | 384 × 192 | Your browser (WebGPU) | Weights, custom licence || [Dream Engine](https://github.com/teshnizi2/dream-engine) | teshnizi2 | 6.8M | 64 × 64, ~28 fps (M4) | Your browser (WebGPU) | Yes, MIT |
The big models make far richer worlds on data-centre hardware. TinyRealm is one of a few small models that run on yourown graphics chip inside the browser.
<p align="center"><img src="assets/real_vs_model_fjord.jpg" alt="Aurora Fjord: six frames of the real 3D scene (top) and the same frames as TinyRealm imagined them (bottom)" width="100%"></p>
<sub>Aurora Fjord, real scene (top) and TinyRealm (bottom), same start and keys, frames 1–128. It keeps the look of theworld, but its path drifts from the real one over time.</sub>
## 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. Its decoder alone loses the most there: 22.6 dB PSNR on Neon Skyway against 30.5–34.0 dB on the other three worlds.- **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.- **Climbing and diving are followed less well than turning.** Over 128 frames the checker reads steering correctly 95–99% of the time, but pitch only 80–83% (TinyRealm) against 84–87% on the real scenes.- **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 (the model plus one world); phones get the recording.
## How it was trained
- **Data.** Four 3D worlds that we wrote ourselves as a PyTorch raymarcher (no textures, meshes or downloaded assets), flown by a scripted pilot that keeps to the corridor and otherwise picks random steering, pitch, throttle, boost and strafe. 1,600 flights of 400 frames at 256 × 256 (640,000 frames, 160,000 per world); 48 flights held out for evaluation. No outside video or game footage.- **Compression.** A small autoencoder squeezes each frame to a 16 × 16 × 32 grid (16× smaller on each side). Its 0.68M-parameter decoder is the part that ships. Held-out reconstruction: 29.85 dB PSNR, 0.0315 LPIPS. Its training loss included LPIPS, which uses a pretrained AlexNet as a measuring tool; no AlexNet weights are in TinyRealm.- **World model.** A causal transformer (12 layers, width 512, 8 heads) that predicts the next frame's latent by rectified flow, from the last 16 frames and the current keys (each frame is 64 patch tokens plus one action token). It started from random weights and was trained for 20,000 steps of batch 64 on one NVIDIA RTX PRO 6000 GPU, with noise added to the past frames so it learns to recover from its own mistakes. The whole run, from rendering to evaluation, took about 4 hours.- **At run time.** Three denoising steps a frame, then one more pass that writes the new frame into the memory; the memory keeps the last 16 frames.
## Intended use and limitations
A research and demo model: a small, open example of an action-conditioned world model that runs on a consumer device,for learning, teaching, browser experiments and building your own. It is not a game engine and not a simulator: ithas no physics, collisions or score, and it only knows the four worlds above.
## Licence
Apache-2.0 for the weights and code. The training frames came only from worlds we wrote ourselves.
## Citation
```bibtex@misc{udgamlabs2026tinyrealm, title = {TinyRealm-45M: a world model that runs in your browser}, author = {{Udgam Labs}}, year = {2026}, url = {https://huggingface.co/udgamlabs/TinyRealm-45M}}```
TinyRealm by Udgam Labs.
---
**About Udgam Labs.** Udgam Labs is an independent AI research lab. We work from first principles: before we build, we understand why things work, whether we are training a model, fine-tuning one or applying AI to a new problem. Udgam (उद्गम) is Sanskrit for origin. [udgamlabs.com](https://udgamlabs.com)12345316a862a69212bca1af597d46440bedcdf7f74958409f6fcb683b0aea17b0700 pocketworld_s1_4worlds_256_fp16.onnx8ddb9cbdbeccd8e92841322be9f2aa3f38c6f4d3c68b183b9e3ef1459f2126db seed_s1_b0_kv.f1606d712fb1b7f4db822a3e583b6304a612196e7a91704ddbbc1f1892f050e4433 seed_s1_b1_kv.f167bcd4d5effa67515a8ec2b0bdd35f90296f1754126a1958b707ba3ab0e1cee1c seed_s1_b2_kv.f16cd3f590da730d945623681878ad664515a89415619dec3f40e2bb82c4fe788db seed_s1_b3_kv.f1612345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152{ "model_type": "tinyrealm", "name": "TinyRealm-45M", "version": "1.0", "format": "onnx", "model_file": "pocketworld_s1_4worlds_256_fp16.onnx", "dtype": "float16", "opset": 17, "parameters": 45615943, "architecture": { "world_model": { "type": "causal latent diffusion transformer (rectified flow), action-conditioned", "parameters_millions": 44.93, "width": 512, "depth": 12, "heads": 8, "head_dim": 64, "mlp_ratio": 4.0, "patch": 2, "latent_grid": 16, "latent_channels": 32, "tokens_per_frame": 65, "context_frames": 16, "denoising_steps_per_frame": 3 }, "decoder": { "type": "tapered convolutional decoder, 16x upsampling", "parameters_millions": 0.68 } }, "resolution": 256, "inputs": { "noise": {"dtype": "float16", "shape": [1, 32, 16, 16], "note": "standard normal noise, fresh every frame"}, "action": {"dtype": "float16", "shape": [1, 5], "order": ["steer", "pitch", "throttle", "boost", "strafe"], "range": "steer, pitch, strafe in [-1, 1]; boost 0 or 1; throttle 0.65-1 in training (the web player holds 0.85)"}, "k_cache": {"dtype": "float16", "shape": [12, 1, 8, 1040, 64], "note": "keys for the last 16 frames (16 x 65 tokens)"}, "v_cache": {"dtype": "float16", "shape": [12, 1, 8, 1040, 64], "note": "values for the last 16 frames"} }, "outputs": { "rgb": {"dtype": "float16", "shape": [1, 3, 256, 256], "range": [0, 255]}, "next_k": {"dtype": "float16", "shape": [12, 1, 8, 1040, 64], "note": "feed back as k_cache for the next frame"}, "next_v": {"dtype": "float16", "shape": [12, 1, 8, 1040, 64], "note": "feed back as v_cache for the next frame"} }, "seed_format": "raw float16, keys then values, each [12, 1, 8, 1040, 64] (25,559,040 bytes per file)", "worlds": [ {"id": 0, "name": "Red-Rock Canyon", "seed": "seed_s1_b0_kv.f16", "preview": "seed_s1_b0_preview.png"}, {"id": 1, "name": "Neon Skyway", "seed": "seed_s1_b1_kv.f16", "preview": "seed_s1_b1_preview.png"}, {"id": 2, "name": "Aurora Fjord", "seed": "seed_s1_b2_kv.f16", "preview": "seed_s1_b2_preview.png"}, {"id": 3, "name": "Volcanic Trench", "seed": "seed_s1_b3_kv.f16", "preview": "seed_s1_b3_preview.png"} ], "license": "apache-2.0", "by": "Udgam Labs"}123version https://git-lfs.github.com/spec/v1oid sha256:316a862a69212bca1af597d46440bedcdf7f74958409f6fcb683b0aea17b0700size 92403619123version https://git-lfs.github.com/spec/v1oid sha256:8ddb9cbdbeccd8e92841322be9f2aa3f38c6f4d3c68b183b9e3ef1459f2126dbsize 25559040123version https://git-lfs.github.com/spec/v1oid sha256:06d712fb1b7f4db822a3e583b6304a612196e7a91704ddbbc1f1892f050e4433size 25559040123version https://git-lfs.github.com/spec/v1oid sha256:7bcd4d5effa67515a8ec2b0bdd35f90296f1754126a1958b707ba3ab0e1cee1csize 25559040123version https://git-lfs.github.com/spec/v1oid sha256:cd3f590da730d945623681878ad664515a89415619dec3f40e2bb82c4fe788dbsize 25559040.gitattributesAdded+41
LICENSEAdded+201
README.mdAdded+216
SHA256SUMSAdded+5
assets/real_vs_model_fjord.jpgAdded

Large File Pointer Details
- SHA256: 2fa15af6ba1f47bbc5441907c6eb4d389043478de447845dc4adaa9dd1e01ae3
- Pointer size: 131 Bytes
- Size of remote file: 120 kB
assets/real_vs_model_neon.jpgAdded

Large File Pointer Details
- SHA256: e8c8e9fbdb7522cb38c9cf4beac3e3e303e8fc766f3c66a65d1fa7546f112db3
- Pointer size: 131 Bytes
- Size of remote file: 254 kB
banner.pngAdded

config.jsonAdded+52
pocketworld_s1_4worlds_256_fp16.onnxAdded+3
seed_s1_b0_kv.f16Added+3
seed_s1_b0_preview.pngAdded

seed_s1_b1_kv.f16Added+3
seed_s1_b1_preview.pngAdded

seed_s1_b2_kv.f16Added+3
seed_s1_b2_preview.pngAdded

seed_s1_b3_kv.f16Added+3
seed_s1_b3_preview.pngAdded
