Skip to main content Switch to mobile version mindz 0.0.2 Learn AI by watching it think: 17 step-by-step lessons from linear regression to Transformers, Q-learning and diffusion, with play, pause and scrub, in ten languages.
pip install mindz==0.0.2 Copy PIP instructions
Learn AI by watching it think: machine learning, neural networks, tokenization, attention and language models, one operation at a time.
mindz is an educational desktop app. Every lesson runs a real algorithm with real arithmetic, records every step and lets you play, pause, step and scrub through it like a video. Every number on screen is a number the algorithm actually computed; every point, line, neuron, token and matrix can be clicked for an explanation in plain language, in detail or as a formula.
It belongs with qubitz (quantum computing) and neurz (RNN, LSTM, GRU and CNN up close).
Seventeen lessons in six chapters. Each runs a real algorithm and records every step.
Playback: play / pause, step forward and back, jump to start or end, loop, speed 0.25×–8×, a timeline grouped by step that you can click or drag.
Click to learn: every element opens a short bubble; the right panel explains it at three levels (Simple · Detailed · Math) with links to related concepts; hovering shows the exact numbers.
Lessons: a guided lesson per topic, each step jumping to the moment it talks about, with a question at the end.
Change everything: learning rates, steps, noise, k, datasets, depth, hidden neurons, filters and pictures, your own text and sentences, temperature, top-k, top-p, beam width, exploration ε, seeds. The run is recomputed at once.
Ten languages: Türkçe, English, Azərbaycanca, Deutsch, Français, Español, Русский, العربية, فارسی, 中文 (right-to-left for Arabic and Persian). Interface and step narration are translated everywhere; the long concept texts are in Turkish and English, other languages show translated titles and the English text.
9 themes, your own interface and number fonts and text sizes.
Download (portable, nothing to install)
Every release on the Releases page carries ready-to-run builds:
The desktop app (Python, PyPI):
pip install mindz mindz # or: mz Python 3.10+ with PySide6 and NumPy; runs on Windows, Linux and macOS.
Gradient descent and the BPE tokenizer also run in the terminal or in your own code, without the window:
npm install -g mindz # JavaScript (npm) mindz run linreg --lr 0.18 cargo install mindz # Rust (crates.io) mindz run tokens --text "low lower lowest newer newest" --merges 5 import { linreg, bpe } from "mindz"; const r = linreg({ lr: 0.08, steps: 40 }); // r.steps: [{ k, loss, w, b, dw, db }] const t = bpe("low lower lowest", 4); // t.merges, t.vocab, t.tokens, t.ids let r = mindz::linreg(0.08, 40, 0.8, 3); // r.steps, r.diverged let t = mindz::bpe("low lower lowest", 4, "en"); // t.merges, t.vocab, t.tokens, t.ids All three packages are called mindz. The data come from the same small random generator, so the JavaScript and Rust results match the Python app number for number (the test suites check this against tests/golden.json). mindz gui in the npm and Rust versions opens the Python desktop app if it is installed.
mz topics # the seventeen lessons mz run linreg --lr 0.3 # every step with its numbers (this one diverges) mz run kmeans --k 4 --seed 9 mz run mlp --dataset spiral --hidden 8 --lr 3 mz run tokens --text "evler evlerde kitaplar kitaplarda" --lang tr mz run attention --sentence "the small dog brought the big ball" --causal true mz run sampling --temperature 1.5 --top-k 5 --top-p 0.9 mz run sampling --method greedy mz run beam --start teacher --width 3 mz run tree --depth 4 --dataset xor mz run qlearn --epsilon 0.2 mz run diffusion --shape images mz concepts # every concept key mz explain temperature --level math # simple | detail | math mz update # upgrade with this Python's pip mz -v --lang tr or --lang en may stand anywhere on the line; without it the system language is used.
src/mindz/core/topics.py runs each algorithm once and records every operation as a frame (phase, values, the formula with its own numbers, the concept it explains). The window only moves through these frames, so pausing, stepping back and scrubbing never recompute anything. The attention lesson uses a hand-made embedding whose six dimensions have a meaning (noun, living, verb, pronoun, adjective, function word) plus two for position, and hand-written W_Q, W_K, W_V, so the attention pattern can be explained; real Transformers learn all of these. The next-word and beam-search lessons use a bigram model counted from a small built-in text. The diffusion lesson uses the exact ("ideal") denoiser of its training set instead of a trained network, so it shows the mechanics of the reverse process honestly, including that a perfect denoiser can only give the training examples back.
git clone https://github.com/bayramkotan/mindz && cd mindz pip install -e .[dev] pytest -q # Python npm test # JavaScript cargo test # Rust python tools/make_golden.py # after changing the shared runs python packaging/build.py # portable build for this system License
MIT © 2026 Bayram Kotan. Bundled fonts: Inter and JetBrains Mono (SIL Open Font License).
Released: Dec 5, 2026
Author: Bayram Kotan
machine learning deep learning artificial intelligence nlp transformer attention education visualization pyside6
Environment X11 Applications :: Qt
Intended Audience Education
License OSI Approved :: MIT License
Operating System OS Independent
Programming Language Python :: 3
Scientific/Engineering :: Artificial Intelligence
Release files for mindz 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
Built distribution (wheel)
Total release size: 2.8 MB
Release files / mindz-0.0.2.tar.gz
Release files / mindz-0.0.2-py3-none-any.whl
Security for mindz 0.0.2
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Release history Release notifications | RSS feed
Dec 5, 2026 2 release files No provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation
Deployed from 4d99e05











