Dataset Viewer
Auto-converted to Parquet 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
all_gold: string
raw_text: string
messages: list<element: struct<role: string, content: string>>
  child 0, element: struct<role: string, content: string>
      child 0, role: string
      child 1, content: string
-- schema metadata --
huggingface: '{"info": {"features": {"all_gold": {"dtype": "string", "_ty' + 208
to
{'raw_text': Value('string'), 'messages': List({'content': Value('string'), 'role': 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/parquet/parquet.py", line 220, in _generate_tables
                  yield Key(file_idx, batch_idx), self._cast_table(pa_table)
                                                  ~~~~~~~~~~~~~~~~^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/parquet/parquet.py", line 156, 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
              all_gold: string
              raw_text: string
              messages: list<element: struct<role: string, content: string>>
                child 0, element: struct<role: string, content: string>
                    child 0, role: string
                    child 1, content: string
              -- schema metadata --
              huggingface: '{"info": {"features": {"all_gold": {"dtype": "string", "_ty' + 208
              to
              {'raw_text': Value('string'), 'messages': List({'content': Value('string'), 'role': 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.

Biomedical Evaluation Subsets (First-Phase Protocol)

Part of the code, data and models of the bachelor thesis Structuring Universal Chain-of-thought for Named Entity Recognition (Department of Computer Science and Engineering, University of Bologna, 2026). All the repositories cited by name belong to the same organization.

A fixed evaluation subset of nine biomedical NER benchmarks, used to compare every model of the project on exactly the same sentences and the same prompts.

Config Source Rows
ncbi disi-unibo-nlp/ncbi 500
bc5cdr disi-unibo-nlp/bc5cdr 500
bc2gm disi-unibo-nlp/bc2gm 500
bc4chemd disi-unibo-nlp/bc4chemd 500
AnatEM disi-unibo-nlp/AnatEM 500
JNLPBA disi-unibo-nlp/JNLPBA 500
JNLPBA-Rare disi-unibo-nlp/JNLPBA-Rare 465 (full test set)
MedMentions-Rare disi-unibo-nlp/MedMentions-Rare 500
biored disi-unibo-nlp/biored 500

Construction

  • 500 test sentences per dataset (all of them when fewer), drawn once with a fixed seed (42) over the row indices.
  • Each row lists up to six requested entity types: a random number of the types present in the sentence, plus absent types sampled with probability inversely proportional to their frequency, answered with an empty list.
  • The sampling of the requested types is itself random, so building the prompts again could change them; freezing the prompts here guarantees that every evaluation, at any time, uses identical inputs.

Fields

  • raw_text: the sentence (tokens joined and detokenized with Moses).
  • all_gold: every annotated span of the sentence, by type (JSON string).
  • messages: the chat used for evaluation: a system message with the answer format, a user message with the text and the requested types, and an assistant message with the gold answer for the requested types. The last turn is the reference answer and must be removed before generation.

The second phase of the project re-uses the same 500 sentences with a different query protocol (all gold types plus 1-3 distractors of the same dataset): see free-vs-structured-cot-eval.

License

Derived from the datasets listed above, each with its own license and citation requirements (see their dataset cards); no license is asserted here over the source data.

Downloads last month
106