Add metadata, paper link, GitHub link, and sample usage

#1
by nielsr HF Staff - opened
Files changed (1) hide show
  1. README.md +66 -23
README.md CHANGED
@@ -1,10 +1,17 @@
1
- ## Original Data for ICLR 2026 PepBenchmark: A Standardized Benchmark for Peptide Machine Learning
 
 
 
 
 
 
 
2
 
3
- **Note:**
4
- This repository provides the **raw dataset** collected for PepBenchmark. It is **not** the final dataset used in our paper.
5
- For the processed, machine-learning-ready dataset, please refer to:
6
 
7
- - **PepBenchData (final dataset):** https://huggingface.co/datasets/jiahuizhang/PepBenchData
 
 
8
 
9
  ---
10
 
@@ -12,7 +19,7 @@ For the processed, machine-learning-ready dataset, please refer to:
12
 
13
  We provide two related but distinct datasets:
14
 
15
- ### 1. PepBenchData_raw
16
 
17
  - Contains **raw peptide sequences** collected from various databases and published literature.
18
  - Most samples are **experimentally validated**, ensuring high reliability.
@@ -41,14 +48,41 @@ As a result, **not all negative samples are experimentally validated**.
41
 
42
  ---
43
 
44
- ## Data Sources
45
 
46
- The raw dataset is aggregated from multiple sources, including:
47
 
48
- - Public biological databases
49
- - Published scientific literature
50
 
51
- ![Data Sources](data_source.png)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
52
 
53
  ---
54
 
@@ -57,22 +91,16 @@ The raw dataset is aggregated from multiple sources, including:
57
  ### Classification Tasks
58
 
59
  - `pos.csv`: Experimentally validated **positive samples**
60
- - `neg.csv`: Experimentally validated **negative samples**
61
- *(Note: For many datasets, `neg.csv` is not available.)*
62
- - `pos_filter_id_0.9_cov_f0.9.csv`:
63
- Positive samples after redundancy removal using **MMseqs2**
64
- (identity ≥ 0.9, coverage ≥ 0.9).
65
- This file is used to construct the final **PepBenchData**.
66
-
67
- ![Classification Statistics](cls.png)
68
 
69
- ---
70
 
71
  ### Regression Tasks
72
 
73
- - Contains datasets with continuous labels for peptide-related properties.
74
 
75
- ![Regression Statistics](reg.png)
76
 
77
  ---
78
 
@@ -82,4 +110,19 @@ The raw dataset is aggregated from multiple sources, including:
82
  dataset_name/
83
  ├── pos.csv
84
  ├── neg.csv (optional)
85
- ── pos_filter_id_0.9_cov_f0.9.csv
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ task_categories:
3
+ - text-classification
4
+ tags:
5
+ - biology
6
+ - chemistry
7
+ - peptide-ml
8
+ ---
9
 
10
+ # PepBenchData_raw
 
 
11
 
12
+ This repository provides the **raw dataset** collected for **PepBenchmark: A Standardized Benchmark for Peptide Machine Learning**.
13
+
14
+ [**Paper**](https://huggingface.co/papers/2604.10531) | [**GitHub**](https://github.com/ZGCI-AI4S-Pep/PepBenchmark/) | [**Processed Dataset (PepBenchData)**](https://huggingface.co/datasets/jiahuizhang/PepBenchData)
15
 
16
  ---
17
 
 
19
 
20
  We provide two related but distinct datasets:
21
 
22
+ ### 1. PepBenchData_raw (This Repository)
23
 
24
  - Contains **raw peptide sequences** collected from various databases and published literature.
25
  - Most samples are **experimentally validated**, ensuring high reliability.
 
48
 
49
  ---
50
 
51
+ ## Sample Usage
52
 
53
+ You can use the `pepbenchmark` library to manage and load these datasets. Below is an example of how to load a dataset and its official splits:
54
 
55
+ ```python
56
+ from pepbenchmark.dataset_manager.single_dataset import SinglePeptideDatasetManager
57
 
58
+ # Initialize the manager for a specific task (e.g., ACE inhibitory)
59
+ manager = SinglePeptideDatasetManager(
60
+ "ace_inhibitory",
61
+ official_feature_names=["fasta", "label"],
62
+ dataset_dir="path/to/PepBenchData",
63
+ )
64
+
65
+ # Access sequences and labels
66
+ sequences = manager.get_feature("fasta")
67
+ labels = manager.get_feature("label")
68
+
69
+ # Load official splits
70
+ splits = manager.set_official_split_indices(
71
+ split_type="hybrid_split",
72
+ fold_seed=0
73
+ )
74
+
75
+ print(f"Train samples: {len(splits['train'])}")
76
+ print(f"Test samples: {len(splits['test'])}")
77
+ ```
78
+
79
+ ---
80
+
81
+ ## Data Sources
82
+
83
+ The raw dataset is aggregated from multiple sources, including public biological databases and published scientific literature.
84
+
85
+ ![Data Sources](https://huggingface.co/datasets/jiahuizhang/PepBenchData_raw/resolve/main/data_source.png)
86
 
87
  ---
88
 
 
91
  ### Classification Tasks
92
 
93
  - `pos.csv`: Experimentally validated **positive samples**
94
+ - `neg.csv`: Experimentally validated **negative samples** (Note: For many datasets, `neg.csv` is not available.)
95
+ - `pos_filter_id_0.9_cov_f0.9.csv`: Positive samples after redundancy removal using **MMseqs2** (identity ≥ 0.9, coverage 0.9).
 
 
 
 
 
 
96
 
97
+ ![Classification Statistics](https://huggingface.co/datasets/jiahuizhang/PepBenchData_raw/resolve/main/cls.png)
98
 
99
  ### Regression Tasks
100
 
101
+ Contains datasets with continuous labels for peptide-related properties.
102
 
103
+ ![Regression Statistics](https://huggingface.co/datasets/jiahuizhang/PepBenchData_raw/resolve/main/reg.png)
104
 
105
  ---
106
 
 
110
  dataset_name/
111
  ├── pos.csv
112
  ├── neg.csv (optional)
113
+ ── pos_filter_id_0.9_cov_f0.9.csv
114
+ ```
115
+
116
+ ## Citation
117
+
118
+ If you use PepBenchmark, please cite:
119
+
120
+ ```bibtex
121
+ @inproceedings{zhang2026pepbenchmark,
122
+ title={PepBenchmark: A Standardized Benchmark for Peptide Machine Learning},
123
+ author={Zhang, Jiahui and Wang, Rouyi and Zhou, Kuangqi and Xiao, Tianshu and Zhu, Lingyan and Min, Yaosen and Wang, Yang},
124
+ booktitle={International Conference on Learning Representations (ICLR)},
125
+ year={2026},
126
+ url={https://openreview.net/forum?id=NskQgtSdll}
127
+ }
128
+ ```