Llama-style decoder · runs 100% in your browser · weights from HuggingFace
Completion Playground
Model Card / Spec Sheet
| Family | Llama-style decoder maps 1:1 to transformers.LlamaConfig |
| Parameters | ≈125.8M tied embeddings → LM head adds 0 |
| Hidden size (d_model) | 768 |
| Layers | 12 |
| Attention heads | 12 head dim 64 |
| KV heads | 12 (MHA) num_kv == num_heads → export-safe |
| MLP | SwiGLU intermediate 3072 (4×), silu gate |
| Normalization | RMSNorm eps 1e-5, pre-norm |
| Positional | RoPE θ (rope_theta) = 10,000 |
| Context length | 1,024 tokens |
| Embeddings | Tied input embed == output projection |
| Attention bias | False |
| Serving dtype | int8 (q8) ONNX bf16 trained → quantized for browser |
Deliberately vanilla geometry: MHA (not GQA) and a 1:1 LlamaConfig mapping so the model exports cleanly to ONNX (and GGUF) with zero custom-converter work — which is exactly what lets it run in-browser here via Transformers.js.