File size: 3,701 Bytes
44b329f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
---
license: apache-2.0
language: [pl, en]
tags:
- mixture-of-experts
- causal-language-model
- small-language-model
- exploratory
---

# Slayer 140M A10-balwar

This is one exploratory, from-scratch run (seed 1), not the planned controlled comparison with an approximately parameter-matched dense model. The run does not establish a ranking, a downstream-quality claim, or a comparative benefit from the balancing loss.

## Model and training

| Setting | Value |
|---|---:|
| Total parameters | 140,681,991 |
| Active parameters per token (shared parameters + one routed expert per layer) | 10,330,887 |
| Model width / layers | 256 / 8 |
| Attention heads / key-value heads | 8 / 4 |
| Experts per layer / SwiGLU expert width | 18 / 1,248 |
| Tokenizer entries / training sequence length | 4,096 / 256 |
| Batch size / final optimizer step | 256 / 85,449 |
| Processed token positions | 5,599,985,664 |

The model uses top-1 routing, tied input/output embeddings, grouped-query attention, query/key RMS normalization, full-head rotate-half RoPE (base 500,000), and a value residual. The router-balancing loss was summed across layers. Training used peak learning rate 0.003, 500 warm-up steps and a warmup–stable–decay schedule with a 20% decay fraction. The token count is the number of processed positions, not unique tokens.

[Public training history on Track](https://track.fabryka.ai/run/7f1a264d-d29f-5c74-ada0-2010b2df182f).

## Data and tokenizer

- [FineWeb-2](https://huggingface.co/datasets/HuggingFaceFW/fineweb-2/tree/af9c13333eb981300149d5ca60a8e9d659b276b9), HuggingFaceFW, `pol_Latn`, revision `af9c13333eb981300149d5ca60a8e9d659b276b9`.
- [FineWeb-Edu](https://huggingface.co/datasets/HuggingFaceFW/fineweb-edu/tree/87f09149ef4734204d70ed1d046ddc9ca3f2b8f9), HuggingFaceFW, `CC-MAIN-2025-26`, revision `87f09149ef4734204d70ed1d046ddc9ca3f2b8f9`.

Data attribution: FineWeb-Edu and FineWeb-2, HuggingFaceFW, [ODC-By 1.0](https://opendatacommons.org/licenses/by/1-0/), subject to [Common Crawl terms](https://commoncrawl.org/terms-of-use). The packed training data, SHA-256 `fb3cd3d650b701169ece017f231756bdc4c122f7f1a191b97828a7422688c2a6`, contain 5,599,944,916 source tokens. The data and validation files are not bundled.

The byte-level BPE tokenizer is identical to the tokenizer in [Slayer16M-A1M](https://huggingface.co/SlayerLab/Slayer16M-A1M/tree/e305bbacbd973361babdc8ed21ded873402cab49), SHA-256 `f20da09ac1982ba33fe6d6833743d33f8f34c113aee1e7096fc75a1f67c8b49c`. It was trained on samples from FineWeb-Edu (`sample-10BT`) and FineWeb-2 (`pol_Latn`). Its Apache-2.0 license is in `LICENSE-TOKENIZER`; that license does not label the 140M weights.

## Final held-out evaluation

Cross-entropy is measured in **nat/token** at step 85,449, without the router auxiliary terms. Evaluation used 2,048 fixed held-out windows of 256 tokens per language.

| Language | Evaluation windows | Final cross-entropy (nat/token) |
|---|---:|---:|
| Polish | 2,048 | 2.767918 |
| English | 2,048 | 2.322589 |

These are validation measurements from one run, not downstream benchmark scores.

## Files and scope

`model.safetensors` contains the 81 FP32 model tensors, without optimizer state. `config.json` describes the checkpoint in `slayer140m-safetensors-v1` format. `tokenizer.json` and its license are separate from the weights, and `SHA256SUMS` pins the bundle. No model implementation or Transformers `auto_map` is included; this is not an `AutoModel`-ready package. Local strict-load and logit parity use the CPU FP32 reference, not CUDA validation.

The 140M weights and configuration are licensed under Apache-2.0 (`LICENSE-WEIGHTS`), separately from the tokenizer license.