/ Модель

Характеристики

Контекст
8 192 токена
Параметры
1,5 млрд
Лицензия
Apache 2.0
Архитектура
llama · dense
Базовая модель
Bielik-1.5B-v3.0-Instruct
Библиотека
transformers
Опубликована
26 сен 2026

bielik-1.5b-v3-matura-history-sft2

Генерация текстаТекст → текст3 профессии

Компактная польская модель Bielik, дообученная для ответов на экзаменационные вопросы и написания эссе по истории в формате matura CKE.

1 037скачиваний за 30 дней0лайковвеса обновлены26 сен 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

Модель SlayerLab/bielik-1.5b-v3-matura-history-sft2 разработана SlayerLab как компактная языковая модель для ответов на экзаменационные задания по истории в формате польского выпускного экзамена matura расширенного уровня CKE. Это полно-параметрически дообученная методом SFT модель speakleash/Bielik-1.5B-v3.0-Instruct на синтетических заданиях и примерах экзаменационных ответов. Она использует плотную архитектуру LlamaForCausalLM, содержит 1,5 млрд параметров и поддерживает контекст до 8192 токенов.

Модель рассчитана на польскоязычные вопросы по истории, задания с кратким ответом и эссе. В репозитории доступны веса bf16 в формате Transformers и варианты GGUF для запуска через llama.cpp; результат зависит от квантизации и протокола оценки. В оценивании команды модель проходила порог на экзаменационном и Wikipedia-наборе при использовании специального harness с поиском, но не прошла порог на невиданном экзамене CKE 2026.

Это экспериментальный хакатонный артефакт, настроенный на конкретный оценщик. Модель может ошибаться в именах, датах и местах, ответы «верно/неверно» даёт примерно на уровне случайного угадывания, а эссе могут содержать вымышленные факты. Не следует полагаться на неё для проверки фактов или оценивания работ. Лицензия — Apache-2.0.

Сценарии применения

  • ответы на экзаменационные вопросы по истории Польши на польском языке
  • подготовка кратких ответов в формате matura CKE
  • черновики эссе по заданиям выпускного экзамена по истории

Ограничения

Модель может выдумывать имена, даты и места, слабо справляется с заданиями «верно/неверно» и не прошла порог на невиданном экзамене CKE 2026. Её ответы не подходят для проверки фактов или оценивания без независимой проверки.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

Bielik-1.5B-v3 · matura-history SFT v2 ("Mały, ale wariat")

Full-parameter SFT of speakleash/Bielik-1.5B-v3.0-Instruct on synthetic tasks and model essays in the format of the Polish extended-level history matura (CKE). Built for the "Mały, ale wariat" track of the SlayerLab hackathon: the smallest model file that scores at least 35% on the team's history-matura evaluator.

Registered candidate: sft2-IQ4_XS.gguf, 868,041,888 bytes (0.87 GB). It is the smallest file that passes the team evaluator, when run through the matura-harness v5 retrieval setup. Read the caveats below before quoting the number. The 4.5B sibling that also passes an unseen 2026 paper is SlayerLab/bielik-4.5b-v3-matura-history-sft2.

This repo holds the bf16 safetensors (Transformers format), the llama.cpp GGUF quants made with a Polish importance matrix, the imatrix itself, and the training logs. Code, data recipe and every evaluation run: slayerlabs/hackathon → maly-ale-wariat/ (MODEL_CARD.md, RESULTS.md, REPORT.md).

Files

FileBytesNotessha256
model.safetensors (+ config.json, tokenizer, chat_template.jinja)3,193,073,112bf16, Transformers format89a2b0b4230b74dc25a2b82968c821ed90ad6a88f6bd556681eebce9bf700db6
sft2-bf16.gguf3,195,508,608convert_hf_to_gguf.py; the source of every quant belowfd287cada04bbad137711cf98d77d799aada9e6a24ad41d2013e5147b1366de7
sft2-Q8_0.gguf1,699,567,776PPL 17.188aeef74ef9ec054f7897b68f8397f4acbebc5ec3e9f8c33963cb2325df3c7f2f
sft2-Q4_K_M.gguf972,797,184PPL 17.36. Passes the evaluator under both protocols8ba1d092523b3af347a278bd99ba1ef5cf72805af4db22e3d817d286c46ada2f
sft2-IQ4_XS.gguf868,041,888PPL 17.22. Registered candidate5fbe1f31d32b0a46704acfc4ab2bffe2aba46c23007ed9a48e57cc62723ef5ee
sft2-Q3_K_M.gguf782,735,520PPL 17.85. Fails the past-exam track6697a8c44c65b62e0e7e5d43fc7b24ada260927ca6bae2c6266391ffcf2916c5
sft2-MIX-IQ4XS-FFNUG-IQ3S.gguf778,585,248Experiment: IQ4_XS with ffn_up/ffn_gate at IQ3_S. PPL 20.48bf175696273ede1dcdac76b3f18af8acc02b8e0fbf41e535d771c649b51853e9
sft2-IQ3_M.gguf728,017,056PPL 22.50. Fails74f8d360c64a11e4d5b3ed4dc5d09cff58add910402cc6c7c8cb75713c0d063e
sft2-Q3_K_S.gguf709,007,520PPL 21.11b9e5526ec017378baa63389ae2f862f63f25ddcd94c62f32dda001e7a15133fc
sft2-IQ3_XXS.gguf632,585,376PPL 22.26ed8553f24ce1c24d0fc716cf4a209fc559a87c838af76de0c2be8cb6e15b4e2f
sft2.imatrix.gguf2,361,056Polish importance matrix: SFT conversations + plwiki passages (train/make_calib.py, calib-v1.txt)18c2bc1871db633630041feacdcbde69b36c1439dea0180abc79a83438a51aa2
training/train_args.json, metrics.json, log.jsonl, data_stats.json, gpu.txt, out-pip-freeze.txt
SHA256SUMSsha256 of every file in this repo (sha256sum -c SHA256SUMS)

PPL = perplexity on held-out Polish text (calib/ppl-heldout.txt, 40 × 1024 tokens); lower is better. IQ4_XS with the Polish imatrix is effectively lossless against Q8_0; every 3-bit variant failed the evaluator. Quants were made with llama.cpp build 11146 (commit 7fe450e19) via train/quantize.sh.

How to run

The configuration that was scored (llama.cpp llama-server, OpenAI-compatible API on port 8891):

hf download SlayerLab/bielik-1.5b-v3-matura-history-sft2 sft2-IQ4_XS.gguf --local-dir .
llama-server -m sft2-IQ4_XS.gguf --port 8891 --ctx-size 8192 -ngl 99 --flash-attn on --jinja \
  --chat-template-kwargs '{"enable_thinking":false}'

llama-server -hf SlayerLab/bielik-1.5b-v3-matura-history-sft2:IQ4_XS and ollama run hf.co/SlayerLab/bielik-1.5b-v3-matura-history-sft2:IQ4_XS also work.

The reported scores used matura-harness in front of that server with the flags in maly-ale-wariat/eval/harness_args_v5.txt (evaluator-style prompts for source-based tasks, plwiki BM25 retrieval of 2 × 700 characters only for tasks of 600 characters or less and for essays, strict closed-answer normalization, repetition trimming, DRY sampling and a 380-word floor for essays). The 1.7 GB retrieval index is not part of the model; the steps to rebuild it are in the repo README.

Transformers (bf16 safetensors):

from transformers import AutoModelForCausalLM, AutoTokenizer

repo = "SlayerLab/bielik-1.5b-v3-matura-history-sft2"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo, dtype="bfloat16", device_map="auto")

messages = [
    {"role": "system", "content": "Jesteś zdającym maturę rozszerzoną z historii. Odpowiadasz po polsku, zwięźle i konkretnie. "
                                  "Najważniejsze są źródła podane w zadaniu; materiały pomocnicze mogą być nietrafne. "
                                  "Wykonaj dokładnie polecenie i podaj wymaganą liczbę elementów."},
    {"role": "user", "content": "Podaj nazwę bitwy z 1410 r., w której wojska polsko-litewskie pokonały zakon krzyżacki, "
                                "i wymień jednego z dowódców strony polsko-litewskiej."},
]
ids = tok.apply_chat_template(messages, add_generation_prompt=True, return_tensors="pt").to(model.device)
out = model.generate(ids, max_new_tokens=200, do_sample=False)
print(tok.decode(out[0, ids.shape[1]:], skip_special_tokens=True))

The system prompt above is the one used in training. Chat template: Bielik ChatML (<s><|im_start|>role\n…<|im_end|>), no thinking mode. Context: 8192 tokens.

Evaluation

Team evaluator history-matura-eval: two tracks of 55 points each, 34 items adapted from the CKE May 2023 extended-level history paper ("past exam") and 34 Wikipedia-based items, graded by a deterministic closed-answer scorer plus an LLM judge (google/gemini-3.1-flash-lite). Pass = at least 20/55 (35%) on each track. Two protocols:

  • raw: the evaluator's bare-model runner (its system prompt, the task text only, the answer submitted verbatim);
  • harness v5: matura-harness with eval/harness_args_v5.txt, as described above.

A third, truly unseen paper, CKE May 2026 (39 items, 60 points, pass = 21), was converted to the evaluator's item format and scored with the same scorer and judge. Scores below are strict re-scores (eval/strict_rescore.py); the value the evaluator reported is in brackets where it differs.

GGUFSizeProtocolPast exam (/55)Wikipedia (/55)CKE May 2026 (/60)
sft2-IQ4_XS0.87 GBharness v523 (25) ✅31 ✅19 ✗
sft2-IQ4_XS0.87 GBraw18 ✗26 ✅19 ✗
sft2-Q4_K_M0.97 GBharness v522 ✅28 ✅14 ✗
sft2-Q4_K_M0.97 GBraw25 ✅28 ✅15 ✗
sft2-Q3_K_M0.78 GBharness v5incomplete¹25 ✅–
sft2-IQ3_M0.73 GBharness v517 ✗24 ✅–
base Bielik-1.5B-v3.0-Instruct Q8_01.70 GBharness v517 ✗35 ✅19 ✗
base Bielik-1.5B-v3.0-Instruct Q8_01.70 GBrawincomplete¹26 ✅20 ✗

¹ The evaluator reports no total when the judge errs or grades an item "review".

What the SFT changed: bare Bielik-1.5B scores 15–17/55 on the past exam, just under the threshold. SFT on about 4k synthetic and CKE-style tasks lifts past-exam open answers from 7–8 to 14–16 points, which is what makes the model pass.

Caveats

  • Judge glitch (+2) in the headline run. On one 3-statement true/false item the model answered only "P"; the judge wrote "incomplete" but filled the full correct key, and the scorer counted 2 points. The corrected past-exam score is 23/55 (41.8%), still a pass with a 3-point margin.
  • The 0.87 GB file passes only through the harness. Under the evaluator's bare runner it scores 18/55 on the past exam. The harness adds points through retrieval on short tasks, essay handling and strict closed-answer formatting. A dashboard that runs the bare GGUF will show this file failing; the 0.97 GB Q4_K_M passes under both protocols.
  • A single evaluator run varies by about ±3 points; the judge is an LLM and a small model's answer can flip between near-identical prompts.
  • On the unseen CKE May 2026 paper every 1.5B variant, the untouched base included, lands at 19–21/60, right at the 35% line. The fine-tuning gain shows on the evaluator's paper, not on this one.
  • Known failure modes: true/false statements at chance level, open answers naming the wrong person/place/date, essays that hallucinate facts.

Training

Basespeakleash/Bielik-1.5B-v3.0-Instruct (Apache-2.0), loaded from the ungated mirror cpral/Bielik-1.5B-v3.0-Instruct-ungated (revision a3a660b1). Its model.safetensors sha256 (3c337d1d…c28978) equals the LFS sha256 of the gated original, so the base is verified identical.
MethodFull-parameter SFT (train/sft.py, plain transformers 4.57.1), loss only on assistant tokens.
Data4,144 chat rows (sft/v2, prompt version compact-v2) + 116 validation rows: 2,714 synthetic syllabus tasks, 300 model essays (×2), 800 supplementary items, and 82 items converted from the CKE May 2024/2025 papers (×2; not redistributed, CKE copyright). 66% compact prompt with 0–2 retrieved plwiki passages, 20% evaluator-style bare prompt. 2.80M training tokens, 576k of them supervised.
Hyper-parameters3 epochs, lr 1e-5 cosine to 0.1×, warmup 3%, weight decay 0, batch 8 × grad-accum 4 (effective 32), max length 4096, bf16, gradient checkpointing, seed 42.
Compute1 × NVIDIA L40S (RunPod), 390 steps, 1,020 s (17 min).
Losstrain 1.344, eval 1.413 (final; curves in training/log.jsonl).

Things that did not help (see RESULTS.md): continued pretraining on 39M plwiki tokens, more real CKE papers, 4 epochs at lr 2e-5, a uniform model soup, reason-first prompting or self-consistency voting for closed questions.

Data provenance and licensing

  • Weights: Apache-2.0, same as the base model.
  • The synthetic tasks and essays were written by Claude (Anthropic) via Claude Code workflows following data/gen/STYLE.md, fact-checked by a second agent pass and validated by data/gen/validate_items.py. They are CC BY-SA 4.0-compatible.
  • Retrieved evidence comes from Polish Wikipedia (CirrusSearch dump 2026-09-20, CC BY-SA 4.0); every record keeps its source URL.
  • The CKE 2024/2025 items are not redistributed (CKE copyright). The evaluator's questions and keys were never used for training; build_sft.py drops any record sharing word 8-grams with them, plus essays on the held-out themes.

Intended use and limitations

A hackathon research artifact: a small Polish model that answers exam-style history questions in the CKE matura format. It hallucinates names, dates and places, answers true/false items near chance, and was tuned for a specific evaluator. Do not rely on it for factual information or grading.

Acknowledgements

SpeakLeash for Bielik-1.5B-v3.0-Instruct; llama.cpp for quantization and inference; Polish Wikipedia authors (CC BY-SA 4.0).

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · transformers

Можно запустить

Подбираем GPU…

Класс архитектуры
LlamaForCausalLM
Ревизия весов
c39e0bd

0 моделей