mtybilly commited on
Commit
80939da
·
verified ·
1 Parent(s): 9a61c95

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +202 -20
README.md CHANGED
@@ -6,6 +6,7 @@ tags:
6
  - host-guest
7
  - molecular-recognition
8
  - macrocyclic
 
9
  size_categories:
10
  - 100K<n<1M
11
  configs:
@@ -19,20 +20,15 @@ configs:
19
 
20
  # EU-PMC Supramolecular Chemistry Corpus
21
 
22
- A collection of titles and abstracts from Europe PMC for supramolecular chemistry research.
23
- Two splits are provided:
24
 
25
- - **raw** (~420K articles): Unfiltered superset matched by 19 keyword-based search topics on Europe PMC
26
- (supramolecular, host-guest, self-assembly, molecular recognition, cyclodextrin, crown ether,
27
- calixarene, cucurbituril, pillararene, rotaxane, dendrimer, MOF, non-covalent, molecular cage,
28
- inclusion complex, supramolecular polymer, metallosupramolecular, macrocyclic chemistry, and
29
- binding-affinity-host queries). Includes biology/medical contamination from broad MeSH-tag matches.
30
 
31
- - **filtered** (~134K articles): High-precision subset where the title or abstract literally contains
32
- one of ~440 supramolecular-specific keywords (e.g., supramolecular, cyclodextrin, [n]rotaxane,
33
- cucurbit[n]uril, calix[n]arene, pillar[n]arene, MOF, COF, cage, foldamer, etc.). Two-tier negative
34
- filter rejects clear biology contamination (SARS-CoV-2, T-cell, etc.). Suitable for continued
35
- pre-training of language models on supramolecular chemistry domain.
36
 
37
  ## Columns
38
 
@@ -45,19 +41,205 @@ Two splits are provided:
45
  ```python
46
  from datasets import load_dataset
47
 
48
- # High-precision filtered set (recommended for continued pre-training)
49
- ds = load_dataset("SupraBench/EU-PMC", split="filtered")
50
 
51
- # Full superset
52
- ds_raw = load_dataset("SupraBench/EU-PMC", split="raw")
53
  ```
54
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
55
  ## Source
56
 
57
- Articles are sourced from Europe PMC (https://europepmc.org/) under their respective open-access
58
- licenses. See https://europepmc.org/Copyright for the licensing of individual articles.
 
 
 
 
59
 
60
  ## Citation
61
 
62
- The Europe PMC Consortium. Europe PMC: a full-text literature database for the life sciences and
63
- platform for innovation. *Nucleic Acids Research*, 2014.
 
 
 
 
 
6
  - host-guest
7
  - molecular-recognition
8
  - macrocyclic
9
+ - continued-pretraining
10
  size_categories:
11
  - 100K<n<1M
12
  configs:
 
20
 
21
  # EU-PMC Supramolecular Chemistry Corpus
22
 
23
+ A curated collection of titles and abstracts from Europe PMC for supramolecular chemistry
24
+ research, intended for continued pre-training of language models in the chemistry domain.
25
 
26
+ ## Dataset Summary
 
 
 
 
27
 
28
+ | Split | Articles | Description |
29
+ |---|---:|---|
30
+ | **raw** | 420,950 | Unfiltered superset matched by 19 Europe PMC search topics |
31
+ | **filtered** | 133,867 | High-precision subset via tiered keyword filtering |
 
32
 
33
  ## Columns
34
 
 
41
  ```python
42
  from datasets import load_dataset
43
 
44
+ # Recommended for continued pre-training (high precision)
45
+ ds = load_dataset("SupraBench/EU-PMC", split="filtered") # 133,867 articles
46
 
47
+ # Full superset (broader recall, more contamination)
48
+ ds_raw = load_dataset("SupraBench/EU-PMC", split="raw") # 420,950 articles
49
  ```
50
 
51
+ ---
52
+
53
+ ## Construction Pipeline
54
+
55
+ ### Stage 1: Source Collection
56
+
57
+ Articles were collected from **Europe PMC** (https://europepmc.org/), the European mirror of
58
+ PubMed Central, which indexes 40+ million biomedical and life-sciences citations.
59
+
60
+ We harvested the **complete Europe PMC abstracts corpus** (1900-2026, ~225 GB JSON) using the
61
+ REST API search endpoint with cursor-based pagination, organized by publication year.
62
+
63
+ ### Stage 2: Topical Subset Selection (→ raw split)
64
+
65
+ We ran **19 separate Europe PMC search queries**, each targeting a supramolecular chemistry
66
+ sub-topic. Each query was paginated through the REST API (1,000 results per page) and
67
+ deduplicated by PMID across all queries.
68
+
69
+ | Topic | Query |
70
+ |---|---|
71
+ | supramolecular | `supramolecular` |
72
+ | host-guest | `"host-guest" OR "host guest chemistry" OR "host-guest binding"` |
73
+ | self-assembly | `"self-assembly" OR "self assembly" AND (molecular OR supramolecular)` |
74
+ | molecular-recognition | `"molecular recognition"` |
75
+ | cyclodextrin | `cyclodextrin OR cyclodextrins` |
76
+ | crown-ether | `"crown ether" OR "crown ethers"` |
77
+ | calixarene | `calixarene OR calixarenes` |
78
+ | cucurbituril | `cucurbituril OR cucurbiturils` |
79
+ | pillararene | `pillararene OR pillararenes` |
80
+ | rotaxane / catenane | `rotaxane OR rotaxanes OR catenane OR catenanes` |
81
+ | dendrimer | `dendrimer OR dendrimers` |
82
+ | metal-organic-framework | `"metal-organic framework" OR "metal organic framework" OR MOF` |
83
+ | non-covalent | `"non-covalent interaction" OR "noncovalent interaction" OR "supramolecular interaction"` |
84
+ | molecular-cage | `"molecular cage" OR "nanocage" OR "supramolecular cage"` |
85
+ | binding-affinity-host | `"binding affinity" AND (host OR macrocyclic OR supramolecular)` |
86
+ | inclusion-complex | `"inclusion complex" OR "inclusion complexes"` |
87
+ | supramolecular-polymer | `"supramolecular polymer" OR "supramolecular polymers"` |
88
+ | metallosupramolecular | `metallosupramolecular OR metallo-supramolecular` |
89
+ | macrocyclic-chemistry | `"macrocyclic chemistry" OR "macrocycle" OR "macrocycles"` |
90
+
91
+ **Pre-cleaning:** retained only articles with non-empty abstract (length ≥ 50 characters)
92
+ and unique PMID.
93
+
94
+ This stage produces the **raw split** with **420,950 unique articles**.
95
+
96
+ ### Stage 3: Tiered Keyword Filtering (→ filtered split)
97
+
98
+ The raw split contains substantial biology/medical contamination because Europe PMC's search
99
+ matches against **MeSH headings** and **keyword lists** — not just title/abstract text. For
100
+ example, the `binding-affinity-host` query matched ~70K papers about pathogens binding to
101
+ *host cells* rather than supramolecular host-guest chemistry.
102
+
103
+ To produce the high-precision **filtered split**, each article was assigned to one of five
104
+ clusters based on regex matching against its title and abstract.
105
+
106
+ #### Keyword Lists
107
+
108
+ The filter uses three regex patterns compiled from curated keyword lists:
109
+
110
+ **Positive keywords (≈440 terms across 5 sub-lists):** terms that, when matched in title or
111
+ abstract, indicate the article is supramolecular chemistry.
112
+
113
+ - `POSITIVE_TIER1` (~165 core terms): `supramolecular`, `host-guest`, `mechanically interlocked`,
114
+ `[2]rotaxane`/`[3]rotaxane`/etc., `cyclophane`, `cryptand`, `cavitand`, `foldamer`,
115
+ `cyclodextrin`/`β-CD`/`α-CD`/`γ-CD`/`HP-β-CD`/`HPBCD`, `cucurbit[5–10]uril`/`CB[5–10]`,
116
+ `calix[4]arene`/`calix[6]arene`/`calix[8]arene`/`thiacalix`, `resorcinarene`,
117
+ `pillar[5]arene`/`pillar[6]arene`, `crown ether`/`18-crown-6`/`15-crown-5`/etc.,
118
+ `metal-organic framework`/`COF`/`ZIF-8`/`HKUST-1`/`UiO-66`/named MOFs, `inclusion complex`,
119
+ `coordination cage`, `molecular cage`/`molecular capsule`, etc.
120
+ - `EXTENDED_POSITIVE` (~75 terms): qualified self-assembly phrases (`molecular self-assembly`,
121
+ `peptide self-assembly`, `templated self-assembly`, etc.), peptide nanostructures,
122
+ small-molecule gelators, polymer micelles, metallacycles/metallacages, porous organic cages,
123
+ hydrogen-bonded frameworks, fullerene host-guest, daisy chains, sub-component self-assembly.
124
+ - `EXTENDED_POSITIVE_V2` (~70 terms): ionophores (`valinomycin`, `nigericin`), hierarchical
125
+ assembly, polymer self-assembly variants, nanogels, crystal engineering (`supramolecular
126
+ synthon`, `cocrystal`), DNA nanotechnology (`DNA origami`, `G-quadruplex`), discrete
127
+ containers, stimuli-responsive supramolecular, aromatic building blocks (`perylene diimide`,
128
+ `naphthalenediimide`).
129
+ - `EXTENDED_POSITIVE_V3` (~38 terms): bare core terms missing from earlier tiers — `rotaxane`,
130
+ `catenane`, `macrocyclic`, `macrocycle`, `metallacycle`, `metallosupramolecular`, crown
131
+ variants, cyclophane variants, molecular box.
132
+ - `EXTENDED_POSITIVE_V4` (~90 terms): fullerenes (`C60`, `C70`, `buckminsterfullerene`),
133
+ carcerand/hemicarcerand, single-molecule magnets, polyoxometalates, nanographene,
134
+ molecular springs/muscles/ratchets/pumps, aromatic recognition (`cation-π`),
135
+ coordination polymers (1D/2D/3D), specific cage stoichiometries (`M2L4`, `M4L6`,
136
+ `Pd2L4`), boroxine, imine cages, Schiff base macrocycles, chiral self-assembly.
137
+
138
+ **Negative keywords:**
139
+
140
+ - `NEGATIVE_TITLE_HARD` (~140 terms): hard-reject if found in title regardless of other
141
+ signals — `SARS-CoV-2`, `COVID-19`, `T-cell receptor`, `T-cell activation`, `HIV-1
142
+ infection`, `bacterial infection`, `bacterial pathogen`, `Staphylococcus aureus`,
143
+ `gene expression regulation`, `RNA splicing`, `genome-wide association`, `mouse model
144
+ of`, `clinical trial`, `randomized controlled`, etc.
145
+ - `NEGATIVE_TITLE_CONDITIONAL` (~50 terms): reject only if title has no supramolecular
146
+ anchor — `vaccine adjuvant`, `monoclonal antibody`, `cancer cells`, `apoptosis`,
147
+ `gene expression`, `biofilm`, `inflammation`, `diabetes`, etc.
148
+
149
+ #### Cluster Assignment
150
+
151
+ Each article is assigned to exactly one cluster, in priority order:
152
+
153
+ | Cluster | Rule | Action |
154
+ |---|---|---|
155
+ | **A** | Title contains a positive keyword | KEEP |
156
+ | **B** | Abstract contains a positive keyword (and Cluster A didn't fire) | KEEP |
157
+ | **C** | Title contains a hard-reject negative keyword (and Cluster A/B didn't fire) | REJECT |
158
+ | **D** | Title contains a conditional-reject negative keyword and no positive anchor | REJECT |
159
+ | **E** | None of the above | EXCLUDED from filtered split |
160
+
161
+ **Note:** Positive signals override negative signals — a paper titled "Cucurbit[7]uril
162
+ binding in cancer cells" (positive: `cucurbit[7]uril`, negative: `cancer cells`) lands in
163
+ Cluster A and is kept.
164
+
165
+ #### Cluster Distribution
166
+
167
+ | Cluster | Articles | Output |
168
+ |---|---:|---|
169
+ | A — Title positive | 76,281 | filtered split |
170
+ | B — Abstract positive | 57,586 | filtered split |
171
+ | C — Hard reject | 27,481 | dropped |
172
+ | D — Conditional reject | 32,633 | dropped |
173
+ | E — No signal (mostly biology contamination) | 226,969 | excluded |
174
+ | **Total** | **420,950** | — |
175
+ | **filtered split (A + B)** | **133,867** | uploaded |
176
+
177
+ Cluster E contains primarily biology/medical/materials papers that matched a topical search
178
+ via Europe PMC's MeSH-tag indexing but never explicitly mention supramolecular vocabulary
179
+ in their title or abstract. Manual inspection of random samples showed ~85-90% of Cluster E
180
+ is non-supramolecular content (cell biology, microbiology, clinical research, plant
181
+ biology, etc.), so the entire cluster is excluded from the filtered split.
182
+
183
+ ### Stage 4: Output Format
184
+
185
+ Both splits are stored as **Parquet** files with `zstd` compression in the `data/` directory:
186
+
187
+ - `data/raw-NNNNN-of-00009.parquet` — 9 shards, ~50K rows each, 230 MB total
188
+ - `data/filtered-NNNNN-of-00003.parquet` — 3 shards, ~45K rows each, 70 MB total
189
+
190
+ ---
191
+
192
+ ## Quality Notes
193
+
194
+ ### Strengths
195
+
196
+ - **Complete temporal coverage** (1900-2026) — includes historical foundational works
197
+ (e.g., Cram, Pedersen, Lehn) and modern advances
198
+ - **Both open-access and paywalled abstracts** — PMID-keyed dataset captures abstracts
199
+ even for subscription-only journals
200
+ - **High-precision filtered split** — manual sampling showed >85% of Cluster A and >70% of
201
+ Cluster B samples are clearly supramolecular chemistry
202
+ - **Transparent filter rules** — all keywords are documented and reproducible
203
+
204
+ ### Limitations
205
+
206
+ - **No full-text content** — only titles and abstracts are included
207
+ - **No structural data** — molecular structures, binding constants, and figures are not
208
+ extracted (would require full-text mining)
209
+ - **English-only** — Europe PMC primarily indexes English-language abstracts
210
+ - **Filter is title/abstract-bound** — articles that discuss supramolecular concepts using
211
+ uncommon vocabulary may be missed (Cluster E)
212
+ - **Some biochemistry overlap in filtered split** — terms like `supramolecular complex`
213
+ appear in plant photosystem papers; `hierarchical self-assembly` matches some
214
+ collagen/cytoskeleton biochemistry. Estimated false-positive rate in filtered split: ~10-15%.
215
+
216
+ ### Validation
217
+
218
+ Multiple random samples from each cluster were manually inspected. Two examples were
219
+ cross-checked against the original PubMed Central source to confirm the title and abstract
220
+ text matches the published paper:
221
+
222
+ - PMID 36686943: *"Solution- and gas-phase study of binding of ammonium and bisammonium
223
+ hydrocarbons to oxacalix[4]arene carboxylate"* — match confirmed
224
+ - PMID 18690725: *"Ring-opening polymerization of cyclic esters by cyclodextrins"* — match
225
+ confirmed
226
+
227
+ ---
228
+
229
  ## Source
230
 
231
+ Articles are sourced from **Europe PMC** (https://europepmc.org/) under their respective
232
+ open-access or restricted licenses. See https://europepmc.org/Copyright for the licensing
233
+ terms governing individual articles.
234
+
235
+ This corpus is a derived work that includes only article titles, abstracts, and PMIDs.
236
+ Users should consult the original article for full content and licensing.
237
 
238
  ## Citation
239
 
240
+ If you use this dataset, please cite Europe PMC:
241
+
242
+ > The Europe PMC Consortium. Europe PMC: a full-text literature database for the life
243
+ > sciences and platform for innovation. *Nucleic Acids Research*, 2014.
244
+
245
+ And acknowledge the SupraBench / EU-PMC corpus by linking to this dataset.