# Reproduce the wording release Use the complete [DOXA project](https://github.com/sargonxg/DOXA-by-TACITUS), Python 3.12 and CPU compute. The release was built locally with three CPU threads. It launched no paid service or training job. Restore the pinned BABE inputs using the public benchmark recipe at `Giuliocc/doxa-wording-benchmark` revision `bea9a3f2d53b03069b0d814094ea860d75f1c322`. Keep restored article passages in `improvement_release/benchmark/local/frozen/` and verify the public split manifest's hashes. Public benchmark metadata contains source IDs and labels rather than the article passages. The scripts in this model package's `training/` directory are also in the DOXA project's `improvement_release/model/` directory. Run them from the project so their frozen benchmark and existing DOXA control paths resolve. The existing framing control uses `release_staging/model/` and the original DOXA Python package. The input and original registration hashes are recorded in `EVALUATION.json`; check those before fitting. ```bash python3 -m venv improvement_release/model/.venv improvement_release/model/.venv/bin/pip install torch==2.7.1 --index-url https://download.pytorch.org/whl/cpu improvement_release/model/.venv/bin/pip install -r improvement_release/model/requirements.txt OMP_NUM_THREADS=3 MKL_NUM_THREADS=3 improvement_release/model/.venv/bin/python improvement_release/model/train.py ``` The fixed experiment trains the lexical controls, frozen-encoder classifier and six fine-tuning epochs. Checkpoint and pipeline selection use validation macro-F1. Its first export receipts are retained even when export parity fails. The registered model and runtime quality thresholds remain unchanged. The bounded validation-only exporter repair is specified in `EXPORT_REPAIR.md`, which records its timing after initial held-out model measurement. Run `repair_export.py`, then `finalize_export.py` to reproduce the release representation and its deployment-shaped singleton evaluation. These steps reuse locked learned weights and calibration. `training_history.json`, `validation_controls.json`, `EXPORT_VALIDATION.json`, `EXPORT_ATTEMPTS.json`, and `EVALUATION.json` expose the measured choices and failures. The public test predictions include source-group IDs, both contextual pipelines, controls and model scores. They contain no article passages. For the browser check, install the DOXA web project's locked dependencies and Chromium, then use `browser_parity.mjs` with deterministic local fixtures. That check covers the same tokenizer, pinned assets, WebAssembly runtime, source-payload privacy and long-input abstention used by DOXA Lab. Its public receipt stores IDs and outputs while local fixture text stays private. For inference alone, download the public model repository, install `numpy==2.5.5`, `onnxruntime==1.22.0`, and `tokenizers==0.21.4`, then use `inference.py`. It verifies both asset hashes and applies the published temperature, uncertainty threshold and token limit.