Downloads · 30 days
11
6% of all-time downloads
lattice-research/lattice-quark-1.5b-mlx
lattice-quark-1.5b-mlx is a machine learning model from lattice-research. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
MLX conversion of the Quark 1.5B nanochat-style language model, trained from scratch. Optimized for Apple Silicon: transformer linears quantized to 4-bit (group size 64), token and value embeddings kept in bf16.
Downloads · 30 days
11
6% of all-time downloads
All-time downloads
176
Public
Parameters
828M
1.9 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors1.9 GB · 100%
How the weights are stored.
BF16729M · 88%
From the Hugging Face model README
MLX conversion of the Quark 1.5B nanochat-style language model, trained from scratch. Optimized for Apple Silicon: transformer linears quantized to 4-bit (group size 64), token and value embeddings kept in bf16.
nanochat2 (complete architecture: value embeddings, smear, backout, residual lambdas)model.safetensors — weights (4-bit quantized linears + bf16 embeddings)config.json — model configuration (model_type: nanochat2)tokenizer.json / tokenizer_config.json — HuggingFace tokenizer (byte-exact with the training tokenizer, incl. chat template)nanochat_tokenizer.json — original tokenizer dumpnanochat_rope.safetensors — precomputed rotary embeddingsgeneration_config.json — eos = <|assistant_end|> (32763)Requires the nanochat2 model type, available since mlx-lm PR #1761:
pip install mlx-lm
mlx_lm.generate --model lattice-research/lattice-quark-1.5b-mlx --prompt "what are you"
The chat template wraps prompts in the SFT marker format from training.
Base checkpoint: lattice-research/lattice-quark-1.5b