Aleksander22's picture
Slayer1B-1.09-Instruct-26.11: weights, card, notes, training code, manifests and results (history squashed; training data not published)
6071ec5
|
Raw History Blame Contribute Delete
3.96 kB

Slayer1B SFT experiments — plan, budget, acceptance (2026-11-25)

Prices (GPU Hunter scan 49, Vast, 2026-11-25 18:00, reliability ≥ 95 %, ≥ 64 GB RAM, ≥ 100 GB disk)

machine cheapest $/h $/GPU-h offers
8 × RTX 4090 3.08 (verified, 99.4 %) 0.39 22
8 × RTX 5090 3.71 0.46 28
1 × RTX PRO 6000 (96 GB) 1.04–1.24 1.04–1.24 43
8 × H200 41.49 5.19 2
Nebius spot 1 × H200 (eu-north2) 0.79 (preemptible) 0.79 —

Choice: 8 × RTX 4090 (user's suggestion, cheapest per GPU-hour, FSDP over PCIe is fine for a 1B model). Throughput is not measured yet: estimate 35–60 k tokens/s for the box (6.4 GFLOP/token × 1.33 recompute, 30–45 % MFU of 165 TFLOPS bf16); the first run measures it and this file is updated.

Budget (my cap)

item estimate $
setup, baseline evals of the base model (all evals + lm-eval suite) ~1.5 h 5
SFT experiments: ~12 runs × (1 epoch of s1 ≈ 135 M tokens ≈ 40–60 min + evals ≈ 20 min) ~14 h 45
external benchmarks on the 2–3 best checkpoints (IFEval chat, BFCL v4 non-live/live/irrelevance, base suite) ~3 h 10
final run on all admissible tokens (tool pool 320 M + chat ≈ 400 M Slayer-token targets ≈ 1.6 B tokens) ~9–12 h 35
cap 100

Rules: stop and report if the experiments reach $60 before a configuration meets the criteria; hourly cost and GPU-hours are logged per run in runs/<name>/cost.json; idle boxes are stopped, not kept.

Acceptance criteria (stage-1 SFT, before RL)

eval target
chat_format (300 held-out prompts) ≥ 90 % ok
tool_loop natural, end-to-end (54 tool cases) ≥ 70 % (PL ≥ 60 %, EN ≥ 75 %)
tool_loop forced (<tool_call> prefill) ≥ 85 %
no-tool cases (answers without calling) ≥ 80 %
tool_replay valid call with required args (400 held-out) ≥ 80 %
base suite (ARC-E/C, HellaSwag, PIQA, WinoGrande, Belebele-PL, HellaSwag-PL), log-likelihood, raw prompt mean drop ≤ 2 points vs update 95,000
BFCL v4 non-live AST (via an OpenAI-compatible Slayer server with our template) reported; base model scored n = 0
IFEval (chat template) reported; base model 1.08 raw-prompt 18.1 ± 1.7

Correctness checks before trusting any number

  1. Label alignment: decode targets of 50 random training rows; only assistant text/tool calls + <|im_end|>.
  2. Distributed loss = single-GPU loss on the same step (world 1 vs 8, same microbatches): equal within bf16 noise; grad norm equal.
  3. Validation loss (tool / chat separately) falls; no NaN; grad norm bounded.
  4. Saved checkpoint re-loads to identical logits; evals are deterministic (greedy) across two runs.
  5. Base suite on the base checkpoint reproduces the published Slayer card numbers (protocol check).
  6. Eval prompts never in training (test splits; loop tools/cases are programmatic and not in any training row).

Experiment queue (each changes one thing vs E1)

E1 s1 as built (lr 2e-5, 1 epoch, tool 50 %) · E2 lr 1e-5 / 5e-5 · E3 tool share 30 / 70 % · E4 tool-loss weight 2 · E5 2 epochs · E6 checkpoint average 85k–95k as the start · E7 programmatic Polish tool examples with tools that are not in the eval suite (only if PL lags EN) · E8 best config on all tokens (final).

Benchmarks repo

slayerlabs/benchmarks-fabryka-ai @ 2f4c0491a2c78b44f3ca4bbdb43e67a29204a9ec: research/common/ewaluuj_slayer.sh / slayer_lm.py (lm-eval log-likelihood suite, protocol of the Slayer Space), research/common/slayer_serving/ (OpenAI-compatible Slayer server), research/api-benchmarks/{ifeval,bfcl-v4,multi-if,ifbench}. BFCL v4 for Slayer 60000 has n = 0 (base model cannot call functions); our SFT model needs the server to apply the ChatML template and parse <tool_call> into OpenAI tool_calls (to be added; BFCL inputs over 4,096 tokens recorded as failures).