CircuitGraft Datasets & Artifacts
Collection
Curated datasets, contrastive pairs, circuit scores and evaluation logs for CircuitGraft. • 6 items • Updated
Error code: DatasetGenerationError
Exception: CastError
Message: Couldn't cast
domain: struct<kept: int64, removed: int64>
child 0, kept: int64
child 1, removed: int64
safety: struct<kept: int64, removed: int64>
child 0, kept: int64
child 1, removed: int64
all_passed: bool
status: string
tokenizer: string
sets: struct<domain: struct<input: int64, kept: int64, max_len_diff_tokens: int64, rejected: int64, requir (... 186 chars omitted)
child 0, domain: struct<input: int64, kept: int64, max_len_diff_tokens: int64, rejected: int64, require_single_token_ (... 30 chars omitted)
child 0, input: int64
child 1, kept: int64
child 2, max_len_diff_tokens: int64
child 3, rejected: int64
child 4, require_single_token_answers: bool
child 5, status: string
child 1, safety: struct<input: int64, kept: int64, max_len_diff_tokens: int64, rejected: int64, require_single_token_ (... 30 chars omitted)
child 0, input: int64
child 1, kept: int64
child 2, max_len_diff_tokens: int64
child 3, rejected: int64
child 4, require_single_token_answers: bool
child 5, status: string
to
{'all_passed': Value('bool'), 'sets': {'domain': {'input': Value('int64'), 'kept': Value('int64'), 'max_len_diff_tokens': Value('int64'), 'rejected': Value('int64'), 'require_single_token_answers': Value('bool'), 'status': Value('string')}, 'safety': {'input': Value('int64'), 'kept': Value('int64'), 'max_len_diff_tokens': Value('int64'), 'rejected': Value('int64'), 'require_single_token_answers': Value('bool'), 'status': Value('string')}}, 'status': Value('string'), 'tokenizer': Value('string')}
because column names don't match
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1835, in _prepare_split_single
for key, table in generator:
^^^^^^^^^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 621, in wrapped
for item in generator(*args, **kwargs):
~~~~~~~~~^^^^^^^^^^^^^^^^^
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
domain: struct<kept: int64, removed: int64>
child 0, kept: int64
child 1, removed: int64
safety: struct<kept: int64, removed: int64>
child 0, kept: int64
child 1, removed: int64
all_passed: bool
status: string
tokenizer: string
sets: struct<domain: struct<input: int64, kept: int64, max_len_diff_tokens: int64, rejected: int64, requir (... 186 chars omitted)
child 0, domain: struct<input: int64, kept: int64, max_len_diff_tokens: int64, rejected: int64, require_single_token_ (... 30 chars omitted)
child 0, input: int64
child 1, kept: int64
child 2, max_len_diff_tokens: int64
child 3, rejected: int64
child 4, require_single_token_answers: bool
child 5, status: string
child 1, safety: struct<input: int64, kept: int64, max_len_diff_tokens: int64, rejected: int64, require_single_token_ (... 30 chars omitted)
child 0, input: int64
child 1, kept: int64
child 2, max_len_diff_tokens: int64
child 3, rejected: int64
child 4, require_single_token_answers: bool
child 5, status: string
to
{'all_passed': Value('bool'), 'sets': {'domain': {'input': Value('int64'), 'kept': Value('int64'), 'max_len_diff_tokens': Value('int64'), 'rejected': Value('int64'), 'require_single_token_answers': Value('bool'), 'status': Value('string')}, 'safety': {'input': Value('int64'), 'kept': Value('int64'), 'max_len_diff_tokens': Value('int64'), 'rejected': Value('int64'), 'require_single_token_answers': Value('bool'), 'status': Value('string')}}, 'status': Value('string'), 'tokenizer': Value('string')}
because column names don't match
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 1379, 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 956, 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 1702, 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 1887, in _prepare_split_single
raise DatasetGenerationError("An error occurred while generating the dataset") from e
datasets.exceptions.DatasetGenerationError: An error occurred while generating the datasetNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
all_passed bool | sets dict | status string | tokenizer string |
|---|---|---|---|
true | {
"domain": {
"input": 330,
"kept": 256,
"max_len_diff_tokens": 2,
"rejected": 0,
"require_single_token_answers": true,
"status": "passed"
},
"safety": {
"input": 306,
"kept": 256,
"max_len_diff_tokens": 2,
"rejected": 0,
"require_single_token_answers": true,
"statu... | evaluated | CohereLabs/tiny-aya-base |
CONTENT ADVISORY: This dataset contains benchmark adversarial prompts and refusal evaluation targets. Full harmful completions are withheld, and records are provided for safety research only.
Safety contrastive pairs with minimal harmless twins.
Created for CircuitGraft: circuit-aware safety recovery for domain-fine-tuned Cohere
Tiny Aya models. The dataset card is generated by cg publish; the full lineage is in
the repository manifest.