CloverLM is a 4-billion-parameter dense decoder-only language model pretrained entirely in native NVFP4 precision using the Quartet II algorithm.
Trained on the ClimbMix data mixture for approximately 310 billion tokens on 8 NVIDIA B300 GPUs in roughly 8 days, CloverLM reaches zero-shot accuracy competitive with OPT-175B on a standard evaluation suite — at a fraction of the cost.
Model Details
Property
Value
Parameters
~4.06 B (29 blocks, 28 attention heads, d_head=128)
$4,600–$10,700 depending on spot vs. on-demand pricing (Verda)
Evaluation Results
All evaluations are zero-shot using the EleutherAI lm-eval harness v0.4.11.
The model is loaded via a custom CloverLMHFLM wrapper in BF16 with Quartet II kernels.
1from transformers import AutoModelForCausalLM, AutoTokenizer
23model = AutoModelForCausalLM.from_pretrained(4"daslab-testing/CloverLM",5 trust_remote_code=True,6 dtype="bfloat16",7 quartet_2_impl="pseudoquant",# on non-Blackwell GPUs or "quartet2" for native NVFP4 kernel8).to("cuda")# for GPU usage or "cpu" for CPU usage910tokenizer = AutoTokenizer.from_pretrained(11"daslab-testing/CloverLM",12 trust_remote_code=True,13)1415input_ids = tokenizer("The capital of France is", return_tensors="pt").input_ids
16output = model.generate(input_ids.to(model.device), max_new_tokens=32)17print(tokenizer.decode(output[0]))
Note that quartet_2_impl="quartet2" only supports inputs with (micro_batch_size * seq_length) % 128 == 0.
Running Evaluations
See the lm_eval/ directory for the full evaluation setup.
CloverLM is a decoder-only Transformer loosely following the OLMo2 design.
Each block applies multi-head self-attention (with grouped-query attention at ratio 4) followed by a squared-ReLU MLP, both with post-sublayer RMSNorm and residual connections.
Query and key projections use RoPE and are sphere-normalized before scaling.
All dense linear layers (Q, K, V, O projections and MLP layers) use Quartet II NVFP4 quantization during both training and inference.
Embeddings, layer norms, and the output head remain in BF16.
The model uses 264 weight tensors totaling ~4.14 B parameters.
Limitations
Short context: Trained with a 1,024-token context window. Performance on long-context or open-ended generation tasks may be limited.
English only: The TokenMonster vocabulary and ClimbMix training data are English-centric.
No instruction tuning: This is a base pretrained model, not fine-tuned for instruction following or chat.
Contamination risk: ClimbMix optimizes mixture weights against benchmark scores, and the upstream datasets (Nemotron-CC, SmolLM-Corpus) do not investigate benchmark contamination. Strong results should be interpreted with caution.
Generative benchmarks: The model is notably weaker on open-ended generation tasks (LAMBADA, NQ) compared to the 175B baselines, reflecting the scale gap on tasks that require deeper knowledge recall.
Citation
bibtex
1@article{cloverlm2026,
2 title = {Speedrunning GPT3: Pretraining an OPT-175B-Quality Model Cheaply
3 by Leveraging Native NVFP4},
4 author = {Erik Schultheis and Georgios Vlassis and Matin Ansaripour and
5 Andrei Panferov and Dan Alistarh},
6 year = {2026},
7}