Examples¶
Every example is a standalone program under
examples/
in the repository, built by zig build; each page below is that
example's README, verbatim.
- Cartridge — train a corpus into a reusable KV prefix
- Cartridge fleet — one cartridge per document
- DeepSeek V2/V3 (MLA) —
zig build deepseek2 - DeepSeek V4 Flash 284B-A13B —
zig build deepseek4 - DiffusionGemma 26B-A4B — block text-diffusion
- Engram — conditional n-gram memory grafted onto Qwen3
- es-finetune — evolution-strategies fine-tuning (gradient-free)
- es-spirals — evolution-strategies training from scratch
- es-ternary-spirals — ternary-native ES over packed TQ2_0
- facedetect — buffalo_l face pipeline (face-detect.cpp port)
- finetune — LoRA fine-tune → merge → re-quantize → serve
- Gemma 4 26B-A4B — MoE chat
- GLM-4.5 family —
zig build glm4moe - Inkling 975B-A41B — hybrid rel-bias attention + MoE
- lmserve — OpenAI- and Anthropic-compatible LM server
- LocateAnything — open-vocabulary detection
- NAM — Neural Amp Modeler in Fucina
- nanochat (Fucina port)
- OmniVoice in Fucina
- Parakeet — speech-to-text (NVIDIA NeMo FastConformer)
- pockettts — Pocket TTS v2 (kyutai) in pure Zig
- ptqtp-qwen3 — PTQTP-decorate a Qwen3 GGUF and compare NLL
- ptqtp-spirals — post-training trit-plane quantization, self-verifying
- Qwen3 — chat, generation, speculative decoding
- Qwen3.5 — Gated-DeltaNet hybrid loader/parity harness
- qwen3tts — Qwen3-TTS text-to-speech from GGUF
- smoke — minimal tensor/autograd sanity demo
- spirals — optimizers, checkpointing, resume, inference
- voiceagent — native cascade voice agent in a TUI