Downloads · 30 days
0
lattice-research/lattice-quark-1.5b
lattice-quark-1.5b is a text generation model from lattice-research. Use it when you need the model to write or continue text. The card lists the license as mit.
A 1.5B-parameter decoder-only language model trained from scratch by Lattice — no pretrained weights used. Pretrained on consumer hardware (RTX 5090), then instruction-tuned.
Downloads · 30 days
0
Access
Public
Updated Aug 12, 2026
Repo size
42.9 GB
Likes
0
Public
Click a slice to open those files.
.pt42.9 GB · 100%
From the Hugging Face model README
A 1.5B-parameter decoder-only language model trained from scratch by Lattice — no pretrained weights used. Pretrained on consumer hardware (RTX 5090), then instruction-tuned.
| Params | 1.5B |
| Architecture | GPT-style, 26 layers, 1536 embd, 12 heads |
| Context | 2048 tokens |
| Vocab | 32,768 (tiktoken-style BPE) |
| Pretraining | ~2B tokens of SmolLM corpus, 1,500 iters |
| Instruction tune | 465 iters, chat format (`< |
| Window pattern | "L" (attention sink + local window) |
Checkpoints were streamed to this repo live during training (checkpoints/base/…, checkpoints/sft/…) — the raw .pt files are still here for reproducibility. The training pipeline is open source: github.com/olii-dev/nano-gpt.
This is a from-scratch hobby-scale model. It holds a conversation, follows instructions, writes simple code, and has a stable identity — but it makes arithmetic errors, can be verbose, and will confidently say wrong things. Not for production. That's the point: it's a small model trained in the open, warts and all.
| Prompt | Result |
|---|---|
| "Who are you?" | "I'm Lattice Quark, a small language model built by Lattice Systems." ✓ |
| "3 apples, take 2 away" | "you have 1 apple" ✓ |
| "Explain gravity" | coherent multi-paragraph explanation ✓ |
| "Fibonacci in Python" | clean implementation with error handling ✓ |
| "17 × 23" | ✗ arithmetic loop (typical at this scale) |
The checkpoint uses the nanochat runner (custom architecture — no transformers config yet):
git clone https://github.com/olii-dev/nano-gpt
uv sync --extra gpu
python -m scripts.chat_cli -i sft -g quark-1.5b -s 465
More at lattice-research on Hugging Face and lattice-site-lime.vercel.app.