Thai noun classifier phenomena under language models; part of the NLP270 project
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Napat Srichan 1a4691aff5
Commit stimulus item sets as golden files
Readers can now read the actual sentences without running the toolchain, and
proposal.pdf already covers the PDF side. The committed copy cannot drift: the
new tests/test_golden_items.py rebuilds every experiment via build-items and
fails on any byte difference, so a builder change must show up as a reviewed
diff.

artifacts/ otherwise stays git-ignored (scores, analysis, audit are outputs that
grow with real backends). CONTRACT.md documents the policy and the regeneration
command.
2026-11-25 17:26:26 -08:00
artifacts/items Commit stimulus item sets as golden files 2026-11-25 17:26:26 -08:00
data/items-sample L2: item builders for E1-E4, fillers and baselines 2026-11-18 17:21:40 -08:00
docs Commit stimulus item sets as golden files 2026-11-25 17:26:26 -08:00
sources Baseline: planning docs, sources, package skeleton, integration contract 2026-11-18 16:52:40 -08:00
src/thai_cl_lm Merge L3 final: fake backend fully observable, sealed analyse entry point 2026-11-18 18:58:27 -08:00
tests Commit stimulus item sets as golden files 2026-11-25 17:26:26 -08:00
.gitattributes Baseline: planning docs, sources, package skeleton, integration contract 2026-11-18 16:52:40 -08:00
.gitignore Commit stimulus item sets as golden files 2026-11-25 17:26:26 -08:00
.python-version Baseline: planning docs, sources, package skeleton, integration contract 2026-11-18 16:52:40 -08:00
guidelines.pdf Baseline: planning docs, sources, package skeleton, integration contract 2026-11-18 16:52:40 -08:00
journal-shopping-list.md Baseline: planning docs, sources, package skeleton, integration contract 2026-11-18 16:52:40 -08:00
pyproject.toml Baseline: planning docs, sources, package skeleton, integration contract 2026-11-18 16:52:40 -08:00
README.md Baseline: planning docs, sources, package skeleton, integration contract 2026-11-18 16:52:40 -08:00
thai-lm-phenomena.md Baseline: planning docs, sources, package skeleton, integration contract 2026-11-18 16:52:40 -08:00
uv.lock Baseline: planning docs, sources, package skeleton, integration contract 2026-11-18 16:52:40 -08:00

thai-cl-lm

Thai classifier and lexical-semantics probing of language models (NLP 270 squib). Moved here from ~/code/nlp270/experiments/.

Layout

thai-cl-lm/
├── guidelines.pdf           course squib guidelines
├── journal-shopping-list.md
├── thai-lm-phenomena.md     phenomena memo
├── docs/
│   ├── bib.yml              Hayagriva bibliography (keys = sources/ filenames)
│   ├── proposal/            squib proposal (Typst source + PDFs + test matrix)
│   └── verify/              field-agent verification notes + status matrix
├── sources/                 downloaded source PDFs, one flat directory
└── src/thai_cl_lm/          Python package (library code; no CLI yet)

sources/ stays at the repo root because the docs, bib.yml keys, and the field notes all reference PDFs by <filename>.pdf. proposal/bib.yml is a symlink to docs/bib.yml, so Typst compiles from docs/proposal/ unchanged.

Paths written inside docs/ (e.g. sources/warstadt2020.pdf, verify/classifiers.md) are relative to the project root, as before the move.

Setup

uv sync        # Python 3.15, per .python-version

Scripts

The source-fetching and source-verification scripts were retired from this project and now live in ~/code/nlp270/experiments/ (fetch_sources.py, verify/pdfcheck.py, verify/aggregate.py). See that directory's README for how to run them against this repo's data.