evaluate 0 0 0

SEBK4C/gemma4-serving-bench-data

published by @SEBK4C

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
3K
Last 30 days
1K
Likes
-
Size
3.1 MB
Created on HF
2026-07-05
Age
3 months ago

Description

Gemma 4 12B (QAT-Q4_0) — Serving-Behavior Test Data

Test data, charts, and the running research log from an autonomous research

loop characterizing and tuning a Gemma 4 12B QAT-Q4_0 model served via

llama.cpp/llamafile on a single RTX 3080 Ti. Every ~30 min the loop

summarizes findings, proposes a goal, tests it end-to-end, documents success or

failure, and publishes here + to GitHub.

Model under test: gemma-4-12b-it-qat-q4_0.gguf (Google, June 2026), 128K

ctx, f16 KV, MTP… See the full description on the dataset page: https://huggingface.co/datasets/SEBK4C/gemma4-serving-bench-data.

Tags

license:cc-by-4.0size_categories:n<1Kformat:jsonmodality:imagemodality:textlibrary:datasetslibrary:pandaslibrary:polarslibrary:mlcroissantregion:usgemmallama.cppllamafilebenchmarkservingsamplingrepetition-loopdry-samplerjailbreakembeddingsagentic-harness

README current version from Hugging Face


license: cc-by-4.0
tags:

  • gemma
  • llama.cpp
  • llamafile
  • benchmark
  • serving
  • sampling
  • repetition-loop
  • dry-sampler
  • jailbreak
  • embeddings
  • agentic-harness
    pretty_name: Gemma 4 12B Serving-Behavior Benchmark

Gemma 4 12B (QAT-Q4_0) — Serving-Behavior Test Data

Test data, charts, and the running research log from an autonomous research
loop
characterizing and tuning a Gemma 4 12B QAT-Q4_0 model served via
llama.cpp/llamafile on a single RTX 3080 Ti. Every ~30 min the loop
summarizes findings, proposes a goal, tests it end-to-end, documents success or
failure, and publishes here + to GitHub.

  • Model under test: gemma-4-12b-it-qat-q4_0.gguf (Google, June 2026), 128K
    ctx, f16 KV, MTP speculative decoding, on the SEBK4C llamafile fork.
  • Judge (where used): GLM-5.2 Fast on Fireworks — external to the model
    under test, temperature 0. Never Anthropic/Claude.
  • Full protocol + narrative: RESEARCH_HISTORY.md in this repo (findings
    F1–F15, experiments E1–E16, goals G1–G9 / H1–H8).

⚠️ Gemma 4 12B is a small local model, not a frontier coding model. This
data characterizes serving behavior — endpoints, modalities, sampler,
safety, throughput — on consumer hardware. It is not a capability leaderboard.

What's been established (headlines)

Theme Finding Files
Full API surface 18/19 endpoints pass e2e incl. native Anthropic /v1/messages, OpenAI Responses, vision, audio-in, TTS; 113 tok/s, 107 ms TTFT api_probe_*
Agentic harnesses Claude Code, OpenCode, OpenClaw all drive the model e2e (7–12 s tasks) via one server harness_e2e_*
Embeddings the chat model's /v1/embeddings are not semantic (unrelated > related); a 146 MB nomic sidecar fixes it (+0.4–0.5 separation) embeddings_compare_*
Concurrency "one slot" is near-serial: ~1.37× overlap, ~200 tok/s ceiling, 0 errors to C=8 concurrency_*
Repetition loop greedy (temp 0) only; DRY sampler prevents it; fragile/prompt-specific topk_repro.csv, loop_*, temp_*
DRY collateral shipped DRY 0.8 suppresses no legitimate repetition (refrains/tables/code) through 1.2 g4_dry_*
System prompt distilled-Constitution prompt ≥ bare on acc/hum/soph/cal at power ab_*, serving_baseline_*
Jailbreak hardening an explicit decline clause lifts jailbreak resistance 0.75→1.00 at zero over-refusal cost g8_decline_*
Quality de-risk the decline clause adds no quality regression on the full battery (acc/soph up) g9_composite_*

Files

Suites (JSON + chart PNG, one stamp each):

  • api_probe_* — full endpoint/modality probe (JSON report + TSV + chart). Reproduce: bench/api_probe.py.
  • harness_e2e_* — Claude Code / OpenCode / OpenClaw end-to-end task runs.
  • embeddings_compare_* — chat-model vs nomic-sidecar cosine separation.
  • concurrency_* — throughput/latency vs concurrent requests. Reproduce: bench/concurrency_probe.py.
  • g4_dry_* — DRY collateral-damage + thinking-control. Reproduce: bench/ab_dry.py.
  • g8_decline_* — jailbreak-hardening A/B (6 jailbreak + 6 benign × 4 reps). Reproduce: bench/ab_decline.py.
  • h8_thinking_* — empty-content-by-prompt-class footgun map. Reproduce: bench/ab_thinking.py.
  • serving_baseline_*, g9_composite_* — frozen-battery composite scorecards.

Ledger + early CSVs:

  • serving-results.tsv — the running composite ledger (ts,agent_id,acc,hum,soph,cal,rep,tok_s,serve_score,gates,status,hypothesis).
  • topk_repro.csv, loop_sweep.csv, temp_isolate.csv — the iteration-1–3 loop experiments (columns: sampler, dry, rep, looped 0/1, tok_s, n_out, reason).
  • ab_prompt.csv, ab_power.csv, ab_soph.csv — system-prompt A/B sub-scores.

Narrative: RESEARCH_HISTORY.md — the authoritative, chronological log.

Reproducing

All harnesses are stdlib-only or reuse serve_bench.py primitives, in the
GitHub repo
under bench/. Point them at your own server with --base/--server. The
one-command hardware check:

python3 bench/api_probe.py --base http://127.0.0.1:8080

Code + integration guides: https://github.com/SEBK4C/Llamafile-gemma-4-12B-it-qat-q4_0-gguf-Inferance-And-embeddings

README history 20 revisions

Every night we snapshot the README of every dataset in the catalog. When the SHA changes we archive the new version and diff it against the last. This is the evolving thought record of the alignment-data field: what the author decided to say about the corpus, and how that framing shifted over time.

  1. 2026-07-06Upload ingest-results.tsv with huggingface_huba4e70ba4.4 KB
    Loading...
  2. 2026-07-06Upload ingest-results.tsv with huggingface_hub269f74d4.4 KB
    Loading...
  3. 2026-07-06Upload ingest-results.tsv with huggingface_hube5d843c4.4 KB
    Loading...
  4. 2026-07-06Upload ingest-results.tsv with huggingface_hub72ab5e14.4 KB
    Loading...
  5. 2026-07-06Upload ingest-results.tsv with huggingface_hube7a06c04.4 KB
    Loading...
  6. 2026-07-06Upload q4_verify_20260706.png with huggingface_hub1e48c154.4 KB
    Loading...
  7. 2026-07-06Upload q4_verify_20260706.json with huggingface_hubba628de4.4 KB
    Loading...
  8. 2026-07-06Upload ingest-results.tsv with huggingface_hub23ba56f4.4 KB
    Loading...
  9. 2026-07-06Upload i9_hybrid_F_20260706.json with huggingface_hub115d1504.4 KB
    Loading...
  10. 2026-07-06Upload em2_composite_20260706.png with huggingface_hub3ca3bfa4.4 KB
    Loading...
  11. 2026-07-06Upload em2_composite_20260706.json with huggingface_huba2ba8ce4.4 KB
    Loading...
  12. 2026-07-06Upload ingest-results.tsv with huggingface_hub96b24f74.4 KB
    Loading...
  13. 2026-07-06Upload em6_fusion_20260706.png with huggingface_hub51a48914.4 KB
    Loading...
  14. 2026-07-06Upload em6_fusion_20260706.json with huggingface_hub5504f594.4 KB
    Loading...
  15. 2026-07-06Upload ingest-results.tsv with huggingface_hub927def34.4 KB
    Loading...
  16. 2026-07-06Upload i9_hybrid_20260706.png with huggingface_hub896e9054.4 KB
    Loading...
  17. 2026-07-06Upload i9_hybrid_20260706.json with huggingface_hub8d981bf4.4 KB
    Loading...
  18. 2026-07-06Upload ingest-results.tsv with huggingface_hub6ec66d94.4 KB
    Loading...
  19. 2026-07-06Upload variety87_20260706.png with huggingface_hub38d32354.4 KB
    Loading...
  20. 2026-07-06Upload variety87_20260706.json with huggingface_hub4bee85a4.4 KB
    Loading...

Used by abliterated models none yet

No abliterated models in our catalog have declared this dataset in their YAML metadata yet. This can mean the dataset is used but not declared, is used outside abliteration workflows, or is new. The link will populate automatically as models are indexed.

Community discussions 1 thread · 1 open · 1 comments

Threads posted by the community on Hugging Face: bug reports, questions about usage, pull requests on the README, license clarifications. Click any thread to expand and read the full conversation inline. Newest first.

  1. 2026-07-06[bot] Conversion to Parquetopen1 💬#1
    Loading...

Related datasets same stage · evaluate

Read further

Metadata

License
cc-by-4.0

Repository

FILE .gitattributes FILE ab_power.csv FILE ab_prompt.csv FILE ab_prompt.png FILE ab_soph.csv FILE api_probe_20260705-133610.json FILE api_probe_20260705-133610.tsv FILE api_probe_20260705.png FILE cal_power.png FILE chain_smoke_20260705.png FILE chunker_bench_20260705.json FILE chunker_bench_20260705.png FILE concurrency_20260705-160357.json FILE concurrency_20260705-160357.tsv FILE concurrency_20260705.png FILE em1_nfcorpus_20260706.json FILE em2_composite_20260706.json FILE em2_composite_20260706.png FILE em3_mrl_20260706.json FILE em3_mrl_20260706.png FILE em4_instr_20260706.json FILE em4_instr_20260706.png FILE em6_fusion_20260706.json FILE em6_fusion_20260706.png FILE embed_ab_20260705.json FILE embed_ab_20260705.png FILE embed_ab_hard_20260705.json FILE embed_ab_hard_20260705.png FILE embeddings_compare_20260705.json FILE embeddings_compare_20260705.png FILE enrich_bench_20260705.json FILE enrich_bench_20260705.png FILE g4_dry_20260705-183959.json FILE g4_dry_20260705.png FILE g8_decline_20260705-170122.json FILE g8_decline_20260705.png FILE g9_composite_20260705.png FILE h10_promptcache_20260705-200313.json FILE h10_promptcache_20260705.png FILE h11_decode_20260705-203630.json FILE h11_decode_20260705.png FILE h8_thinking_20260705-190558.json FILE h8_thinking_20260705-190936.json FILE h8_thinking_20260705.png FILE h9_longctx_20260705-193708.json FILE h9_longctx_20260705.png FILE harness_e2e_20260705.json FILE harness_e2e_20260705.png FILE i9_hybrid_20260706.json FILE i9_hybrid_20260706.png FILE i9_hybrid_F_20260706.json FILE ingest-results.tsv FILE loop_break_fix.png FILE loop_sweep.csv FILE ocr_bench_20260705.json FILE ocr_bench_20260705.png FILE p1_worker_20260705.json FILE p1_worker_20260705.png FILE p2_enrich_budget_20260706.json FILE p2_enrich_budget_20260706.png FILE p3_ocr_tiers_20260706.json FILE p4_embed_throughput_20260706.json FILE q1_fidelity_20260706.json FILE q1_fidelity_20260706.png FILE q2_cord_20260706.json FILE q2_cord_20260706.png FILE q3_seeded_20260706.json FILE q3_seeded_20260706.png FILE q4_verify_20260706.json FILE q4_verify_20260706.png FILE README.md FILE real_eval_20260705.json FILE real_eval_20260705.png FILE RESEARCH_HISTORY.md FILE serving_baseline_20260705.png FILE SERVING_GUIDE.md FILE serving-results.tsv FILE soph_and_scorecard.png FILE temp_gate.png FILE temp_isolate.csv FILE topk_repro.csv FILE variety87_20260706.json FILE variety87_20260706.png FILE vprobe_20260705.json FILE vprobe_20260705.png

Download the dataset

0

Copy any of these snippets into your notebook or terminal. All three fetch directly from Hugging Face using your own credentials.

Recommended: datasets library (Python)
from datasets import load_dataset
ds = load_dataset("SEBK4C/gemma4-serving-bench-data")
Raw snapshot (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="SEBK4C/gemma4-serving-bench-data", repo_type="dataset")
git clone (requires git-lfs)
git clone https://huggingface.co/datasets/SEBK4C/gemma4-serving-bench-data
Catalog is the map. Apps are the tools.

Run models on your own machine, not in the cloud.

Every model page has an "Open in Abliteration" button that hands the model directly to the first-party desktop client, at the quantization your rig can actually run. No API keys, no subscription, no prompt leakage.

Open in Abliteration