Improve model card with user-focused overview and usage guidance
Browse files
README.md
CHANGED
|
@@ -131,76 +131,92 @@ model-index:
|
|
| 131 |
|
| 132 |
# Slayer1B 1.09
|
| 133 |
|
| 134 |
-
|
| 135 |
|
| 136 |
-
**
|
|
|
|
|
|
|
| 137 |
|
| 138 |
-
##
|
| 139 |
|
| 140 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 141 |
|
| 142 |
-
|
| 143 |
|
| 144 |
-
|
| 145 |
-
|---|---:|---:|
|
| 146 |
-
| ARC-Challenge | 30.0 | 34.8 |
|
| 147 |
-
| HellaSwag | 43.4 | 53.7 |
|
| 148 |
-
| PIQA | 66.2 | 70.3 |
|
| 149 |
-
| WinoGrande | 53.7 | 59.0 |
|
| 150 |
-
| HellaSwag-PL | 43.9 | 46.8 |
|
| 151 |
|
| 152 |
-
|
| 153 |
|
|
|
|
| 154 |
|
| 155 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 156 |
|
| 157 |
-
|
| 158 |
|
| 159 |
```python
|
| 160 |
from huggingface_hub import hf_hub_download
|
| 161 |
import importlib.util
|
| 162 |
-
|
| 163 |
-
|
|
|
|
| 164 |
slayer = importlib.util.module_from_spec(spec)
|
| 165 |
spec.loader.exec_module(slayer)
|
|
|
|
| 166 |
model, tokenizer = slayer.load(device="cpu", update=45000)
|
| 167 |
-
prompt = "
|
| 168 |
-
|
| 169 |
-
print(prompt +
|
| 170 |
```
|
| 171 |
|
| 172 |
-
|
| 173 |
|
| 174 |
-
|
| 175 |
|
| 176 |
-
|
| 177 |
-
- English: **The capital of Poland is** Warsaw. The capital of Poland is Warsaw. The capital of Poland is Warsaw. The capital of Poland is Warsaw. The capital of Poland is Warsaw. The capital of Poland is Warsaw. The capital of Poland is
|
| 178 |
|
| 179 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 180 |
|
| 181 |
-
|
| 182 |
-
|---|---|
|
| 183 |
-
| Parameters / layers / attention heads | 1.07B / 20 / 16 |
|
| 184 |
-
| Hidden width / vocabulary / context | 2.05k / 32.8k / 4k tokens |
|
| 185 |
-
| Architecture | SwiGLU, RMSNorm, RoPE, QK normalization, value residuals |
|
| 186 |
-
| Optimizers / schedule | Muon + AdamW; warmup, then constant learning rates |
|
| 187 |
-
| Global batch | 256 sequences; approximately 1.05M tokens per update |
|
| 188 |
|
| 189 |
-
|
| 190 |
|
| 191 |
-
|
| 192 |
|
| 193 |
-
|
| 194 |
|
|
|
|
| 195 |
|
| 196 |
-
|
| 197 |
|
| 198 |
-
## Limitations
|
| 199 |
|
| 200 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 201 |
|
| 202 |
-
|
| 203 |
|
| 204 |
-
|
| 205 |
|
| 206 |
-
|
|
|
|
| 131 |
|
| 132 |
# Slayer1B 1.09
|
| 133 |
|
| 134 |
+
A compact **Polish鈥揈nglish base language model** for text continuation, experimentation, and further training. Slayer1B 1.09 continues the Slayer1B 1.08 checkpoint with a documented **80% English / 20% Polish** new-input mix through update 45,000.
|
| 135 |
|
| 136 |
+
- **Use it to:** continue Polish or English text, study a small bilingual model, or start domain-specific continued pretraining and fine-tuning.
|
| 137 |
+
- **Why this checkpoint:** an openly released 1.07B-parameter model with published intermediate weights and a reproducible native PyTorch loader.
|
| 138 |
+
- **Know before you load:** this is a **base model**, not a chat assistant. It has not been instruction-tuned and has no chat template or demonstrated tool-use behavior.
|
| 139 |
|
| 140 |
+
## Model details
|
| 141 |
|
| 142 |
+
| Property | Specification |
|
| 143 |
+
|---|---|
|
| 144 |
+
| Checkpoint | Base model; continued pretraining from [Slayer1B 1.08](https://huggingface.co/SlayerLab/Slayer1B-1.08) |
|
| 145 |
+
| Parameters | 1.07B (1,073,912,851) |
|
| 146 |
+
| Languages | Polish and English |
|
| 147 |
+
| Context length | 4,096 tokens |
|
| 148 |
+
| Vocabulary | 32,768 tokens |
|
| 149 |
+
| Architecture | 20-layer decoder-only Transformer; SwiGLU, RMSNorm, RoPE, QK normalization, value residuals |
|
| 150 |
+
| Weights | Native PyTorch `.pt`, float32; approximately 4.3 GB per checkpoint |
|
| 151 |
+
| License | Apache-2.0 |
|
| 152 |
|
| 153 |
+
## Is this the right model for your task?
|
| 154 |
|
| 155 |
+
Choose Slayer1B 1.09 when you want a small Polish鈥揈nglish **starting checkpoint** for text completion, model research, or your own post-training. The public archive contains weights-only checkpoints every 5,000 updates from 5,000 through 45,000, so you can inspect how measured benchmark scores change during this continuation.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 156 |
|
| 157 |
+
For direct question answering, following instructions, tool calling, or agent workflows, use an instruction-tuned model instead. Slayer1B 1.09 predicts continuations from a text prompt; it may repeat itself and does not reliably follow requests. Its 4K context also makes it a poor fit for long-document tasks without additional adaptation.
|
| 158 |
|
| 159 |
+
## Inference
|
| 160 |
|
| 161 |
+
The release uses a small native PyTorch loader rather than the Transformers `AutoModel` interface. The helper pins model-code, tokenizer, and archive revisions and checks the downloaded weights against the archive checksum. Install Python 3.11 or later and the dependencies:
|
| 162 |
+
|
| 163 |
+
```bash
|
| 164 |
+
pip install torch numpy tokenizers huggingface_hub
|
| 165 |
+
```
|
| 166 |
|
| 167 |
+
Load the published 45,000-update checkpoint and generate a greedy continuation:
|
| 168 |
|
| 169 |
```python
|
| 170 |
from huggingface_hub import hf_hub_download
|
| 171 |
import importlib.util
|
| 172 |
+
|
| 173 |
+
loader_path = hf_hub_download("SlayerLab/Slayer1B-1.09", "load_slayer.py")
|
| 174 |
+
spec = importlib.util.spec_from_file_location("slayer", loader_path)
|
| 175 |
slayer = importlib.util.module_from_spec(spec)
|
| 176 |
spec.loader.exec_module(slayer)
|
| 177 |
+
|
| 178 |
model, tokenizer = slayer.load(device="cpu", update=45000)
|
| 179 |
+
prompt = "Warszawa jest stolic膮 Polski i"
|
| 180 |
+
continuation = slayer.generate(model, tokenizer, prompt, max_new_tokens=48)
|
| 181 |
+
print(prompt + continuation)
|
| 182 |
```
|
| 183 |
|
| 184 |
+
`device` can be `"cpu"`, `"mps"` on Apple Silicon, or `"cuda"` on a supported NVIDIA system. The helper is intended as a minimal example, not a high-throughput server: it recomputes the prompt for each token and does not use a KV cache. See [inference notes and unedited examples](USAGE.md) and the [checkpoint archive](https://huggingface.co/SlayerLab/Slayer1B-1.09-checkpoints) for available weights and checksums.
|
| 185 |
|
| 186 |
+
## Performance
|
| 187 |
|
| 188 |
+
These are zero-shot, float32 multiple-choice evaluations. The 1.08 and 1.09 columns use the same documented Slayer evaluation setup; scores are percentages. WinoGrande uses accuracy; the other listed tasks use length-normalized accuracy.
|
|
|
|
| 189 |
|
| 190 |
+
| Benchmark | 1.08 | 1.09, update 45,000 |
|
| 191 |
+
|---|---:|---:|
|
| 192 |
+
| ARC-Challenge | 30.0 | 34.8 |
|
| 193 |
+
| HellaSwag | 43.4 | 53.7 |
|
| 194 |
+
| PIQA | 66.2 | 70.3 |
|
| 195 |
+
| WinoGrande | 53.7 | 59.0 |
|
| 196 |
+
| HellaSwag-PL | 43.9 | 46.8 |
|
| 197 |
|
| 198 |
+
On HellaSwag, the measured score rose from 43.4% to 53.7% across these two checkpoints. This is a descriptive checkpoint comparison, not a controlled experiment isolating the effect of the new training data. The [nine-task overview](plots/benchmark-overview.png) includes sample counts and pointwise 95% confidence intervals; [EVALUATION.json](EVALUATION.json) records exact dataset revisions, metrics, and checkpoint identities.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 199 |
|
| 200 |
+
Polish knowledge measurements remain limited: at update 45,000, Belebele-PL is **25.33%** and MMLU-PL is **25.74%**, near the 25% uniform-choice reference. These results do not establish strong Polish question answering. Training-lineage contamination checks are incomplete, so benchmark scores are descriptive rather than proof that every evaluation example was unseen during training. GSM8K and SST-2 were measured under a separate protocol at update 10,000; details are in [EVALUATION.json](EVALUATION.json).
|
| 201 |
|
| 202 |
+

|
| 203 |
|
| 204 |
+
## Training
|
| 205 |
|
| 206 |
+
Version 1.09 starts from the released Slayer1B 1.08 checkpoint and continues pretraining. Through the evaluated update-45,000 checkpoint, new source allocation is documented as 80% English and 20% Polish. Selected inputs include GoLLeM web, FinePDFs-Edu, and FineWeb-Edu. The 4,096-token context and training recipe are described in [TRAINING_CONFIGURATION.md](TRAINING_CONFIGURATION.md); source selection, filtering, and licensing notes are in [DATA_CARD.md](DATA_CARD.md).
|
| 207 |
|
| 208 |
+
At update 45,000, the documented cumulative exposure estimate is 65.9B token occurrences, including inherited training and a known duplicate correction. This is not a count of globally unique tokens. See the [training log](TRAINING_LOG.md), [mix by stage](TRAINING_MIX.md), and [live training telemetry](https://track.fabryka.ai/run/71cf98ec-7c60-54a8-ac47-0ea7a23f573a). Telemetry may be ahead of the latest published and evaluated checkpoint; the benchmark table above is specifically for update 45,000.
|
| 209 |
|
| 210 |
+
## Limitations
|
| 211 |
|
| 212 |
+
- Not instruction-tuned: do not expect reliable chat, instruction following, structured output, tool calling, or agent behavior.
|
| 213 |
+
- Short context: maximum configured context is 4,096 tokens.
|
| 214 |
+
- Greedy examples can repeat, especially in English; generated content can be inaccurate, biased, offensive, or personal.
|
| 215 |
+
- Polish multiple-choice scores on Belebele-PL and MMLU-PL are near the uniform-choice reference.
|
| 216 |
+
- Evaluation contamination checks across the full training lineage are incomplete. No benchmark here demonstrates professional reliability or a causal gain from a particular data source.
|
| 217 |
|
| 218 |
+
## Further reading
|
| 219 |
|
| 220 |
+
[Exact evaluation record](EVALUATION.json) 路 [Detailed training history](TRAINING_LOG.md) 路 [Training data card](DATA_CARD.md) 路 [Native inference notes](USAGE.md) 路 [Checkpoint archive](https://huggingface.co/SlayerLab/Slayer1B-1.09-checkpoints) 路 [Research and scaling notes](LINEAGE_SCALING.md)
|
| 221 |
|
| 222 |
+
**Authors:** Arkadiusz S艂ota, Anna Sieczka, Piotr Sty艂a, Aleksander Ogrodzki, Pawe艂 Puzio, Marcin Ku艣mierski, Kacper Wikie艂. **Funded by Fabryka AI.**
|