aryopg commited on
Commit
11ff6b8
1 Parent(s): a6869dd

Upload 45 files

Browse files
BindingDB_filtered/.DS_Store ADDED
Binary file (6.15 kB). View file
 
BindingDB_filtered/data.csv CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:724dc1c93b1cc7c98f8662be27c900852f8e274ce4c6ae6df95ef02adf6689c1
3
- size 19595981
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d0f8691a96876f09766e574c5600df55f0d0b1c11cfd1705faf841d924f89f20
3
+ size 19595446
BindingDB_filtered/train/dataset_info.json CHANGED
@@ -7,11 +7,11 @@
7
  "description": "",
8
  "download_checksums": {
9
  "/Users/aryopg/Documents/school/BALM-benchmark/./BindingDB_filtered/data.csv": {
10
- "num_bytes": 19595981,
11
  "checksum": null
12
  }
13
  },
14
- "download_size": 19595981,
15
  "features": {
16
  "Index": {
17
  "dtype": "int64",
@@ -40,7 +40,7 @@
40
  },
41
  "homepage": "",
42
  "license": "",
43
- "size_in_bytes": 39163103,
44
  "splits": {
45
  "train": {
46
  "name": "train",
 
7
  "description": "",
8
  "download_checksums": {
9
  "/Users/aryopg/Documents/school/BALM-benchmark/./BindingDB_filtered/data.csv": {
10
+ "num_bytes": 19595446,
11
  "checksum": null
12
  }
13
  },
14
+ "download_size": 19595446,
15
  "features": {
16
  "Index": {
17
  "dtype": "int64",
 
40
  },
41
  "homepage": "",
42
  "license": "",
43
+ "size_in_bytes": 39162568,
44
  "splits": {
45
  "train": {
46
  "name": "train",
BindingDB_filtered/train/state.json CHANGED
@@ -4,7 +4,7 @@
4
  "filename": "data-00000-of-00001.arrow"
5
  }
6
  ],
7
- "_fingerprint": "765430ff6f250851",
8
  "_format_columns": null,
9
  "_format_kwargs": {},
10
  "_format_type": null,
 
4
  "filename": "data-00000-of-00001.arrow"
5
  }
6
  ],
7
+ "_fingerprint": "8ea2da55f109634f",
8
  "_format_columns": null,
9
  "_format_kwargs": {},
10
  "_format_type": null,
CATS/train/state.json CHANGED
@@ -4,7 +4,7 @@
4
  "filename": "data-00000-of-00001.arrow"
5
  }
6
  ],
7
- "_fingerprint": "e87f6abd6563cfbd",
8
  "_format_columns": null,
9
  "_format_kwargs": {},
10
  "_format_type": null,
 
4
  "filename": "data-00000-of-00001.arrow"
5
  }
6
  ],
7
+ "_fingerprint": "bd2c73d46dafe08b",
8
  "_format_columns": null,
9
  "_format_kwargs": {},
10
  "_format_type": null,
HIF2A/train/state.json CHANGED
@@ -4,7 +4,7 @@
4
  "filename": "data-00000-of-00001.arrow"
5
  }
6
  ],
7
- "_fingerprint": "04deae323b874de9",
8
  "_format_columns": null,
9
  "_format_kwargs": {},
10
  "_format_type": null,
 
4
  "filename": "data-00000-of-00001.arrow"
5
  }
6
  ],
7
+ "_fingerprint": "9132f6afd5525c48",
8
  "_format_columns": null,
9
  "_format_kwargs": {},
10
  "_format_type": null,
HSP90/.DS_Store ADDED
Binary file (6.15 kB). View file
 
HSP90/data.csv CHANGED
The diff for this file is too large to render. See raw diff
 
HSP90/train/data-00000-of-00001.arrow CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:da662972b79300eecfa5b1c9ceff65a001d858909f7df9d8975cf3d99276bf58
3
- size 143944
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:78a809fc0efe6069c6d0e4b256f53fc2dd6b7e581353b81997860380483e3fca
3
+ size 157408
HSP90/train/dataset_info.json CHANGED
@@ -3,41 +3,45 @@
3
  "citation": "",
4
  "config_name": "default",
5
  "dataset_name": "csv",
6
- "dataset_size": 143051,
7
  "description": "",
8
  "download_checksums": {
9
  "/Users/aryopg/Documents/school/BALM-benchmark/./HSP90/data.csv": {
10
- "num_bytes": 140081,
11
  "checksum": null
12
  }
13
  },
14
- "download_size": 140081,
15
  "features": {
16
  "Index": {
17
- "dtype": "int64",
18
- "_type": "Value"
19
- },
20
- "Y": {
21
- "dtype": "int64",
22
  "_type": "Value"
23
  },
24
  "Drug": {
25
  "dtype": "string",
26
  "_type": "Value"
27
  },
 
 
 
 
28
  "Target": {
29
  "dtype": "string",
30
  "_type": "Value"
 
 
 
 
31
  }
32
  },
33
  "homepage": "",
34
  "license": "",
35
- "size_in_bytes": 283132,
36
  "splits": {
37
  "train": {
38
  "name": "train",
39
- "num_bytes": 143051,
40
- "num_examples": 180,
41
  "dataset_name": "csv"
42
  }
43
  },
 
3
  "citation": "",
4
  "config_name": "default",
5
  "dataset_name": "csv",
6
+ "dataset_size": 156354,
7
  "description": "",
8
  "download_checksums": {
9
  "/Users/aryopg/Documents/school/BALM-benchmark/./HSP90/data.csv": {
10
+ "num_bytes": 156282,
11
  "checksum": null
12
  }
13
  },
14
+ "download_size": 156282,
15
  "features": {
16
  "Index": {
17
+ "dtype": "string",
 
 
 
 
18
  "_type": "Value"
19
  },
20
  "Drug": {
21
  "dtype": "string",
22
  "_type": "Value"
23
  },
24
+ "IC50 (nM)": {
25
+ "dtype": "float64",
26
+ "_type": "Value"
27
+ },
28
  "Target": {
29
  "dtype": "string",
30
  "_type": "Value"
31
+ },
32
+ "Y": {
33
+ "dtype": "float64",
34
+ "_type": "Value"
35
  }
36
  },
37
  "homepage": "",
38
  "license": "",
39
+ "size_in_bytes": 312636,
40
  "splits": {
41
  "train": {
42
  "name": "train",
43
+ "num_bytes": 156354,
44
+ "num_examples": 192,
45
  "dataset_name": "csv"
46
  }
47
  },
HSP90/train/state.json CHANGED
@@ -4,7 +4,7 @@
4
  "filename": "data-00000-of-00001.arrow"
5
  }
6
  ],
7
- "_fingerprint": "53daa23b5802002b",
8
  "_format_columns": null,
9
  "_format_kwargs": {},
10
  "_format_type": null,
 
4
  "filename": "data-00000-of-00001.arrow"
5
  }
6
  ],
7
+ "_fingerprint": "c934a957821bca66",
8
  "_format_columns": null,
9
  "_format_kwargs": {},
10
  "_format_type": null,
LeakyPDB/train/state.json CHANGED
@@ -4,7 +4,7 @@
4
  "filename": "data-00000-of-00001.arrow"
5
  }
6
  ],
7
- "_fingerprint": "0f32f1188fc7aa86",
8
  "_format_columns": null,
9
  "_format_kwargs": {},
10
  "_format_type": null,
 
4
  "filename": "data-00000-of-00001.arrow"
5
  }
6
  ],
7
+ "_fingerprint": "3a1d36a9999cc374",
8
  "_format_columns": null,
9
  "_format_kwargs": {},
10
  "_format_type": null,
MCL1/train/state.json CHANGED
@@ -4,7 +4,7 @@
4
  "filename": "data-00000-of-00001.arrow"
5
  }
6
  ],
7
- "_fingerprint": "56afff6d8815d904",
8
  "_format_columns": null,
9
  "_format_kwargs": {},
10
  "_format_type": null,
 
4
  "filename": "data-00000-of-00001.arrow"
5
  }
6
  ],
7
+ "_fingerprint": "7b70c098fb3d71e3",
8
  "_format_columns": null,
9
  "_format_kwargs": {},
10
  "_format_type": null,
Mpro/train/state.json CHANGED
@@ -4,7 +4,7 @@
4
  "filename": "data-00000-of-00001.arrow"
5
  }
6
  ],
7
- "_fingerprint": "6bc4bc41f892d666",
8
  "_format_columns": null,
9
  "_format_kwargs": {},
10
  "_format_type": null,
 
4
  "filename": "data-00000-of-00001.arrow"
5
  }
6
  ],
7
+ "_fingerprint": "5dde51d52f7a4c07",
8
  "_format_columns": null,
9
  "_format_kwargs": {},
10
  "_format_type": null,
README.md CHANGED
@@ -1,152 +1,205 @@
1
- ---
2
- dataset_info:
3
- - config_name: bindingdb_filtered
4
- features:
5
- - name: Index
6
- dtype: string
7
- - name: Drug_ID
8
- dtype: string
9
- - name: Drug
10
- dtype: string
11
- - name: Target_ID
12
- dtype: string
13
- - name: Target
14
- dtype: string
15
- - name: 'Y'
16
- dtype: float32
17
- splits:
18
- - name: train
19
- num_examples: 24700
20
- - config_name: CATS
21
- features:
22
- - name: Index
23
- dtype: string
24
- - name: Compound ID
25
- dtype: string
26
- - name: Drug
27
- dtype: string
28
- - name: IC50
29
- dtype: float32
30
- - name: Target
31
- dtype: string
32
- - name: 'Y'
33
- dtype: float32
34
- splits:
35
- - name: train
36
- num_examples: 136
37
- - config_name: HSP9
38
- features:
39
- - name: Index
40
- dtype: string
41
- - name: 'Y'
42
- dtype: float32
43
- - name: Drug
44
- dtype: string
45
- - name: Target
46
- dtype: string
47
- splits:
48
- - name: train
49
- num_examples: 180
50
- - config_name: leakypdb
51
- features:
52
- - name: Index
53
- dtype: string
54
- - name: header
55
- dtype: string
56
- - name: smiles
57
- dtype: string
58
- - name: category
59
- dtype: string
60
- - name: seq
61
- dtype: string
62
- - name: resolution
63
- dtype: float32
64
- - name: date
65
- dtype: string
66
- - name: type
67
- dtype: string
68
- - name: new_split
69
- dtype: string
70
- - name: CL1
71
- dtype: bool
72
- - name: CL2
73
- dtype: bool
74
- - name: CL3
75
- dtype: bool
76
- - name: remove_for_balancing_val
77
- dtype: bool
78
- - name: kd/ki
79
- dtype: string
80
- - name: value
81
- dtype: float32
82
- - name: covalent
83
- dtype: bool
84
- splits:
85
- - name: train
86
- num_examples: 19443
87
- - config_name: Mpro
88
- features:
89
- - name: Index
90
- dtype: string
91
- - name: Drug
92
- dtype: string
93
- - name: 'Y'
94
- dtype: float32
95
- - name: Target
96
- dtype: string
97
- splits:
98
- - name: train
99
- num_examples: 2749
100
- configs:
101
- - config_name: bindingdb_filtered
102
- data_files:
103
- - split: train
104
- path: bindingdb_filtered/train/data-*
105
- - config_name: CATS
106
- data_files:
107
- - split: train
108
- path: CATS/train/data-*
109
- - config_name: HSP9
110
- data_files:
111
- - split: train
112
- path: HSP9/train/data-*
113
- - config_name: leakypdb
114
- data_files:
115
- - split: train
116
- path: leakypdb/train/data-*
117
- - config_name: Mpro
118
- data_files:
119
- - split: train
120
- path: Mpro/train/data-*
121
- license: cc-by-4.0
122
- pretty_name: BALM-Benchmark
123
- tags:
124
- - chemistry
125
- - biology
126
- size_categories:
127
- - 10K<n<100K
128
- ---
129
-
130
- # Dataset Card for BALM-Benchmark
131
-
132
- <!-- Provide a quick summary of the dataset. -->
133
-
134
- ## Dataset Details
135
-
136
- ### Dataset Description
137
-
138
- ## Citation
139
-
140
- <!-- If there is a paper or blog post introducing the dataset, the APA and Bibtex information for that should go in this section. -->
141
-
142
- **BibTeX:**
143
-
144
- ```
145
-
146
- ```
147
-
148
- ## Dataset Card Contact
149
-
150
- - Rohan Gorantla (rohan.gorantla@ed.ac.uk)
151
- - Aryo Pradipta Gema (aryo.gema@ed.ac.uk)
152
- - Antonia Mey (antonia.mey@ed.ac.uk)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ dataset_info:
3
+ - config_name: BindingDB_filtered
4
+ features:
5
+ - name: Index
6
+ dtype: string
7
+ - name: Drug_ID
8
+ dtype: string
9
+ - name: Drug
10
+ dtype: string
11
+ - name: Target_ID
12
+ dtype: string
13
+ - name: Target
14
+ dtype: string
15
+ - name: Y
16
+ dtype: float32
17
+ splits:
18
+ - name: train
19
+ num_examples: 24700
20
+ - config_name: CATS
21
+ features:
22
+ - name: Index
23
+ dtype: string
24
+ - name: Compound ID
25
+ dtype: string
26
+ - name: Drug
27
+ dtype: string
28
+ - name: IC50
29
+ dtype: float32
30
+ - name: Target
31
+ dtype: string
32
+ - name: Y
33
+ dtype: float32
34
+ splits:
35
+ - name: train
36
+ num_examples: 136
37
+ - config_name: HIF2A
38
+ features:
39
+ - name: Index
40
+ dtype: string
41
+ - name: Y
42
+ dtype: float32
43
+ - name: Drug
44
+ dtype: string
45
+ - name: Target
46
+ dtype: string
47
+ splits:
48
+ - name: train
49
+ num_examples: 37
50
+ - config_name: HSP90
51
+ features:
52
+ - name: Index
53
+ dtype: string
54
+ - name: Drug
55
+ dtype: string
56
+ - name: IC50 (nM)
57
+ dtype: float32
58
+ - name: Target
59
+ dtype: string
60
+ - name: Y
61
+ dtype: float32
62
+ splits:
63
+ - name: train
64
+ num_examples: 192
65
+ - config_name: LeakyPDB
66
+ features:
67
+ - name: Index
68
+ dtype: string
69
+ - name: header
70
+ dtype: string
71
+ - name: smiles
72
+ dtype: string
73
+ - name: category
74
+ dtype: string
75
+ - name: seq
76
+ dtype: string
77
+ - name: resolution
78
+ dtype: float32
79
+ - name: date
80
+ dtype: string
81
+ - name: type
82
+ dtype: string
83
+ - name: new_split
84
+ dtype: string
85
+ - name: CL1
86
+ dtype: bool
87
+ - name: CL2
88
+ dtype: bool
89
+ - name: CL3
90
+ dtype: bool
91
+ - name: remove_for_balancing_val
92
+ dtype: bool
93
+ - name: kd/ki
94
+ dtype: string
95
+ - name: value
96
+ dtype: float32
97
+ - name: covalent
98
+ dtype: bool
99
+ splits:
100
+ - name: train
101
+ num_examples: 19443
102
+ - config_name: MCL1
103
+ features:
104
+ - name: Index
105
+ dtype: string
106
+ - name: Y
107
+ dtype: float32
108
+ - name: Drug
109
+ dtype: string
110
+ - name: Target
111
+ dtype: string
112
+ splits:
113
+ - name: train
114
+ num_examples: 25
115
+ - config_name: Mpro
116
+ features:
117
+ - name: Index
118
+ dtype: string
119
+ - name: Drug
120
+ dtype: string
121
+ - name: Y
122
+ dtype: float32
123
+ - name: Target
124
+ dtype: string
125
+ splits:
126
+ - name: train
127
+ num_examples: 2749
128
+ - config_name: SYK
129
+ features:
130
+ - name: Index
131
+ dtype: string
132
+ - name: Y
133
+ dtype: float32
134
+ - name: Drug
135
+ dtype: string
136
+ - name: Target
137
+ dtype: string
138
+ splits:
139
+ - name: train
140
+ num_examples: 44
141
+ configs:
142
+ - config_name: BindingDB_filtered
143
+ data_files:
144
+ - split: train
145
+ path: BindingDB_filtered/train/data-*
146
+ - config_name: CATS
147
+ data_files:
148
+ - split: train
149
+ path: CATS/train/data-*
150
+ - config_name: HIF2A
151
+ data_files:
152
+ - split: train
153
+ path: HIF2A/train/data-*
154
+ - config_name: HSP90
155
+ data_files:
156
+ - split: train
157
+ path: HSP90/train/data-*
158
+ - config_name: LeakyPDB
159
+ data_files:
160
+ - split: train
161
+ path: LeakyPDB/train/data-*
162
+ - config_name: MCL1
163
+ data_files:
164
+ - split: train
165
+ path: MCL1/train/data-*
166
+ - config_name: Mpro
167
+ data_files:
168
+ - split: train
169
+ path: Mpro/train/data-*
170
+ - config_name: SYK
171
+ data_files:
172
+ - split: train
173
+ path: SYK/train/data-*
174
+ license: cc-by-4.0
175
+ pretty_name: BALM-Benchmark
176
+ tags:
177
+ - chemistry
178
+ - biology
179
+ size_categories:
180
+ - 10K<n<100K
181
+ ---
182
+
183
+ # Dataset Card for BALM-Benchmark
184
+
185
+ <!-- Provide a quick summary of the dataset. -->
186
+
187
+ ## Dataset Details
188
+
189
+ ### Dataset Description
190
+
191
+ ## Citation
192
+
193
+ <!-- If there is a paper or blog post introducing the dataset, the APA and Bibtex information for that should go in this section. -->
194
+
195
+ **BibTeX:**
196
+
197
+ ```
198
+
199
+ ```
200
+
201
+ ## Dataset Card Contact
202
+
203
+ - Rohan Gorantla (rohan.gorantla@ed.ac.uk)
204
+ - Aryo Pradipta Gema (aryo.gema@ed.ac.uk)
205
+ - Antonia Mey ()
SYK/train/state.json CHANGED
@@ -4,7 +4,7 @@
4
  "filename": "data-00000-of-00001.arrow"
5
  }
6
  ],
7
- "_fingerprint": "bfdea1926fb3b980",
8
  "_format_columns": null,
9
  "_format_kwargs": {},
10
  "_format_type": null,
 
4
  "filename": "data-00000-of-00001.arrow"
5
  }
6
  ],
7
+ "_fingerprint": "3699086d45fd9258",
8
  "_format_columns": null,
9
  "_format_kwargs": {},
10
  "_format_type": null,
convert_csv_to_hf_dataset.py CHANGED
@@ -22,8 +22,8 @@ def main():
22
  # Add Index column, make sure it's the left most column
23
  if "Index" not in df.columns:
24
  df["Index"] = df.index
25
- df = df[["Index"] + [col for col in df.columns if col != "Index"]]
26
- df.to_csv(filepath, index=False)
27
 
28
  dataset = load_dataset("csv", data_files=filepath, delimiter=",")
29
  print(dataset)
 
22
  # Add Index column, make sure it's the left most column
23
  if "Index" not in df.columns:
24
  df["Index"] = df.index
25
+ df = df[["Index"] + [col for col in df.columns if col != "Index"]]
26
+ df.to_csv(filepath, index=False)
27
 
28
  dataset = load_dataset("csv", data_files=filepath, delimiter=",")
29
  print(dataset)