Slayer1B 1.07: model card (training in progress, no weights), training-time evaluation up to step 18000
Browse files- .gitattributes +1 -0
- README.md +97 -0
- slayer1b_107_training.png +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
slayer1b_107_training.png filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- pl
|
| 4 |
+
- en
|
| 5 |
+
license: apache-2.0
|
| 6 |
+
library_name: pytorch
|
| 7 |
+
pipeline_tag: text-generation
|
| 8 |
+
tags:
|
| 9 |
+
- polish
|
| 10 |
+
- causal-lm
|
| 11 |
+
- from-scratch
|
| 12 |
+
datasets:
|
| 13 |
+
- SlayerLab/slayer-pl-8x3b
|
| 14 |
+
- SlayerLab/slayer-1.07-pretrain
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
+
# Slayer1B 1.07 (training in progress)
|
| 18 |
+
|
| 19 |
+
Decoder-only language model, 1 073 912 851 parameters, Polish-dominant. **Slayer1B 1.07 continues pretraining of
|
| 20 |
+
Slayer1B 1.06** from its final checkpoint (step 13848) on 8 891 005 707 training tokens (about 7.0 B new and 1.9 B
|
| 21 |
+
replayed from the 1.06 data), at the same constant learning rate and global batch.
|
| 22 |
+
|
| 23 |
+
**Status: training in progress.** The planned end is step 22327. This card reports intermediate training-time
|
| 24 |
+
evaluations up to step 18000 and will be replaced by the final card when training ends. No 1.07 weights are
|
| 25 |
+
published in this repository yet.
|
| 26 |
+
|
| 27 |
+
- Previous version: [SlayerLab/Slayer1B-1.06](https://huggingface.co/SlayerLab/Slayer1B-1.06) (step 13848,
|
| 28 |
+
14 520 680 448 tokens, one full pass over [SlayerLab/slayer-pl-8x3b](https://huggingface.co/datasets/SlayerLab/slayer-pl-8x3b))
|
| 29 |
+
- Training data of 1.07: [SlayerLab/slayer-1.07-pretrain](https://huggingface.co/datasets/SlayerLab/slayer-1.07-pretrain)
|
| 30 |
+
- Training curve and training-time evaluation: https://track.fabryka.ai/run/4973c068-8dd5-59d8-b6c4-671ca3beb925
|
| 31 |
+
|
| 32 |
+

|
| 33 |
+
|
| 34 |
+
[Full-size chart](https://huggingface.co/SlayerLab/Slayer1B-1.07/resolve/main/slayer1b_107_training.png)
|
| 35 |
+
|
| 36 |
+
## Training
|
| 37 |
+
|
| 38 |
+
- Start: Slayer1B 1.06 checkpoint `ckpt_13848.pt`
|
| 39 |
+
(sha256 `1fc7396ca1790805128244b2f827e02b9fe88e352534cd887d0c488f121d1e4d`).
|
| 40 |
+
- Same model, tokenizer (v6, 32 768 tokens, sha256 `0640d3bd…`) and global batch as 1.06: 256 sequences × 4096 tokens
|
| 41 |
+
= 1 048 576 tokens per step, constant learning rate 6e-4, no learning-rate decay, no context extension.
|
| 42 |
+
- Hardware: 4× NVIDIA RTX 4090 (gradient accumulation 32, so the global batch is unchanged from the 8-GPU runs),
|
| 43 |
+
about 45 000 tokens/s. Trainer `train_gpt_ref` r24.2 (sha256 `46f83b51…`), unchanged since 1.05.
|
| 44 |
+
- Planned length: steps 13848 → 22327 (8 479 steps, one pass over the new data; each window is used once).
|
| 45 |
+
- Training was interrupted on 4 November at step 17130 by an external stop of the process and resumed on 5 November
|
| 46 |
+
from the saved checkpoint at step 17000. After the resume the loss at step 17010 was identical to the first run
|
| 47 |
+
(2.3177), so the resumed run reproduces the original one.
|
| 48 |
+
|
| 49 |
+
## Training data of 1.07
|
| 50 |
+
|
| 51 |
+
8 891 005 707 tokens in 9 files, after removing documents that overlap evaluation sets (13-gram scan) and after
|
| 52 |
+
masking personal data (e-mail addresses, phone numbers, national ID numbers) with the same procedure as in 1.06.
|
| 53 |
+
|
| 54 |
+
| source | language, type | documents (built) | tokens (built) | tokens in training | license |
|
| 55 |
+
|---|---|---:|---:|---:|---|
|
| 56 |
+
| HPLT (Polish web, parts not used in 1.06) | PL, general web | 2 448 525 | 3 119 999 086 | 3 110 430 927 | compilation CC0; texts used under the text-and-data-mining exception (Art. 4, Directive 2019/790) |
|
| 57 |
+
| Polish core texts, repeated from 1.06 | PL, curated texts | 3 165 531 | 999 785 312 | 982 781 646 | per source, as in slayer-pl-8x3b |
|
| 58 |
+
| Polish legal texts, repeated from 1.06 | PL, legal | 261 590 | 1 004 151 322 | 911 514 295 | per source, as in slayer-pl-8x3b |
|
| 59 |
+
| FineWeb-Edu (from minimal-en-corpus-5b) | EN, educational web | 840 133 | 978 166 858 | one file, 1 650 618 814 together | ODC-By |
|
| 60 |
+
| FineMath | EN, mathematics | 152 623 | 237 458 786 | (same file) | ODC-By |
|
| 61 |
+
| open-web-math | EN, mathematics from the web | 86 621 | 225 412 736 | (same file) | ODC-By |
|
| 62 |
+
| DCLM-baseline (subset) | EN, general web | 177 946 | 244 996 577 | (same file) | CC BY 4.0 |
|
| 63 |
+
| FineWeb-Edu `sample/10BT` | EN, educational web | 2 035 410 | 2 254 202 363 | 2 235 660 025 | ODC-By |
|
| 64 |
+
|
| 65 |
+
Documents in the published training files (after leak removal): Polish web 2 445 601, Polish core 3 151 339,
|
| 66 |
+
Polish legal 258 328, English mix 1 249 258, FineWeb-Edu `sample/10BT` 2 029 345 (9 133 871 in total).
|
| 67 |
+
|
| 68 |
+
Share of training tokens: Polish web 35.0 %, Polish core 11.1 %, Polish legal 10.3 %, English 43.7 %.
|
| 69 |
+
The Polish core and legal parts are a random (hash-ordered) subset of what 1.06 already saw; about 36 % of the 1.06
|
| 70 |
+
core tokens and 68 % of the 1.06 legal tokens are seen a second time, the rest of the data once. English documents
|
| 71 |
+
whose exact normalized text was already in the 1.06 English data were excluded.
|
| 72 |
+
|
| 73 |
+
## Training-time evaluation
|
| 74 |
+
|
| 75 |
+
Same automatic evaluator and the same zero-shot protocol as the 1.06 card (BLiMP, ARC-Easy, WikiText-2, MultiBLiMP-PL,
|
| 76 |
+
ARC-Easy-PL eu20). 1.07 checkpoints are evaluated on CPU; the 1.06 checkpoint (step 13848) evaluated on the same CPU
|
| 77 |
+
setup matches the 1.06 card values at card rounding. These are **not** the lm-evaluation-harness benchmark used in the
|
| 78 |
+
Results table of 1.00–1.03.
|
| 79 |
+
|
| 80 |
+
| metric | 1.06 (13848) | 13998 | 14000 | 15000 | 15730 | 16000 | 17000 | **18000** |
|
| 81 |
+
|---|---:|---:|---:|---:|---:|---:|---:|---:|
|
| 82 |
+
| BLiMP (EN), accuracy % | 76.12 | 76.29 | 76.33 | 77.94 | 77.32 | 77.13 | 77.61 | **77.88** |
|
| 83 |
+
| ARC-Easy (EN), accuracy % | 52.99 | 54.34 | 54.21 | 54.59 | 55.64 | 56.73 | 56.48 | **56.52** |
|
| 84 |
+
| WikiText-2, byte perplexity ↓ | 2.2849 | 2.2618 | 2.2601 | 2.2321 | 2.2237 | 2.2205 | 2.2138 | **2.2042** |
|
| 85 |
+
| WikiText-2, token perplexity ↓ | 30.03 | 28.80 | 28.71 | 27.28 | 26.85 | 26.70 | 26.37 | **25.90** |
|
| 86 |
+
| MultiBLiMP (PL), accuracy % | 98.41 | 98.66 | 98.59 | 98.62 | 98.62 | 98.81 | 98.87 | **98.84** |
|
| 87 |
+
| ARC-Easy (PL, eu20), accuracy % | 45.03 | 45.37 | 44.91 | 45.92 | 45.75 | 46.25 | 45.41 | **46.21** |
|
| 88 |
+
|
| 89 |
+
ARC-Easy has 2 376 questions per language, so differences below about one percentage point between neighbouring
|
| 90 |
+
checkpoints are within noise. The training loss in the figure is measured on the 1.07 data mixture (44 % English),
|
| 91 |
+
so it is not directly comparable with the training loss of 1.00–1.06.
|
| 92 |
+
|
| 93 |
+
The benchmark caveat of the 1.03 card applies to the 1.00–1.06 part of the training. For 1.07, all nine data files
|
| 94 |
+
were scanned for 13-gram overlap with the test items of the evaluation suite before training, and documents with any
|
| 95 |
+
hit were removed. Exact matches of short answers (below 13 words) were counted but not removed, and one evaluation set
|
| 96 |
+
(EWoK, distributed as a password-protected archive) was not part of the scan. The Slayer 1.06 core includes the source
|
| 97 |
+
passage corpora of PolQA and PoQuAD; passages with a 13-gram hit were removed and the rest remain in the replay.
|
slayer1b_107_training.png
ADDED
|
Git LFS Details
|