/ Модель

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

Лицензия
Apache 2.0
Архитектура
gemma4 · dense
Базовая модель
gemma-4-E2B-it
Библиотека
transformers
Опубликована
20 ноя 2026

gemma-4-e2b-grounded-health

Генерация текстаТекст → текст3 профессии
165скачиваний за 30 дней1лайквеса обновлены24 ноя 2026

Описание модели

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

Дообученная Gemma 4 E2B IT отвечает на исследовательские вопросы по биомедицинским абстрактам на английском языке с кратким ответом и ссылками на предложения.

Gemma 4 E2B Grounded Health — дообученная с помощью LoRA модель Google Gemma 4 E2B IT, дополнительно оптимизированная методом GRPO. Она отвечает на исследовательский вопрос по одному предоставленному биомедицинскому абстракту, опираясь только на его текст. При использовании обученного шаблона PubMedQA выдаёт JSON с меткой «да», «нет» или «возможно», кратким ответом и номерами подтверждающих предложений.

Модель предназначена для исследований обоснованных ответов и цитирования в компактных языковых моделях, а также для воспроизведения и расширения бенчмарка EvalKit. Поддерживается английский язык; веса доступны в safetensors и GGUF, причём README приводит результаты для вариантов Q4_K_M и Q8_0. В описанном сравнении Q4_K_M показал долю правильных и полностью обоснованных ответов 0,503, а Q8_0 — 0,541 в исследовательском запуске.

Модель не предназначена для диагностики, лечения, сортировки пациентов, дозирования или персональных медицинских рекомендаций. Она рассчитана на вопросы по предоставленным исследовательским абстрактам на английском языке и может выдавать слабые или неподходящие цитаты; для JSON-формата требуется шаблон PubMedQA. Лицензия — Apache-2.0.

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

  • Ответы «да», «нет» или «возможно» на вопросы по биомедицинскому абстракту
  • Выделение предложений абстракта, подтверждающих краткий ответ
  • Исследование обоснованных ответов и цитирования в компактных LLM
  • Воспроизведение и расширение бенчмарка EvalKit для PubMedQA

Ограничения

Только для исследовательского использования, не для медицинских решений или рекомендаций. Поддерживает сценарий с предоставленным английским абстрактом; отбор цитат не гарантирует их корректность, а для выдачи JSON нужен обученный формат запроса PubMedQA.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

Бенчмарки пользователейпока нет

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

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

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

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

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

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

    Модели ответят на каждую задачу, судья оценит ответы по шкале 0–100.

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

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

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

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

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

Открыть на Hugging Face

Gemma 4 E2B Grounded Health

Research only, not medical advice. This model summarises what a study abstract says. It is not guidance for anyone's diagnosis or treatment.

Summary

google/gemma-4-E2B-it fine-tuned with LoRA, first supervised (as v2) and then by GRPO reinforcement learning from v2's adapter, to answer a research question from a supplied abstract only, as JSON with a label, a short answer and the numbers of the sentences it relied on. It is trained on PubMedQA's artificial set and scored with EvalKit on the expert set, against its own base model and v2 (gemma-e2b-grounded-v2-q4), v3b at Q8_0 (gemma-e2b-grounded-v3b-q8, exploratory), all scored in one run with the same claim extractor and judge set. The published v1, v2 numbers are shown beside them, labelled with their own extractor and judges, and not compared. Its registered result, at Q4_K_M (configs/eval_plan_v3b.yaml): correct and fully grounded (gpt-6.1-sol) 0.503 [0.472, 0.534] against 0.329 [0.300, 0.358] for v2 (gemma-e2b-grounded-v2-q4) and 0.404 [0.373, 0.434] for the base model; v3b minus v2 is 0.174 [0.147, 0.202], separated under the plan's rule. On 1000 expert questions the fine-tune (gemma-e2b-grounded-v3b-q4) has accuracy 0.677 [0.647, 0.706] against 0.501 [0.469, 0.532] for the base model (gemma-e2b-base-q4) and 0.678 [0.649, 0.706] for gemma-e2b-grounded-v2-q4 (not separated); the full table, with the judges' headline, is under Evaluation. Against v2 (gemma-e2b-grounded-v2-q4), pre-registered: better on correct and fully grounded. Both GGUFs ship. Q4_K_M is the registered, benchmarked file; Q8_0 (4737.4 MB against 3269.1 MB) is recommended where it fits: it agrees with the merged bf16 weights on the label for 0.990 of dev prompts against Q4_K_M's 0.924 (a parity miss disclosed under OWNER D-73); its headline in the same run is 0.541 [0.510, 0.572] (gpt-6.1-sol), exploratory and outside the pre-registered test (OWNER D-73). Research only, not medical advice.

Intended use

  • Answering a research question about one biomedical abstract, from that abstract only, with a yes, no or maybe label, a short answer and the numbers of the sentences that support it.
  • Studying grounded answering and citation behaviour in small open models, offline, on a laptop (GGUF) or a GPU (merged weights).
  • Reproducing and extending the benchmark with EvalKit.

Out-of-scope uses

  • Clinical use of any kind: diagnosis, treatment, triage or dosing.
  • Personal medical advice, for the user or anyone else.
  • Languages other than English.
  • Sources other than research abstracts: full papers, guidelines, web pages, patient records or open-ended chat without a supplied abstract.

How to use

The model answers as JSON only when it gets EvalKit's PubMedQA prompt, the prompt it was trained and benchmarked on: the question and the abstract split into numbered sentences. A bare question gets free text. Send this as the user message (Gemma's chat template, thinking off), with the real question and one numbered line per sentence:

You are answering a research question using only the numbered sentences from a
scientific abstract below. This is a research benchmark, not medical advice.

Question: <question>

Abstract sentences:
[1] <sentence 1>
[2] <sentence 2>
[3] <sentence 3>

Reply with JSON only, in this shape:
{"label": one of yes / no / maybe, "answer": "two to four sentences", "citations": [sentence numbers]}

Rules:
- Base every statement on the sentences above, not on outside knowledge.
- Cite the sentence numbers (1 to 3) that support your answer.
- Choose "maybe" when the sentences do not settle the question.

The reply is one JSON object, for example {"label": "no", "answer": "...", "citations": [2]}. The benchmark decoded greedily (temperature 0) with thinking off. Offline, the Q4_K_M GGUF runs with ollama run --think=false hf.co/biplob123/gemma-4-e2b-grounded-health-GGUF:Q4_K_M; the repository's ggh space --local demo and ggh serve build the prompt for you. Where it fits, the Q8_0 file is recommended (closer to the merged weights; see Parity): ollama run --think=false hf.co/biplob123/gemma-4-e2b-grounded-health-GGUF:Q8_0.

Training data

v3b trained on no new data: its GRPO run used only the 2,722 v2 train prompts and gold labels (train split only; no dev or test use), as configs/eval_plan_v3b.yaml registers, so the data, targets and audits below are v2's.

PubMedQA qiaojin/PubMedQA at revision 9001f2853fb87cab8d220904e0de81ac6973b318: the artificial set (PQA-A) for training and dev, never the expert set (PQA-L), which is the benchmark. Rows overlapping PQA-L by PMID, question or context were removed (overlap_with_pqa_l:context 0, overlap_with_pqa_l:pmid 0, overlap_with_pqa_l:question 0).

SplitRows by reference label
dev_evalno 43, yes 457
offscope_evalmaybe 20
train_poolno 14942, yes 193827
valno 140, yes 1860

Targets: 2722 training and 272 validation examples from 39252 scored rows. Citations are chosen by rule, not checked by hand: each cited sentence must on its own reach a minimum entailment of the claim under the pinned NLI model (a higher one unless it reports a result), the cited set must entail it (≥ 0.500) and share its content words (≥ 0.500), with at most 4 citations and at most 80 words. A selection rule is not a guarantee: the audit below found some answer citations weak or pointing at an aim or method sentence.

Label mix:

SplitExamples by kind
traininsufficient 272, no 969, offscope 27, yes 1454
valinsufficient 27, no 97, offscope 3, yes 145

Filters and their drop counts:

FilterDropped
no:no_supported_sentence14016
sentence:citation_cap9
sentence:low_entailment117
sentence:low_support3377
sentence:no_content_words20
sentence:no_supporting_sentence57445
sentence:recommendation4834
yes:no_supported_sentence22162
yes:over_80_words1

Hand audit (Tech Spec §4.6), v2.2 round 3 (AUD-R4, blind Claude reviewer, OWNER D-47, D-50): 50 sampled training examples, 0.980 judged ok overall; the audit did not pass its bar (the failed checks are in docs/measurements/audit_v2_result.json), and v2 trained on these targets with the miss disclosed in DATA_CARD.md. v3b's audits are v2's (D-76): it started from v2's adapter and its GRPO run used only v2's audited training prompts and gold labels, so a new audit would repeat v2's.

Training procedure

Two stages. First v2's supervised fine-tune, as v2's card describes it:

Value
Base modelgoogle/gemma-4-E2B-it at 4adf15748de9e1a0097b6274cee9c15836c41c37
MethodQLoRA (4-bit base) with unsloth
LoRA rank / alpha / dropout16 / 32 / 0.05
Target modulesq_proj, k_proj, v_proj, o_proj, gate_proj, up_proj, down_proj
Learning rate, schedule, warm-up0.0002, cosine, 0.03
Batch4 × 4 gradient accumulation
Max sequence length1024
Epochs2.0
Losscompletion only (prompt masked)
Seed7
GPUTesla T4 (Kaggle kernel version 1)
Wall-clock4551.2 s
Peak VRAM9.80 GB
Steps (selected)340 (340)
Repo commit8ff61b977580700c592ee2c8443d46570e0126f1

Dev checks on 500 held-out PQA-A prompts (deterministic, no judge): schema valid 1.000 constrained and 1.000 unconstrained, citation valid 1.000, label accuracy no 0.860, yes 0.937, mean answer length 13.7 words.

Then v3b's GRPO run from v2's adapter (no judge or API call in training):

Value
Started fromv2's frozen adapter e5f97861693346623bf55305c0b911e10fe9a9dcc0985e535db30dad74f4e3db
MethodGRPO on the LoRA adapter, recipe configs/recipe_v3b_grpo.yaml
Rewardsrc/ggh/rl/reward_b.py (v3b): GRPO from v2's adapter with the v3b checker reward; no judge or API call in training
Promptsthe 2,722 v2 train prompts and gold labels (train split only; no dev or test use)
Learning rate, schedule, warm-up5e-06, cosine, 0.05
Completions per prompt, temperature8, 1.0
Batch8 × 4 gradient accumulation
Max completion length160
KL coefficient (beta), loss0.0, dapo
Seed7
GPUTesla T4 (Kaggle kernel ggh-v3b-grpo v1)
Wall-clock20251.2 s
Peak VRAM13.43 GB
Steps (selected)300 (250, checkpoint-250)
Adapter0537933d988bdbb7db836c8a4651a278d391f95c72ed4f45b6c3b739c39d2014
Repo commita67891bbb351c45b513f4fac31d8a982d461af21

Checkpoint selection on 300 held-out PQA-A dev prompts (scored by the v3b reward's local checker, no judge), v3b's checkpoint-250 against v2's own replies in the same session: mean reward 0.885 against 0.670; right label and checker-supported 0.653 against 0.457; label accuracy 0.940 against 0.953; copy share 0.153 against 0.083.

Evaluation

  • Judge mode: single.
  • v3b scoring: claims extracted by gpt-6-luna, judged by gpt-6.1-sol alone.
  • Calibration of v3b: calibrated. The stamp covers the judges v3b's pre-registered comparisons rely on (gpt-6.1-sol) and is given only when each is calibrated (OWNER D-59). Per judge, as the results bundle records it:
    • gpt-6.1-sol: calibrated, held-out kappa 0.598 [0.468, 0.711] on 231 pubmedqa claims, lower bound at least 0.4 (OWNER D-59): agreement with a Claude Opus 5.5 reference labeller (a model's labels, not a human expert's; OWNER D-60). Gemma-family check (40 claims from main_v2): agreement 0.950, kappa 0.893 [0.722, 1.000].
    • claude-opus-5-5: never stamped calibrated: the reference labels are its own model's (Claude Opus 5.5), so its held-out kappa 0.397 [0.263, 0.511] on 231 pubmedqa claims is the same model agreeing with itself (OWNER D-60), and its lower bound is under the 0.4 bar; reported only, its numbers stay published (not a judge of v3b's runs).
  • Reference labeller consistency: Claude Opus 5.5 relabelled 20 answers (88 claims) under configs/labeller_prompt.md: 81 labels identical, kappa 0.807 [0.662, 0.928] (OWNER D-60).
  • ⚠ single judge: self-preference not measured
  • The committed EvalKit summaries keep EvalKit's own per-run stamp ("judge not calibrated for this task"): they are never rewritten (OWNER D-59). The release's stamp above is GGH's, read from EvalKit's calibration run.
  • offscope_v3b: exempt: task ggh_offscope is not pubmedqa, so the pubmedqa calibration cannot cover it (OWNER D-59); its judges' numbers here carry no calibrated stamp.
  • probe_original_v3b: exempt: task ggh_probe_original is not pubmedqa, so the pubmedqa calibration cannot cover it (OWNER D-59); its judges' numbers here carry no calibrated stamp.
  • probe_paraphrase_v3b: exempt: task ggh_probe_paraphrase is not pubmedqa, so the pubmedqa calibration cannot cover it (OWNER D-59); its judges' numbers here carry no calibrated stamp.

Benchmark

v3b: EvalKit task pubmedqa, run r-66616600de17. Every model in this table was scored in this run: claims extracted by gpt-6-luna, judged by gpt-6.1-sol alone. 95% bootstrap intervals in square brackets. The headline counts an answer only when its label is correct and every claim is supported by the sentences it cites.

ModelnAccuracyCorrect and grounded (gpt-6.1-sol)Citation precision (gpt-6.1-sol)Aim-citation rate (gpt-6.1-sol, lower is better)
gemma-e2b-base-q410000.501 [0.469, 0.532]0.404 [0.373, 0.434]0.747 [0.722, 0.772]0.138 [0.117, 0.161]
gemma-e2b-grounded-v2-q410000.678 [0.649, 0.706]0.329 [0.300, 0.358]0.736 [0.708, 0.763]0.084 [0.067, 0.102]
gemma-e2b-grounded-v3b-q410000.677 [0.647, 0.706]0.503 [0.472, 0.534]0.873 [0.851, 0.894]0.032 [0.022, 0.043]
gemma-e2b-grounded-v3b-q810000.717 [0.689, 0.745]0.541 [0.510, 0.572]0.891 [0.871, 0.911]0.029 [0.019, 0.040]

gemma-e2b-grounded-v3b-q8 is v3b at Q8_0, scored in the same run as an exploratory model outside the pre-registered test (OWNER D-73): no v3b claim rests on it.

Published v1 numbers (not compared with v3b)

These are v1's numbers as published under configs/eval_plan.yaml; they stand as they are and are shown for reference, not as a v3b comparison. They were produced with a different claim extractor and a different judge set from v3b's run (claims extracted by gpt-6-luna, judged by gpt-6.1-sol alone), so the two sets of numbers are not comparable. As answering models, claude-haiku-5-5 and gemma-e2b-grounded-q4 and gpt-6-luna were not re-scored for v3b, so v3b is not compared with them. gemma-e2b-base-q4 appear in both v3b's table and here; each table's numbers come from its own run.

Run main (r-f0f3b432a413), claims extracted by claude-haiku-5-5, judged by claude-opus-5-5 and gpt-6.1-sol:

ModelnAccuracyCorrect and grounded (claude-opus-5-5)Correct and grounded (gpt-6.1-sol)
gemma-e2b-base-q410000.501 [0.469, 0.532]0.418 [0.387, 0.448]0.394 [0.364, 0.424]
gemma-e2b-grounded-q410000.728 [0.700, 0.755]0.388 [0.358, 0.419]0.330 [0.301, 0.359]
claude-haiku-5-510000.685 [0.656, 0.714]0.345 [0.316, 0.374]0.231 [0.205, 0.257]
gpt-6-luna10000.579 [0.548, 0.611]0.431 [0.401, 0.462]0.290 [0.262, 0.319]

Run main_citation (r-edfcba37159e), claims extracted by claude-haiku-5-5, judged by claude-opus-5-5 and gpt-6.1-sol:

ModelnAccuracyCorrect and grounded (claude-opus-5-5)Correct and grounded (gpt-6.1-sol)Citation precision (claude-opus-5-5)Citation precision (gpt-6.1-sol)Aim-citation rate (claude-opus-5-5, lower is better)Aim-citation rate (gpt-6.1-sol, lower is better)
gemma-e2b-base-q410000.501 [0.469, 0.532]0.418 [0.387, 0.448]0.394 [0.364, 0.424]0.725 [0.698, 0.752]0.746 [0.721, 0.771]0.057 [0.043, 0.072]0.142 [0.120, 0.164]
gemma-e2b-grounded-q410000.728 [0.700, 0.755]0.388 [0.358, 0.419]0.330 [0.301, 0.359]0.338 [0.319, 0.357]0.359 [0.340, 0.379]0.557 [0.525, 0.588]0.567 [0.536, 0.598]
claude-haiku-5-510000.685 [0.656, 0.714]0.345 [0.316, 0.374]0.231 [0.205, 0.257]0.848 [0.836, 0.860]0.882 [0.872, 0.893]0.186 [0.162, 0.210]0.225 [0.199, 0.251]
gpt-6-luna10000.579 [0.548, 0.611]0.431 [0.401, 0.462]0.290 [0.262, 0.319]0.865 [0.851, 0.879]0.894 [0.881, 0.905]0.094 [0.076, 0.113]0.116 [0.096, 0.136]

Published v2 numbers (not compared with v3b)

These are v2's numbers as published under configs/eval_plan_v2.yaml; they stand as they are and are shown for reference, not as a v3b comparison. As answering models, gemma-e2b-grounded-q4 were not re-scored for v3b, so v3b is not compared with them. gemma-e2b-base-q4 and gemma-e2b-grounded-v2-q4 appear in both v3b's table and here; each table's numbers come from its own run.

Run main_v2 (r-715fc213a8a5), claims extracted by gpt-6-luna, judged by gpt-6.1-sol alone:

ModelnAccuracyCorrect and grounded (gpt-6.1-sol)Citation precision (gpt-6.1-sol)Aim-citation rate (gpt-6.1-sol, lower is better)
gemma-e2b-base-q410000.501 [0.469, 0.532]0.404 [0.373, 0.434]0.747 [0.722, 0.772]0.138 [0.117, 0.161]
gemma-e2b-grounded-q410000.728 [0.700, 0.755]0.331 [0.302, 0.361]0.362 [0.343, 0.382]0.560 [0.529, 0.590]
gemma-e2b-grounded-v2-q410000.678 [0.649, 0.706]0.329 [0.300, 0.358]0.736 [0.708, 0.763]0.084 [0.067, 0.102]

Pre-registered comparisons

From configs/eval_plan_v3b.yaml (final). Differences with 95% paired bootstrap intervals on shared cases; a gap is separated only under the plan's Holm-corrected rule, otherwise it is a tie (Tech Spec §7.4). Every model on both sides was scored the same way: run main_v3b, claims extracted by gpt-6-luna, judged by gpt-6.1-sol alone. The plan has a single primary test, so Holm leaves its p-value unchanged.

ComparisonOutcomeJudgeDifferencepVerdict
gemma-e2b-grounded-v3b-q4 minus gemma-e2b-grounded-v2-q4headlinegpt-6.1-sol0.174 [0.147, 0.202]<0.001gemma-e2b-grounded-v3b-q4 better

Secondary: label accuracy

Label accuracy (yes, no or maybe matches the reference), secondary: differences with 95% paired bootstrap intervals, separated under EvalKit's run-wide Holm rule.

ComparisonAccuracy differenceSeparated
gemma-e2b-grounded-v3b-q4 minus gemma-e2b-base-q40.176 [0.143, 0.210]yes
gemma-e2b-grounded-v3b-q4 minus gemma-e2b-grounded-v2-q4-0.001 [-0.011, 0.008]no
gemma-e2b-grounded-v3b-q4 minus gemma-e2b-grounded-v3b-q8-0.040 [-0.058, -0.022]yes

Behaviour checks (B1–B8)

v3b's runs (main_v3b: claims extracted by gpt-6-luna, judged by gpt-6.1-sol alone; offscope_v3b: claims extracted by gpt-6-luna, judged by gpt-6.1-sol alone). The rows of v1, v2 are in the results bundle under their own runs.

RuleModelMetricValuenRunSource
B1gemma-e2b-base-q4schema_failures_or_zero_citations0.0051000main_v3bggh:b1
B2gemma-e2b-base-q4headline:gpt-6.1-sol0.404 [0.373, 0.434]1000main_v3bevalkit:headline
B2gemma-e2b-base-q4groundedness_mean:gpt-6.1-sol0.840 [0.820, 0.859]1000main_v3bevalkit:groundedness
B3gemma-e2b-base-q4maybe_recall0.491 [0.398, 0.586]110main_v3bggh:b3
B3gemma-e2b-base-q4maybe_precision0.127 [0.095, 0.161]424main_v3bggh:b3
B4gemma-e2b-base-q4over_80_words_share0.0131000main_v3bggh:b4
B6gemma-e2b-base-q4unsupported_claim_share:gpt-6.1-sol0.1422481main_v3bevalkit:verdicts
B7gemma-e2b-base-q4citation_validity0.995 [0.990, 0.999]1000main_v3bevalkit:citation_valid
B7gemma-e2b-base-q4citation_precision:gpt-6.1-sol0.747 [0.722, 0.772]1000main_v3bevalkit:citation_support
B7gemma-e2b-base-q4aim_citation_rate:gpt-6.1-sol0.138 [0.117, 0.161]1000main_v3bevalkit:citation_support
B1gemma-e2b-grounded-v2-q4schema_failures_or_zero_citations0.0001000main_v3bggh:b1
B2gemma-e2b-grounded-v2-q4headline:gpt-6.1-sol0.329 [0.300, 0.358]1000main_v3bevalkit:headline
B2gemma-e2b-grounded-v2-q4groundedness_mean:gpt-6.1-sol0.493 [0.463, 0.523]1000main_v3bevalkit:groundedness
B3gemma-e2b-grounded-v2-q4maybe_recall0.055 [0.018, 0.098]110main_v3bggh:b3
B3gemma-e2b-grounded-v2-q4maybe_precision0.240 [0.087, 0.409]25main_v3bggh:b3
B4gemma-e2b-grounded-v2-q4over_80_words_share0.0001000main_v3bggh:b4
B6gemma-e2b-grounded-v2-q4unsupported_claim_share:gpt-6.1-sol0.4691209main_v3bevalkit:verdicts
B7gemma-e2b-grounded-v2-q4citation_validity1.000 [1.000, 1.000]1000main_v3bevalkit:citation_valid
B7gemma-e2b-grounded-v2-q4citation_precision:gpt-6.1-sol0.736 [0.708, 0.763]1000main_v3bevalkit:citation_support
B7gemma-e2b-grounded-v2-q4aim_citation_rate:gpt-6.1-sol0.084 [0.067, 0.102]1000main_v3bevalkit:citation_support
B1gemma-e2b-grounded-v3b-q4schema_failures_or_zero_citations0.0001000main_v3bggh:b1
B2gemma-e2b-grounded-v3b-q4headline:gpt-6.1-sol0.503 [0.472, 0.534]1000main_v3bevalkit:headline
B2gemma-e2b-grounded-v3b-q4groundedness_mean:gpt-6.1-sol0.729 [0.701, 0.756]1000main_v3bevalkit:groundedness
B3gemma-e2b-grounded-v3b-q4maybe_recall0.055 [0.018, 0.098]110main_v3bggh:b3
B3gemma-e2b-grounded-v3b-q4maybe_precision0.273 [0.095, 0.471]22main_v3bggh:b3
B4gemma-e2b-grounded-v3b-q4over_80_words_share0.0001000main_v3bggh:b4
B6gemma-e2b-grounded-v3b-q4unsupported_claim_share:gpt-6.1-sol0.2281350main_v3bevalkit:verdicts
B7gemma-e2b-grounded-v3b-q4citation_validity1.000 [1.000, 1.000]1000main_v3bevalkit:citation_valid
B7gemma-e2b-grounded-v3b-q4citation_precision:gpt-6.1-sol0.873 [0.851, 0.894]1000main_v3bevalkit:citation_support
B7gemma-e2b-grounded-v3b-q4aim_citation_rate:gpt-6.1-sol0.032 [0.022, 0.043]1000main_v3bevalkit:citation_support
B1gemma-e2b-grounded-v3b-q8schema_failures_or_zero_citations0.0001000main_v3bggh:b1
B2gemma-e2b-grounded-v3b-q8headline:gpt-6.1-sol0.541 [0.510, 0.572]1000main_v3bevalkit:headline
B2gemma-e2b-grounded-v3b-q8groundedness_mean:gpt-6.1-sol0.754 [0.727, 0.780]1000main_v3bevalkit:groundedness
B3gemma-e2b-grounded-v3b-q8maybe_recall0.018 [0.000, 0.045]110main_v3bggh:b3
B3gemma-e2b-grounded-v3b-q8maybe_precision0.143 [0.000, 0.364]14main_v3bggh:b3
B4gemma-e2b-grounded-v3b-q8over_80_words_share0.0001000main_v3bggh:b4
B6gemma-e2b-grounded-v3b-q8unsupported_claim_share:gpt-6.1-sol0.2031339main_v3bevalkit:verdicts
B7gemma-e2b-grounded-v3b-q8citation_validity1.000 [1.000, 1.000]1000main_v3bevalkit:citation_valid
B7gemma-e2b-grounded-v3b-q8citation_precision:gpt-6.1-sol0.891 [0.871, 0.911]1000main_v3bevalkit:citation_support
B7gemma-e2b-grounded-v3b-q8aim_citation_rate:gpt-6.1-sol0.029 [0.019, 0.040]1000main_v3bevalkit:citation_support
B5gemma-e2b-base-q4sample_read_ok_share0.50020main_v3bmodel_review
B5gemma-e2b-grounded-v2-q4sample_read_ok_share0.40020main_v3bmodel_review
B5gemma-e2b-grounded-v3b-q4sample_read_ok_share0.65020main_v3bmodel_review
B5gemma-e2b-grounded-v3b-q8sample_read_ok_share0.55020main_v3bmodel_review
B8gemma-e2b-grounded-v3b-q4presort_flagged_share0.00020offscope_v3bggh:b8
B8gemma-e2b-grounded-v3b-q4gives_advice_count020offscope_v3bmodel_review
B8gemma-e2b-grounded-v3b-q8presort_flagged_share0.00020offscope_v3bggh:b8
B8gemma-e2b-grounded-v3b-q8gives_advice_count020offscope_v3bmodel_review

Rows with source model_review are a blind review by Claude Opus 5.5, not the owner (OWNER D-61): B5 is the sample read of 20 answers per model from main_v3b under configs/sample_read_prompt.md; B8 is every off-scope answer (20 per model scored in offscope_v3b) under configs/offscope_review_prompt.md, the reviewers seeing the question and answer only. Each review ran as a fresh subagent with no model names. Reviewer as recorded: claude-opus-5-5 (blind subagent, OWNER D-61); claude-opus-5-5 (blind subagent, configs/sample_read_prompt.md, OWNER D-61).

Sample read findings (B5). A pipeline fault is a scoring problem, not the model's; each is explained in docs/measurements/sample_read_faults.md:

ModelRunReadmodel faultokpipeline fault
gemma-e2b-base-q4main_v3b206104
gemma-e2b-grounded-v2-q4main_v3b20983
gemma-e2b-grounded-v3b-q4main_v3b206131
gemma-e2b-grounded-v3b-q8main_v3b208111

Parity: published bf16 weights against the benchmarked Q4_K_M

The published merged bf16 weights are for GPU use; the benchmark scored the Q4_K_M GGUF, the file its plan registers. On 500 dev prompts, greedy, the two agree on the label for 0.924 of prompts and cite exactly the same sentences for 0.808. The label agreement is under the export check's bar of 0.950 (docs/measurements/lineage/parity_v3b.json, agreement_bar); v3b was scored at Q4_K_M, as its plan registers, with the miss disclosed (OWNER D-73).

WeightsSchema valid
bf161.000
q4_k_m1.000

Q8_0 against the same bf16 weights on the same 500 prompts (an exploratory check after Q4_K_M's miss, OWNER D-73): label agreement 0.990, within the export check's bar of 0.950, exactly the same sentences cited for 0.908. Q4_K_M's drift comes from its quantisation, so the Q8_0 file, closer to the merged weights, is the recommended download where it fits (OWNER D-75); the registered result is Q4_K_M's.

Laptop speed

v3b's GGUF (gemma-e2b-grounded-v3b-q4), variant ft3b-Q4_K_M in docs/measurements/v3b/laptop_bench.json, served by llama.cpp on a laptop:

Value
MachineApple M3 Max, 64 GB, macOS 26.5.2, ac power
llama.cppb12421
WeightsQ4_K_M, 3269.1 MB
Prompts50 × 3 repetitions
Prompt processing (p50)4673.4 tokens/s
Generation (p50 / p95)102.4 / 108.0 tokens/s
Time to first token (p50)112 ms
Answer latency (p50 / p95)585 / 741 ms
Peak memory (server RSS)4511.6 MB
llama-bench pp5127085.7 tokens/s
llama-bench tg128131.6 tokens/s

The recommended Q8_0 file (variant ft3b-Q8_0, same session and protocol): 4737.4 MB, generation 78.4 / 83.0 tokens/s (p50 / p95), answer latency 736 / 1089 ms, peak memory 5978.3 MB.

Limits

  • One benchmark's question style: PubMedQA questions are mostly titles turned into yes or no questions, so other phrasings may do worse.
  • English only, and abstracts only.
  • The maybe label was learned from 272 constructed training examples, 27 more held out for validation (an abstract with its deciding sentences removed, OWNER D-15), not from real maybe-labelled questions.
  • Contamination probe ggh_probe_original (run r-319af920b229): accuracy gemma-e2b-grounded-v3b-q4 0.750 [0.660, 0.830].
  • Contamination probe ggh_probe_paraphrase (run r-348ee1e6b6af): accuracy gemma-e2b-grounded-v3b-q4 0.750 [0.670, 0.830].
  • Paraphrase drop (original minus paraphrased accuracy, 100 questions): 0.000 [-0.030, 0.030]; contamination signal: no.
  • v3b restates cited result sentences closely: 0.191 of its answers are copies (similarity 0.9 or more to one cited sentence) against 0.107 for v2, and 0.407 are near-copies (0.7 or more) against 0.238. Among answers that are not copies its headline is 0.461 against 0.283 for v2 and 0.306 for base. The copy measure misses verbatim cut-down extractions, so some copies count as non-copies (V3.6, V3.7).
  • 2 of v3b's cited sentences at Q4_K_M went unjudged in the scoring run (docs/results/main_v3b/result.json).
  • Q4_K_M's label agreement with the merged weights is 0.924, under the export check's bar of 0.950 (OWNER D-73); see Parity on the model card.
  • gemma-e2b-grounded-v3b-q8 is v3b at Q8_0, scored in the same run as an exploratory model outside the pre-registered test (OWNER D-73): no v3b claim rests on it.
  • v3b was built after v1's and v2's test results were seen (D-43); its plan (configs/eval_plan_v3b.yaml) was hashed before any v3b training step.

Licence and credits

  • Weights and code: Apache-2.0 (LICENSE). The repo's NOTICE is shipped with the weights.
  • Base model: Google DeepMind's Gemma 4 E2B (google/gemma-4-E2B-it at 4adf15748de9e1a0097b6274cee9c15836c41c37). Its model card declares license: apache-2.0 and links its terms at https://ai.google.dev/gemma/docs/gemma_4_license. The snapshot at that revision ships no NOTICE file of its own, so the repo's NOTICE carries the Gemma credit. Read on 2026-11-20 from the model card at that revision (sha256 3e0608a6be80e3eb040a5aa6c76707809503deb85be6360184a118fb6156526c), recorded in docs/licence_check.json. Re-read on 2026-11-20: that link resolves to the Apache License 2.0 text (https://gemma.ai/resources/apache-2/), and the Gemma Terms of Use (https://gemma.ai/resources/terms/, last modified 2026-04-01) say they do not cover Gemma 4. Although those terms do not cover Gemma 4, this release voluntarily keeps to Google's Gemma Prohibited Use Policy (https://gemma.ai/resources/prohibited-use/), which names no version and bars, among other things, the unlicensed practice of medicine and automated decisions affecting people's health; the model is for research only and is never to be used for either.
  • Data: PubMedQA (Jin et al., 2019), MIT licence, https://pubmedqa.github.io/.
  • Evaluation: EvalKit 06591f8de9b1, ee5969978c92, f9cbc8e5396c (MIT licence, https://github.com/biplob819/evalkit).

Research only, not medical advice

These answers summarise a study abstract. They are not medical advice and must not be used to make decisions about anyone's health. Ask a clinician about your own situation.

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
Gemma4ForConditionalGeneration
Ревизия весов
88d15e0

0 моделей