jqweave-so-data / README.md
asterbraid's picture
Add verified 3B and 7B predictions to the combined model scoreboard
ff3c0aa verified
|
Raw History Blame Contribute Delete
2.94 kB
metadata
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.

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.