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
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, metrics.json and predictions.jsonl for support and observed errors.
Load and reproduce
For a standalone inference environment, use the
pinned DOXA Methods SDK installation guide.
The request examples
and model task manifest identify the local model request and
the exact numerical artifact. For training from source, start with the
DOXA source checkout and run
uv sync --locked.
Download the model files at the release revision into a local folder,
or reproduce them with the commands below.
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"])
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.
Explore the rest of DOXA
- Open DOXA Evidence Lab to inspect examples and run browser-local review.
- DOXA collection groups the demo, data, and model.
- TACITUS.me develops the broader research and tools.
Local SDK and provenance contract
The DOXA Methods foundation 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 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 for data roles and independent evaluation requirements.