Datasets:
File size: 2,066 Bytes
2c911b5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | ---
license: cc-by-4.0
language: en
pretty_name: Jqweave Data
size_categories:
- 10K<n<100K
task_categories:
- text-generation
tags:
- jq
- json
- code-generation
- text-to-code
- execution-verified
configs:
- config_name: default
data_files:
- split: train
path: data/train.jsonl
- split: validation
path: data/validation.jsonl
- split: test
path: data/test.jsonl
---
# Jqweave Data
Jqweave Data is a synthetic natural-language-to-`jq` dataset for training small, offline JSON-processing models. Each example pairs an English request and representative JSON input with one bare `jq` command and actual outputs from two different inputs.
## Contents
- **39000 rows** across **39 task families**.
- Splits: **31200 train / 3900 validation / 3900 test**.
- Field selection, array indexing, filtering, mapping, aggregation, grouping, sorting, object conversion, CSV/TSV formatting, and JSON Lines.
- Two different inputs per row and exact output from each.
- Commands use only `jq` on stdin/stdout with no filenames, modules, environment access, or additional inputs.
Every reference command was executed on both inputs with `jq-1.6`: **78000 successful executions, 0 errors**. The validation report and SHA-256 are in `validation.json`.
```python
from datasets import load_dataset
train = load_dataset("asterbraid/jqweave-data", split="train")
print(train[0])
```
## Schema
Each row contains `request`, `command`, `input_text`, `expected_output`, `validation_input`, `validation_output`, `family`, `difficulty`, `split`, `source`, and `license`.
## Limitations
The data is grammar-generated and measures in-distribution behavior, not broad real-world competence. Requests have four mechanical phrasing forms. Inputs are synthetic, and identical request/command pairs recur with different records. Review generated commands before using them on important data.
## License
Dataset rows are CC-BY-4.0. See `DATASET_LICENSE.txt`. Included generation, validation, and execution code is Apache-2.0.
|