linfei-mise commited on
Commit
568fcbc
·
1 Parent(s): 15a7b20

Change split from train to test for benchmark evaluation

Browse files
Files changed (3) hide show
  1. README.md +2 -2
  2. ToxiMol.py +2 -2
  3. 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['train']:
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 doesn't have predefined splits, so we use a single split
100
  return [
101
  datasets.SplitGenerator(
102
- name=datasets.Split.TRAIN,
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:84bfe6620db6748f919a42e1582ab16cdf603fd37dbc2f9158bb36e90a86cd19
3
- size 14255
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b75be7e6c53c2229d57a04a750fc772ee4fbc08c36c56f74cfc74cc03ed76d66
3
+ size 14233