Elamur: **Mova** · [Parse](https://mova.elamur.ai/free/en/parse/) · [Research](https://md.research.elamur.ai/free/en/) · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/) · [Shryfti](https://md.shryfti.elamur.ai/free/en/) · [OCR](https://md.ocr.elamur.ai/free/en/)

[Mova](https://md.mova.elamur.ai/free/en/) · [this page in HTML](https://mova.elamur.ai/free/en/docs/corpus/open/contrast/)

[Mova](https://md.mova.elamur.ai/free/en/) / [docs](https://md.mova.elamur.ai/free/en/docs/) / [corpus](https://md.mova.elamur.ai/free/en/docs/corpus/) / [open](https://md.mova.elamur.ai/free/en/docs/corpus/open/) / Contrast sets

# Contrast sets

Contrast sets (Gardner et al. 2020) keep a task and change its surface, to see whether a model learned the task or the quirks of one dataset.

| Folder | What |
| --- | --- |
| `babi/` | the 20 bAbI test sets (Weston et al. 2015, v1.2) with new names, places, things and synonym verbs (`world babi-contrast` makes them deterministically from the originals) |
| `stepgame/phrasings-dev.tsv` | 40 phrasings of the nine StepGame relations that the StepGame generator never produced, including the reverse view ("B has A on its left"); used to build Mova's reader of new phrasings |
| `stepgame/phrasings-test.tsv` | 31 more, written before that reader existed; the 2 that also occur in the StepGame training data are left out when measuring |

bAbI: Weston et al. 2015 (CC BY 3.0), credited as its source.

Each line of a phrasing file: `label<TAB>template`, the label is the relation of `{A}` to `{B}`. `world stepgame-contrast <StepGame dir> 500 [--test]` builds chains of 1–10 steps from them (deterministic) and checks first that no phrasing occurs in the training data.

- [← previous Books](https://md.mova.elamur.ai/free/en/docs/corpus/open/books/)
- [next → Dictionary](https://md.mova.elamur.ai/free/en/docs/corpus/open/dictionary/)
- [↑ back to Mova corpus 0.4](https://md.mova.elamur.ai/free/en/docs/corpus/open/)

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://mova.elamur.ai/sitemap.xml) · [llms.txt](https://mova.elamur.ai/llms.txt)
