/ Модель

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

Контекст
32 768 токенов
Параметры
4,7 млрд
Размер весов
9,5 ГБ
Лицензия
Apache 2.0
Архитектура
llama · dense
Базовая модель
Bielik-4.5B-v3.0-Instruct
Библиотека
transformers
Опубликована
26 сен 2026

bielik-4.5b-v3-matura-history-sft2

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

Польскоязычная чат-модель для ответов на экзаменационные вопросы и написания эссе по истории в формате польской matura.

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

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

SlayerLab Bielik-4.5B-v3 matura-history SFT v2 — польскоязычная чат-модель для ответов на вопросы и написания эссе в формате выпускного экзамена matura по истории на расширенном уровне. Её создали для хакатонного трека «Mały, ale wariat» на основе speakleash/Bielik-4.5B-v3.0-Instruct; модель прошла полное дообучение с учителем на 4 144 диалоговых примерах, включая синтетические задания, образцы эссе и материалы, подготовленные по экзаменационным заданиям.

Это плотная причинная языковая модель семейства Llama с 4,7 млрд параметров и контекстом до 32 768 токенов. Репозиторий содержит веса Transformers в BF16 и варианты GGUF, включая квантизованные версии для запуска через llama.cpp. В заявленной оценке GGUF IQ3_XXS набрала 22 из 55 баллов на прошлых экзаменационных заданиях и 23 из 60 на экзамене CKE мая 2026 года; результаты отдельного запуска могут меняться.

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

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

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

Ограничения

Модель может выдумывать имена, места и даты, а на заданиях «верно/неверно» отвечает примерно на уровне случайного угадывания. Она настроена под конкретный экзаменационный формат; авторы не рекомендуют полагаться на неё для проверки фактов или оценивания.

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

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

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

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

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

Открыть на Hugging Face

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

Full-parameter SFT of speakleash/Bielik-4.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. Same recipe and the same 4,144 training rows as the 1.5B sibling, SlayerLab/bielik-1.5b-v3-matura-history-sft2.

Registered candidate: sft45-IQ3_XXS.gguf, 1,851,896,576 bytes (1.85 GB). It is the smallest file that passes both the team evaluator (harness v5) and an unseen CKE May 2026 paper (with and without the harness). The untouched base at the same 3-bit size fails the past-exam track (18/55); the SFT is what brings it to 22/55.

This repo holds the bf16 safetensors (Transformers format, 2 shards), 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-00001-of-00002.safetensors4,975,516,024bf16, Transformers format (+ config.json, tokenizer, chat_template.jinja, index)fc70b9a7e415164087bfd8f2f25189de35cfdfa41574d2d2a7e48cfc88704edb
model-00002-of-00002.safetensors4,539,113,29652a8fd2d1ff17f2e427aa8e448fbeab84ec9bbd9955b74d48dbb01dabbe428a9
sft45-bf16.gguf9,519,301,024convert_hf_to_gguf.py; the source of every quant below5f02a3207d9e29d80ac5596100352afaef9419b6cb88268f259c6140e07bb08a
sft45-IQ4_XS.gguf2,558,825,216Best scores in this repod5df84995ddfd912129e85b0b1eb14b6848ab3b9db959fca43a5c64147e357bc
sft45-Q3_K_M.gguf2,303,443,712Not evaluatedfe8ff71654f302eea1a40e0e135519f0d7c9142e255e2121082821cae21aeb8d
sft45-IQ3_XXS.gguf1,851,896,576Registered candidate9e3254c4e6cf95d4f07a5d3f6ed239dc9c4182ae7a4e49858edc18c7ac19d1f4
sft45-IQ2_M.gguf1,615,532,800Fails the past-exam trackb4cd6325e2f1e76ba473097ca50806c8329f4aa60710e76d6b6fd429181c13e6
sft45.imatrix.gguf5,655,680Polish importance matrix: SFT conversations + plwiki passages (train/make_calib.py, calib-v1.txt)73fb9b8faf420a6fee7e791482ac040ce4d26b79fbc7a48df18ac8f9e6815f49
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)

Quants were made with llama.cpp build 11146 (commit 7fe450e19) via train/quantize.sh, with the same Polish calibration text as the 1.5B (calib-v1.txt).

How to run

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

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

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

The reported harness 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-4.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: 32768 tokens (the scored runs used 8192).

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)
sft45-IQ3_XXS1.85 GBharness v522 ✅34 ✅23 ✅
sft45-IQ3_XXS1.85 GBrawincomplete¹34 ✅22 ✅
sft45-IQ4_XS2.56 GBharness v525 (27) ✅37 ✅23 ✅
sft45-IQ4_XS2.56 GBraw––24 ✅
sft45-IQ2_M1.62 GBharness v514 ✗24 ✅–
sft45-IQ2_M1.62 GBraw12 ✗21 ✅–
base Bielik-4.5B-v3.0-Instruct Q8_05.06 GBharness v541 ✅38 ✅38 ✅
base Bielik-4.5B-v3.0-Instruct Q8_05.06 GBraw28 ✅40 ✅–
base Bielik-4.5B-v3-Instruct i1-IQ3_XXS²1.85 GBharness v518 ✗35 ✅–

¹ The evaluator reports no total when the judge errs or grades an item "review". ² mradermacher's imatrix quant of the ungated mirror, used as the size-matched untouched baseline.

What this shows: the untouched 4.5B has real margin at Q8 (5 GB) but loses most of it below 4 bits (18/55 at IQ3_XXS). The SFT recovers the past-exam track at that size (22/55) and holds 22–23/60 on the unseen 2026 paper, where every 1.5B variant sits at 19–21. The price is a file twice the size of the 1.5B candidate.

Caveats

  • A single evaluator run varies by about ±3 points; the judge is an LLM. The 22/55 past-exam pass has a 2-point margin.
  • The bare-runner past-exam score for IQ3_XXS is unavailable (judge error voided the track), so "passes under both protocols" rests on the Wikipedia track and the 2026 paper for the bare protocol.
  • IQ2_M fails; Q3_K_M was not evaluated.
  • Known failure modes: true/false statements near chance level, open answers naming the wrong person/place/date, essays with factual errors.

Training

Basespeakleash/Bielik-4.5B-v3.0-Instruct (Apache-2.0), loaded from the ungated mirror adamo1139/Bielik-4.5B-v3-Instruct-ungated. Both safetensors shards match the LFS sha256 of the gated original (bae33275…, e66d692a…), so the base is verified identical.
MethodFull-parameter SFT (train/sft.py, plain transformers 4.57.1), loss only on assistant tokens. Same script and data as the 1.5B.
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-parameters2 epochs, lr 1e-5 cosine to 0.1×, warmup 3%, weight decay 0, batch 4 × grad-accum 8 (effective 32), max length 4096, bf16, gradient checkpointing, seed 42.
Compute1 × NVIDIA A100 80GB PCIe (RunPod), 260 steps, 1,798 s (30 min).
Losstrain 1.147, eval 1.155 (final; curves in training/log.jsonl).

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-4.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
Ревизия весов
a198d1f

0 моделей