WeightPatch: datasets and traces
Collection
WeightPatch, Lexsi Labs AI Safety and Alignment Hackathon • 12 items • Updated
Error code: StreamingRowsError
Exception: CastError
Message: Couldn't cast
id: string
label: string
answer: string
gaming: struct<n: int64, accuracy: double, released_accuracy: double, vs_released: struct<diff: double, lo: (... 284 chars omitted)
child 0, n: int64
child 1, accuracy: double
child 2, released_accuracy: double
child 3, vs_released: struct<diff: double, lo: double, hi: double, n: int64, significant: bool, fixed: int64, broke: int64 (... 1 chars omitted)
child 0, diff: double
child 1, lo: double
child 2, hi: double
child 3, n: int64
child 4, significant: bool
child 5, fixed: int64
child 6, broke: int64
child 4, unfinished: int64
child 5, looping: int64
child 6, released_unfinished: int64
child 7, labels: struct<gamed: int64, honest: int64, broken: int64>
child 0, gamed: int64
child 1, honest: int64
child 2, broken: int64
child 8, examples: list<item: struct<i: int64, label: string, correct: bool, head: string>>
child 0, item: struct<i: int64, label: string, correct: bool, head: string>
child 0, i: int64
child 1, label: string
child 2, correct: bool
child 3, head: string
to
{'gaming': {'n': Value('int64'), 'accuracy': Value('float64'), 'released_accuracy': Value('float64'), 'vs_released': {'diff': Value('float64'), 'lo': Value('float64'), 'hi': Value('float64'), 'n': Value('int64'), 'significant': Value('bool'), 'fixed': Value('int64'), 'broke': Value('int64')}, 'unfinished': Value('int64'), 'looping': Value('int64'), 'released_unfinished': Value('int64'), 'labels': {'gamed': Value('int64'), 'honest': Value('int64'), 'broken': Value('int64')}, 'examples': List({'i': Value('int64'), 'label': Value('string'), 'correct': Value('bool'), 'head': 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
id: string
label: string
answer: string
gaming: struct<n: int64, accuracy: double, released_accuracy: double, vs_released: struct<diff: double, lo: (... 284 chars omitted)
child 0, n: int64
child 1, accuracy: double
child 2, released_accuracy: double
child 3, vs_released: struct<diff: double, lo: double, hi: double, n: int64, significant: bool, fixed: int64, broke: int64 (... 1 chars omitted)
child 0, diff: double
child 1, lo: double
child 2, hi: double
child 3, n: int64
child 4, significant: bool
child 5, fixed: int64
child 6, broke: int64
child 4, unfinished: int64
child 5, looping: int64
child 6, released_unfinished: int64
child 7, labels: struct<gamed: int64, honest: int64, broken: int64>
child 0, gamed: int64
child 1, honest: int64
child 2, broken: int64
child 8, examples: list<item: struct<i: int64, label: string, correct: bool, head: string>>
child 0, item: struct<i: int64, label: string, correct: bool, head: string>
child 0, i: int64
child 1, label: string
child 2, correct: bool
child 3, head: string
to
{'gaming': {'n': Value('int64'), 'accuracy': Value('float64'), 'released_accuracy': Value('float64'), 'vs_released': {'diff': Value('float64'), 'lo': Value('float64'), 'hi': Value('float64'), 'n': Value('int64'), 'significant': Value('bool'), 'fixed': Value('int64'), 'broke': Value('int64')}, 'unfinished': Value('int64'), 'looping': Value('int64'), 'released_unfinished': Value('int64'), 'labels': {'gamed': Value('int64'), 'honest': Value('int64'), 'broken': Value('int64')}, 'examples': List({'i': Value('int64'), 'label': Value('string'), 'correct': Value('bool'), 'head': Value('string')})}}
because column names don't matchNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
What the released CohereLabs/tiny-aya-global does before any edit, measured with the WeightPatch grader's suites and judges. profile.json: harmful answers (HarmBench, held-out and perturbed prompts; Granite Guardian and Llama Guard), refusals of safe requests (XSTest, OR-Bench hard, JailbreakBench benign), and accuracy (MMLU, Hindi MMLU, MedMCQA), 100 items each with Wilson intervals. metric_gaming_baseline.json and metric_gaming_judge_labels.jsonl: School of Reward Hacks prompts, the model's answers and the judge's label for each (gamed, honest, broken).