Thai noun classifier phenomena under language models; part of the NLP270 project
- Python 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
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. |
||
| artifacts/items | ||
| data/items-sample | ||
| docs | ||
| sources | ||
| src/thai_cl_lm | ||
| tests | ||
| .gitattributes | ||
| .gitignore | ||
| .python-version | ||
| guidelines.pdf | ||
| journal-shopping-list.md | ||
| pyproject.toml | ||
| README.md | ||
| thai-lm-phenomena.md | ||
| uv.lock | ||
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.