Datasets:
Improve dataset card: Add metadata, HF paper link, and sample usage
#2
by
nielsr
HF Staff
- opened
README.md
CHANGED
|
@@ -1,20 +1,28 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
pretty_name: ImitSAT KeyTrace
|
| 4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
configs:
|
| 6 |
- config_name: preview
|
| 7 |
default: true
|
| 8 |
data_files:
|
| 9 |
- split: train
|
| 10 |
path:
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
---
|
|
|
|
| 18 |
<p align="center">
|
| 19 |
<h1 align="center"><em>ImitSAT‑KeyTrace</em> (Download & Preview)</h1>
|
| 20 |
<div align="center">
|
|
@@ -22,6 +30,10 @@ configs:
|
|
| 22 |
<img src="https://img.shields.io/badge/arXiv-Preprint-brightgreen.svg" alt="arXiv Preprint">
|
| 23 |
</a>
|
| 24 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
<a href="https://github.com/zewei-Zhang/ImitSAT">
|
| 26 |
<img src="https://img.shields.io/badge/GitHub-Repo-black?logo=github" alt="GitHub repository">
|
| 27 |
</a>
|
|
@@ -32,7 +44,7 @@ configs:
|
|
| 32 |
</div>
|
| 33 |
</p>
|
| 34 |
|
| 35 |
-
**Summary.** This repository hosts the bucketed training data for **ImitSAT**, a learned branching policy for CDCL SAT solving.
|
| 36 |
Each bucket is a gzip‑compressed JSON Lines file (`*.jsonl.gz`) of **KeyTrace** training examples for random 3‑SAT with planted assignments.
|
| 37 |
|
| 38 |
> ⚠️ **Use our code to load & preprocess.** We intentionally **do not** provide a `datasets.load_dataset` builder here.
|
|
@@ -52,6 +64,26 @@ git clone https://huggingface.co/datasets/zeweizhang/ImitSAT-KeyTrace
|
|
| 52 |
- [sat_100_100.jsonl.gz](https://huggingface.co/datasets/zeweizhang/ImitSAT-KeyTrace/resolve/main/sat_100_100.jsonl.gz)
|
| 53 |
|
| 54 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 55 |
## Preview
|
| 56 |
|
| 57 |
The Dataset Viewer shows only small, human‑readable files under preview/ (100 examples each)
|
|
@@ -68,4 +100,4 @@ The Dataset Viewer shows only small, human‑readable files under preview/ (100
|
|
| 68 |
primaryClass={cs.AI},
|
| 69 |
url={https://arxiv.org/abs/2509.25411},
|
| 70 |
}
|
| 71 |
-
```
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
pretty_name: ImitSAT KeyTrace
|
| 4 |
+
language:
|
| 5 |
+
- en
|
| 6 |
+
task_categories:
|
| 7 |
+
- reinforcement-learning
|
| 8 |
+
tags:
|
| 9 |
+
- sat
|
| 10 |
+
- boolean-satisfiability
|
| 11 |
+
- imitation-learning
|
| 12 |
configs:
|
| 13 |
- config_name: preview
|
| 14 |
default: true
|
| 15 |
data_files:
|
| 16 |
- split: train
|
| 17 |
path:
|
| 18 |
+
- preview/sat_5_15_preview.jsonl
|
| 19 |
+
- preview/sat_16_30_preview.jsonl
|
| 20 |
+
- preview/sat_31_60_preview.jsonl
|
| 21 |
+
- preview/sat_50_50_preview.jsonl
|
| 22 |
+
- preview/sat_61_100_preview.jsonl
|
| 23 |
+
- preview/sat_100_100_preview.jsonl
|
| 24 |
---
|
| 25 |
+
|
| 26 |
<p align="center">
|
| 27 |
<h1 align="center"><em>ImitSAT‑KeyTrace</em> (Download & Preview)</h1>
|
| 28 |
<div align="center">
|
|
|
|
| 30 |
<img src="https://img.shields.io/badge/arXiv-Preprint-brightgreen.svg" alt="arXiv Preprint">
|
| 31 |
</a>
|
| 32 |
|
| 33 |
+
<a href="https://huggingface.co/papers/2509.25411">
|
| 34 |
+
<img src="https://img.shields.io/badge/HF-Paper-blue" alt="Hugging Face Paper">
|
| 35 |
+
</a>
|
| 36 |
+
|
| 37 |
<a href="https://github.com/zewei-Zhang/ImitSAT">
|
| 38 |
<img src="https://img.shields.io/badge/GitHub-Repo-black?logo=github" alt="GitHub repository">
|
| 39 |
</a>
|
|
|
|
| 44 |
</div>
|
| 45 |
</p>
|
| 46 |
|
| 47 |
+
**Summary.** This repository hosts the bucketed training data for **ImitSAT**, a learned branching policy for CDCL SAT solving, presented in the paper [Boolean Satisfiability via Imitation Learning](https://huggingface.co/papers/2509.25411).
|
| 48 |
Each bucket is a gzip‑compressed JSON Lines file (`*.jsonl.gz`) of **KeyTrace** training examples for random 3‑SAT with planted assignments.
|
| 49 |
|
| 50 |
> ⚠️ **Use our code to load & preprocess.** We intentionally **do not** provide a `datasets.load_dataset` builder here.
|
|
|
|
| 64 |
- [sat_100_100.jsonl.gz](https://huggingface.co/datasets/zeweizhang/ImitSAT-KeyTrace/resolve/main/sat_100_100.jsonl.gz)
|
| 65 |
|
| 66 |
|
| 67 |
+
## Sample Usage
|
| 68 |
+
|
| 69 |
+
This dataset is designed to be used with the ImitSAT code repository for training. The official loader for this dataset is `ImitSAT/ImitSAT_dataset.py` within the [ImitSAT GitHub repository](https://github.com/zewei-Zhang/ImitSAT).
|
| 70 |
+
|
| 71 |
+
### Environment Setup
|
| 72 |
+
First, set up the required Python environment as specified in the GitHub repository:
|
| 73 |
+
```bash
|
| 74 |
+
conda create -n imitsat python=3.10 -y
|
| 75 |
+
conda activate imitsat
|
| 76 |
+
pip install -r requirements.txt
|
| 77 |
+
```
|
| 78 |
+
|
| 79 |
+
### Training ImitSAT
|
| 80 |
+
After setting up the environment and downloading the `ImitSAT-KeyTrace` dataset (as shown in the Download section above), you can train the ImitSAT model by pointing your training configuration's `dataset_path` to the downloaded folder. An example training command from the ImitSAT repository is:
|
| 81 |
+
```bash
|
| 82 |
+
python train_ImitSAT.py --config ./model_config/ImitSAT_config.json
|
| 83 |
+
# (Optional) resume from a folder containing ImitSAT.npz and tokenizer/
|
| 84 |
+
python train_ImitSAT.py --config ./model_config/ImitSAT_config.json --resume_dir ./model_ckpt/
|
| 85 |
+
```
|
| 86 |
+
|
| 87 |
## Preview
|
| 88 |
|
| 89 |
The Dataset Viewer shows only small, human‑readable files under preview/ (100 examples each)
|
|
|
|
| 100 |
primaryClass={cs.AI},
|
| 101 |
url={https://arxiv.org/abs/2509.25411},
|
| 102 |
}
|
| 103 |
+
```
|