File size: 2,624 Bytes
07b8a43
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
license: cc-by-4.0
language: en
pretty_name: Awkweave Realistic Data
size_categories:
  - 10K<n<100K
task_categories:
  - text-generation
tags:
  - awk
  - code-generation
  - text-to-code
  - execution-verified
configs:
  - config_name: default
    data_files:
      - split: train
        path: data/train.jsonl
      - split: frozen_test
        path: data/frozen_test.jsonl
---

# Awkweave Realistic Data

A realistic-format expansion for [Awkweave Data](https://huggingface.co/datasets/asterbraid/awkweave-data), built to reduce template memorization in natural-language-to-`awk` models.

## Contents

- **40,000 training rows** across 40 task families: Apache-style HTTP logs, header-shuffled sales records, key=value events, colon-delimited account records, and general text transformations.
- **37 frozen-test rows** covering pipe-delimited network flows, inventory CSV, syslog, group membership, sensor readings, and formatting. These rows were authored separately and never included in training or tuning.

Every row contains a request, a bare `awk` program, two different inputs, and actual outputs for both inputs. The frozen split has `split="frozen_test"`; all expansion rows have `split="train"`.

## Verification

The final package was re-executed with `mawk 1.3.4 20200120`: **80074 executions, 0 errors**. `validation.json` records hashes, counts, and split integrity. Inputs are disjoint between training and frozen test; request/program pairs may describe the same general operation with different records.

## Intended use

Use this dataset alongside the original Awkweave Data for supervised fine-tuning or execution-based evaluation. The stage-two recipe used for Awkweave mixed these 40,000 rows with 20,000 deterministically selected replay rows from the original training pool. `prepare_v2_data.py` reproduces that mixture.

```python
from datasets import load_dataset

ds = load_dataset("asterbraid/awkweave-realistic-data")
print(ds["train"][0])
print(ds["frozen_test"][0])
```

## Scope and limitations

English, POSIX-style `awk`, and single-input text processing. No quoted CSV, external pipelines, or multi-file joins. Synthetic format coverage is not a substitute for broad real-world evaluation. The 37-row frozen set is a small qualitative benchmark, not a statistically comprehensive measurement.

## Provenance and license

All examples are original synthetic artifacts with no scraped text or personal data. Programs and outputs are execution-verified; natural-language requests are template-generated. Rows are **CC-BY-4.0**; attribute **Asterbraid**. Included code is Apache-2.0.