Maggio33's picture
Card: uptraining finished, final step-11920, note on missing step-10000
37ae526 verified
|
Raw History Blame Contribute Delete
4.33 kB
---
license: apache-2.0
language:
- pl
- en
library_name: pytorch
tags:
- slayer1b
- gqa
- checkpoints
- uptraining
---
# Slayer1B 1.11-GQA: uptraining checkpoints
> **Uptraining finished on 2 December 2026** at update 11,920 (12,499,025,920 tokens). A next stage, extending the
> context from 4,096 to 32,768 tokens from the final checkpoint, is planned.
Saved weights of [Slayer1B 1.11-GQA](https://huggingface.co/SlayerLab/Slayer1B-1.11-GQA) during uptraining.
The starting point is [Slayer1B 1.10 at update 9,530](https://huggingface.co/SlayerLab/Slayer1B-1.10-checkpoints/tree/0d58660fa0e0e3498ad1f615f7a60f632cdd3698/step-09530),
converted from 16 key/value heads to 4 key/value groups (grouped-query attention, 16 query heads kept). The model is
then trained further at a context of 4,096 tokens on the same data that took MHA 1.10 from update 9,530 to 21,450
(about 12.5 billion tokens: 70% English, 30% Polish; mathematics, code, new English and Polish web text). Each update
is 1,048,576 tokens.
| checkpoints | updates | tokens so far |
|---|---|---|
| `step-04000` … `step-09000`, `step-11000` | every 1,000 updates of uptraining, from update 4,000 | 1.05 billion per 1,000 updates |
| `step-11920` (final) | 11,920 | about 12.5 billion |
There is no `step-10000`: the spot machine was preempted while that checkpoint was being exported, and the training
checkpoint had already been replaced by update 10,200 when the machine came back. Training itself resumed from a
complete checkpoint and was not affected.
Step numbers count uptraining updates from the converted 9,530 weights, starting at 0.
These are base-model weights (text completion), not a chat model.
## How we judge them
GQA replaces MHA only if it stays within limits fixed before the run, measured against MHA 9,530 on the same
questions: for balanced BoolQ the lower 95% bound of the difference must be above −1 point; for reading the upper
bound must be below +0.003 bits per byte, separately for English and Polish. The final checkpoint is also compared
with MHA 21,450 (same data, same number of updates). Until a checkpoint meets these limits, MHA 1.10 remains the
recommended model.
## Layout
One folder per checkpoint, named by the uptraining update: `step-04000/`, `step-05000/`, … Each folder is a
complete, loadable package:
| file | content |
|---|---|
| `model.safetensors` | weights, float32, 948,083,731 parameters (optimizer state not included) |
| `config.json` | architecture (16 query heads, 4 key/value groups), the uptraining update and the SHA-256 of the exported weights |
| `tokenizer.json` | tokenizer (Slayer v6, 32,768 tokens; id 0 is end-of-text) |
| `load_slayer.py`, `train_gpt_ref_r23.py` | model code and loader (the same files as in the 1.10 packages; `train_gpt_ref_r23.py` reads `kv_heads` from `config.json`) |
| `SHA256SUMS` | checksums of the package files |
```python
import sys; sys.path.insert(0, "step-04000") # run from the folder that contains step-04000
import torch, load_slayer
from tokenizers import Tokenizer
model = load_slayer.load("step-04000") # float32, eval mode, CPU
tok = Tokenizer.from_file("step-04000/tokenizer.json")
ids = torch.tensor([tok.encode("Stolica Polski to").ids])
logits, _ = model(ids)
```
The weights in each folder are byte-identical to the ones scored by our evaluation for that checkpoint.
## Results per checkpoint
- Training loss and evaluation curves (bits per byte on English and Polish reading, Polish web text and
mathematics; BoolQ), with MHA 9,530 and MHA 21,450 as reference lines:
[training run on Track](https://track.fabryka.ai/run/577fd5f4-b687-5caf-98f9-75504001d96e).
Updates 0–500 on that chart come from a first attempt that was interrupted before its first checkpoint; from
update 510 the curve is the restart from the same converted weights and data.
## Licence and data
Weights: Apache-2.0. Data sources and their licences: [1.11-GQA data card](https://huggingface.co/datasets/SlayerLab/Slayer1B-1.11-GQA-data)
and [Slayer1B-Dataset](https://huggingface.co/datasets/SlayerLab/Slayer1B-Dataset).
## Authors
**Authors:** Arkadiusz Słota, Anna Sieczka, Piotr Styła, Aleksander Ogrodzki, Paweł Puzio, Marcin Kuśmierski, Kacper Wikieł, Jakub Lewandowski, Dawid Majewski, Dariusz Ciba. **Funded by Fabryka AI.**