The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: DatasetGenerationCastError
Exception: DatasetGenerationCastError
Message: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 9 new columns ({'request_id', 'latency_s', 'confidence', 'idx', 'input_tokens', 'probs', 'model', 'output_tokens', 'choice'}) and 1 missing columns ({'text'}).
This happened while the json dataset builder was generating data using
hf://datasets/earino/ecbs5200-jev-benchmark/jev_responses/jev-1.13.0_bare_train_responses.jsonl (at revision 39330a733b2c5f7218c15fc7a7eb52f92551c757), ['hf://datasets/earino/ecbs5200-jev-benchmark@39330a733b2c5f7218c15fc7a7eb52f92551c757/criteria/train_dev_idx.json', 'hf://datasets/earino/ecbs5200-jev-benchmark@39330a733b2c5f7218c15fc7a7eb52f92551c757/data/train_indices.json', 'hf://datasets/earino/ecbs5200-jev-benchmark@39330a733b2c5f7218c15fc7a7eb52f92551c757/jev_responses/jev-1.13.0_bare_train_responses.jsonl', 'hf://datasets/earino/ecbs5200-jev-benchmark@39330a733b2c5f7218c15fc7a7eb52f92551c757/jev_responses/jev-1.13.0_v1_train_responses.jsonl', 'hf://datasets/earino/ecbs5200-jev-benchmark@39330a733b2c5f7218c15fc7a7eb52f92551c757/jev_responses/jev-1.13.0_v1instr_train_responses.jsonl', 'hf://datasets/earino/ecbs5200-jev-benchmark@39330a733b2c5f7218c15fc7a7eb52f92551c757/jev_responses/jev-1.13.0_v2_train_responses.jsonl'], ['hf://datasets/earino/ecbs5200-jev-benchmark@39330a733b2c5f7218c15fc7a7eb52f92551c757/criteria/train_dev_idx.json', 'hf://datasets/earino/ecbs5200-jev-benchmark@39330a733b2c5f7218c15fc7a7eb52f92551c757/data/train_indices.json', 'hf://datasets/earino/ecbs5200-jev-benchmark@39330a733b2c5f7218c15fc7a7eb52f92551c757/jev_responses/jev-1.13.0_bare_train_responses.jsonl', 'hf://datasets/earino/ecbs5200-jev-benchmark@39330a733b2c5f7218c15fc7a7eb52f92551c757/jev_responses/jev-1.13.0_v1_train_responses.jsonl', 'hf://datasets/earino/ecbs5200-jev-benchmark@39330a733b2c5f7218c15fc7a7eb52f92551c757/jev_responses/jev-1.13.0_v1instr_train_responses.jsonl', 'hf://datasets/earino/ecbs5200-jev-benchmark@39330a733b2c5f7218c15fc7a7eb52f92551c757/jev_responses/jev-1.13.0_v2_train_responses.jsonl']
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1848, in _prepare_split_single
writer.write_table(table)
~~~~~~~~~~~~~~~~~~^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 765, in write_table
self._write_table(pa_table, writer_batch_size=writer_batch_size)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 773, in _write_table
pa_table = table_cast(pa_table, self._schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2378, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2306, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
idx: int64
choice: string
confidence: double
probs: list<item: double>
child 0, item: double
latency_s: double
input_tokens: int64
output_tokens: int64
model: string
request_id: string
to
{'text': Value('int64')}
because column names don't match
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1369, in compute_config_parquet_and_info_response
parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
~~~~~~~~~~~~~~~~~~~~~~~~~^
builder, max_dataset_size_bytes=max_dataset_size_bytes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 948, in stream_convert_to_parquet
builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1694, in _prepare_split
for job_id, done, content in self._prepare_split_single(
~~~~~~~~~~~~~~~~~~~~~~~~~~^
gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
):
^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1850, in _prepare_split_single
raise DatasetGenerationCastError.from_cast_error(
...<4 lines>...
)
datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 9 new columns ({'request_id', 'latency_s', 'confidence', 'idx', 'input_tokens', 'probs', 'model', 'output_tokens', 'choice'}) and 1 missing columns ({'text'}).
This happened while the json dataset builder was generating data using
hf://datasets/earino/ecbs5200-jev-benchmark/jev_responses/jev-1.13.0_bare_train_responses.jsonl (at revision 39330a733b2c5f7218c15fc7a7eb52f92551c757), ['hf://datasets/earino/ecbs5200-jev-benchmark@39330a733b2c5f7218c15fc7a7eb52f92551c757/criteria/train_dev_idx.json', 'hf://datasets/earino/ecbs5200-jev-benchmark@39330a733b2c5f7218c15fc7a7eb52f92551c757/data/train_indices.json', 'hf://datasets/earino/ecbs5200-jev-benchmark@39330a733b2c5f7218c15fc7a7eb52f92551c757/jev_responses/jev-1.13.0_bare_train_responses.jsonl', 'hf://datasets/earino/ecbs5200-jev-benchmark@39330a733b2c5f7218c15fc7a7eb52f92551c757/jev_responses/jev-1.13.0_v1_train_responses.jsonl', 'hf://datasets/earino/ecbs5200-jev-benchmark@39330a733b2c5f7218c15fc7a7eb52f92551c757/jev_responses/jev-1.13.0_v1instr_train_responses.jsonl', 'hf://datasets/earino/ecbs5200-jev-benchmark@39330a733b2c5f7218c15fc7a7eb52f92551c757/jev_responses/jev-1.13.0_v2_train_responses.jsonl'], ['hf://datasets/earino/ecbs5200-jev-benchmark@39330a733b2c5f7218c15fc7a7eb52f92551c757/criteria/train_dev_idx.json', 'hf://datasets/earino/ecbs5200-jev-benchmark@39330a733b2c5f7218c15fc7a7eb52f92551c757/data/train_indices.json', 'hf://datasets/earino/ecbs5200-jev-benchmark@39330a733b2c5f7218c15fc7a7eb52f92551c757/jev_responses/jev-1.13.0_bare_train_responses.jsonl', 'hf://datasets/earino/ecbs5200-jev-benchmark@39330a733b2c5f7218c15fc7a7eb52f92551c757/jev_responses/jev-1.13.0_v1_train_responses.jsonl', 'hf://datasets/earino/ecbs5200-jev-benchmark@39330a733b2c5f7218c15fc7a7eb52f92551c757/jev_responses/jev-1.13.0_v1instr_train_responses.jsonl', 'hf://datasets/earino/ecbs5200-jev-benchmark@39330a733b2c5f7218c15fc7a7eb52f92551c757/jev_responses/jev-1.13.0_v2_train_responses.jsonl']
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)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.
text int64 |
|---|
47 |
146 |
151 |
312 |
403 |
442 |
462 |
598 |
601 |
750 |
853 |
862 |
1,013 |
1,051 |
1,075 |
1,096 |
1,151 |
1,270 |
1,338 |
1,345 |
1,493 |
1,498 |
1,502 |
1,660 |
1,696 |
1,760 |
1,766 |
1,791 |
1,871 |
1,876 |
2,107 |
2,319 |
2,383 |
2,396 |
2,414 |
2,439 |
2,679 |
2,888 |
2,974 |
3,149 |
3,150 |
3,178 |
3,243 |
3,446 |
3,483 |
3,572 |
3,651 |
3,663 |
3,675 |
3,699 |
3,708 |
3,739 |
3,774 |
3,896 |
3,934 |
4,042 |
4,067 |
4,072 |
4,080 |
4,235 |
4,239 |
4,244 |
4,265 |
4,427 |
4,595 |
4,830 |
4,840 |
4,884 |
4,912 |
4,917 |
4,933 |
5,000 |
5,272 |
5,400 |
5,483 |
5,495 |
5,545 |
5,550 |
5,595 |
5,684 |
5,728 |
5,830 |
5,838 |
5,873 |
5,884 |
5,946 |
5,974 |
6,038 |
6,159 |
6,491 |
6,587 |
6,771 |
6,780 |
6,899 |
6,901 |
6,924 |
6,926 |
6,993 |
7,035 |
7,040 |
Zero-shot classifiers, retrieved examples and trained models on 113-class CFPB complaint labels
Release accompanying Zero-Shot Classifiers, Retrieved Examples and Trained Models on a 113-Class Complaint Taxonomy (Ariño de la Rubia, 2026). Code, paper source and a number trace are in the paper's GitHub repository, https://github.com/earino/zero-shot-complaint-benchmark, which fetches the two largest files here at a pinned revision.
Everything needed to regenerate every number, table and figure in the paper without training models or calling
any API. The release was verified by rebuilding it into an empty directory, installing only
requirements.txt, and regenerating: results/numbers.json matched results/numbers_reference.json exactly and
every generated table was byte-identical to the paper's.
Reproduce
pip install -r requirements.txt # exact versions used to build and verify this release
python code/analysis.py --release .
python code/make_tables.py --release .
This writes results/numbers.json (compare with results/numbers_reference.json), the figures to
results/figures/ and the LaTeX tables to results/tables/. The complaint texts are loaded from the public dataset
determined-ai/consumer_complaints_medium (revision in MANIFEST.json) using utils/data_utils.py and the split
indices in data/; they are needed for the duplicate audit, the cluster bootstrap, the label-mapping sensitivity
check and the historical-label test.
Systems
Zero-shot: TypeSafe's Jev 1.13 (bare labels, form instruction, form instruction + definitions); SemIf with
Qwen3.5-4B (two-round bracket, bracket + definitions, one-versus-rest, and the bracket under two further label
groupings, seeds 7 and 123); GLM-5.3 via the LunaRoute gateway.
Retrieval without training: GLM-5.3 with the 20 most similar labeled complaints in the prompt; an ablation that
shows GLM-5.3 only the labels of those complaints, without their texts; a vote among the same 20; and the label of
the single most similar complaint. Logistic regression on the fit set: TF-IDF, Jev probabilities, sentence embeddings, label-name similarity,
Jev's top choice, stacked embedding probabilities, and combinations; a learning curve with hyperparameters chosen
within each label budget; a 20,000-complaint subsample comparing SemIf and Jev probabilities as features.
Fine-tuned: ModernBERT-base (vanilla and distilled), ModernBERT-large, Qwen3-32B + LoRA (predictions from the
Hugging Face repositories listed in MANIFEST.json).
Contents
| Path | What |
|---|---|
predictions/val_predictions_all_systems.npz |
For each of the 6,430 evaluation rows: true label, frequency group, SHA-256 of the complaint text, and every system's predicted label and 113-way probabilities (plus Jev's confidence). Keys in MANIFEST.json under prediction_file_keys. An unmatched generated answer is stored as label 113 (out of taxonomy). |
jev_responses/*.jsonl |
Raw Jev responses: chosen label, confidence, probabilities in label order, client latency, tokens, model, request id; bare labels on evaluation, train and test, and the criteria variants. |
results/semif/ |
SemIf raw option logits per complaint, composed probabilities, manifests (SemIf commit, model revision, weight checksums, group partition) and results. |
results/glm/ |
GLM-5.3 raw answers (zero-shot, with 20 retrieved examples, and with only the labels of those examples), including the first attempts of answers re-requested after truncation. |
results/ |
Reference numbers, feature-control and learning-curve results, all hyperparameter-selection scores, the 20 retrieved neighbours of each evaluation complaint, latency statistics, and a token-usage ledger. |
criteria/ |
The label-definition variants and the fixed 1,000-row training dev slice. |
data/, utils/ |
Label list, label mapping, split indices, and the loader that applies them. |
code/ |
Every script that produced a result (Jev, SemIf, GLM-5.3, embedding and feature controls, nearest-neighbour vote, SemIf features), the analysis, the table generator, and this release's builder. |
MANIFEST.json |
Model, SDK and gateway details, dataset revision, comparator repositories and revisions, and SHA-256 of every file. |
Development status
Some systems' development used the evaluation split. Each system is labeled in the paper: A no use of evaluation results in development; B indirect use; C checkpoint or temperature selected on the evaluation split. Comparisons among status-A systems are the paper's confirmatory core.
Notes
- Targets are our preprocessed version of the issue the consumer selected on the CFPB form (a fixed mapping in
data/label_merge_mapping.json; three entries narrow a label's meaning, and the paper reports that removing the 15 affected evaluation complaints changes no conclusion). - 11.7% of evaluation complaints repeat another complaint in the public dataset; the paper reports results with and without near-duplicates.
- Jev latencies were measured from a single client in Vienna, Austria; SemIf ran on an Apple M4 Max laptop.
- Complaint text originates from the U.S. CFPB Consumer Complaint Database via
determined-ai/consumer_complaints_medium; Jev outputs were produced with TypeSafe's API and GLM-5.3 outputs through the LunaRoute gateway. Check the upstream terms before reuse.
- Downloads last month
- 96