Words become pieces.
The tokenizer splits a sentence into small pieces and assigns each piece a number. Those numbers are the model's input.
OmegaMind is a 152.8-million-parameter language model with its own training pipeline and a custom C++17 inference engine. It generates text on a CPU, using system memory for its model weights, working data and attention cache.
A language model does not read a sentence in the same way a person does. It turns text into numbers, processes those numbers through learned layers, and predicts what should come next.
The tokenizer splits a sentence into small pieces and assigns each piece a number. Those numbers are the model's input.
OmegaMind looks up learned values, passes them through 16 Transformer layers and reuses information held in system RAM.
The model selects a next piece, converts it back into text and repeats the process until the answer is complete.
The design is intentionally CPU-first. The model file, its working memory and the calculations each have a distinct place in the system.
The trained parameters live in model.bin. C++ maps the file into its address space instead of copying the entire file into another weight buffer.
Host RAM holds the session's K and V attention cache and temporary buffers used while the CPU performs each calculation.
AVX2 and FMA process groups of floating-point values. OpenMP distributes suitable loops across CPU threads.
* Based on 16 layers × 1,024 positions × 768 dimensions × FP32. This is the allocated K/V buffer capacity, not a claim about physical RAM residency.
This is the original token-journey experience, kept as its own self-contained section. It is loaded inline so it can run inside the Hugging Face Space frame. Scroll inside it, pause the walkthrough or move through the stages at your own pace.
Enter a question and send it to the OmegaMind inference engine running behind this page. The reply is streamed back as the model generates it.
I'm open to conversations around inference engineering, efficient model execution, systems programming and applied AI. If you are building in this space, I'd be glad to connect.