linfei-mise commited on
Commit ·
568fcbc
1
Parent(s): 15a7b20
Change split from train to test for benchmark evaluation
Browse files- README.md +2 -2
- ToxiMol.py +2 -2
- dataset_infos.json +2 -2
README.md
CHANGED
|
@@ -69,7 +69,7 @@ ames_dataset = load_dataset("treasurels/ToxiMol-benchmark", "ames")
|
|
| 69 |
tox21_dataset = load_dataset("treasurels/ToxiMol-benchmark", "tox21")
|
| 70 |
|
| 71 |
# Access the data
|
| 72 |
-
for example in ames_dataset['
|
| 73 |
print(f"Task: {example['task']}")
|
| 74 |
print(f"ID: {example['id']}")
|
| 75 |
print(f"SMILES: {example['smiles']}")
|
|
@@ -132,4 +132,4 @@ This work contributes to the intersection of:
|
|
| 132 |
- **Multimodal Large Language Models** in scientific domains
|
| 133 |
- **Molecular toxicity prediction** and **ADMET modeling**
|
| 134 |
- **Structure-based drug design** and **molecular optimization**
|
| 135 |
-
- **Automated evaluation frameworks** for molecular generation tasks
|
|
|
|
| 69 |
tox21_dataset = load_dataset("treasurels/ToxiMol-benchmark", "tox21")
|
| 70 |
|
| 71 |
# Access the data
|
| 72 |
+
for example in ames_dataset['test']:
|
| 73 |
print(f"Task: {example['task']}")
|
| 74 |
print(f"ID: {example['id']}")
|
| 75 |
print(f"SMILES: {example['smiles']}")
|
|
|
|
| 132 |
- **Multimodal Large Language Models** in scientific domains
|
| 133 |
- **Molecular toxicity prediction** and **ADMET modeling**
|
| 134 |
- **Structure-based drug design** and **molecular optimization**
|
| 135 |
+
- **Automated evaluation frameworks** for molecular generation tasks
|
ToxiMol.py
CHANGED
|
@@ -96,10 +96,10 @@ class ToxiMol(datasets.GeneratorBasedBuilder):
|
|
| 96 |
|
| 97 |
def _split_generators(self, dl_manager):
|
| 98 |
"""Returns SplitGenerators."""
|
| 99 |
-
# This dataset
|
| 100 |
return [
|
| 101 |
datasets.SplitGenerator(
|
| 102 |
-
name=datasets.Split.
|
| 103 |
gen_kwargs={"subdataset": self.config.name},
|
| 104 |
),
|
| 105 |
]
|
|
|
|
| 96 |
|
| 97 |
def _split_generators(self, dl_manager):
|
| 98 |
"""Returns SplitGenerators."""
|
| 99 |
+
# This dataset is for benchmark evaluation, so we use test split
|
| 100 |
return [
|
| 101 |
datasets.SplitGenerator(
|
| 102 |
+
name=datasets.Split.TEST,
|
| 103 |
gen_kwargs={"subdataset": self.config.name},
|
| 104 |
),
|
| 105 |
]
|
dataset_infos.json
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b75be7e6c53c2229d57a04a750fc772ee4fbc08c36c56f74cfc74cc03ed76d66
|
| 3 |
+
size 14233
|