Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,103 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
task_categories:
|
| 4 |
+
- other
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
tags:
|
| 8 |
+
- chemistry
|
| 9 |
+
- nmr
|
| 10 |
+
- spectroscopy
|
| 11 |
+
- experimental
|
| 12 |
+
- molecular-formula
|
| 13 |
+
- smiles
|
| 14 |
+
size_categories:
|
| 15 |
+
- 100K<n<1M
|
| 16 |
+
---
|
| 17 |
+
|
| 18 |
+
# OpenDataLab Experimental NMR Peaks Dataset
|
| 19 |
+
|
| 20 |
+
## Dataset Description
|
| 21 |
+
|
| 22 |
+
This dataset contains experimental NMR (Nuclear Magnetic Resonance) peak sequences extracted from the OpenDataLab experimental spectra database. The dataset includes both H-NMR and C-NMR peak sequences for chemical compounds, along with their SMILES representations and molecular formulas.
|
| 23 |
+
|
| 24 |
+
### Dataset Summary
|
| 25 |
+
|
| 26 |
+
- **Total Samples**: 533,595 compounds
|
| 27 |
+
- **Batches**: 333 batch files
|
| 28 |
+
- **Data Source**: Experimental spectra from OpenDataLab
|
| 29 |
+
- **Format**: Parquet files (one file per batch)
|
| 30 |
+
|
| 31 |
+
### Data Fields
|
| 32 |
+
|
| 33 |
+
Each sample contains the following fields:
|
| 34 |
+
|
| 35 |
+
- `smiles`: Standardized SMILES string representation of the molecule
|
| 36 |
+
- `molecular_formula`: Molecular formula (e.g., "C9H12O6")
|
| 37 |
+
- `h_nmr_peaks_sequence`: Space-separated H-NMR peak positions (2 decimal places)
|
| 38 |
+
- Empty string if H-NMR data is not available
|
| 39 |
+
- `c_nmr_peaks_sequence`: Space-separated C-NMR peak positions (2 decimal places)
|
| 40 |
+
- Empty string if C-NMR data is not available
|
| 41 |
+
- `source`: Data source identifier, always "experimental" for this dataset
|
| 42 |
+
|
| 43 |
+
### Data Structure
|
| 44 |
+
|
| 45 |
+
The dataset is organized into 333 parquet files, each corresponding to a batch:
|
| 46 |
+
- `batch_0000_peaks.parquet`
|
| 47 |
+
- `batch_0001_peaks.parquet`
|
| 48 |
+
- ...
|
| 49 |
+
- `batch_0332_peaks.parquet`
|
| 50 |
+
|
| 51 |
+
### Usage
|
| 52 |
+
|
| 53 |
+
```python
|
| 54 |
+
from datasets import load_dataset
|
| 55 |
+
|
| 56 |
+
# Load the dataset
|
| 57 |
+
dataset = load_dataset("SpectrumWorld/opendatalab-experimental-nmr-peaks", split="train")
|
| 58 |
+
|
| 59 |
+
# Access a sample
|
| 60 |
+
sample = dataset[0]
|
| 61 |
+
print(sample)
|
| 62 |
+
# {
|
| 63 |
+
# 'smiles': 'O=CC1(O)CC(O)(C=O)CC(O)(C=O)C1',
|
| 64 |
+
# 'molecular_formula': 'C9H12O6',
|
| 65 |
+
# 'h_nmr_peaks_sequence': '9.96 9.96 9.96',
|
| 66 |
+
# 'c_nmr_peaks_sequence': '',
|
| 67 |
+
# 'source': 'experimental'
|
| 68 |
+
# }
|
| 69 |
+
```
|
| 70 |
+
|
| 71 |
+
### Dataset Statistics
|
| 72 |
+
|
| 73 |
+
- **Total compounds**: 533,595
|
| 74 |
+
- **Average per batch**: ~1,602 compounds
|
| 75 |
+
- **Batch size range**: 545 - 3,170 compounds
|
| 76 |
+
- **H-NMR data availability**: Most samples have H-NMR data
|
| 77 |
+
- **C-NMR data availability**: Some samples have C-NMR data
|
| 78 |
+
|
| 79 |
+
### Data Processing
|
| 80 |
+
|
| 81 |
+
The dataset was processed from the original experimental spectra data:
|
| 82 |
+
1. Extracted NMR peak sequences from parsed chemical shift data
|
| 83 |
+
2. Calculated molecular formulas from SMILES using RDKit
|
| 84 |
+
3. Formatted peak sequences to 2 decimal places
|
| 85 |
+
4. Added source identifier for data provenance
|
| 86 |
+
|
| 87 |
+
### Citation
|
| 88 |
+
|
| 89 |
+
If you use this dataset, please cite:
|
| 90 |
+
|
| 91 |
+
```bibtex
|
| 92 |
+
@dataset{opendatalab_experimental_nmr_peaks,
|
| 93 |
+
title={OpenDataLab Experimental NMR Peaks Dataset},
|
| 94 |
+
author={SpectrumWorld},
|
| 95 |
+
year={2024},
|
| 96 |
+
url={https://huggingface.co/datasets/SpectrumWorld/opendatalab-experimental-nmr-peaks}
|
| 97 |
+
}
|
| 98 |
+
```
|
| 99 |
+
|
| 100 |
+
### License
|
| 101 |
+
|
| 102 |
+
This dataset is released under the MIT License.
|
| 103 |
+
|