Maggio33 commited on
Commit
bce2962
·
verified ·
1 Parent(s): 7dc19f0

Model card: architecture, data, recipe; training in progress

Browse files
Files changed (1) hide show
  1. README.md +85 -0
README.md ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ ---
15
+
16
+ # Slayer1B 1.00
17
+
18
+ Decoder-only language model, 1 073 912 851 parameters, trained from scratch on Polish-dominant text
19
+ (pack-00 of [SlayerLab/slayer-pl-8x3b](https://huggingface.co/datasets/SlayerLab/slayer-pl-8x3b)).
20
+
21
+ **Status:** training started 2026-10-23 02:35 UTC on 8 × RTX 5090 (1430 steps planned). Weights, training curve
22
+ and evaluation results are added to this card when the run finishes.
23
+
24
+ ## Model
25
+
26
+ | | |
27
+ |---|---|
28
+ | Parameters | 1 073 912 851 (input and output embeddings tied, counted once) |
29
+ | Architecture | decoder-only transformer, 20 layers, d_model 2048, 16 attention heads (MHA, head dim 128) |
30
+ | Blocks | pre-norm RMSNorm, QK-norm, RoPE (θ = 500 000), value residual, SwiGLU MLP (hidden 5462), no biases |
31
+ | Context | 4096 tokens |
32
+ | Tokenizer | byte-level BPE, 32 768 tokens (`tokenizer.json`, sha256 `0640d3bd…`), EOS id 0 |
33
+
34
+ ## Training data
35
+
36
+ Source: `SlayerLab/slayer-pl-8x3b`, revision `d50df04a6ad46876fa559a87cca5d3e2a96e7098`, pack-00
37
+ (its own disjoint web slice + the shared core, legal and English components), sampled per document with the pack's
38
+ mixing weights (defined in cl100k tokens): web 0.63, core 0.19, legal 0.08, English 0.10.
39
+
40
+ | component | share of tokens (this tokenizer) | license |
41
+ |---|---|---|
42
+ | web (HPLT v3 PL, disjoint slice) | 51.8 % | CC0-1.0 |
43
+ | core (register-diverse; includes CC-BY-SA partition) | 22.2 % | mixed, incl. CC-BY-SA |
44
+ | legal / public administration (includes CC-BY-SA partition) | 8.5 % | CC-BY-4.0 / PD / CC-BY-SA |
45
+ | English | 17.6 % | ODC-BY |
46
+
47
+ English is 10 % of the mixture in cl100k tokens and 17.6 % in this tokenizer's tokens: the tokenizer is trained on
48
+ Polish and splits English into more pieces.
49
+
50
+ Training stream: 1 889 519 627 tokens (`train.bin`, sha256 `760ef0cc…`). Held-out validation from the same pack,
51
+ disjoint by document id: 1 562 647 PL tokens, 1 643 997 EN tokens.
52
+
53
+ Personal data: before tokenization, e-mail addresses, phone numbers (Polish and international), PESEL, NIP, REGON and
54
+ Polish ID-card numbers were replaced with tags `[EMAIL]`, `[TELEFON]`, `[PESEL]`, `[NIP]`, `[REGON]`, `[DOWOD]`
55
+ (rule-based; counts in the data manifest: e-mail 19 080, phone 21 606, NIP 1 602, REGON 1 421, ID card 259,
56
+ PESEL 131). The source data also contains upstream placeholders such as `[PII]`. Rule-based masking does not guarantee
57
+ removal of every personal datum.
58
+
59
+ ## Training
60
+
61
+ | | |
62
+ |---|---|
63
+ | Hardware | 8 × NVIDIA RTX 5090 (32 GB), DDP |
64
+ | Batch | 256 × 4096 = 1 048 576 tokens per step |
65
+ | Steps | 1430 |
66
+ | Optimizer | Muon (lr 0.02) for hidden weight matrices + AdamW (lr 6e-4, weight decay 0.1) for the rest |
67
+ | Schedule | warmup 150 steps, constant, linear decay over the last 20 % of steps to lr / 10 |
68
+ | Data order | each 4096-token window of the stream used at most once (epoch sampler), data seed 20261023 |
69
+ | Precision | bf16 autocast, torch.compile, activation checkpointing |
70
+
71
+ ## Training run
72
+
73
+ ## Evaluation
74
+
75
+ ## Limitations
76
+
77
+ - 1 073 912 851 parameters trained on the number of tokens given above; compare with the token counts of other
78
+ models when reading the scores.
79
+ - Polish-dominant data; English is a minority of the mixture.
80
+ - Base model: no instruction tuning, no safety tuning.
81
+ - Masking of personal data is rule-based (see above).
82
+
83
+ ## License
84
+
85
+ Weights: Apache-2.0. Training data components carry their own licenses (table above), including CC-BY-SA partitions.