Datasets:
Dataset Viewer
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
checkpoint: string
tokenizer_path: string
test_data_path: string
config: struct<arch: string, d_model: int64, num_layers: int64, max_len: int64, dropout: double, label_smoot (... 13 chars omitted)
child 0, arch: string
child 1, d_model: int64
child 2, num_layers: int64
child 3, max_len: int64
child 4, dropout: double
child 5, label_smoothing: double
evaluation: struct<device: string, batch_size: int64, num_samples: int64, timestamp: string>
child 0, device: string
child 1, batch_size: int64
child 2, num_samples: int64
child 3, timestamp: string
metrics: struct<loss: double, perplexity: double>
child 0, loss: double
child 1, perplexity: double
edge_type_names: struct<1: string, 2: string, 3: string, 4: string, 5: string, 6: string, 7: string, 8: string, 9: st (... 5 chars omitted)
child 0, 1: string
child 1, 2: string
child 2, 3: string
child 3, 4: string
child 4, 5: string
child 5, 6: string
child 6, 7: string
child 7, 8: string
child 8, 9: string
results: struct<overall: struct<loss: double, total_edges_evaluated: int64, total_graphs: int64, missing_requ (... 1275 chars omitted)
child 0, overall: struct<loss: double, total_edges_evaluated: int64, total_graphs: int64, missing_required_connection_ (... 187 chars omitted)
child 0, loss: double
child 1, total_edges_evaluated: int64
child 2, total_graphs: int64
child 3, missing_required_connection_rate: double
child 4, fast_check_fail_rate: double
chi
...
ion_matrix: list<item: list<item: int64>>
child 0, item: list<item: int64>
child 0, item: int64
child 2, per_class: list<item: struct<class_id: int64, class_name: string, precision: double, recall: double, f1: double (... 51 chars omitted)
child 0, item: struct<class_id: int64, class_name: string, precision: double, recall: double, f1: double, support: (... 39 chars omitted)
child 0, class_id: int64
child 1, class_name: string
child 2, precision: double
child 3, recall: double
child 4, f1: double
child 5, support: int64
child 6, tp: int64
child 7, fp: int64
child 8, fn: int64
child 3, macro_avg: struct<precision: double, recall: double, f1: double, support: int64>
child 0, precision: double
child 1, recall: double
child 2, f1: double
child 3, support: int64
child 4, micro_avg: struct<precision: double, recall: double, f1: double, support: int64>
child 0, precision: double
child 1, recall: double
child 2, f1: double
child 3, support: int64
child 4, stage_breakdown: struct<missing_required: int64, fast_check_fail: int64, ok: int64>
child 0, missing_required: int64
child 1, fast_check_fail: int64
child 2, ok: int64
to
{'checkpoint': Value('string'), 'tokenizer_path': Value('string'), 'test_data_path': Value('string'), 'config': {'arch': Value('string'), 'd_model': Value('int64'), 'hidden': Value('int64'), 'num_layers': Value('int64'), 'num_edge_types': Value('int64'), 'dropout': Value('float64'), 'max_nodes': Value('int64')}, 'evaluation': {'device': Value('string'), 'batch_size': Value('int64'), 'seed': Value('int64'), 'num_samples': Value('int64'), 'num_records': Value('int64'), 'positive_records': Value('int64'), 'negative_records': Value('int64'), 'default_threshold': Value('float64'), 'type_method': Value('string'), 'use_full_candidates': Value('bool'), 'timestamp': Value('string')}, 'edge_type_names': {'1': Value('string'), '2': Value('string'), '3': Value('string'), '4': Value('string'), '5': Value('string'), '6': Value('string'), '7': Value('string'), '8': Value('string'), '9': Value('string')}, 'results': {'overall': {'loss': Value('float64'), 'total_edges_evaluated': Value('int64'), 'total_graphs': Value('int64'), 'missing_required_connection_rate': Value('float64'), 'fast_check_fail_rate': Value('float64'), 'fast_check_fail_reasons': {'blocks_disconnected': Value('int64')}, 'gt_edge_count_mean': Value('float64'), 'over_connect_rate': Value('float64'), 'under_connect_rate': Value('float64')}, 'head1_graph_gate': {'description': Value('string'), 'threshold': Value('float64'), 'tp': Value('int64'), 'fp': Value('int64'), 'fn': Value('int64'), 'tn': Value('int64'), 'precision': Value('float64'), 'recall': Value('float64'), 'f1': Value('float64'), 'accuracy': Value('float64'), 'mcc': Value('float64')}, 'head2_edge_exist': {'description': Value('string'), 'threshold': Value('float64'), 'tp': Value('int64'), 'fp': Value('int64'), 'fn': Value('int64'), 'tn': Value('int64'), 'total': Value('int64'), 'precision': Value('float64'), 'recall': Value('float64'), 'f1': Value('float64'), 'accuracy': Value('float64'), 'mcc': Value('float64')}, 'head3_edge_type': {'description': Value('string'), 'type_given_exist': {'correct': Value('int64'), 'total': Value('int64'), 'accuracy': Value('float64')}, 'pred_edge_count_mean': Value('float64'), 'gt_edge_count_mean': Value('float64'), 'edge_level': {'description': Value('string'), 'confusion_matrix': List(List(Value('int64'))), 'per_class': List({'class_id': Value('int64'), 'class_name': Value('string'), 'precision': Value('float64'), 'recall': Value('float64'), 'f1': Value('float64'), 'support': Value('int64'), 'tp': Value('int64'), 'fp': Value('int64'), 'fn': Value('int64')}), 'macro_avg': {'precision': Value('float64'), 'recall': Value('float64'), 'f1': Value('float64'), 'support': Value('int64')}, 'micro_avg': {'precision': Value('float64'), 'recall': Value('float64'), 'f1': Value('float64'), 'support': Value('int64')}}}, 'stage_breakdown': {'missing_required': Value('int64'), 'fast_check_fail': Value('int64'), 'ok': Value('int64')}}}
because column names don't match
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 99, in get_rows_or_raise
return get_rows(
^^^^^^^^^
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 77, in get_rows
rows_plus_one = list(itertools.islice(ds, rows_max_number + 1))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2690, in __iter__
for key, example in ex_iterable:
^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2227, in __iter__
for key, pa_table in self._iter_arrow():
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2251, in _iter_arrow
for key, pa_table in self.ex_iterable._iter_arrow():
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 494, in _iter_arrow
for key, pa_table in iterator:
^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 384, in _iter_arrow
for key, pa_table in self.generate_tables_fn(**gen_kwags):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 299, in _generate_tables
self._cast_table(pa_table, json_field_paths=json_field_paths),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 128, in _cast_table
pa_table = table_cast(pa_table, self.info.features.arrow_schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2321, in table_cast
return cast_table_to_schema(table, schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2249, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
checkpoint: string
tokenizer_path: string
test_data_path: string
config: struct<arch: string, d_model: int64, num_layers: int64, max_len: int64, dropout: double, label_smoot (... 13 chars omitted)
child 0, arch: string
child 1, d_model: int64
child 2, num_layers: int64
child 3, max_len: int64
child 4, dropout: double
child 5, label_smoothing: double
evaluation: struct<device: string, batch_size: int64, num_samples: int64, timestamp: string>
child 0, device: string
child 1, batch_size: int64
child 2, num_samples: int64
child 3, timestamp: string
metrics: struct<loss: double, perplexity: double>
child 0, loss: double
child 1, perplexity: double
edge_type_names: struct<1: string, 2: string, 3: string, 4: string, 5: string, 6: string, 7: string, 8: string, 9: st (... 5 chars omitted)
child 0, 1: string
child 1, 2: string
child 2, 3: string
child 3, 4: string
child 4, 5: string
child 5, 6: string
child 6, 7: string
child 7, 8: string
child 8, 9: string
results: struct<overall: struct<loss: double, total_edges_evaluated: int64, total_graphs: int64, missing_requ (... 1275 chars omitted)
child 0, overall: struct<loss: double, total_edges_evaluated: int64, total_graphs: int64, missing_required_connection_ (... 187 chars omitted)
child 0, loss: double
child 1, total_edges_evaluated: int64
child 2, total_graphs: int64
child 3, missing_required_connection_rate: double
child 4, fast_check_fail_rate: double
chi
...
ion_matrix: list<item: list<item: int64>>
child 0, item: list<item: int64>
child 0, item: int64
child 2, per_class: list<item: struct<class_id: int64, class_name: string, precision: double, recall: double, f1: double (... 51 chars omitted)
child 0, item: struct<class_id: int64, class_name: string, precision: double, recall: double, f1: double, support: (... 39 chars omitted)
child 0, class_id: int64
child 1, class_name: string
child 2, precision: double
child 3, recall: double
child 4, f1: double
child 5, support: int64
child 6, tp: int64
child 7, fp: int64
child 8, fn: int64
child 3, macro_avg: struct<precision: double, recall: double, f1: double, support: int64>
child 0, precision: double
child 1, recall: double
child 2, f1: double
child 3, support: int64
child 4, micro_avg: struct<precision: double, recall: double, f1: double, support: int64>
child 0, precision: double
child 1, recall: double
child 2, f1: double
child 3, support: int64
child 4, stage_breakdown: struct<missing_required: int64, fast_check_fail: int64, ok: int64>
child 0, missing_required: int64
child 1, fast_check_fail: int64
child 2, ok: int64
to
{'checkpoint': Value('string'), 'tokenizer_path': Value('string'), 'test_data_path': Value('string'), 'config': {'arch': Value('string'), 'd_model': Value('int64'), 'hidden': Value('int64'), 'num_layers': Value('int64'), 'num_edge_types': Value('int64'), 'dropout': Value('float64'), 'max_nodes': Value('int64')}, 'evaluation': {'device': Value('string'), 'batch_size': Value('int64'), 'seed': Value('int64'), 'num_samples': Value('int64'), 'num_records': Value('int64'), 'positive_records': Value('int64'), 'negative_records': Value('int64'), 'default_threshold': Value('float64'), 'type_method': Value('string'), 'use_full_candidates': Value('bool'), 'timestamp': Value('string')}, 'edge_type_names': {'1': Value('string'), '2': Value('string'), '3': Value('string'), '4': Value('string'), '5': Value('string'), '6': Value('string'), '7': Value('string'), '8': Value('string'), '9': Value('string')}, 'results': {'overall': {'loss': Value('float64'), 'total_edges_evaluated': Value('int64'), 'total_graphs': Value('int64'), 'missing_required_connection_rate': Value('float64'), 'fast_check_fail_rate': Value('float64'), 'fast_check_fail_reasons': {'blocks_disconnected': Value('int64')}, 'gt_edge_count_mean': Value('float64'), 'over_connect_rate': Value('float64'), 'under_connect_rate': Value('float64')}, 'head1_graph_gate': {'description': Value('string'), 'threshold': Value('float64'), 'tp': Value('int64'), 'fp': Value('int64'), 'fn': Value('int64'), 'tn': Value('int64'), 'precision': Value('float64'), 'recall': Value('float64'), 'f1': Value('float64'), 'accuracy': Value('float64'), 'mcc': Value('float64')}, 'head2_edge_exist': {'description': Value('string'), 'threshold': Value('float64'), 'tp': Value('int64'), 'fp': Value('int64'), 'fn': Value('int64'), 'tn': Value('int64'), 'total': Value('int64'), 'precision': Value('float64'), 'recall': Value('float64'), 'f1': Value('float64'), 'accuracy': Value('float64'), 'mcc': Value('float64')}, 'head3_edge_type': {'description': Value('string'), 'type_given_exist': {'correct': Value('int64'), 'total': Value('int64'), 'accuracy': Value('float64')}, 'pred_edge_count_mean': Value('float64'), 'gt_edge_count_mean': Value('float64'), 'edge_level': {'description': Value('string'), 'confusion_matrix': List(List(Value('int64'))), 'per_class': List({'class_id': Value('int64'), 'class_name': Value('string'), 'precision': Value('float64'), 'recall': Value('float64'), 'f1': Value('float64'), 'support': Value('int64'), 'tp': Value('int64'), 'fp': Value('int64'), 'fn': Value('int64')}), 'macro_avg': {'precision': Value('float64'), 'recall': Value('float64'), 'f1': Value('float64'), 'support': Value('int64')}, 'micro_avg': {'precision': Value('float64'), 'recall': Value('float64'), 'f1': Value('float64'), 'support': Value('int64')}}}, 'stage_breakdown': {'missing_required': Value('int64'), 'fast_check_fail': Value('int64'), 'ok': Value('int64')}}}
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.
PepForge — Figure Reproduction Data
Evaluation data and pre-computed metrics for reproducing all figures in the PepForge manuscript. Used by the visualization notebooks in PepForge.
Overview
| Category | Description | Files | Size |
|---|---|---|---|
| End-to-end evaluation | Cascade vs Flat (5+5 runs × 100K), GPT vs BERT infilling (3 ratios × 5+5 runs), constrained generation (9 scenarios) | 219 | 1.4 GB |
| Per-stage evaluation | Layout (3 archs), Content (4 archs × 3 sizes), Connection (5 archs × 3 sizes) | 75 | 92 MB |
| Prediction evaluation | LLM + GNN (4 archs × 3 sizes × 2 encodings), ensemble comparison | 97 | 1.2 MB |
| Candidate analysis | Screening results from 4.78M novel generated molecules | 4 | 19 MB |
Total size: ~1.5 GB
Data Format
Each experiment directory contains a subset of:
| File | Format | Description |
|---|---|---|
eval_report.json |
JSON | Pre-computed evaluation metrics (validity, uniqueness, novelty, internal diversity, NN distance, per-type statistics). Primary data source for visualization. |
raw.jsonl |
JSONL | Per-molecule generation results (HELM, SMILES, connection types, roundtrip validation). |
candidates.csv |
CSV | Valid molecules with SMILES (subset of raw.jsonl). |
eval_summary.txt |
Text | Human-readable evaluation summary. |
eval_test.json |
JSON | Per-stage model test metrics (loss, accuracy, confusion matrix). |
inference.json |
JSON | Per-stage inference outputs for distribution analysis. |
metrics.json |
JSON | Per-stage training metrics (per-epoch loss / accuracy curves). |
File Structure
pepforge-fig-data/
└── Data/
├── Generation_Model/
│ ├── Layout/{GPT,GRU,LSTM}/ # 3 archs × eval_test + inference + metrics
│ ├── Content/{GPT,GRU,LSTM,BERT}/{SMALL,MEDIUM,LARGE}/
│ ├── Connection/{GAT,GCN,GIN,MPNN,GRAPH_TRANSFORMER}/{SMALL,MEDIUM,LARGE}/
│ └── End2end/
│ ├── Cascade_vs_Flat/ # Main comparison (Fig 3 / S5)
│ │ ├── Cascade/run{1..5}/ # eval_report.json + raw.jsonl + ...
│ │ └── Flat/run{1..5}/
│ ├── GPT_vs_BERT_Infilling/ # Infilling comparison (Fig 3 / S6)
│ │ ├── constraints/ # Pre-sampled constraint files
│ │ └── ratio_{0.3,0.5,0.7}/{GPT,BERT}/run{1..5}/
│ └── Constrained_Generation/{CG1_L,CG2_LC_Cys,CG3_LCC_SS,CG4_LCC_Lanthi,
│ CG5_L_multi,CG6_LCC_multi_Sulfa,CG7_L_filter_SS,
│ CG8_LayoutRange,CG9_PEPonly}/
├── Prediction_Model/
│ ├── HELM/{LLM,GNN}/{arch}/{SMALL,MEDIUM,LARGE}/ # 48 evals
│ ├── SMILES/{LLM,GNN}/{arch}/{SMALL,MEDIUM,LARGE}/ # 48 evals
│ └── Inference/ensemble_comparison.json
└── Candidate_Analysis/
├── eval_report.json # Screening evaluation (NN distance, FP stats)
├── AMP_active.csv # AMP-active candidates (39,891 rows, class 3/4)
└── AMP_hit.csv # Hit set: Active ∧ non_hem ∧ non_tox (799 rows)
The Candidate_Analysis split reflects the rescored library after retraining the AMP ensemble on MIC-only DBAASP data: 4.78M novel → 39,891 active → 799 hit (triple filter). The legacy AMP_active_druglike.csv from the previous release has been replaced by AMP_hit.csv (same column schema, current numbers).
Corresponding Figures
| Figure | Data Source | Notebook |
|---|---|---|
| Fig 3a–f | Generation_Model/End2end/Cascade_vs_Flat/{Cascade,Flat}/run{1..5}/eval_report.json |
Generation_Model/End2end/Cascade_vs_Flat/flat_cascade_multirun.ipynb |
| Fig 3g–i | Generation_Model/End2end/GPT_vs_BERT_Infilling/ratio_*/eval_report.json |
Generation_Model/End2end/GPT_vs_BERT_Infilling/Infilling_Generation.ipynb |
| Fig 4a–b | Prediction_Model/{HELM,SMILES}/{LLM,GNN}/*/*/eval_test.json + Prediction_Model/Inference/ensemble_comparison.json |
Prediction_Model/prediction.ipynb |
| Fig 4c–e | Candidate_Analysis/eval_report.json + Candidate_Analysis/AMP_active.csv + AMP_hit.csv |
Candidate_Analysis/candidate_analysis.ipynb |
| SI: Layout / Content / Connection | Generation_Model/{Layout,Content,Connection}/... |
per-stage notebooks |
| SI: Constrained generation | Generation_Model/End2end/Constrained_Generation/CG*/ |
constrained_generation.ipynb |
Quick Start
# Clone PepForge and download figure data
git clone https://github.com/wqx1999/PepForge.git
cd PepForge
python install.py --download paper # Downloads this dataset
python install.py --download data # Downloads training data (some notebooks need it)
# Run a visualization notebook
cd Paper/Figures/Generation_Model/End2end/Cascade_vs_Flat/
jupyter notebook flat_cascade_multirun.ipynb
Related Resources
- Code + Notebooks: wqx1999/PepForge
- Models: pepforge-model
- Training data: pepforge-training-data
- Generated library: pepforge-generated-data
Citation
@article{wang2026pepforge,
title={PepForge: Hierarchical HELM-Based Peptide Generation},
author={Wang, Qingxin and Süssmuth, Roderich D.},
journal={bioRxiv},
year={2026},
doi={10.64898/2026.05.29.728379},
url={https://www.biorxiv.org/content/10.64898/2026.05.29.728379v1}
}
License
CC-BY-4.0
- Downloads last month
- 342