Skip to content

token0 0.1.0

Choose a tag to compare

@Arzaroth Arzaroth released this 30 Nov 05:17
· 79 commits to master since this release

Added

  • token0 convert: Qwen3 Hugging Face checkpoints to .t0 model files
    (Q8_0 weights, tokenizer tables, RoPE table).
  • token0 tiny: a small random Qwen3-shaped checkpoint for tests.
  • token0 encode and token0 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 .t0 model passed as Multiboot module 0 and runs
    Qwen3 inference on one core with AVX2; tokens=, n= and ctx= 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; think and print_tokens options.

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 or dd it 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.