Pluto Base is a 121M-parameter language model. xxparthparekhxx trained it from scratch on 4.35B tokens of FineWeb-Edu: the first 750M tokens on one RTX 5060 Laptop GPU (8 GB), the rest on one RTX PRO 6000. It continues text and is not tuned for chat; for a chat model, use pluto-124m-chat.
This is version 2. Version 1, trained on 1B tokens, is the v1 revision of this repo (revision="v1" in from_pretrained).
from transformers import AutoModelForCausalLM, AutoTokenizer
repo = "xxparthparekhxx/pluto-124m-base"
tokenizer = AutoTokenizer.from_pretrained(repo, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(repo, trust_remote_code=True)
inputs = tokenizer("The most important thing to know about the ocean is", return_tensors="pt")
output = model.generate(**inputs, max_new_tokens=60)
print(tokenizer.decode(output[0], skip_special_tokens=True))
trust_remote_code=True is needed for both the tokenizer and the model. The architecture (gated attention with QK-norm and a logit soft-cap) is not a stock transformers class; its code is modeling_pluto.py in this repo.
All four models were scored with the same code: lm-evaluation-harness 0.4.13, zero-shot, fp32. GPT-2 is openai-community/gpt2.
| Task (metric) | Pluto base v2 | Pluto chat v2 | GPT-2 124M | Pluto base v1 |
|---|---|---|---|---|
| HellaSwag (acc_norm) | 33.9 | 34.2 | 31.1 | 30.2 |
| ARC-Easy (acc_norm) | 47.6 | 44.6 | 39.5 | 45.2 |
| ARC-Challenge (acc_norm) | 27.0 | 26.5 | 22.7 | 24.3 |
| OpenBookQA (acc_norm) | 30.4 | 30.6 | 27.2 | 29.4 |
| PIQA (acc_norm) | 63.4 | 62.4 | 62.5 | 60.3 |
| Winogrande (acc) | 52.3 | 51.9 | 51.6 | 52.3 |
| LAMBADA (acc) | 28.1 | 20.6 | 32.6 | 23.3 |
The standard errors are about ±0.5 points on HellaSwag and LAMBADA, ±1 to 1.5 on ARC, PIQA and Winogrande, and ±2 on OpenBookQA.
Pluto base v2 is ahead of GPT-2 on HellaSwag and on the science and school-knowledge questions (ARC-Easy, ARC-Challenge and OpenBookQA), which matches its educational pretraining data. It is level on PIQA and still behind on LAMBADA, which asks for the last word of passages from novels; FineWeb-Edu contains little fiction. Winogrande is near chance (50%) for all of them. Compared with v1, the 4.35× longer training raised every score except Winogrande.
On the same 4M held-out FineWeb-Edu tokens, the validation loss is 2.991 for Pluto base v2 (perplexity 19.9), 3.203 for v1 (perplexity 24.6) and 3.274 for GPT-2 (perplexity 26.4). This text is in-distribution for Pluto, so the comparison favors it. The raw results are in eval/.
sample-10BT, tokenized with GPT-2's BPE.torch.compile.| Parameters | 121.2M (embeddings tied with the output layer) |
| Layers | 12, pre-norm, RMSNorm |
| Width | 768 |
| Attention | grouped-query: 12 query heads, 4 key/value heads, head size 64 |
| RoPE (θ = 10,000), RMSNorm on queries and keys, sigmoid output gate | |
| Feed-forward | SwiGLU, hidden size 2,048 |
| Output | tanh logit soft-cap at 30 |
| Vocabulary | GPT-2 BPE plus 4 chat tokens (unused here), padded to 50,304 |
| Context | 1,024 tokens |
Apache-2.0. The training data, FineWeb-Edu, is ODC-By 1.0.