--- license: apache-2.0 task_categories: - text-generation language: - en tags: - structured-extraction - halo-competition - grpo - json --- # web-extract-v1 Corpus for this team's two Halo Competition post-training entries (`ft-hf` on Qwen3-4B, `ft-gpt-oss` on gpt-oss-20b): **web page text → schema-valid JSON** for three families — `product`, `job`, `recipe`. ## Layout | File | Rows | What | |---|---:|---| | `train.jsonl` | 465 | the GRPO prompt set: 115 real + 350 synthetic (the judged training input) | | `eval_real.jsonl` | 75 | held-out real pages from domains never trained on | | `eval_synthetic.jsonl` | 120 | seeded-generator eval set (seed 101) | | `rollouts.jsonl` | 374 | scored rollouts behind the `ft-hf` adapter | `train.jsonl` is the one HF recognises as a split, so it is the one the viewer renders. The other files download normally; filter real rows with `json.loads(provenance).get("origin") != "synthetic-generator"` (115 rows). ### Columns Extraction files carry five columns. `gold` and `provenance` are **JSON-encoded strings** so a file can mix the three schema families and still render in the dataset viewer: ```json {"id": "real-…", "family": "product|job|recipe", "source_text": "", "gold": "{\"name\": …}", "provenance": "{\"url\": …, \"domain\": …, \"fetched_at\": …}"} ``` ```python import json from datasets import load_dataset row = load_dataset("RJaat/web-extract-v1", split="train")[0] gold = json.loads(row["gold"]); prov = json.loads(row["provenance"]) ``` `rollouts.jsonl` holds the offline-GRPO input: `prompt` (chat messages), `completions` (8 per prompt) and `rewards` (the programmatic reward of each completion). ## Sources 243 pages scraped with **Firecrawl** across 8 sites, per-page provenance kept: | Family | Sites | |---|---| | product | books.toscrape.com (explicit scraping sandbox) | | job | python.org/jobs, WeWorkRemotely | | recipe | Minimalist Baker, Cookie & Kate, Smitten Kitchen, Budget Bytes, Love & Lemons | ## Gold labels `openai/gpt-oss-20b` (184 rows) and `openai/gpt-oss-120b` (63 rows) through **OpenRouter**, labelling prompt `gold-v1` for the first 132 rows and `gold-v2` afterwards (adds `salary_period`). Quality gate: every label schema-validated, every gold value verified to be supported by its page (the same fabrication check used at eval time) — 122 of 438 candidate rows were rejected, mostly listing pages. 100-row spot check, plus an independent annotator: `GLM-5.3-Flash` via Baseten re-labelled 90 pages and agreed on **87.3%** of leaf values (93.6% product, 85.6% job, 76.7% recipe). ## Splits Near-duplicate clusters (minhash, Jaccard ≥ 0.8) are kept whole, then split family-stratified, so no cluster spans train and eval, and the eval set contains domains the models never train on (WeWorkRemotely, Love & Lemons, Smitten Kitchen). ## Synthetic rows `extractkit.generator` (in the submission repo) renders seeded pages with boilerplate, distractor items and missing fields. Seed 555 produced the 350 training rows; the eval sets use seeds 101 and 4242, so no rendered page repeats across splits. ## Licence and provenance Page text is public web content, kept with its source URL; follow each site's terms. Labels and synthetic rows are released under Apache-2.0. Built with **Halo**. Competition: