zhele is a language, compiler and environment for neural networks. You build a net from blocks on a single strand, train it on your own graphics card and take it apart layer by layer. Everything runs on your computer.
The colour of each mark is the block's family on the scene: layers with weights, mixing, data, goal, functions.
Layers with weights, attention, mixture of experts, convolutions, recurrent blocks. Ready templates of modern nets: Llama 3, Qwen3, Gemma 3, DeepSeek V3, gpt-oss, Mamba-2 and hybrids. Write your own block once and use it anywhere.
On your own GPU or CPU: a live loss curve, your own data — text, images, sound, tables, graphs. The course «your own language model from scratch» — 15 lessons inside the window: every step says why, and after each action shows what changed in the net and what it means.
Lenses show on the scene where the weights, compute, time, memory and usefulness are. A wire debugger, interventions on a wire and a kernel profiler let you see what happens inside.
Import: Hugging Face weights, PyTorch code, ONNX from TensorFlow, Keras and JAX. Export: Hugging Face, GGUF for llama.cpp, ONNX with a numeric check. From Python — zhele.compile("model.zhele").
Edits the program from a request in words: «add two more floors», «train longer». Its brain is the author's own language model, trained on this same computer. Beta for now.
Two nets on the same data and the same time — a fair comparison. The «Machine» tab shows what the GPU computes and how much memory a step takes.
The strand above and this text are the same net. Edit a block on the scene and the line changes; edit the line and the strand changes.
net: input tokens emb = embed(tokens) pos = positions(emb) floors = repeat "Floors" (x = pos, times 4): n1 = norm(x) att = attention(n1) r1 = x + att n2 = norm(r1) mlp = mlp(n2, hidden 512) r2 = r1 + mlp output out = r2 nf = norm "Final norm"(floors) head = head(nf) output logits = head train: budget: kind steps, value 600 optimizer: kind AdamW, lr 0.003
embed, norm, attention are blocks with weights. The compiler checks shapes before training and shows an error right where it is.repeat … times 4 is four identical floors in one bubble. On the scene it is a bulge with four bands.train section is the budget, optimizer and schedule. The «Train» button compiles the text into real PyTorch code and runs it.
The program updates itself: every 6 hours it checks for a new version, verifies the author's signature and installs it on the next start.
zhele.compile("model.zhele") is an ordinary nn.Module.| System | Windows 10 or 11, 64-bit |
| Graphics card | NVIDIA trains faster; without one it runs on the CPU |
| Disk space | about 1 GB; Python and torch take another 0.2 GB without a GPU or 2.5 GB with one |
| Internet | only during installation, if Python 3.10+ and torch are not on the computer |
The installer sets up Python 3.12 and torch itself if they are missing (10–30 minutes). Other Python versions are not affected.