Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed
Error code:   DatasetGenerationError
Exception:    UnicodeDecodeError
Message:      'utf-8' codec can't decode byte 0x97 in position 86453: invalid start byte
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1816, in _prepare_split_single
                  for key, table in generator:
                                    ^^^^^^^^^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 613, in wrapped
                  for item in generator(*args, **kwargs):
                              ~~~~~~~~~^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/csv/csv.py", line 198, in _generate_tables
                  for batch_idx, df in enumerate(csv_file_reader):
                                       ~~~~~~~~~^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/pandas/io/parsers/readers.py", line 1843, in __next__
                  return self.get_chunk()
                         ~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/pandas/io/parsers/readers.py", line 1985, in get_chunk
                  return self.read(nrows=size)
                         ~~~~~~~~~^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/pandas/io/parsers/readers.py", line 1923, in read
                  ) = self._engine.read(  # type: ignore[attr-defined]
                      ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                      nrows
                      ^^^^^
                  )
                  ^
                File "/usr/local/lib/python3.14/site-packages/pandas/io/parsers/c_parser_wrapper.py", line 234, in read
                  chunks = self._reader.read_low_memory(nrows)
                File "pandas/_libs/parsers.pyx", line 850, in pandas._libs.parsers.TextReader.read_low_memory
                File "pandas/_libs/parsers.pyx", line 905, in pandas._libs.parsers.TextReader._read_rows
                File "pandas/_libs/parsers.pyx", line 874, in pandas._libs.parsers.TextReader._tokenize_rows
                File "pandas/_libs/parsers.pyx", line 891, in pandas._libs.parsers.TextReader._check_tokenize_status
                File "pandas/_libs/parsers.pyx", line 2053, in pandas._libs.parsers.raise_parser_error
                File "<frozen codecs>", line 325, in decode
              UnicodeDecodeError: 'utf-8' codec can't decode byte 0x97 in position 86453: invalid start byte
              
              The above exception was the direct cause of the following exception:
              
              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 1683, 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 1869, in _prepare_split_single
                  raise DatasetGenerationError("An error occurred while generating the dataset") from e
              datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset

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.

eval_dataset_name
string
prompt_hash
string
relation
string
gen_type
string
model_id
string
tuned_dataset_name
string
model_shot
null
prompt_shot
int64
generated_relation
string
input_tokens
int64
output_tokens
int64
biographical
aea9843edbc3
Other
gen_constrained
Claude Sonnet 4.6
frontier
null
0
Other
185
4
biographical
7f2ae16fcfcd
bplace_name
gen_constrained
Claude Sonnet 4.6
frontier
null
0
bplace_name
138
7
biographical
0920f2b7ec32
educatedAt
gen_constrained
Claude Sonnet 4.6
frontier
null
0
educatedAt
215
6
biographical
9c526c6c486a
Other
gen_constrained
Claude Sonnet 4.6
frontier
null
0
birthdate
154
5
biographical
5e6c69816bae
Other
gen_constrained
Claude Sonnet 4.6
frontier
null
0
Other
141
4
biographical
d6a2ff489048
child
gen_constrained
Claude Sonnet 4.6
frontier
null
0
parent
172
4
biographical
6a370fad0068
Other
gen_constrained
Claude Sonnet 4.6
frontier
null
0
Other
168
4
biographical
84efeadc672f
bplace_name
gen_constrained
Claude Sonnet 4.6
frontier
null
0
bplace_name
185
7
biographical
715886e92fe2
dplace_name
gen_constrained
Claude Sonnet 4.6
frontier
null
0
dplace_name
142
7
biographical
cbb1d3b6389a
Other
gen_constrained
Claude Sonnet 4.6
frontier
null
0
Other
166
4
biographical
49234cf116d2
Other
gen_constrained
Claude Sonnet 4.6
frontier
null
0
Other
186
4
biographical
e4f2ef8f8527
Other
gen_constrained
Claude Sonnet 4.6
frontier
null
0
Other
159
4
biographical
93ae96366a11
Other
gen_constrained
Claude Sonnet 4.6
frontier
null
0
deathdate
169
6
biographical
6385a0d655db
deathdate
gen_constrained
Claude Sonnet 4.6
frontier
null
0
deathdate
209
6
biographical
46f92ef27a64
Other
gen_constrained
Claude Sonnet 4.6
frontier
null
0
bplace_name
165
7
biographical
c1bed46a6b94
deathdate
gen_constrained
Claude Sonnet 4.6
frontier
null
0
deathdate
204
6
biographical
c61ef7bf34ea
educatedAt
gen_constrained
Claude Sonnet 4.6
frontier
null
0
educatedAt
182
6
biographical
a70779d2756c
bplace_name
gen_constrained
Claude Sonnet 4.6
frontier
null
0
bplace_name
185
7
biographical
a3a3c58147e1
Other
gen_constrained
Claude Sonnet 4.6
frontier
null
0
dplace_name
184
7
biographical
cd52986037db
Other
gen_constrained
Claude Sonnet 4.6
frontier
null
0
Other
220
4
biographical
ce7c653f4d7e
bplace_name
gen_constrained
Claude Sonnet 4.6
frontier
null
0
bplace_name
135
7
biographical
f0728d87c159
birthdate
gen_constrained
Claude Sonnet 4.6
frontier
null
0
birthdate
171
5
biographical
ddb46c86541a
dplace_name
gen_constrained
Claude Sonnet 4.6
frontier
null
0
bplace_name
153
7
biographical
698402955121
bplace_name
gen_constrained
Claude Sonnet 4.6
frontier
null
0
bplace_name
139
7
biographical
37d93f43fe39
Other
gen_constrained
Claude Sonnet 4.6
frontier
null
0
birthdate
282
5
biographical
94cf739f599b
birthdate
gen_constrained
Claude Sonnet 4.6
frontier
null
0
birthdate
164
5
biographical
cc4b02b13fcf
bplace_name
gen_constrained
Claude Sonnet 4.6
frontier
null
0
bplace_name
147
7
biographical
81490741747c
birthdate
gen_constrained
Claude Sonnet 4.6
frontier
null
0
birthdate
186
5
biographical
1b1df982cd05
Other
gen_constrained
Claude Sonnet 4.6
frontier
null
0
Other
198
4
biographical
7eab9f1779ce
birthdate
gen_constrained
Claude Sonnet 4.6
frontier
null
0
birthdate
141
5
biographical
1e68329fb322
Other
gen_constrained
Claude Sonnet 4.6
frontier
null
0
Other
155
4
biographical
bd4cf0afc516
Other
gen_constrained
Claude Sonnet 4.6
frontier
null
0
Other
173
4
biographical
f0088fade815
Other
gen_constrained
Claude Sonnet 4.6
frontier
null
0
Other
192
4
biographical
8cce290ebda5
Other
gen_constrained
Claude Sonnet 4.6
frontier
null
0
occupation
159
4
biographical
e58734b9c1b8
Other
gen_constrained
Claude Sonnet 4.6
frontier
null
0
bplace_name
164
7
biographical
98718b538591
educatedAt
gen_constrained
Claude Sonnet 4.6
frontier
null
0
educatedAt
238
6
biographical
63c9e8edea16
Other
gen_constrained
Claude Sonnet 4.6
frontier
null
0
occupation
211
4
biographical
aacda1cf7231
Other
gen_constrained
Claude Sonnet 4.6
frontier
null
0
Other
232
4
biographical
e5ac38b2d247
Other
gen_constrained
Claude Sonnet 4.6
frontier
null
0
Other
167
4
biographical
3ce750be41dd
Other
gen_constrained
Claude Sonnet 4.6
frontier
null
0
Other
173
4
biographical
3b6408b7d524
Other
gen_constrained
Claude Sonnet 4.6
frontier
null
0
Other
162
4
biographical
c8821bb3f18c
Other
gen_constrained
Claude Sonnet 4.6
frontier
null
0
Other
192
4
biographical
a2c3c005ee95
occupation
gen_constrained
Claude Sonnet 4.6
frontier
null
0
occupation
159
4
biographical
b43e67d181ee
bplace_name
gen_constrained
Claude Sonnet 4.6
frontier
null
0
bplace_name
172
7
biographical
83bffce81f5b
birthdate
gen_constrained
Claude Sonnet 4.6
frontier
null
0
birthdate
181
5
biographical
0255587b0e97
Other
gen_constrained
Claude Sonnet 4.6
frontier
null
0
Other
206
4
biographical
c529e3c9a48f
Other
gen_constrained
Claude Sonnet 4.6
frontier
null
0
Other
232
4
biographical
e3352217053f
parent
gen_constrained
Claude Sonnet 4.6
frontier
null
0
parent
170
4
biographical
c0c149a0eb7d
Other
gen_constrained
Claude Sonnet 4.6
frontier
null
0
Other
142
4
biographical
a6dcbcdf153e
Other
gen_constrained
Claude Sonnet 4.6
frontier
null
0
Other
166
4
biographical
7e0524851a85
birthdate
gen_constrained
Claude Sonnet 4.6
frontier
null
0
birthdate
179
5
biographical
618f852b898f
Other
gen_constrained
Claude Sonnet 4.6
frontier
null
0
Other
171
4
biographical
19542e6e8c35
Other
gen_constrained
Claude Sonnet 4.6
frontier
null
0
Other
204
4
biographical
ab4dc08be803
Other
gen_constrained
Claude Sonnet 4.6
frontier
null
0
Other
225
4
biographical
9814a9a0be7e
bplace_name
gen_constrained
Claude Sonnet 4.6
frontier
null
0
bplace_name
165
7
biographical
c56331f3d89b
birthdate
gen_constrained
Claude Sonnet 4.6
frontier
null
0
birthdate
186
5
biographical
c02df9d7b0ab
occupation
gen_constrained
Claude Sonnet 4.6
frontier
null
0
occupation
175
4
biographical
8a05ef2afa9c
deathdate
gen_constrained
Claude Sonnet 4.6
frontier
null
0
deathdate
226
6
biographical
a23473791b12
Other
gen_constrained
Claude Sonnet 4.6
frontier
null
0
birthdate
456
5
biographical
06bf98274420
dplace_name
gen_constrained
Claude Sonnet 4.6
frontier
null
0
occupation
173
4
biographical
ccb23280242c
bplace_name
gen_constrained
Claude Sonnet 4.6
frontier
null
0
bplace_name
136
7
biographical
da702fd6e931
Other
gen_constrained
Claude Sonnet 4.6
frontier
null
0
sibling
190
5
biographical
1dd8eaf17874
Other
gen_constrained
Claude Sonnet 4.6
frontier
null
0
bplace_name
171
7
biographical
45652d6002d1
Other
gen_constrained
Claude Sonnet 4.6
frontier
null
0
occupation
179
4
biographical
6aa9d172ef2b
dplace_name
gen_constrained
Claude Sonnet 4.6
frontier
null
0
bplace_name
155
7
biographical
7ee0e798b906
Other
gen_constrained
Claude Sonnet 4.6
frontier
null
0
Other
180
4
biographical
b61ad04b64f4
Other
gen_constrained
Claude Sonnet 4.6
frontier
null
0
occupation
190
4
biographical
564da9d3078b
Other
gen_constrained
Claude Sonnet 4.6
frontier
null
0
Other
174
4
biographical
a61eba4435f8
bplace_name
gen_constrained
Claude Sonnet 4.6
frontier
null
0
bplace_name
152
7
biographical
5629bd4e1c40
Other
gen_constrained
Claude Sonnet 4.6
frontier
null
0
birthdate
164
5
biographical
6966e5455859
occupation
gen_constrained
Claude Sonnet 4.6
frontier
null
0
occupation
149
4
biographical
ea8e42dea7c0
occupation
gen_constrained
Claude Sonnet 4.6
frontier
null
0
occupation
215
4
biographical
0fb4d8bcb0f4
birthdate
gen_constrained
Claude Sonnet 4.6
frontier
null
0
birthdate
202
5
biographical
958ef329436e
bplace_name
gen_constrained
Claude Sonnet 4.6
frontier
null
0
bplace_name
168
7
biographical
ea5f2f3987ae
educatedAt
gen_constrained
Claude Sonnet 4.6
frontier
null
0
educatedAt
191
6
biographical
ad4a816651f3
Other
gen_constrained
Claude Sonnet 4.6
frontier
null
0
bplace_name
156
7
biographical
e03138bf828b
Other
gen_constrained
Claude Sonnet 4.6
frontier
null
0
birthdate
146
5
biographical
8c09ef121ddc
Other
gen_constrained
Claude Sonnet 4.6
frontier
null
0
Other
182
4
biographical
df3e02e5f43b
Other
gen_constrained
Claude Sonnet 4.6
frontier
null
0
occupation
142
4
biographical
e6e70e9fb46a
Other
gen_constrained
Claude Sonnet 4.6
frontier
null
0
birthdate
179
5
biographical
1c4550df03ba
birthdate
gen_constrained
Claude Sonnet 4.6
frontier
null
0
birthdate
163
5
biographical
e15653ffc4e9
Other
gen_constrained
Claude Sonnet 4.6
frontier
null
0
Other
194
4
biographical
d01ae72cd627
bplace_name
gen_constrained
Claude Sonnet 4.6
frontier
null
0
bplace_name
142
7
biographical
8e547a98f250
Other
gen_constrained
Claude Sonnet 4.6
frontier
null
0
Other
185
4
biographical
c9807e49c4d9
Other
gen_constrained
Claude Sonnet 4.6
frontier
null
0
birthdate
168
5
biographical
489f57d0f28b
birthdate
gen_constrained
Claude Sonnet 4.6
frontier
null
0
birthdate
162
5
biographical
f6d697332e62
Other
gen_constrained
Claude Sonnet 4.6
frontier
null
0
Other
184
4
biographical
76a6aa2d9204
Other
gen_constrained
Claude Sonnet 4.6
frontier
null
0
Other
178
4
biographical
07109434dce8
Other
gen_constrained
Claude Sonnet 4.6
frontier
null
0
Other
172
4
biographical
a32801c5c921
bplace_name
gen_constrained
Claude Sonnet 4.6
frontier
null
0
bplace_name
171
7
biographical
18c2038626bb
Other
gen_constrained
Claude Sonnet 4.6
frontier
null
0
Other
204
4
biographical
ffc0f72666ca
birthdate
gen_constrained
Claude Sonnet 4.6
frontier
null
0
birthdate
166
5
biographical
99007fd5f90c
Other
gen_constrained
Claude Sonnet 4.6
frontier
null
0
bplace_name
188
7
biographical
3be05dd83333
Other
gen_constrained
Claude Sonnet 4.6
frontier
null
0
deathdate
152
6
biographical
de9f7d3c62f4
birthdate
gen_constrained
Claude Sonnet 4.6
frontier
null
0
birthdate
223
5
biographical
a68de5983650
birthdate
gen_constrained
Claude Sonnet 4.6
frontier
null
0
birthdate
190
5
biographical
df250af115e5
Other
gen_constrained
Claude Sonnet 4.6
frontier
null
0
Other
142
4
biographical
8120e72bf628
deathdate
gen_constrained
Claude Sonnet 4.6
frontier
null
0
deathdate
152
6
biographical
489559fe183f
Other
gen_constrained
Claude Sonnet 4.6
frontier
null
0
Other
196
4
biographical
67d77775757f
dplace_name
gen_constrained
Claude Sonnet 4.6
frontier
null
0
bplace_name
161
7
End of preview.

Frontier LLM Relation-Extraction Generations

This dataset contains the raw relation-extraction predictions of frontier LLMs (GPT-5.4, Claude Sonnet 4.6, and Gemini 2.5 Pro) on the nine evaluation datasets used in the paper "Sub-Billion, Super-Frontier: Fine-Tuned Small Language Models Rival Zero-Shot Frontier LLMs on General and Literary Relation Extraction" (Christou & Tsoumakas, 2026) arXiv:2606.22606.

The frontier comparison is routed through a commercial API (OpenRouter) and is therefore not bit-for-bit reproducible, so we release the exact generations behind the paper's frontier baseline tables rather than only the code. Each row is one model's answer for one evaluation example.

Dataset structure

A single merged CSV (all_frontier_generations.csv), one row per (model × evaluation example × generation setting).

Column Description
eval_dataset_name Which evaluation dataset the example comes from (e.g. conll04, biographical).
prompt_hash Truncated MD5 of the input prompt; stable per-example id (also used for dedup/resume).
relation Gold relation label for the example.
gen_type gen_open (generic RE system prompt) or gen_constrained (allowed label set injected into the system prompt).
model_id Frontier model display name: GPT-5.4, Claude Sonnet 4.6, or Gemini 2.5 Pro.
tuned_dataset_name Always frontier (these models are evaluated zero-/few-shot, not fine-tuned).
model_shot Always n/a (no fine-tuning shot for frontier models).
prompt_shot In-context demonstrations in the prompt (0 or 2).
generated_relation The model's raw output string (the predicted relation; may need normalization before scoring). Rows beginning with ERROR: denote failed API calls.
input_tokens Prompt tokens reported by the API for this call.
output_tokens Completion tokens reported by the API for this call.

Scoring in the paper normalizes generated_relation against relation with the metric library in the accompanying code (positive-class micro-F1, no-relation class excluded); see the repo for the exact evaluation.

Usage

import pandas as pd
from datasets import load_dataset

# via pandas
df = pd.read_csv("hf://datasets/Despina/frontier-re-generations/all_frontier_generations.csv")
print(df.groupby(["model_id", "eval_dataset_name"]).size())

# ...or via the datasets library
ds = load_dataset("Despina/frontier-re-generations", split="train")
print(ds[0])

Licensing and terms

These are outputs generated by third-party commercial models (OpenAI GPT-5.4, Anthropic Claude Sonnet 4.6, Google Gemini 2.5 Pro) accessed via OpenRouter. Use of the generations is subject to the respective model providers' terms of service. The gold relation labels and the input examples derive from the underlying evaluation datasets, each of which retains its own license (see the individual dataset cards under the Despina/ namespace; note in particular that TACRED / LDC-derived sources carry redistribution restrictions).

Citation

If you use these generations, please cite our paper:

@article{christou2026subbillion,
  title        = {Sub-Billion, Super-Frontier: Small Language Models Rival
                  Zero-Shot Frontier LLMs on General and Literary Relation Extraction},
  author       = {Christou, Despina and Tsoumakas, Grigorios},
  journal      = {arXiv preprint arXiv:2606.22606},
  year         = {2026},
  url          = {https://arxiv.org/abs/2606.22606}
}
Downloads last month
5

Paper for Despina/frontier-re-generations