Update README.md
Browse files
README.md
CHANGED
@@ -18,4 +18,17 @@ task_categories:
|
|
18 |
- text2text-generation
|
19 |
- translation
|
20 |
task_ids: []
|
21 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
- text2text-generation
|
19 |
- translation
|
20 |
task_ids: []
|
21 |
+
---
|
22 |
+
|
23 |
+
### dataset description
|
24 |
+
We downloaded open-reaction-database(ORD) dataset from [here](https://github.com/open-reaction-database/ord-data). As a preprocess, we removed overlapping data and canonicalized them using RDKit.
|
25 |
+
We used the following function to canonicalize the data and removed some SMILES that cannot be read by RDKit.
|
26 |
+
|
27 |
+
```python:
|
28 |
+
from rdkit import Chem
|
29 |
+
def canonicalize(mol):
|
30 |
+
mol = Chem.MolToSmiles(Chem.MolFromSmiles(mol),True)
|
31 |
+
return mol
|
32 |
+
```
|
33 |
+
|
34 |
+
We randomly split the preprocessed data into train, validation and test. The ratio is 8:1:1.
|