|
Download README.md from Giuliocc/doxa-linear: direct link, hf CLI and curl.
- Browser
- Download file 6.3 kB
-
https://huggingface.co/Giuliocc/doxa-linear/resolve/main/README.md
- Command line
-
hf download hf://Giuliocc/doxa-linear/README.md
-
curl -L -o README.md https://huggingface.co/Giuliocc/doxa-linear/resolve/main/README.md
6.3 kB
| language: | |
| - en | |
| license: apache-2.0 | |
| tags: | |
| - political-discourse | |
| - text-classification | |
| - evaluation | |
| - responsible-ai | |
| # DOXA Linear v0.1.0 | |
| DOXA Linear is an experimental English-language screening baseline for | |
| political discourse in context. It uses separate text and context character | |
| 3–5-gram TF-IDF features and one multinomial logistic regression head per | |
| supported criterion. It returns separate criterion predictions with | |
| uncalibrated scores. Review belongs to a person. | |
| ## Supported screening | |
| The model trains 6 heads: evaluative_framing, collective_blame, identity_stereotyping, identity_derogation_exclusion, group_conspiracy, evidential_overclaim. | |
| Material omission and comparative double standards are reference-packet and | |
| paired-case research tasks without model heads in this release. | |
| Unknown passages abstain. Empty or over-limit passages are invalid. | |
| The model cannot verify user-supplied facts, assess severity, or extract | |
| evidence spans. Reference annotations are separate from live predictions. | |
| Use the model to inspect patterns and test research hypotheses. Keep context, | |
| quotation, rebuttal, and ordinary political criticism visible in review. | |
| The pilot is unsuitable for automated discipline, author profiling, legal | |
| findings, or organizational safety claims. | |
| ## Data and results | |
| The frozen DOXA Pilot training partition has 156 synthetic, | |
| AI-provisional judgments. 144 contribute to trained heads. | |
| There is zero independent human review. Model evaluation uses whole held-out | |
| scenario families, with a separate synthetic behavioral challenge. | |
| | Test measure | Result | | |
| | --- | ---: | | |
| | Rows on supported criteria | 36 / 42 | | |
| | Mean criterion macro-F1 | 0.757 | | |
| | Most-frequent baseline macro-F1 | 0.167 | | |
| | Supported test coverage | 1.000 | | |
| | All eligible behavioral pairs correct on both sides | 4 / 10 | | |
| | Directional behavioral pairs correct on both sides | 0 / 6 | | |
| | Coverage across all eligible behavioral pairs | 8 / 10 | | |
| **Directional challenge: 0 of 6 correct on both sides. The model returned predictions for 4 of the 6 pairs.** The model missed the | |
| explicit-rebuttal and added-attribution changes. This is a limitation on contextual screening | |
| despite the higher frozen-test macro-F1. The small synthetic sample does not | |
| establish accuracy or fairness in real enterprise communications. | |
| See [EVALUATION.md](EVALUATION.md), [metrics.json](metrics.json) and | |
| [predictions.jsonl](predictions.jsonl) for support and observed errors. | |
| ## Load and reproduce | |
| For a standalone inference environment, use the | |
| [pinned DOXA Methods SDK installation guide](https://huggingface.co/datasets/Giuliocc/doxa-methods/blob/1f5647ad19a48c2600e1eb1f5f442c510fc7d745/expansion_v2/sdk/README.md). | |
| The [request examples](https://huggingface.co/datasets/Giuliocc/doxa-methods/blob/1f5647ad19a48c2600e1eb1f5f442c510fc7d745/expansion_v2/examples/INDEX.json) | |
| and [model task manifest](portfolio-task.json) identify the local model request and | |
| the exact numerical artifact. For training from source, start with the | |
| [DOXA source checkout](https://github.com/sargonxg/DOXA-by-TACITUS) and run | |
| `uv sync --locked`. | |
| Download the model files at the release revision into a local folder, | |
| or reproduce them with the commands below. | |
| ```python | |
| from doxa.models import PortableModel | |
| model = PortableModel("release_staging/model") | |
| result = model.predict("I oppose the cabinet's decision and call for its reversal.") | |
| print(result["criteria"]) | |
| ``` | |
| ```bash | |
| uv run doxa train --config configs/baseline.yaml | |
| uv run doxa evaluate --config configs/evaluation.yaml | |
| ``` | |
| The loader reads JSON metadata and little-endian float32 arrays. | |
| `model_manifest.json` specifies the shapes and revisions. | |
| `SHA256SUMS` verifies the payload. There is no Transformers pipeline or | |
| hosted inference widget for this format. | |
| The training-data content SHA-256 is | |
| `a158d4d3b1fff8cea969febb7e92947b1dabfc21715c8fcdf63835986b0e35fc`. The model content SHA-256 is | |
| `4ed4406dddef0d374e3fb701676c73861a940061fbde2835f9babd4e89c75e7c`. Training used seed 1729 | |
| and at most one numerical-library thread. | |
| ## Cite and contribute | |
| Cite *DOXA Linear v0.1.0*, Giulio Catanzariti / TACITUS, with the immutable | |
| revision. To propose a correction, share the record ID, rubric criterion, | |
| and evidence for the proposed change through the project repository. | |
| Do not share confidential passages. | |
| <!-- doxa-discovery --> | |
| ## Explore the rest of DOXA | |
| - [Open DOXA Evidence Lab](https://huggingface.co/spaces/Giuliocc/doxa-lab) to inspect examples and run browser-local review. | |
| - [DOXA collection](https://huggingface.co/collections/Giuliocc/doxa-political-discourse-and-ai-evaluation-6b09ba1615d7e021c1cf7433) groups the demo, data, and model. | |
| - [TACITUS.me](https://tacitus.me) develops the broader research and tools. | |
| <!-- doxa-release-provenance --> | |
| [Frozen dataset revision](https://huggingface.co/datasets/Giuliocc/doxa-pilot/tree/a29c0ce8cb8d2ea99218c0cb3fa58f59b2e1b1f8) | |
| ## Local SDK and provenance contract | |
| The [DOXA Methods foundation](https://huggingface.co/datasets/Giuliocc/doxa-methods) supplies a common local request/result envelope, exact-commit asset loader and checked source/reviewer schemas. This model retains its native task and output labels: `political_language_screening`. Its recorded portfolio status is `synthetic_pilot_baseline`. | |
| The [task manifest](portfolio-task.json) pins the existing inference artifact and expected hashes. Run it with the Methods SDK using `doxa portfolio fetch` and `doxa portfolio run`. Document text stays local; fetching public weights does not provide hosted inference. This update changes documentation and contracts; learned parameters are unchanged. | |
| Scope boundaries: | |
| - Small fictional AI-provisional reference set. | |
| - No independent new DOXA human review. | |
| - Known quotation and rebuttal failures. | |
| - No author ideology or political-neutrality guarantee. | |
| Source judgments, model predictions and actual human review remain separate. The production new-reviewer registry starts empty. This model does not certify political neutrality, infer a person's beliefs or supply an overall political-bias percentage. See the [research foundation guide](https://huggingface.co/spaces/Giuliocc/doxa-lab/blob/main/RESEARCH_FOUNDATION.md) for data roles and independent evaluation requirements. | |