Repository navigation
token0 0.1.0
Added
token0 convert: Qwen3 Hugging Face checkpoints to.t0model files
(Q8_0 weights, tokenizer tables, RoPE table).token0 tiny: a small random Qwen3-shaped checkpoint for tests.token0 encodeandtoken0 reference: the kernel's tokenizer and a numpy
forward pass with the kernel's exact arithmetic, with greedy generation.token0 run: boot the kernel with a model under QEMU.- Kernel: loads a
.t0model passed as Multiboot module 0 and runs
Qwen3 inference on one core with AVX2;tokens=,n=andctx=on the
command line generate greedily from token ids. - Kernel: boots into a multi-turn chat over COM1, VGA and the PS/2
keyboard, with Qwen3's template,/clear,/think,/nothink,/halt;
prompt=runs one turn;thinkandprint_tokensoptions.
Assets
token0-0.1.0.bin: the kernel, for any Multiboot loader (GRUB, QEMU-kernel).token0-0.1.0-qwen3-0.6b.iso: bootable BIOS + UEFI image with Qwen3-0.6B (Apache-2.0) as the model. Copy it to a Ventoy stick orddit to a USB stick.
Boot in legacy BIOS (CSM) mode for the chat on screen and keyboard; under UEFI the chat is on the serial port only.