McClain/PlasmidGPT-RL
Text Generation • 0.1B • Updated • 774
Error code: DatasetGenerationCastError
Exception: DatasetGenerationCastError
Message: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 18 new columns ({'std_gc', 'median_orf_aa_passed', 'model_sha', 'n_sequences', 'model_path', 'mean_jsd_3mer_passed', 'pass_rate_pct', 'mean_gc', 'mean_gc_passed', 'median_orf_aa', 'mean_jsd_3mer', 'mean_length', 'qc_pipeline', '_note', 'unique_oris', 'n_passed', 'model', 'pass_rate'}) and 15 missing columns ({'max_bp', 'config', 'repeat_penalty_per_region', 'length_reward_mode', 'promoter_weight', 'repeat_penalty_enabled', 'cds_weight', 'ideal_min_bp', 'min_bp', 'location_aware', 'ori_weight', 'marker_weight', 'terminator_weight', 'ideal_max_bp', 'repeat_min_bp'}).
This happened while the csv dataset builder was generating data using
hf://datasets/UCL-CSSB/PlasmidRL-ICML/data/eight_prompt_summary.csv (at revision 49b339eee86a67f023eec60747558a1e3a95f4f8), ['hf://datasets/UCL-CSSB/PlasmidRL-ICML@49b339eee86a67f023eec60747558a1e3a95f4f8/data/ablation_reward_configs.csv', 'hf://datasets/UCL-CSSB/PlasmidRL-ICML@49b339eee86a67f023eec60747558a1e3a95f4f8/data/eight_prompt_summary.csv']
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1856, in _prepare_split_single
writer.write_table(table)
~~~~~~~~~~~~~~~~~~^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 811, in write_table
self._write_table(pa_table, writer_batch_size=writer_batch_size)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 822, in _write_table
pa_table = table_cast(pa_table, self._schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2394, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2322, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
model: string
model_path: string
model_sha: string
n_sequences: int64
n_passed: int64
pass_rate_pct: double
mean_length: double
mean_gc: double
qc_pipeline: string
_note: string
pass_rate: double
std_gc: double
mean_gc_passed: double
median_orf_aa: double
median_orf_aa_passed: double
mean_jsd_3mer: double
mean_jsd_3mer_passed: double
unique_oris: double
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 2474
to
{'config': Value('string'), 'ori_weight': Value('float64'), 'promoter_weight': Value('float64'), 'terminator_weight': Value('float64'), 'marker_weight': Value('float64'), 'cds_weight': Value('float64'), 'length_reward_mode': Value('bool'), 'repeat_penalty_enabled': Value('bool'), 'location_aware': Value('bool'), 'ideal_min_bp': Value('int64'), 'ideal_max_bp': Value('int64'), 'min_bp': Value('int64'), 'max_bp': Value('int64'), 'repeat_min_bp': Value('int64'), 'repeat_penalty_per_region': Value('float64')}
because column names don't match
During handling of the above exception, another exception occurred:
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 1858, in _prepare_split_single
raise DatasetGenerationCastError.from_cast_error(
...<4 lines>...
)
datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 18 new columns ({'std_gc', 'median_orf_aa_passed', 'model_sha', 'n_sequences', 'model_path', 'mean_jsd_3mer_passed', 'pass_rate_pct', 'mean_gc', 'mean_gc_passed', 'median_orf_aa', 'mean_jsd_3mer', 'mean_length', 'qc_pipeline', '_note', 'unique_oris', 'n_passed', 'model', 'pass_rate'}) and 15 missing columns ({'max_bp', 'config', 'repeat_penalty_per_region', 'length_reward_mode', 'promoter_weight', 'repeat_penalty_enabled', 'cds_weight', 'ideal_min_bp', 'min_bp', 'location_aware', 'ori_weight', 'marker_weight', 'terminator_weight', 'ideal_max_bp', 'repeat_min_bp'}).
This happened while the csv dataset builder was generating data using
hf://datasets/UCL-CSSB/PlasmidRL-ICML/data/eight_prompt_summary.csv (at revision 49b339eee86a67f023eec60747558a1e3a95f4f8), ['hf://datasets/UCL-CSSB/PlasmidRL-ICML@49b339eee86a67f023eec60747558a1e3a95f4f8/data/ablation_reward_configs.csv', 'hf://datasets/UCL-CSSB/PlasmidRL-ICML@49b339eee86a67f023eec60747558a1e3a95f4f8/data/eight_prompt_summary.csv']
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)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.
config string | ori_weight float64 | promoter_weight float64 | terminator_weight float64 | marker_weight float64 | cds_weight float64 | length_reward_mode bool | repeat_penalty_enabled bool | location_aware bool | ideal_min_bp int64 | ideal_max_bp int64 | min_bp int64 | max_bp int64 | repeat_min_bp int64 | repeat_penalty_per_region float64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
full_reward | 1 | 1 | 0.5 | 1 | 1 | true | true | true | 3,000 | 6,000 | 2,000 | 30,000 | 50 | 0.1 |
no_repeat_penalty | 1 | 1 | 0.5 | 1 | 1 | true | false | true | 3,000 | 6,000 | 2,000 | 30,000 | 50 | 0.1 |
no_length_prior | 1 | 1 | 0.5 | 1 | 1 | false | true | true | 3,000 | 6,000 | 2,000 | 30,000 | 50 | 0.1 |
no_cassette_bonus | 1 | 1 | 0.5 | 1 | 1 | true | true | false | 3,000 | 6,000 | 2,000 | 30,000 | 50 | 0.1 |
cds_only | 0.001 | 0.001 | 0.001 | 0.001 | 1 | false | false | false | 3,000 | 6,000 | 2,000 | 30,000 | 50 | 0.1 |
length_only | 0.001 | 0.001 | 0.001 | 0.001 | 0.001 | true | false | false | 3,000 | 6,000 | 2,000 | 30,000 | 50 | 0.1 |
null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
Metadata-only benchmark summary and configuration companion dataset for the ICML 2026 paper Effects of Structural Reward Shaping on Biophysical Properties in RL-Trained Plasmid Generators (UCL-CSSB/PlasmidRL). No raw third-party sequence databases are redistributed here.
data/ablation_reward_configs.csv: Exact reward component weights across full_reward and all five reward ablations (no_repeat_penalty, no_length_prior, no_cassette_bonus, cds_only, length_only).data/eight_prompt_summary.csv: Aggregate strict-QC summary statistics across the 8-prompt evaluation panel (4,000 sequences per model; 71.6% RL pass rate vs. 4.3% pretrained Base).data/bucket_manifest_paths.txt: Complete file index of the public Storage Bucket hf://buckets/UCL-CSSB/PlasmidRL-ICML used by plasmidrl/data.py.UCL-CSSB/PlasmidGPT-GRPO · UCL-CSSB/PlasmidGPT-SFT · UCL-CSSB/PlasmidGPT@inproceedings{thiel2026plasmidrl,
title = {Effects of Structural Reward Shaping on Biophysical Properties in {RL}-Trained Plasmid Generators},
author = {Thiel, McClain and Cunningham, Angus G. and Barnes, Chris P.},
booktitle = {Proceedings of the 43rd International Conference on Machine Learning (ICML)},
series = {Proceedings of Machine Learning Research},
volume = {306},
year = {2026},
publisher = {PMLR},
url = {https://openreview.net/forum?id=uiMxVE16m3},
}