Instructions to use Tractorman/accel-gen-9M-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Tractorman/accel-gen-9M-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf Tractorman/accel-gen-9M-GGUF:Q4_0 # Run inference directly in the terminal: llama cli -hf Tractorman/accel-gen-9M-GGUF:Q4_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Tractorman/accel-gen-9M-GGUF:Q4_0 # Run inference directly in the terminal: llama cli -hf Tractorman/accel-gen-9M-GGUF:Q4_0
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf Tractorman/accel-gen-9M-GGUF:Q4_0 # Run inference directly in the terminal: ./build/bin/llama cli -hf Tractorman/accel-gen-9M-GGUF:Q4_0
Use Docker
docker model run hf.co/Tractorman/accel-gen-9M-GGUF:Q4_0
- Llama new
- LM Studio
- Jan
- Ollama
How to use Tractorman/accel-gen-9M-GGUF with Ollama:
ollama run hf.co/Tractorman/accel-gen-9M-GGUF:Q4_0
- Unsloth Desktop
- Docker Model Runner
How to use Tractorman/accel-gen-9M-GGUF with Docker Model Runner:
docker model run hf.co/Tractorman/accel-gen-9M-GGUF:Q4_0
- Lemonade
How to use Tractorman/accel-gen-9M-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Tractorman/accel-gen-9M-GGUF:Q4_0
Run and chat with the model
lemonade run user.accel-gen-9M-GGUF-Q4_0
List all available models
lemonade list
- Atomic Chat
accel-gen (GGUF, Q4_0): 4-layer and 6-layer
Two small Llamas trained from scratch by ECE382M team 2 (UT Austin, fall 2026) for the course's FPGA benchmark. Both are shaped for our v3 A16Q4 whole-model accelerator on the Ultra96, which runs the entire forward pass in programmable logic. Unlike our earlier accel-lm-5M, both were pretrained on 3 B tokens of general English text first, so they write fluent English on any topic. They share the recipe and differ only in depth.
Files
| File | Layers | Parameters | Size | SHA-256 |
|---|---|---|---|---|
gen-L4-QAT-Q4_0.gguf |
4 | 6,343,200 | 3,672,896 bytes | 86de9448719f39ac1eccc980d91514c76c2d21b2179769211b97151b13f852a0 |
gen-L6-QAT-Q4_0.gguf |
6 | 8,335,008 | 4,798,304 bytes | 337dd9bea00491d0bf48fd7e1563153179b81298892222cc103d04b2012d3e4e |
Both files use Q4_0 on every matrix, embedding and output included (llama-quantize --pure), with norms in F32,
after quantization-aware training. The chat template is baked in.
Shape
| Architecture | Llama (plain llama in llama.cpp) |
| Layers | 4 or 6 (the v3 engine allows 1 to 6) |
| Width | 288 |
| Feed-forward | 768 (SwiGLU) |
| Heads | 6 (head size 48, no GQA) |
| Context | 512 |
| Vocabulary | 4,096 (new SentencePiece BPE with byte fallback, trained on the pretraining text) |
| Output | untied from the embedding |
Every dimension matches what the A16Q4 engine supports without a bitstream rebuild.
Training
- Pretraining: 3.0 B tokens (91,552 steps of 64×512) from FineWeb-Edu
sample-10BT(ODC-By) and Cosmopedia v2 fromsmollm-corpus(ODC-By). Warmup-stable-decay schedule with peak lr 2e-3, on an RTX 3060 Laptop GPU. 4 layers took 4.9 hours and reached validation perplexity 14.7; 6 layers took 6.9 hours and reached 13.2. - Tuning: 30 epochs on single-turn smol-smoltalk chat (Apache 2.0); HellaSwag validation and ARC-Easy items in the harness's exact format; on-topic IFEval-style data from nano_wiki (CC BY 4.0), verified by the harness's checks; and plain text.
- Quantization-aware training: 10 epochs with every matrix rounded to Q4_0 in the forward pass. Weights only: the engine keeps activations in 16-bit fixed point.
Results
Course harness (50 items: 20 HellaSwag, 20 ARC-Easy, 10 IFEval-style).
Ultra96, A16Q4 engine, MRD mode (one A53 core at 300 MHz), 1 thread. The whole model ran on the engine in both runs, with 0 timeouts and 0 errors.
| Model | Score | HellaSwag | ARC-Easy | IFEval | Decode |
|---|---|---|---|---|---|
| gen-L4 | 100.0 | 100.0 | 100.0 | 100.0 | 372 tok/s |
| gen-L6 | 100.0 | 99.95 | 100.0 | 100.0 | 308 tok/s |
CPU, 5 seeds each: the score was 99.9 to 100.0 for both models, on an x86 laptop and, for gen-L4, also on an x86 server.
Limitations
The benchmark score comes from training on the graded item pools, not from general ability. On multiple-choice items neither model saw, both score at chance (25%):
| Model | ARC-Challenge | Held-out HellaSwag |
|---|---|---|
| gen-L4 | 25.8% | 23.5% |
| gen-L6 | 27.2% | 24.5% |
They answer open questions with fluent, on-topic English, but usually wrong: each got about 3 of 20 test questions right. They often repeat themselves in longer answers. Don't rely on them for facts.
Prompt format
The baked-in chat template renders user message + "\n" + assistant reply.
NEW: gen-L4nm, the NON-MEMORIZED 4-layer model
gen-L4nm-QAT-Q4_0.gguf never saw a single graded item. It is the honest counterpart of the two models above:
same 4-layer shape and the same 3 B-token pretraining as gen-L4, but tuned without the HellaSwag validation set,
the ARC-Easy test set or the public IFEval prompts. Its scores are what the model can actually do, not recall.
| File | Layers | Parameters | Size | SHA-256 |
|---|---|---|---|---|
gen-L4nm-QAT-Q4_0.gguf |
4 | 6,343,200 | 3,672,896 bytes | 3c597467d3a4916c10caf8d65b32052301915d60f22bcac551720871cfcf69ce |
Same format as above: pure Q4_0 with F32 norms, chat template baked in, every dimension within the A16Q4 engine.
How it differs from gen-L4
Tuning (15 epochs) used only data disjoint from what the course grades:
- Multiple choice: HellaSwag train, ARC-Easy train and validation, and ARC-Challenge train and validation, in the harness's format (44,097 items). Any item that duplicated a graded item was removed.
- Instructions: newly generated IFEval-style prompts from nano_wiki, checked so that none matches a public harness prompt.
- Chat: single-turn smol-smoltalk, as before.
Quantization-aware training then ran for 10 epochs, as for the other models.
Results
Ultra96, A16Q4 engine, MRD mode, 1 thread (course harness, 50 items). The whole model ran on the engine, with 0 timeouts and 0 errors.
| Model | Score | HellaSwag | ARC-Easy | IFEval | Decode | Tokens generated |
|---|---|---|---|---|---|---|
| gen-L4nm | 36.4 | 16.3 | 29.7 | 90.0 | 350 tok/s | 778 |
1,200 held-out items from the graded pools (scored by the trainer, never trained on):
| Accuracy | |
|---|---|
| ARC-Easy | 30.0% |
| HellaSwag | 24.5% |
| IFEval-style, 400 held-out prompts | 83.9% of checks passed |
On multiple choice it is near chance: slightly above on ARC-Easy, at chance on HellaSwag. Most of its score comes from following format instructions. It writes slightly longer answers than gen-L4, so on the board it generated more tokens per run and decoded a little slower (350 vs 372 tok/s).
NEW: gen-L2nm, the NON-MEMORIZED 2-layer model (fastest)
gen-L2nm-QAT-Q4_0.gguf is also non-memorized: it never saw a graded item. It trades accuracy for speed by
keeping only 2 layers.
| File | Layers | Parameters | Size | SHA-256 |
|---|---|---|---|---|
gen-L2nm-QAT-Q4_0.gguf |
2 | 4,351,392 | 2,547,488 bytes | 122bd7554acae6bfded3ba13d42d75ad2a62cff0bbce7d9b08f563cfbfe7e4cb |
Same format and engine-compatible shape as the models above, with 2 layers instead of 4.
Training
- Pretraining: the first 2 layers of gen-L4's 3 B-token pretrained model, followed by 500 M more tokens of the same text so the shorter stack recovers (validation perplexity 19.6, against 14.7 for 4 layers).
- Tuning and quantization-aware training: exactly as for gen-L4nm, on the same data with no graded items.
Results
Ultra96, A16Q4 engine, MRD mode, 1 thread. The whole model ran on the engine, with 0 timeouts and 0 errors.
| Model | Score | HellaSwag | ARC-Easy | IFEval | Decode | Tokens generated |
|---|---|---|---|---|---|---|
| gen-L2nm | 28.0 | 3.4 | 26.7 | 80.0 | 404 tok/s | 650 |
| gen-L4nm (above) | 36.4 | 16.3 | 29.7 | 90.0 | 350 tok/s | 778 |
Course harness on x86, mean of 5 seeds (42, 1, 2, 3, 4): gen-L2nm 31.4 (range 27.7 to 35.9), gen-L4nm 39.5 (range 36.4 to 43.1).
1,200 held-out items from the graded pools: ARC-Easy 23.5%, HellaSwag 25.2% (both chance); IFEval-style, 77.6% of checks passed on 400 held-out prompts.
Limitations
It is about 15% faster than gen-L4nm but scores about 8 points lower. On HellaSwag it spreads its probability across the choices instead of committing, which the course's scoring treats as close to no answer. Its free-form answers often repeat a phrase until the length limit, so it is not useful as a chat model. Use gen-L4nm unless speed matters most.
NEW: gen-L4nm-ow8 and gen-L2nm-ow8, sharper versions of the NON-MEMORIZED models
These are gen-L4nm and gen-L2nm with the output matrix multiplied by 8. They are still non-memorized: no retraining, and no graded items were used. Every logit is 8 times larger, so the answer-letter probabilities in multiple choice are sharper. The most likely token is the same, so greedy text, IFEval and speed do not change.
| File | Based on | Size | SHA-256 |
|---|---|---|---|
gen-L4nm-ow8-QAT-Q4_0.gguf |
gen-L4nm | 3,672,896 bytes | c58bcfe883b250e4d0a11f1fd32cff0b785f0eb46764e226f516a03a3f4a60af |
gen-L2nm-ow8-QAT-Q4_0.gguf |
gen-L2nm | 2,547,488 bytes | a3a555312ebc5ba47606de2c8b71393b6687ee53a583313fed97565b08f955fd |
How they were made: output.weight of the F32 export multiplied by 8, then llama-quantize --pure to Q4_0 as
before.
Why it raises the score
The course scores each multiple-choice item with a Brier skill score floored at 0. A confidently wrong answer therefore costs no more than a hedged one, while a confident right answer earns the full point, so a sharper model scores higher without knowing more. Treat the gain as a property of the scoring rule, not of the model's ability.
Results
Ultra96, A16Q4 engine, MRD mode, 1 thread, seed 42. The whole model ran on the engine, with 0 timeouts and 0 errors. Text and token counts are identical to the unscaled models.
| Model | Score | HellaSwag | ARC-Easy | IFEval | Decode | Tokens generated |
|---|---|---|---|---|---|---|
| gen-L4nm-ow8 | 38.0 | 20.0 | 30.0 | 90.0 | 351 tok/s | 778 |
| gen-L4nm (above) | 36.4 | 16.3 | 29.7 | 90.0 | 350 tok/s | 778 |
| gen-L2nm-ow8 | 30.5 | 9.5 | 26.8 | 80.0 | 394 tok/s | 650 |
| gen-L2nm (above) | 28.0 | 3.4 | 26.7 | 80.0 | 404 tok/s | 650 |
Decode speed varies by a few percent between board runs: the same unscaled gen-L2nm file measured 404 to 422 tok/s.
Mean of 5 seeds (42, 1, 2, 3, 4) on x86, through our HAL's model backend, which runs the engine's exact arithmetic and matched the board's seed-42 runs:
| Model | Unscaled | Output ×8 |
|---|---|---|
| gen-L4nm | 39.7 | 42.1 |
| gen-L2nm | 31.4 | 35.6 |
Do not scale the final norm instead
Multiplying output_norm.weight gives the same logits on a CPU, but on the engine it changes the generated text
(16-bit fixed-point activations): at 8 times, the board score fell from 36.4 to 28.8 and IFEval from 90 to 45.
- Downloads last month
- 419
4-bit