--- license: apache-2.0 language: [pl, en] base_model: SlayerLab/Slayer1B-1.10 pipeline_tag: text-generation tags: [slayer, sft, chat, tool-calling, polish] --- # Slayer1B 1.10 Instruct 30.11 **Status: experimental research checkpoint.** A 1.07B-parameter bilingual (Polish and English) chat model that decides whether a question needs a tool, calls it, and answers from the result. It is trained with supervised fine-tuning only, in two stages, from [Slayer1B 1.10](https://huggingface.co/SlayerLab/Slayer1B-1.10) step 21,450. It follows [Slayer1B 1.09 Instruct 26.11](https://huggingface.co/SlayerLab/Slayer1B-1.09-Instruct-26.11) (E3). > [!WARNING] > A 1-billion-parameter research model. It states wrong facts with confidence, makes arithmetic mistakes and can misread tool > results. It is not safety-tuned. Do not use its answers for medical, legal, financial or safety decisions, do not deploy it to > end users without your own safeguards, and validate every tool call in the host application before running it. > [!TIP] > Good first uses: short chat, simple writing in Polish or English, one or two tool calls (exchange rate, weather, calculator, > notes, a short document) with a host application that checks the calls. Route all arithmetic through a calculator. ![Results](assets/results.png) ## Model | | | |---|---| | Base | `SlayerLab/Slayer1B-1.10-checkpoints` @ `0d58660f`, `step-21450` | | Parameters | 1.07B (1,073,912,851) | | Architecture | 20 layers, d=2048, 16 heads, SwiGLU, RMSNorm, RoPE θ=5e5, QK-norm, value residual, tied embeddings | | Context | 4,096 tokens | | Tokenizer | 32,768 tokens, unchanged from the base | | Fine-tuning | full fine-tune (all weights): 3,387 + 610 optimizer steps | | Files | `model.safetensors` (float32, `head.weight` tied to `tok.weight` and not stored), `config.json`, `tokenizer.json`, model code, `example.py` | This is not a `transformers` architecture. Loading needs the model code in this folder. ## Quick start ```bash pip install torch safetensors tokenizers huggingface_hub hf download SlayerLab/Slayer1B-1.10-Instruct-30.11 --local-dir slayer --exclude "training/*" python slayer/example.py "What is 18% of 2450?" ``` `example.py` prints the model's text and the parsed tool calls. It does not execute them. ## Chat and tool format ChatML with Hermes-style tools. `<|im_start|>` = 1, `<|im_end|>` = 2, BOS `<|endoftext|>` = 0 at the start. ``` <|endoftext|><|im_start|>system {system prompt} # Tools You can call functions to help with the user's request. Available functions: {"name": "calculator", "description": "Evaluate an arithmetic expression exactly.", "parameters": {"type": "object", "properties": {"expression": {"type": "string", "description": "Arithmetic expression"}}, "required": ["expression"]}} To call a function, reply with one or more blocks: {"name": "", "arguments": {}} Function results come back in a tool message inside . Use them to answer the user.<|im_end|> <|im_start|>user What is 18% of 2450?<|im_end|> <|im_start|>assistant {"name": "calculator", "arguments": {"expression": "18/100*2450"}} <|im_end|> <|im_start|>tool {"expression": "18/100*2450", "result": 441} <|im_end|> <|im_start|>assistant ``` `chatfmt.py` builds this exactly as in training. Stop generation on `<|im_end|>`. The second training stage contains one call per assistant turn, so execute one call at a time. > [!IMPORTANT] > The host application should (1) validate the tool name and arguments, (2) refuse an identical repeated call, (3) stop after about > five calls and ask for an answer, and (4) ask the person before anything irreversible. The model does repeat calls. ## Results Everything below was measured by us with the same code for every model, greedy decoding. Bold is this model. | Test | n | 1.09 Instruct (E3) | E5 (internal, not published) | **1.10 Instruct 30.11** | |---|---:|---:|---:|---:| | **Fresh live tasks** (real tools, live web, never tuned on), solved | 30 | 9 | 7 | **14** | | Tool or no tool, held-out rows, balanced accuracy | 489 | 51.1% | 70.1% | **91.4%** | | — right tool called when one is needed | 381 | 40.2% | 81.9% | **95.8%** | | — no call when none is needed | 108 | 62.0% | 58.3% | **87.0%** | | IFEval, strict (chat format, ≤ 1,280 new tokens) | 541 | 21.1 ± 1.8 | 22.7 ± 1.8 | **32.7 ± 2.0** | | IFEval, loose | 541 | 22.0 | 24.0 | **35.3** | | GSM8K English, zero-shot chat, no calculator | 1,319 | 4.2% | 4.0% | **11.9%** | | Red-team probe, passed | 36 | 15 | 19 | **27** | > [!NOTE] > Read these with care. The held-out tool rows come from the same sources as the training data, so 91.4% says the model learned > those patterns, not that it decides correctly 91% of the time in the wild. The fresh live tasks are the fairer number: 14 of 30. > Some red-team failure types were used to write training rows. On 30 tasks a difference of about 3 can be chance, and live results > change with the web. The 1.09 and 1.10 Instruct models also start from different base models. **Fresh live tasks by category** (solved / all): | | live data (rates, weather) | web facts | recover from an error | tool, no tool or ask | identity | business tasks | total | |---|---:|---:|---:|---:|---:|---:|---:| | 1.09 Instruct (E3) | 2/6 | 3/4 | 0/2 | 3/7 | 0/3 | 1/8 | 9/30 | | E5 | 2/6 | 2/4 | 0/2 | 3/7 | 0/3 | 0/8 | 7/30 | | **1.10 Instruct** | **4/6** | **2/4** | **0/2** | **5/7** | **2/3** | **1/8** | **14/30** | Business tasks (offer comparison, summaries of a group chat, company briefs) and recovery from a dead link are **not solved**: 1 of 8 and 0 of 2. On an older set of 45 live tasks the model solves 25 (E3 15, E5 13), but stage 2 was developed against that set.
Knowledge benchmarks, CodeSOTA protocol (31 tasks) 0-shot log-likelihood, float32, no chat template, code `slayerlabs/benchmarks-fabryka-ai` @ `d94e761c`. Scores × 100, except CoLA (MCC). "not run" means the task was not run for that model; PolEmo2 failed for the three instruct models and is left out. | Task | metric | n | 1.10 base | E3 | E5 | **1.10 Instruct** | |---|---|---:|---:|---:|---:|---:| | ARC-Challenge | acc_norm | 1,172 | 36.2 | 37.7 | 37.5 | **37.5** | | ARC-Easy | acc | 2,376 | 66.7 | 67.3 | 67.0 | **68.3** | | HellaSwag | acc_norm | 10,042 | 54.3 | 56.3 | 56.4 | **54.5** | | PIQA | acc_norm | 1,838 | not run | 73.4 | 73.3 | **72.5** | | WinoGrande | acc | 1,267 | not run | 58.6 | 58.7 | **57.3** | | OpenBookQA | acc_norm | 500 | 36.6 | 38.4 | 38.8 | **37.6** | | SciQ | acc_norm | 1,000 | 88.0 | 87.0 | 87.1 | **88.7** | | Social IQa | acc | 1,954 | 41.1 | 41.5 | 41.2 | **41.7** | | BoolQ | acc | 3,270 | not run | 57.0 | 56.4 | **59.6** | | COPA | acc | 100 | 70.0 | 76.0 | 77.0 | **73.0** | | CB | acc | 56 | 41.1 | 41.1 | 42.9 | **46.4** | | WiC | acc | 638 | 50.2 | 50.0 | 50.5 | **50.0** | | RTE | acc | 277 | 54.5 | 52.3 | 51.6 | **57.4** | | ANLI r3 | acc | 1,200 | 33.6 | 33.2 | 33.2 | **31.6** | | LogiQA | acc_norm | 651 | not run | 27.2 | 27.8 | **27.5** | | PROST | acc_norm | 18,736 | not run | 27.5 | 27.3 | **29.0** | | SST-2 | acc | 872 | not run | 75.8 | 75.2 | **73.3** | | TruthfulQA mc2 | acc | 817 | 38.1 | 38.4 | 37.8 | **39.1** | | RACE | acc | 1,045 | 35.4 | 35.1 | 35.0 | **35.5** | | PubMedQA | acc | 500 | 57.2 | 67.0 | 66.8 | **60.2** | | MedMCQA | acc | 4,183 | not run | 23.7 | 23.3 | **24.4** | | PAWS-EN | acc | 2,000 | 53.8 | 53.1 | 53.6 | **60.1** | | CoLA | mcc | 1,043 | 0.028 | 0.026 | 0.013 | **-0.037** | | MultiBLiMP-PL | accuracy | 3,272 | not run | 98.4 | 98.4 | **98.3** | | 8TAGS | acc | 4,372 | 19.8 | 23.9 | 24.4 | **27.6** | | Belebele-PL | acc | 895 | not run | 29.7 | failed | **24.8** | | PPC | acc | 1,000 | 41.9 | 40.2 | 38.6 | **41.6** | | DYK | f1 | 1,029 | not run | 4.2 | 0.0 | **1.1** | | PSC | f1 | 1,078 | 0.0 | 11.4 | 3.3 | **8.3** | | CBD | f1 | 1,000 | 14.9 | 15.3 | 15.3 | **14.9** | | LLMzSzŁ | acc | 18,821 | not run | 25.6 | 25.6 | **25.4** | SFT did not add knowledge: most tasks are within about 2 points of E3. PAWS, RTE, BoolQ and 8TAGS are higher; PubMedQA (which mostly follows the answer prior), SST-2, HellaSwag and Belebele-PL are lower than E3. Belebele-PL and LLMzSzŁ are at chance (25), and the F1 of DYK, PSC and CBD is degenerate.
## Examples Sixteen prompts were fixed before the model saw them, and all sixteen are shown: 9 are good or usable, 7 are wrong or have no answer. Output is unedited and greedy; every tool call was executed for real. ![Conversation](assets/examples_1_conversation.png) ![Tools and the live web](assets/examples_2_tools_web.png) ![Everyday work](assets/examples_3_everyday_work.png) ![Hard cases](assets/examples_4_hard_cases.png) ## How it was trained | | Stage 1 | Stage 2 | |---|---|---| | Start | Slayer1B 1.10, step 21,450 | stage 1, step 3,387 | | Goal | chat, math format, tool format | when to call, one call per turn, product tasks | | Conversations | 1,267,384 | 82,406 | | Tokens (supervised) | 803.1M (372.3M) | 72.6M (20.7M) | | Steps | 3,387 | 610 | | Learning rate | 5e-5, warmup → constant → linear decay to 0 over the last 25% | 2e-5, linear decay to 0 over the last 50% | | Optimizer | AdamW (0.9, 0.95), weight decay 0.01 | same | | Hardware | 8 × RTX 5090, DDP | same | | Validation loss (tool / chat) | 0.813 / 0.991 | 0.816 / 0.990 | Loss is on assistant tokens only, conversations are at most 4,096 tokens, and the data is decontaminated against the CodeSOTA tasks and our own live and red-team prompts. > [!NOTE] > **Why there is a stage 2.** After stage 1 we found two defects in our own data. 63% of the real-tool conversations with calls put > several calls in one turn, and the 132k "tools offered, answer directly" rows never offered web search or a calculator, so the model > had never seen a reason not to use them. Stage 2 splits every turn into single calls (0 parallel calls left) and adds about 29k rows > where the real tool set is offered and the right answer is to just talk. This release contains no preference optimization. ## Training data Supervised tokens, stage 1. Stage 2 uses a subset of these plus the corrected real-tool rows. | Source | Licence | Supervised tokens | Notes | |---|---|---:|---| | Polish chat, mainly [polskie-sprawy-v8](https://huggingface.co/datasets/cpral/polskie-sprawy-v8), with [aya](https://huggingface.co/datasets/CohereLabs/aya_dataset), [oasst2](https://huggingface.co/datasets/OpenAssistant/oasst2), [polish-sft-synthetic](https://huggingface.co/datasets/shefowl/polish-sft-synthetic), [PLLuMIC](https://huggingface.co/datasets/pelcra/PLLuMIC) | Apache-2.0 (the part used), CC-BY-4.0, CC-BY-SA-4.0 | 116.9M | | | English chat, mainly [Nemotron-SFT-Instruction-Following-Chat-v3](https://huggingface.co/datasets/nvidia/Nemotron-SFT-Instruction-Following-Chat-v3), with oasst2 and aya | CC-BY-4.0, Apache-2.0 | 107.7M | | | Tool calling: [Nemotron-SFT-Agentic-v2](https://huggingface.co/datasets/nvidia/Nemotron-SFT-Agentic-v2), [Nemotron-Agentic-v1](https://huggingface.co/datasets/nvidia/Nemotron-Agentic-v1), [Toucan-1.5M](https://huggingface.co/datasets/Agent-Ark/Toucan-1.5M) | CC-BY-4.0, Apache-2.0 | 83.9M | | | Qwen3-8B teacher set: math, knowledge, multi-turn, safety, instructions, humour | teacher Apache-2.0; prompts GSM8K MIT, AQuA-RAT Apache-2.0, MATH MIT, Aegis 2.0 CC-BY-4.0 | 47.0M | math checked against the answer key; not published | | Programmatic: arithmetic, logic, tool chains, tool-error repair, documents | Apache-2.0 | 9.1M | this project | | **Real-tool conversations** (Slayer Studio; teacher `DeepSeek-V4.1-Flash` through the official API) | see the note below | 3.3M | every tool call executed for real; not published | | Agent files, offline search, tool world (Qwen3-8B; questions from HotpotQA, PoQuAD, PolQA) | CC-BY-SA-4.0 | 2.8M | | | Red-team fixes and identity | Apache-2.0 | 1.0M | this project | | Reading comprehension: [PoQuAD](https://huggingface.co/datasets/clarin-pl/poquad), [SQuAD 2](https://huggingface.co/datasets/rajpurkar/squad_v2) (train) | CC-BY-4.0, CC-BY-SA-4.0 | 0.4M | human answers | > [!IMPORTANT] > **Teachers.** No Claude, GPT or Gemini outputs were collected as teacher data; templates in the programmatic sets were written with a > coding assistant. The teachers are `Qwen/Qwen3-8B` (Apache-2.0) and, for the real-tool rows, > `DeepSeek-V4.1-Flash`; we relied on §4.2 of the DeepSeek Open Platform terms, as read in November 2026, which allows training on > outputs. If you need certainty about provenance, read those terms yourself. Some passages come from share-alike sources. > Sources with non-commercial terms (such as translated RACE) were excluded. The training data is not published here. Build scripts, configs, data statistics, training logs and per-case results are in `training/`. ## Known errors and limitations | Area | What goes wrong | Seen in our tests | |---|---|---| | Arithmetic | right data, wrong result, especially without a calculator | "40 EUR in PLN": correct rate, wrong product; 17 × 23 wrong | | Multi-step business tasks | misses a condition or runs out of calls | offer comparison discounted both shops; 1 of 8 fresh tasks | | Missing information | invents the numbers instead of asking | loan question without an amount | | Recovery | keeps searching with the wrong name | dead link: no answer | | Web pages | misses facts that are not in the plain page text | asked for the members of an organization, it found the right page and still could not list them | | Long conversations | can skip the right tool | an exchange question after a document question went to the calculator with an invented rate | | Document questions | right answer, wrong page or section number | "page 3" instead of page 2 | | Facts | confident hallucination when it does not search | — | | Repeated calls | asks for the same result again | needs a guard in the host application | | Safety | not safety-tuned; resisted 3 of 4 prompt injections in our probe | do not give it access to secrets | | Context | 4,096 tokens; long tool results crowd out the conversation | — | ## Authorship and licence Authorship: Aleksander Ogrodzki — Fabryka AI SlayerLab. Base model Slayer1B 1.10: Arkadiusz Słota — Fabryka AI SlayerLab. Licence: apache-2.0, as Slayer1B 1.10.