Datasets:
File size: 2,936 Bytes
837bf81 fa82bd8 837bf81 fa82bd8 53aa7a7 57bfdb5 ff3c0aa 837bf81 fa82bd8 837bf81 | 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 59 60 61 62 63 64 65 66 67 68 69 70 | ---
license: cc-by-sa-4.0
language: en
pretty_name: Jqweave Real Questions
size_categories:
- n<1K
task_categories:
- text-generation
tags:
- jq
- json
- code-generation
- text-to-code
- execution-verified
- stackoverflow
configs:
- config_name: default
data_files:
- split: test
path: data/test.jsonl
---
# Jqweave Real Questions
A held-out natural-language-to-`jq` evaluation set derived from highly voted Stack Overflow questions and accepted answers. It tests whether Jqweave generalizes beyond the phrasing and task distribution of its synthetic training data.
## Contents
- 50 manually reviewed tasks from 50 unique source questions.
- Two different representative inputs per task, with actual outputs from both.
- Every task is in the `test` split; no paraphrases or training rows are included.
- Zero input-text or request/command overlap with `asterbraid/jqweave-data`.
Every reference command was executed on both inputs with `jq-1.6`: **100 successful executions, 0 errors**. Commands start with `jq`, read one JSON stream on stdin, and avoid filenames, modules, environment access, additional inputs, and shell execution.
## Source and attribution
Each row includes `question_url`, `question_title`, `question_owner`, `answer_owner`, and `answer_id`. `ATTRIBUTION.md` lists every source. The `request` is a self-contained instruction derived from the question and accepted answer; `command` is an executable solution. Request-to-command intent was manually reviewed in addition to execution verification.
```python
from datasets import load_dataset
ds = load_dataset("asterbraid/jqweave-so-data", split="test")
print(ds[0])
```
## Public model evaluation
Greedy generation with public Jqweave models, one prediction per task. Valid means the generated command executes. Correct requires exact expected output on both inputs, with only trailing special tokens removed.
| Model | Valid | Correct |
| --- | ---: | ---: |
| Jqweave 0.5B | 54.0% (27/50) | 10.0% (5/50) |
| Jqweave 1.5B | 62.0% (31/50) | 12.0% (6/50) |
| Jqweave 1.5B Real | 72.0% (36/50) | 24.0% (12/50) |
| Jqweave 1.5B Real v2 | 78.0% (39/50) | 38.0% (19/50) |
| Jqweave 3B Real | 80.0% (40/50) | 36.0% (18/50) |
| Jqweave 7B Real | 96.0% (48/50) | 66.0% (33/50) |
Full predictions and summaries are included under `evaluation/`.
## Limitations
This is a small, high-vote sample, not a representative benchmark of all `jq` use. Tasks were selected for compatibility with single-stream input and the safety guard. Exact outputs on two synthetic representative inputs do not prove correctness on every possible input. Some requests or commands may be ambiguous outside their original context.
## License
Original Stack Overflow content and these derived rows are **CC BY-SA 4.0**. See `SO_DATASET_LICENSE.txt` and `ATTRIBUTION.md`. Included collection, conversion, review, and validation code is Apache-2.0.
|