Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
configs:
|
| 3 |
+
- config_name: adult
|
| 4 |
+
data_files:
|
| 5 |
+
- split: train
|
| 6 |
+
path: adult/train.jsonl
|
| 7 |
+
- split: test
|
| 8 |
+
path: adult/test.jsonl
|
| 9 |
+
- config_name: diabetes
|
| 10 |
+
data_files:
|
| 11 |
+
- split: train
|
| 12 |
+
path: diabetes/train.jsonl
|
| 13 |
+
- split: test
|
| 14 |
+
path: diabetes/test.jsonl
|
| 15 |
+
- config_name: electric_vehicles
|
| 16 |
+
data_files:
|
| 17 |
+
- split: train
|
| 18 |
+
path: electric_vehicles/train.jsonl
|
| 19 |
+
- split: test
|
| 20 |
+
path: electric_vehicles/test.jsonl
|
| 21 |
+
- config_name: ddxplus
|
| 22 |
+
data_files:
|
| 23 |
+
- split: train
|
| 24 |
+
path: ddxplus/train.jsonl
|
| 25 |
+
- split: test
|
| 26 |
+
path: ddxplus/test.jsonl
|
| 27 |
+
---
|
| 28 |
+
|
| 29 |
+
# jsynth-data
|
| 30 |
+
|
| 31 |
+
Preprocessed datasets for Origami tabular/JSON synthesis experiments.
|
| 32 |
+
|
| 33 |
+
Each configuration is an independent dataset with its own schema and train/test split.
|
| 34 |
+
|
| 35 |
+
## Datasets
|
| 36 |
+
|
| 37 |
+
| Dataset | Train | Test | Type |
|
| 38 |
+
|---------|-------|------|------|
|
| 39 |
+
| adult | 32,561 | 16,281 | Tabular |
|
| 40 |
+
| diabetes | 61,059 | 20,354 | Tabular |
|
| 41 |
+
| electric_vehicles | 189,010 | 21,001 | Tabular |
|
| 42 |
+
| ddxplus | 1,025,602 | 134,529 | Semi-structured |
|
| 43 |
+
|
| 44 |
+
## Usage
|
| 45 |
+
|
| 46 |
+
```python
|
| 47 |
+
from huggingface_hub import hf_hub_download
|
| 48 |
+
|
| 49 |
+
path = hf_hub_download(
|
| 50 |
+
repo_id="origami-ml/jsynth-data",
|
| 51 |
+
filename="adult/train.jsonl",
|
| 52 |
+
repo_type="dataset",
|
| 53 |
+
)
|
| 54 |
+
```
|
| 55 |
+
|
| 56 |
+
Or with the `datasets` library:
|
| 57 |
+
|
| 58 |
+
```python
|
| 59 |
+
from datasets import load_dataset
|
| 60 |
+
|
| 61 |
+
ds = load_dataset("origami-ml/jsynth-data", "adult")
|
| 62 |
+
```
|