McClain/PlasmidLM
Text Generation • 17.7M • Updated • 458
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 15 new columns ({'split', 'amrfinder_cov9_pct', 'mean_f_pct', 'amrfinder_all11_pct', 'extra_ori_amr', 'gc_pct', 'model', 'useful_at_0_5_pct', 'prodigal_pep_tag_pct', 'seed_scope', 'bok4_useful_pct', 'bok2_useful_pct', 'mean_length_bp', 'sequence_novelty_pct', 'viable_pct'}) and 4 missing columns ({'local_path', 'size', 'rows', 'sha256'}).
This happened while the csv dataset builder was generating data using
hf://datasets/McClain/PlasmidLM-Eval/data/frozen_panel_v3_results.csv (at revision c21faf2216b32a3312a1113e064e6669a6c11515), ['hf://datasets/McClain/PlasmidLM-Eval@c21faf2216b32a3312a1113e064e6669a6c11515/data/canonical_checksums.csv', 'hf://datasets/McClain/PlasmidLM-Eval@c21faf2216b32a3312a1113e064e6669a6c11515/data/frozen_panel_v3_results.csv', 'hf://datasets/McClain/PlasmidLM-Eval@c21faf2216b32a3312a1113e064e6669a6c11515/data/special_tokens_v4.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
split: string
seed_scope: string
viable_pct: string
mean_f_pct: string
useful_at_0_5_pct: string
bok2_useful_pct: string
bok4_useful_pct: string
amrfinder_all11_pct: string
amrfinder_cov9_pct: string
extra_ori_amr: string
prodigal_pep_tag_pct: string
mean_length_bp: string
gc_pct: double
sequence_novelty_pct: string
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 2172
to
{'local_path': Value('string'), 'rows': Value('string'), 'size': Value('string'), 'sha256': Value('string')}
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 15 new columns ({'split', 'amrfinder_cov9_pct', 'mean_f_pct', 'amrfinder_all11_pct', 'extra_ori_amr', 'gc_pct', 'model', 'useful_at_0_5_pct', 'prodigal_pep_tag_pct', 'seed_scope', 'bok4_useful_pct', 'bok2_useful_pct', 'mean_length_bp', 'sequence_novelty_pct', 'viable_pct'}) and 4 missing columns ({'local_path', 'size', 'rows', 'sha256'}).
This happened while the csv dataset builder was generating data using
hf://datasets/McClain/PlasmidLM-Eval/data/frozen_panel_v3_results.csv (at revision c21faf2216b32a3312a1113e064e6669a6c11515), ['hf://datasets/McClain/PlasmidLM-Eval@c21faf2216b32a3312a1113e064e6669a6c11515/data/canonical_checksums.csv', 'hf://datasets/McClain/PlasmidLM-Eval@c21faf2216b32a3312a1113e064e6669a6c11515/data/frozen_panel_v3_results.csv', 'hf://datasets/McClain/PlasmidLM-Eval@c21faf2216b32a3312a1113e064e6669a6c11515/data/special_tokens_v4.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.
local_path string | rows string | size string | sha256 string |
|---|---|---|---|
data/special_tokens.txt | 106 lines | 1.3K | bbd63ec88d035134d2ef9b3af54b54382bb093c334043266ba36e76dd6322d41 |
data/token_vocabulary_v4.json | 106 keys | 2.3K | 5f76f8c805065e867ee6242cbc86989c8c3ac37d03c20239b288727007a53193 |
data/training_pairs_v4.parquet | 108468 | 690M | 93beca93c675bcb979ee4046911accda5536f07731cd5cc41e5a2d7ab2807c69 |
data/cluster_v3/train.parquet | 93900 | 602M | f299ea8ccbf6941b33b81d4c6bff3ad775688e2fedea3799f4c93081848ebc4d |
data/cluster_v3/validation.parquet | 4728 | 27M | bc562467415aa1d28b7db867b0a376d02690dc86f0d735401ea0139733e42227 |
data/cluster_v3/test.parquet | 4939 | 25M | 6b4f4169512de13295f50f3e393836712d752be2c245dd4ca1da1176c55cdfc0 |
data/cluster_v3/assignments.parquet | 103567 | 5.3M | 0d8b2d7d67c3a4512f4c2acefea1d670ea26bc51d4d9dda0d8011a23c896a873 |
data/cluster_v3/manifest.json | — | 2.3K | 5cd70a45bf316457f4fba4e60a3874aa847b6d56faff95ecf91737551d2eda91 |
data/cluster_v3/audit/report.json | — | 6.8K | 3fa1fb07cbdf9b3d65009fc6cf5f34fe1eb12c09f4f650bb0b1c3614bfafa17b |
data/motif_registry_combined.parquet | 660 | 138K | b8431d37bfedb77e982bce775022d285c45c90ed6c9a95ffc9df8cc767626493 |
data/plannotate_db.parquet | 567340 | 177M | 48ca30df2abbb953ddeed9da20d2f6af9a5c57d136865231b47fadea2b12f85d |
data/holdout_full_prompts.parquet | 22400 | 61M | 7ee544e18e6ca43d973a711202eb35a68068b8d605eb800a792dff7a5f62322f |
eval/runs/rigor_20261116/inputs/frozen_panel_v3.parquet | 469 | 3.8M | c248dc2e9e03a0b479c48af78626800dcf42f2d42cbb31a3f08e53e25e6edb2d |
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 | 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 | 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 | 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 |
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 | 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 | 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 | 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 |
Public metadata, token vocabulary, split checksums, and frozen_panel_v3 benchmark tables accompanying PlasmidLM: A Promptable DNA Language Model via Verifiable-Reward Post-Training (Thiel & Barnes, 2026). No raw Addgene plasmid sequences are redistributed in this repository.
data/frozen_panel_v3_results.csv: Primary cluster-disjoint (cluster_v3, n = 468 held-out clusters, 0 cross-split BLAST hits at >= 90% identity & bidirectional coverage) evaluation summary (58.0% +- 0.7% single-shot and 85.5% +- 0.8% Best-of-4 useful-plasmid yield vs. 47.7% base).data/special_tokens_v4.csv: All 106 structural, hard-verifiable (57), and contextual soft (42) tokens from token_vocabulary_v4.json.data/canonical_checksums.csv: Verified SHA-256 checksums for the cluster_v3 datasets and frozen_panel_v3 inputs stored in the Hugging Face buckets.PlasmidSpace): https://huggingface.co/spaces/McClain/PlasmidSpaceMcClain/PlasmidLM-kmer6-GRPO-plannotate · McClain/PlasmidLM-kmer6 · McClain/PlasmidLM-kmer6-MoEhf://buckets/McClain/PlasmidLMEval@article{thiel2026plasmidlm,
title = {{PlasmidLM}: A Promptable {DNA} Language Model via Verifiable-Reward Post-Training},
author = {Thiel, McClain and Barnes, Chris P.},
journal = {bioRxiv},
year = {2026},
doi = {10.64898/2026.05.19.725242},
url = {https://doi.org/10.64898/2026.05.19.725242},
}