accel-gen-9M
micro Llama model for FPGA and GGUF
2 min readupdated
This compact 8.3 million parameter model was created by the UT Austin team for a university FPGA benchmark (Ultra96 hardware accelerator). Unlike previous versions, it was pre-trained on 3 billion tokens and generates coherent English text reliably. The model is adapted for Q4_0 quantization and can run on both specialized hardware and standard processors via the GGUF format.
Key features
- Llama architecture with 6 layers and a width of 288, optimized for the A16Q4 engine.
- Pre-trained on 3B tokens (FineWeb-Edu and Cosmopedia v2).
- Q4_0 quantization (QAT) with activations preserved in 16-bit fixed point.
- High inference speed of up to 308 tokens per second on the target Ultra96 board.
What you can do
- Run a language model on microcontrollers or hardware FPGA platforms.
- Test an ultra-compact LLM locally through GGUF-compatible runtimes.
- Use it as a learning example for the full cycle of creating and quantizing a model from scratch.
Example
The model uses a simple built-in chat template: a user message with a newline and the assistant response.
Read more
DetailsBenchmarks: 100% on target tests (HellaSwag, ARC-Easy, IFEval from the training set)
Hardware: Ultra96 (A16Q4 engine) or x86 CPU
Limitations: high accuracy only on training datasets, outputs random results on unknown tasks (24.5% on held-out HellaSwag)
Training: 3.0B pre-training tokens plus 30 epochs of fine-tuning and QAT










Comments