Dataset Viewer
Duplicate
The dataset viewer is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code:   StreamingRowsError
Exception:    CastError
Message:      Couldn't cast
time: string
event: string
engine: string
completed: int64
counts: struct<ok: int64>
  child 0, ok: int64
elapsed_seconds: double
loaded_seconds: double
transformers: string
model_source: struct<kind: string, repo: string, revision: string, serving: string, vllm_options: struct<dtype: st (... 670 chars omitted)
  child 0, kind: string
  child 1, repo: string
  child 2, revision: string
  child 3, serving: string
  child 4, vllm_options: struct<dtype: string, quantization: string, max_model_len: int64, gpu_memory_utilization: double, kv (... 280 chars omitted)
      child 0, dtype: string
      child 1, quantization: string
      child 2, max_model_len: int64
      child 3, gpu_memory_utilization: double
      child 4, kv_cache_dtype: string
      child 5, enable_prefix_caching: bool
      child 6, prefix_cache_retention_interval: int64
      child 7, max_num_batched_tokens: int64
      child 8, max_num_seqs: int64
      child 9, enforce_eager: bool
      child 10, language_model_only: bool
      child 11, attention_backend: string
      child 12, seed: int64
      child 13, logprobs_mode: string
      child 14, generation_config: string
  child 5, VLLM_USE_DEEP_GEMM: string
  child 6, max_row_tokens: int64
  child 7, read_twice: bool
  child 8, twice_max_tokens: int64
  child 9, reread_below: double
  child 10, reverse_below: double
  child 11, layout: string
  child 12, temperature_scheme: string
  child 13, temperatures: struct<choice: string, noul: double, noul_bias: double>
      child 0, choice: string
      child 1, noul: double
      child 2, noul_bias: double
  child 14, ignored_options: list<item: null>
      child 0, item: null
  child 15, policy: string
engine_options: struct<layout: string, read_twice: bool, twice_max_tokens: int64, temperature_choice: double, temper (... 75 chars omitted)
  child 0, layout: string
  child 1, read_twice: bool
  child 2, twice_max_tokens: int64
  child 3, temperature_choice: double
  child 4, temperature_choice_log_slope: double
  child 5, temperature_noul: double
  child 6, noul_bias: int64
vllm: string
cuda: string
frozen_corpus_sha256: string
rows_path: list<item: string>
  child 0, item: string
runner_sha256: string
latency: string
gpu: string
torch: string
to
{'engine': Value('string'), 'engine_options': {'layout': Value('string'), 'read_twice': Value('bool'), 'twice_max_tokens': Value('int64'), 'temperature_choice': Value('float64'), 'temperature_choice_log_slope': Value('float64'), 'temperature_noul': Value('float64'), 'noul_bias': Value('int64')}, 'model_source': {'kind': Value('string'), 'repo': Value('string'), 'revision': Value('string'), 'serving': Value('string'), 'vllm_options': {'dtype': Value('string'), 'quantization': Value('string'), 'max_model_len': Value('int64'), 'gpu_memory_utilization': Value('float64'), 'kv_cache_dtype': Value('string'), 'enable_prefix_caching': Value('bool'), 'prefix_cache_retention_interval': Value('int64'), 'max_num_batched_tokens': Value('int64'), 'max_num_seqs': Value('int64'), 'enforce_eager': Value('bool'), 'language_model_only': Value('bool'), 'attention_backend': Value('string'), 'seed': Value('int64'), 'logprobs_mode': Value('string'), 'generation_config': Value('string')}, 'VLLM_USE_DEEP_GEMM': Value('string'), 'max_row_tokens': Value('int64'), 'read_twice': Value('bool'), 'twice_max_tokens': Value('int64'), 'reread_below': Value('float64'), 'reverse_below': Value('float64'), 'layout': Value('string'), 'temperature_scheme': Value('string'), 'temperatures': {'choice': Value('string'), 'noul': Value('float64'), 'noul_bias': Value('float64')}, 'ignored_options': List(Value('null')), 'policy': Value('string')}, 'vllm': Value('string'), 'torch': Value('string'), 'cuda': Value('string'), 'gpu': Value('string'), 'transformers': Value('string'), 'loaded_seconds': Value('float64'), 'frozen_corpus_sha256': Value('string'), 'rows_path': List(Value('string')), 'runner_sha256': Value('string'), 'latency': Value('string')}
because column names don't match
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/utils.py", line 149, in get_rows_or_raise
                  return get_rows(
                      dataset=dataset,
                  ...<4 lines>...
                      column_names=column_names,
                  )
                File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
                  return func(*args, **kwargs)
                File "/src/services/worker/src/worker/utils.py", line 129, in get_rows
                  rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
                File "/src/services/worker/src/worker/utils.py", line 544, in safe_iter
                  yield from ds.decode(False) if ds.features else ds
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 3052, in __iter__
                  for key, example in ex_iterable:
                                      ^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2559, in __iter__
                  for key, pa_table in self._iter_arrow():
                                       ~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2584, in _iter_arrow
                  for key, pa_table in self.ex_iterable._iter_arrow():
                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 558, in _iter_arrow
                  for key, pa_table in iterator:
                                       ^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 440, in _iter_arrow
                  for key, pa_table in self.generate_tables_fn(**gen_kwags):
                                       ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 361, in _generate_tables
                  self._cast_table(pa_table, json_field_paths=json_field_paths),
                  ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
                  pa_table = table_cast(pa_table, self.info.features.arrow_schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2381, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2309, in cast_table_to_schema
                  raise CastError(
                  ...<3 lines>...
                  )
              datasets.table.CastError: Couldn't cast
              time: string
              event: string
              engine: string
              completed: int64
              counts: struct<ok: int64>
                child 0, ok: int64
              elapsed_seconds: double
              loaded_seconds: double
              transformers: string
              model_source: struct<kind: string, repo: string, revision: string, serving: string, vllm_options: struct<dtype: st (... 670 chars omitted)
                child 0, kind: string
                child 1, repo: string
                child 2, revision: string
                child 3, serving: string
                child 4, vllm_options: struct<dtype: string, quantization: string, max_model_len: int64, gpu_memory_utilization: double, kv (... 280 chars omitted)
                    child 0, dtype: string
                    child 1, quantization: string
                    child 2, max_model_len: int64
                    child 3, gpu_memory_utilization: double
                    child 4, kv_cache_dtype: string
                    child 5, enable_prefix_caching: bool
                    child 6, prefix_cache_retention_interval: int64
                    child 7, max_num_batched_tokens: int64
                    child 8, max_num_seqs: int64
                    child 9, enforce_eager: bool
                    child 10, language_model_only: bool
                    child 11, attention_backend: string
                    child 12, seed: int64
                    child 13, logprobs_mode: string
                    child 14, generation_config: string
                child 5, VLLM_USE_DEEP_GEMM: string
                child 6, max_row_tokens: int64
                child 7, read_twice: bool
                child 8, twice_max_tokens: int64
                child 9, reread_below: double
                child 10, reverse_below: double
                child 11, layout: string
                child 12, temperature_scheme: string
                child 13, temperatures: struct<choice: string, noul: double, noul_bias: double>
                    child 0, choice: string
                    child 1, noul: double
                    child 2, noul_bias: double
                child 14, ignored_options: list<item: null>
                    child 0, item: null
                child 15, policy: string
              engine_options: struct<layout: string, read_twice: bool, twice_max_tokens: int64, temperature_choice: double, temper (... 75 chars omitted)
                child 0, layout: string
                child 1, read_twice: bool
                child 2, twice_max_tokens: int64
                child 3, temperature_choice: double
                child 4, temperature_choice_log_slope: double
                child 5, temperature_noul: double
                child 6, noul_bias: int64
              vllm: string
              cuda: string
              frozen_corpus_sha256: string
              rows_path: list<item: string>
                child 0, item: string
              runner_sha256: string
              latency: string
              gpu: string
              torch: string
              to
              {'engine': Value('string'), 'engine_options': {'layout': Value('string'), 'read_twice': Value('bool'), 'twice_max_tokens': Value('int64'), 'temperature_choice': Value('float64'), 'temperature_choice_log_slope': Value('float64'), 'temperature_noul': Value('float64'), 'noul_bias': Value('int64')}, 'model_source': {'kind': Value('string'), 'repo': Value('string'), 'revision': Value('string'), 'serving': Value('string'), 'vllm_options': {'dtype': Value('string'), 'quantization': Value('string'), 'max_model_len': Value('int64'), 'gpu_memory_utilization': Value('float64'), 'kv_cache_dtype': Value('string'), 'enable_prefix_caching': Value('bool'), 'prefix_cache_retention_interval': Value('int64'), 'max_num_batched_tokens': Value('int64'), 'max_num_seqs': Value('int64'), 'enforce_eager': Value('bool'), 'language_model_only': Value('bool'), 'attention_backend': Value('string'), 'seed': Value('int64'), 'logprobs_mode': Value('string'), 'generation_config': Value('string')}, 'VLLM_USE_DEEP_GEMM': Value('string'), 'max_row_tokens': Value('int64'), 'read_twice': Value('bool'), 'twice_max_tokens': Value('int64'), 'reread_below': Value('float64'), 'reverse_below': Value('float64'), 'layout': Value('string'), 'temperature_scheme': Value('string'), 'temperatures': {'choice': Value('string'), 'noul': Value('float64'), 'noul_bias': Value('float64')}, 'ignored_options': List(Value('null')), 'policy': Value('string')}, 'vllm': Value('string'), 'torch': Value('string'), 'cuda': Value('string'), 'gpu': Value('string'), 'transformers': Value('string'), 'loaded_seconds': Value('float64'), 'frozen_corpus_sha256': Value('string'), 'rows_path': List(Value('string')), 'runner_sha256': Value('string'), 'latency': Value('string')}
              because column names don't match

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

FlexDM: Efficient decisions. Flexible inference. Gemma-4-31B

Code (GitHub) · Leaderboard · Submission (PR #246) · Trained version: FlexDM-LoRA · Blog

FlexDM · Gemma-4-31B

Stock Gemma-4-31B-it, no training, read better. FlexDM reads the unmodified google/gemma-4-31B-it checkpoint with two prompt changes, questions first and a second read of short inputs, and returns a probability for every option from a single prefill. It generates no text, and it has no trained weights, adapters or heads.

This repository holds FlexDM's Decision Index 0.3 public run. The code is at github.com/1000luca/FlexDM (tag v1.0).

Highlights

  • 1st among inference techniques on its first board. On the Decision Index 0.4.1 board of 2026-10-21, FlexDM scored a Full score of 67.56, 8th of 223 models, in the #3 tied group: 1st of the 26 inference techniques, and tied 1st with AJev lm6q (LoRA, 67.57) among all entries that are not full fine-tunes.
  • New domains 74.92 on that board: the highest of any entry that is not a full fine-tune, 4th overall.
  • Still the highest entry on unmodified weights. On the board of 2026-11-06 (275 entries), FlexDM is 22nd. The only inference technique above it is REAX 1.3, an ensemble of fine-tuned models; every other entry above it trains weights.
  • Reproduced exactly. The maintainers' rerun with our code agreed on 100.00% of 831 decisions (the bar for FP8 is 96%).
  • Fast. Board latency on one RTX PRO 6000: median 109 ms, mean 301 ms, p95 1,106 ms.
  • The base of FlexDM-LoRA. FlexDM-LoRA ver 2.1 adds a LoRA adapter to this exact reader and is 4th of 275 (Full 71.61).

The Decision Index leaderboard (Full score) on 2026-10-21: FlexDM · Gemma-4-31B is the blue inference-technique bar at 67.6 in the #3 tied group

The Decision Index leaderboard, Full score view, board data of 2026-10-21. FlexDM · Gemma-4-31B is the blue (inference technique) bar at 67.6, next to AJev lm6q (green, LoRA) in the #3 tied group.

Board result

Jev Decision Index 0.4.1 (PR #246). The Full score is 0.6 × private same-skills tests

  • 0.4 × private new-domain tasks, both on the public scale, as the board shows them; the public score is shown but does not count. The board counts Full scores less than 0.9 apart as a tie.
Board of 2026-10-21 Board of 2026-11-06
Full score 67.56, 8th of 223 models (#3 tied group) 67.56, 22nd of 275
Among inference techniques 1st of 26 (next: Aleria Judge 1.1.1, 66.67) 2nd of 28 (1st: REAX 1.3, an ensemble of fine-tuned models)
Among entries that are not full fine-tunes tied 1st with AJev lm6q (LoRA, 67.57)
Private tests, same skills (60% of Full) 62.66 62.66
Private tasks, new domains (40% of Full) 74.92: highest of any entry that is not a full fine-tune, 4th overall 74.92, 14th of 275
Public 0.3 index (this dataset; shown, not counted) 63.63 63.63
Maintainers' rerun with our code 100.00% decision agreement on 831 rows (FP8 bar: 96%)
Latency, board measurement (one RTX PRO 6000, one request at a time) median 109 ms, mean 301 ms, p95 1,106 ms
Calibration, board measurement ECE 0.044

Where the gain comes from

The same stock weights, read three ways, on a 2,000-row stratified sample of the public 0.3 suite (vLLM FP8, same GPU):

How it reads Sample index
state first, then the question 55.39
questions first 60.98
questions first, and inputs up to 3,000 tokens read twice (FlexDM) 62.82

In a paired test on the same sample, reading twice added +1.79 to the sample index (90% interval +0.17 to +3.40).

This dataset: the public 0.3 run

Public index (0.3) 63.63 (raw 72.25)
Requests 140,178 of 140,178 scoreable ok, 0 unsupported, 0 errors; complete: true (all 140,620 rows were run; the scorer drops the 442 excluded rows)
Latency, this run one RTX PRO 6000 Blackwell Max-Q (300 W), one process, one request at a time, over the scoreable rows: median 146 ms, mean 403 ms, p80 534 ms, p95 1,583 ms
Estimate before the run 2,000-row stratified public sample, reweighted to the suite's rows per benchmark, same GPU: median 145 ms, mean 412 ms, p80 621 ms
Agreement with a second process 2,000 rows of our 2,000-row stratified public sample, read earlier by a separate process with the same read policy: same top answer on 100.00% of 16,537 questions

Stock google/gemma-4-31B-it @ 842da37 (no training, FP8 per-block quantization at load), read by 1000luca/FlexDM, tag v1.0 (commit d6ee1990a9abd7bf6030bd65416a26d60cb3e9cf), engine jevlab.vllm_reader:VllmReader, options layout=header read_twice=true twice_max_tokens=3000 temperature_choice=10.9757 temperature_choice_log_slope=-1.7016 temperature_noul=10.732 noul_bias=0.

How it answers

<chat head>Questions that will be asked about the context:      1. questions first
- <question 1>
- <question 2>

Context:
<state>

Question: <question i>
Options:
(A) <option>
(B) <option>

Read the same input again before answering:                      2. second copy, for inputs of up to 3,000 tokens
<question list, state, question and options again>
<chat tail, thinking off>Answer: (                               3. read the option labels here
  • One prompt layout (header) for every request, with no per-benchmark prompts or rules. Each row is one question in Gemma's chat template with thinking off: the list of the request's questions, then the state, then the question and its options, ending at Answer: (. Nothing is generated.
  • vLLM reads one step (max_tokens=1) and returns the log-probabilities of the option labels (logprob_token_ids, after Gemma's final soft cap). All rows of a request go in one generate call, sharing their prefix through the prefix cache.
  • A request of at most 3,000 tokens read once has its user turn written twice, joined by Read the same input again before answering:. Longer requests are read once.
  • Per-type temperatures were fitted on our own off-suite calibration rows: choice T = 10.9757 - 1.7016 ln(n options), noul T = 10.732, no noul bias. Temperatures do not change the top answer.
  • Limits: 131,071 tokens per row and 2-255 options per question. Longer rows are recorded as unsupported, and nothing is truncated. No public request reaches either limit.

Settings

vLLM 0.30.0 (offline LLM, in-process, prompt token ids), torch 2.13.0+cu130, transformers 5.16.1, tokenizers 0.23.1, Python 3.12. The engine passes these settings to vLLM:

  • quantization fp8_per_block (online, at load), dtype bfloat16, KV cache bf16 (kv_cache_dtype auto)
  • max_model_len 131072, gpu_memory_utilization 0.70
  • attention backend TRITON_ATTN, prefix caching on (retention interval 32)
  • max_num_batched_tokens 8192, max_num_seqs 256, seed 0
  • logprobs_mode raw_logprobs, generation_config vllm, VLLM_USE_DEEP_GEMM=0

The complete list is in environment.json → model_source. The exact package versions are in requirements.txt of the engine repository.

How it was run

  1. Kit apolinario/decision-index at f8552a13b643d39f61185f5951bb5fed16bedf51, unmodified runner (sha256 f4c9f36c…), on the frozen 0.3 suite (suite verify matches the pinned hashes).
  2. One decision_index run process on one GPU, one request at a time, with --compact. The run started on 2026-10-18 19:39 UTC and finished on 2026-10-19 18:14 UTC after 1 start(s).
    • Our driver waits for a GPU with enough free memory and resumes after an interruption.
    • It refuses to resume if the options, the engine files or the kit commit changed. driver.json records them, and attempts/ keeps each start's environment.json and status.json.
  3. Scored with decision_index score --edition 0.3. The 442 excluded rows were run too, so the latency in scores.json includes them. The latency above covers the scoreable rows only.

The engine files the run loaded, byte-identical to the files at the tag:

e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855  jevlab/__init__.py
9ee4dbf437531d6093fa52bbcab3e9143f62e451c1450714fe1cb8411351e03c  jevlab/reader.py
d69770c5e1e947b3b7aaedc1ed0d435fa441dc2ff08863d4bc3cf88ff22c71b8  jevlab/vllm_reader.py

To reproduce, follow the engine README: install from requirements.txt at the tag, then run python -m decision_index run --engine jevlab.vllm_reader:VllmReader --option layout=header --option read_twice=true --option twice_max_tokens=3000 --option temperature_choice=10.9757 --option temperature_choice_log_slope=-1.7016 --option temperature_noul=10.732 --option noul_bias=0 --compact --out runs/flexdm on one GPU with about 70 GB free.

Files

Everything is in runs/flexdm-l1-full/:

file contents
results.jsonl.gz one record per request: answers, probabilities, timings and run_id. Written with --compact, so it contains no suite text (payload) and no raw_output
scores.json the kit's combined scores and completion flags (the file the submission points at)
index.json per-benchmark raw, skill, coverage and chance; areas; index and raw index
benchmark-summary.json native metric per benchmark, with answered, unsupported and error counts
environment.json engine, options, model_source (all serving settings), library versions, GPU, runner sha256
status.json final run status and counts
driver.json options, engine file sha256 and kit commit, as checked on every start
attempts/ environment.json and status.json of each start

assets/ holds the banner and the leaderboard screenshot used on this page.

This dataset contains no suite rows. The suite's sources do not allow republishing them, so build the suite with the kit to re-score: gunzip -k results.jsonl.gz, then python -m decision_index score --edition 0.3 --results results.jsonl.

Known slow case

Requests of 33,000-54,000 tokens (some ToolRet and BRIGHT rows, most of them among the 442 excluded rows) take tens of seconds each. The slowest request in this run took 31.0 s. These requests are rare in the suite.

Disclosures

  • No training. These are the stock base-model weights with FP8 quantization at load time, so the quantized reproduction bar (96%) applies. We publish no weight, adapter, head or scorer files.
  • No Jev outputs (Jev API answers) were used anywhere.
  • The layout was chosen with public-suite sample runs and an off-suite shadow index, so the public score is not blind to that choice.
    • We adopted the header layout and the read-twice cut at 3,000 tokens after comparing them on a 2,000-row stratified sample of the public 0.3 suite: sample index 55.39 with the state first, 60.98 with the questions first, 62.82 with the questions first and read twice.
    • We also compared them on our shadow index, 10,381 requests from 16 public datasets outside the suite's sources.
    • Reversed-option re-reading, an option-position bias correction and layout mixing gave no gain and were not used.
  • Temperatures were fitted on our own off-suite calibration rows.
    • The calibration split has 2,871 requests from the same 16 datasets, disjoint from the shadow evaluation rows, with no suite rows. We fitted on one half and checked on the other.
    • The fit also proposed a noul bias, which we set to 0 because its calibration questions came from one dataset. On our public sample the bias would have changed 13 answers and lowered the sample index by 0.31.
  • Hardware. Our RTX PRO 6000 Blackwell is the 300 W Max-Q edition, so our latency is more conservative than on the 600 W card.

Citation

@misc{flexdm_2026,
  title  = {FlexDM: reading stock Gemma-4-31B-it for typed decisions},
  author = {1000luca},
  note   = {KAIST EE, FlexML Lab},
  year   = {2026},
  url    = {https://github.com/1000luca/FlexDM}
}

License

The results in this dataset and the FlexDM code are MIT. The base model is © Google, Apache-2.0 (Gemma 4 licence), and is not redistributed here.

Downloads last month
253