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
key: string
kind: string
lang: string
intent: string
messages: list<item: struct<role: string, content: string>>
  child 0, item: struct<role: string, content: string>
      child 0, role: string
      child 1, content: string
by_kind: struct<harmful: int64, benign: int64>
  child 0, harmful: int64
  child 1, benign: int64
kept: int64
by_lang: struct<en: int64, hi: int64, hg: int64>
  child 0, en: int64
  child 1, hi: int64
  child 2, hg: int64
to
{'kept': Value('int64'), 'by_kind': {'harmful': Value('int64'), 'benign': Value('int64')}, 'by_lang': {'en': Value('int64'), 'hi': Value('int64'), 'hg': Value('int64')}}
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
              key: string
              kind: string
              lang: string
              intent: string
              messages: list<item: struct<role: string, content: string>>
                child 0, item: struct<role: string, content: string>
                    child 0, role: string
                    child 1, content: string
              by_kind: struct<harmful: int64, benign: int64>
                child 0, harmful: int64
                child 1, benign: int64
              kept: int64
              by_lang: struct<en: int64, hi: int64, hg: int64>
                child 0, en: int64
                child 1, hi: int64
                child 2, hg: int64
              to
              {'kept': Value('int64'), 'by_kind': {'harmful': Value('int64'), 'benign': Value('int64')}, 'by_lang': {'en': Value('int64'), 'hi': Value('int64'), 'hg': Value('int64')}}
              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.

Repair set: refusals that are explicit, in-language, and terminating

380 rows that survived CuratorKIT's gates β€” 264 harmful prompts paired with an explicit refusal in the language of the prompt, 116 benign prompts paired with an ordinary helpful answer (the over-refusal control). Per language: en 134, hi 127, hg 119.

Fields

field meaning
key prompt id, matches the prompts dataset
lang en, hi (Devanagari), hg (romanised Hinglish)
kind harmful or benign
intent harmful intent label (null for benign)
messages user turn + assistant answer

Gates applied (rejections in curation_diagnostics.json, with reason codes)

  • no-explicit-refusal-marker β€” the answer advises without declining
  • procedure-leak, numbered-steps β€” a refusal that still explains how
  • hg-written-in-devanagari β€” wrong script for the cell
  • repetitive-answer β€” the answer itself loops (trigrams repeat beyond 15%)
  • benign-contains-refusal β€” over-refusal contamination of the training set
  • too-short, too-long

The repetition gate and the length cap were added after earlier rounds taught a memorised sentence (14% distinct replies) and then long rambling refusals (54% loop rate); both rounds are reported in the article rather than quietly replaced.

Generated with a local Qwen3 model via Ollama (temperature 0.9 for the Hinglish pass, greedy elsewhere). No closed-model API calls in the data path.

Where the rest of it lives

Licence

  • licence: CC-BY-NC-4.0, matching the base model β€” the assistant turns are Tiny Aya Global generations, so they carry the same terms.
Downloads last month
81

Collections including harishkotra/tiny-aya-refusal-consistency-sft