Add pipeline dataset card
Browse files
README.md
CHANGED
|
@@ -1,19 +1,47 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
num_examples: 176225
|
| 12 |
-
download_size: 7071406
|
| 13 |
-
dataset_size: 12014898
|
| 14 |
-
configs:
|
| 15 |
-
- config_name: default
|
| 16 |
-
data_files:
|
| 17 |
-
- split: train
|
| 18 |
-
path: data/train-*
|
| 19 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
license: other
|
| 3 |
+
pretty_name: moses_test_scaffolds
|
| 4 |
+
tags:
|
| 5 |
+
- chemistry
|
| 6 |
+
- molecules
|
| 7 |
+
- graph-generation
|
| 8 |
+
- flow-matching
|
| 9 |
+
size_categories:
|
| 10 |
+
- 1M<n<10M
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
---
|
| 12 |
+
|
| 13 |
+
# nico8771/moses_test_scaffolds — cleaned MOSES (test_scaffolds split)
|
| 14 |
+
|
| 15 |
+
Each row is a molecule as **canonical SMILES** plus RDKit-recomputed targets. MOSES is
|
| 16 |
+
neutral by construction, so molecules are featurized over **7 atom types** with **no
|
| 17 |
+
formal charges**, and **aromatic bonds are kept as their own class** (no kekulization)
|
| 18 |
+
so the model learns aromaticity directly.
|
| 19 |
+
|
| 20 |
+
> Source: official MOSES `test_scaffolds.csv.gz` (molecularsets/moses). Code:
|
| 21 |
+
> <https://github.com/Nico-Conti/flow-matching-molecules> (`dataset/`).
|
| 22 |
+
|
| 23 |
+
## Schema
|
| 24 |
+
|
| 25 |
+
| column | type | description |
|
| 26 |
+
|---|---|---|
|
| 27 |
+
| `smiles` | string | canonical, single-fragment SMILES (post-sanitize) |
|
| 28 |
+
| `y` | list[float] | RDKit targets, columns = `logP`, `qed`, `SAS` |
|
| 29 |
+
|
| 30 |
+
## Pipeline
|
| 31 |
+
|
| 32 |
+
1. **Parse** with RDKit; unparseable dropped.
|
| 33 |
+
2. **Standardize** — remove stereochemistry, sanitize (MOSES is neutral; *no* Uncharger).
|
| 34 |
+
3. **Featurize** over atom vocab (`C`, `N`, `S`, `O`, `F`, `Cl`, `Br`); atoms outside the vocab dropped.
|
| 35 |
+
4. **Round-trip check** — `smiles -> (X, E) -> mol -> smiles`, aromatic bonds preserved.
|
| 36 |
+
|
| 37 |
+
Bonds use 5 classes (none / single / double / triple / aromatic).
|
| 38 |
+
Targets (`logP`, `qed`, `SAS`) are recomputed from the sanitized SMILES with RDKit.
|
| 39 |
+
|
| 40 |
+
### Drop / keep counts (this build)
|
| 41 |
+
|
| 42 |
+
| outcome | count |
|
| 43 |
+
|---|---|
|
| 44 |
+
| `kept` | 155,697 |
|
| 45 |
+
| `kept_no_roundtrip` | 20,528 |
|
| 46 |
+
|
| 47 |
+
Kept: **176,225** molecules.
|