Update README.md
Browse files
README.md
CHANGED
|
@@ -6,4 +6,52 @@ configs:
|
|
| 6 |
data_files:
|
| 7 |
- split: train
|
| 8 |
path: "vb-mols-test.parquet"
|
| 9 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
data_files:
|
| 7 |
- split: train
|
| 8 |
path: "vb-mols-test.parquet"
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
[](https://arxiv.org/abs/2503.07014)
|
| 12 |
+
[](https://huggingface.co/xinyulu/vib2mol)
|
| 13 |
+
[](https://huggingface.co/datasets/xinyulu/vibench)
|
| 14 |
+
[](https://doi.org/10.6084/m9.figshare.28579832)
|
| 15 |
+
|
| 16 |
+
# introduction
|
| 17 |
+
This dataset contains the datasets used in our paper, ***Vib2Mol: from vibrational spectra to molecular structures—a versatile deep learning model***.
|
| 18 |
+
The full paper provides more details and is available on [arXiv](https://arxiv.org/abs/2503.07014).<br>
|
| 19 |
+
All datasets are pre-split for training, validation, and testing.
|
| 20 |
+
To reproduce our results, you can find detailed steps, codes, and training logs in our [GitHub repository](https://github.com/X1nyuLu/vib2mol). <br>
|
| 21 |
+
A copy of the full dataset is also available for download on [Figshare](https://figshare.com/articles/dataset/README_md/28579832).
|
| 22 |
+
|
| 23 |
+
# Demonstration
|
| 24 |
+
|
| 25 |
+
For demonstration purposes, this dataset card provides a copy of the **VB-mols test set**.
|
| 26 |
+
Please note that this is a **small demo set**, not the entire dataset used for our research.
|
| 27 |
+
|
| 28 |
+
# How to Use
|
| 29 |
+
|
| 30 |
+
After downloading the datasets, you can use the following Python code to visualize the data.
|
| 31 |
+
|
| 32 |
+
```python
|
| 33 |
+
import lmdb
|
| 34 |
+
import pickle
|
| 35 |
+
import pandas as pd
|
| 36 |
+
from tqdm import tqdm
|
| 37 |
+
|
| 38 |
+
# Open the database
|
| 39 |
+
db = lmdb.open('path/to/lmdb/data', subdir=False, lock=False, map_size=int(1e11))
|
| 40 |
+
|
| 41 |
+
# Load data and convert to DataFrame
|
| 42 |
+
with db.begin() as txn:
|
| 43 |
+
data = list(txn.cursor())
|
| 44 |
+
|
| 45 |
+
df = pd.DataFrame([pickle.loads(item[1]) for item in tqdm(data)])
|
| 46 |
+
|
| 47 |
+
# Now you can work with the DataFrame `df`
|
| 48 |
+
print(df.head())
|
| 49 |
+
```
|
| 50 |
+
|
| 51 |
+
# Acknowledgements
|
| 52 |
+
This work was supported by the National Natural Science Foundation (Grant No: 22227802, 22021001, 22474117 and 22272139) of China and the Fundamental Research Funds for the Central Universities (20720220009 and 20720250005) and Shanghai Innovation Institute.
|
| 53 |
+
|
| 54 |
+
# Contact
|
| 55 |
+
Welcome to contact us or raise issues if you have any questions.
|
| 56 |
+
Email: xinyulu@stu.xmu.edu.cn
|
| 57 |
+
|