nico8771 commited on
Commit
e0467d4
·
verified ·
1 Parent(s): ae88f05

Add pipeline dataset card

Browse files
Files changed (1) hide show
  1. README.md +45 -17
README.md CHANGED
@@ -1,19 +1,47 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: smiles
5
- dtype: string
6
- - name: y
7
- list: float64
8
- splits:
9
- - name: train
10
- num_bytes: 17863997
11
- num_examples: 247449
12
- download_size: 11373798
13
- dataset_size: 17863997
14
- configs:
15
- - config_name: default
16
- data_files:
17
- - split: train
18
- path: data/train-*
19
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: other
3
+ pretty_name: zinc_clean
4
+ tags:
5
+ - chemistry
6
+ - molecules
7
+ - graph-generation
8
+ - flow-matching
9
+ size_categories:
10
+ - 100K<n<1M
 
 
 
 
 
 
 
 
11
  ---
12
+
13
+ # nico8771/zinc_clean — cleaned ZINC-250k
14
+
15
+ Each row is a molecule as **canonical SMILES** plus RDKit-recomputed targets. Charged
16
+ groups (`N+`/`O-`) are preserved.
17
+
18
+ > Source: torch_molecule ZINC-250k (HuggingFace). Code:
19
+ > <https://github.com/Nico-Conti/flow-matching-molecules> (`dataset/`).
20
+
21
+ ## Schema
22
+
23
+ | column | type | description |
24
+ |---|---|---|
25
+ | `smiles` | string | canonical, kekulizable, single-fragment SMILES (post-sanitize) |
26
+ | `y` | list[float] | RDKit targets, columns = `logP`, `qed`, `SAS` |
27
+
28
+ ## Pipeline
29
+
30
+ 1. **Parse** with RDKit; unparseable dropped.
31
+ 2. **Standardize** — remove stereochemistry, sanitize (charges preserved; `N+`/`O-` kept).
32
+ 3. **Kekulize** over atom vocab (`C`, `N`, `O`, `F`, `P`, `S`, `Cl`, `Br`, `I`, `N+`, `O-`); atoms outside the vocab dropped.
33
+ 4. **Round-trip check** — `smiles -> (X, E) -> mol -> smiles` must reproduce the
34
+ canonical molecule as a single fragment (**filter applied**).
35
+
36
+ Bonds use 4 classes (none / single / double / triple). Targets
37
+ (`logP`, `qed`, `SAS`) are recomputed from the canonical SMILES with RDKit.
38
+
39
+ ### Drop / keep counts (this build)
40
+
41
+ | outcome | count |
42
+ |---|---|
43
+ | `drop_roundtrip` | 1 |
44
+ | `drop_vocab` | 2,005 |
45
+ | `kept` | 247,449 |
46
+
47
+ Kept: **247,449** molecules.