oli-mebberson/quark-1.5b-GGUF
Lattice Quark 1.5B GGUF
GGUF builds of Lattice Quark 1.5B, a decoder-only language model trained from scratch by Oli Mebberson. It is not a fine-tune of another base model.
Quark was pretrained on about 2B tokens, then instruction-tuned for chat. These files package the released SFT checkpoint for llama.cpp and local apps.
Quants
The trained answer to "Who are you?" is unusually sensitive to quantization. In greedy tests, only Q80 and f16 answered as Lattice Quark. Q6K, Q5KM and Q4KM stayed coherent but switched to a generic assistant identity. Gravity explanations and Fibonacci code stayed coherent in tested Q4KM, Q5KM and Q8_0 builds.
The simple arithmetic weakness is still present. The model can ramble or answer incorrectly, even at Q8_0. Treat that as a model limitation rather than a reason to assume a smaller quant is broken.
Important: patched llama.cpp required
Quark uses a custom nanochat architecture. Stock llama.cpp does not currently load these files.
This repo includes:
quark-llama-cpp.bundle, a cloneable git bundle containing the tested llama.cpp base and nanochat support commitquark-nanochat-llamacpp.patch, the standalone architecture patchconvert_to_gguf.py, the converter used for this releaseNOTES.md, build, integration and verification notes
To restore the tested llama.cpp tree:
git clone quark-llama-cpp.bundle llama.cpp
cd llama.cpp
cmake -B build -DGGML_METAL=ON -DLLAMA_CURL=OFF
cmake --build build --config Release -jThen run a GGUF with the chat template embedded in the file:
./build/bin/llama-cli \
-m quark-1.5b-sft-Q8_0.gguf \
-cnv \
-c 2048Model details
The raw checkpoints and original model card are in the source model repo. The training code is at olii-dev/nano-gpt.
Verification
The conversion was checked at several levels:
- tokenizer output matched the source tokenizer byte-for-byte on eight test strings
- a small end-to-end reference test matched all 24 of 24 greedy token IDs and produced mean NLL 6.2510 in llama.cpp versus 6.2498 in the reference
- every published quant loaded and generated text in the patched llama.cpp build
- the f16 and Q8_0 builds reproduced the trained Lattice Quark identity answer
- SHA-256 checksums were verified after the artifacts were copied to storage
Limits
Quark is a small model trained in the open. It can hold a conversation, follow instructions and write simple code, but it makes arithmetic errors, can wander, and may confidently state false information. Do not use it for decisions that need reliable factual or numerical answers.
More Lattice models and demos are at lattice.mebbo.cloud.
