Datasets:
Download README.md from asterbraid/jqweave-data: direct link, hf CLI and curl.
- Browser
- Download file 2.07 kB
-
https://huggingface.co/datasets/asterbraid/jqweave-data/resolve/main/README.md
- Command line
-
hf download hf://datasets/asterbraid/jqweave-data/README.md
-
curl -L -o README.md https://huggingface.co/datasets/asterbraid/jqweave-data/resolve/main/README.md
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
jqon 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.
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.