Datasets:
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
task_categories:
|
| 4 |
+
- text-generation
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
tags:
|
| 8 |
+
- molecules
|
| 9 |
+
- chemistry
|
| 10 |
+
- pretraining
|
| 11 |
+
- graph-llm
|
| 12 |
+
- smiles
|
| 13 |
+
pretty_name: DQFormer Encoder Pretraining Data
|
| 14 |
+
size_categories:
|
| 15 |
+
- 10M<n<100M
|
| 16 |
+
---
|
| 17 |
+
|
| 18 |
+
# DQFormer Encoder Pretraining Data
|
| 19 |
+
|
| 20 |
+
Pretraining corpus for the **EDT-Former** Stage 1 encoder (DQ-Former), as described in the ICLR 2026 paper:
|
| 21 |
+
|
| 22 |
+
> **Entropy-Guided Dynamic Tokens for Graph-LLM Alignment in Molecular Understanding**
|
| 23 |
+
> Zihao Jing, Qiuhao Zeng, Ruiyi Fang, Yan Sun, Boyu Wang, Pingzhao Hu
|
| 24 |
+
> *ICLR 2026* · [Paper](https://www.arxiv.org/abs/2602.02742) · [Code](https://github.com/selmiss/DQ-Former)
|
| 25 |
+
|
| 26 |
+
## Dataset Description
|
| 27 |
+
|
| 28 |
+
This dataset is used to train the Stage 1 DQ-Former encoder, which learns to align molecular graph representations with text. It is derived from PubChem molecules annotated with BRICS fragment IDs and entropy-guided graph IDs.
|
| 29 |
+
|
| 30 |
+
## Data Format
|
| 31 |
+
|
| 32 |
+
Each split is stored as a JSONL file where each line is a JSON object representing one molecule-text pair, including graph features, SMILES, and associated text descriptions.
|
| 33 |
+
|
| 34 |
+
| Split | File | Size |
|
| 35 |
+
|-------|------|------|
|
| 36 |
+
| Train | `train.jsonl` | ~12 GB |
|
| 37 |
+
| Validation | `val.jsonl` | ~37 MB |
|
| 38 |
+
| Test | `test.jsonl` | ~78 MB |
|
| 39 |
+
|
| 40 |
+
## Usage
|
| 41 |
+
|
| 42 |
+
```python
|
| 43 |
+
from datasets import load_dataset
|
| 44 |
+
|
| 45 |
+
dataset = load_dataset("zihaojing/DQFormer-pretrain-data")
|
| 46 |
+
```
|
| 47 |
+
|
| 48 |
+
Or point to it in the EDT-Former config:
|
| 49 |
+
|
| 50 |
+
```yaml
|
| 51 |
+
# configs/stage1_dqw2d/data_config_preprocessed.yaml
|
| 52 |
+
use_preprocessed: true
|
| 53 |
+
preprocessed_data: zihaojing/DQFormer-pretrain-data
|
| 54 |
+
```
|
| 55 |
+
|
| 56 |
+
## Related Resources
|
| 57 |
+
|
| 58 |
+
| Resource | Link |
|
| 59 |
+
|----------|------|
|
| 60 |
+
| SFT Data | [zihaojing/DQFormer-sft-data](https://huggingface.co/datasets/zihaojing/DQFormer-sft-data) |
|
| 61 |
+
| Encoder (Stage 1) | [zihaojing/DQFormer-encoder](https://huggingface.co/zihaojing/DQFormer-encoder) |
|
| 62 |
+
| Full Model (Stage 2) | [zihaojing/DQFormer-model](https://huggingface.co/zihaojing/DQFormer-model) |
|
| 63 |
+
| Code | [selmiss/DQ-Former](https://github.com/selmiss/DQ-Former) |
|
| 64 |
+
|
| 65 |
+
## Citation
|
| 66 |
+
|
| 67 |
+
```bibtex
|
| 68 |
+
@inproceedings{jing2026edtformer,
|
| 69 |
+
title={Entropy-Guided Dynamic Tokens for Graph-LLM Alignment in Molecular Understanding},
|
| 70 |
+
author={Jing, Zihao and Zeng, Qiuhao and Fang, Ruiyi and Sun, Yan and Wang, Boyu and Hu, Pingzhao},
|
| 71 |
+
booktitle={International Conference on Learning Representations (ICLR)},
|
| 72 |
+
year={2026}
|
| 73 |
+
}
|
| 74 |
+
```
|