--- license: cc-by-4.0 language: - en pretty_name: Molde data size_categories: - 10K` or `Edit request: \n\nCurrent program:\n`, assistant ``. ## How it was made **The data is synthetic.** No real users' data is in it. 1. App programs were written by large language models from lists of domains and app types, and by scripts (templates, mutations, generators for dates, timers, calculators and drawings). 2. Requests were written by large language models from each program, in varied real-sounding styles (hurried, typos, long, mixed), plus templated wording. 3. Edit pairs come from scripted changes and model-written changes, including small changes to long programs (v3). 4. **Every program was run through the MoldeScript checker and canonical formatter; anything that failed was dropped.** Edits were also checked to keep saved data safe. 5. A sample was judged blind by a separate model for "does the program do what the request asks" (v2: 90.8% yes on 872 items). Test requests are excluded from training by text and by similarity. The folders `*/gen/` hold the generator and check scripts, `*/hand/` the program batches the generators start from, `*/items/` and `*/judge/` the inputs and outputs of the writers and the judge. They are kept so the sets can be rebuilt and extended. ## Use ```python from datasets import load_dataset ds = load_dataset("oyekamal/molde-data", "v3", split="train") ``` To build a training set, check every row against the current language and train: see [TRAINING.md](https://github.com/Orenda-Project/molde/blob/main/TRAINING.md). Checker: `node lang/mo.mjs check FILE.mo` in the [GitHub repo](https://github.com/Orenda-Project/molde). ## Limitations - Wording is model-written; real people type differently, so test on real requests too. - Programs look plainer than hand-written demo apps in v1 and v2 (v3 adds richer ones). - English only. ## Licence [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/). Please credit "Molde data, Kamal (oyekamal) and Orenda Project" and link this page. The Molde code and language are Apache-2.0.