NTP β€” 167m

Next-token prediction only β€” the no-mtp baseline. One of twelve checkpoints released with Multi-Token Prediction Done Right (arXiv:2610.38331): three objectives x four sizes, trained under an identical recipe so they are directly comparable.

Code: JaydenTeoh/Soft-MTP β€” configs/167m_fineweb.yaml.

Objective

Plain next-token cross-entropy. No MTP heads are built or trained (n_mtp: 0).

Usage

from transformers import AutoModelForCausalLM, AutoTokenizer

model = AutoModelForCausalLM.from_pretrained("JaydenTeoh/ntp-167m-model", trust_remote_code=True)
tok = AutoTokenizer.from_pretrained("gpt2")          # the corpus tokenizer

ids = tok("The capital of France is", return_tensors="pt").input_ids
print(tok.decode(model.generate(ids, max_new_tokens=20)[0]))

trust_remote_code=True is required: the architecture (model_type: hf_mtp) is defined by the modelling files in this repo, not by transformers.

The tokenizer is stock GPT-2 β€” this repo ships no tokenizer files. vocab_size is padded from 50257 to 50304 for alignment; the extra rows are unused.

Model

hidden size x layers 512 x 36
attention heads 8
context length 2048
MTP heads none
parameters 167M total
deployed (NTP path) 167M

No MTP heads: this is the plain next-token baseline the MTP arms are compared against.

Training

data FineWeb-Edu, GPT-2 BPE
tokens 31.5B (60,000 steps x 256 x 2048)
optimizer Muon on 2D hidden matrices + AdamW on embeddings/head/norms
peak LR 0.002, cosine to 1e-05, 2,000 warmup steps
weight decay 0.1
precision bf16 autocast over fp32 master weights
seed 13

Single run per cell, one seed. The twelve checkpoints share seed, data order and schedule, so differences between them are attributable to the objective.

Citation

@article{teoh2026multitokenpredictionright,
  title={Multi-Token Prediction Done Right},
  author={Jayden Teoh},
  journal={arXiv preprint arXiv:2610.38331},
  year={2026},
}
Downloads last month
-
Safetensors
Model size
0.2B params
Tensor type
F32
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Dataset used to train JaydenTeoh/ntp-167m-model

Collection including JaydenTeoh/ntp-167m-model

Paper for JaydenTeoh/ntp-167m-model