Text Classification
Transformers
ONNX
Safetensors
English
bert
political-discourse
media-bias
wording
contextual-review
text-embeddings-inference
Run this model with HF Jobs
Run Giuliocc/doxa-wording-encoder on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Giuliocc/doxa-wording-encoder. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Giuliocc/doxa-wording-encoder on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use Giuliocc/doxa-wording-encoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Giuliocc/doxa-wording-encoder with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Giuliocc/doxa-wording-encoder")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Giuliocc/doxa-wording-encoder") model = AutoModelForSequenceClassification.from_pretrained("Giuliocc/doxa-wording-encoder", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Improve model card ops: golden_examples.jsonl
Browse files12345678{"id": "factual_statement", "source": "illustrations.json", "text": "The committee voted six to four to approve the policy.", "expected_label": "no_wording_flag", "difficulty": "illustration", "model_score": 0.10063666850328445}{"id": "evaluative_wording", "source": "illustrations.json", "text": "The committee's reckless and disgraceful policy betrayed every resident.", "expected_label": "wording_flag", "difficulty": "illustration", "model_score": 0.9246758222579956}{"id": "attributed_judgment", "source": "illustrations.json", "text": "The minister called the policy reckless; the report attributed that judgment to her.", "expected_label": "no_wording_flag", "difficulty": "illustration", "model_score": 0.22543752193450928}{"id": "babe-sg2-00004", "source": "test_predictions.jsonl", "expected_label": null, "model_decision": null, "difficulty": "held_out_test", "notes": "ID-level published prediction; article text not redistributed.", "keys": ["candidate_label", "contextual_labels", "controls", "group_id", "id", "model_score", "quantized_label", "quantized_model_score", "quantized_resolved", "reference_label"]}{"id": "babe-sg2-00016", "source": "test_predictions.jsonl", "expected_label": null, "model_decision": null, "difficulty": "held_out_test", "notes": "ID-level published prediction; article text not redistributed.", "keys": ["candidate_label", "contextual_labels", "controls", "group_id", "id", "model_score", "quantized_label", "quantized_model_score", "quantized_resolved", "reference_label"]}{"id": "babe-sg2-00019", "source": "test_predictions.jsonl", "expected_label": null, "model_decision": null, "difficulty": "held_out_test", "notes": "ID-level published prediction; article text not redistributed.", "keys": ["candidate_label", "contextual_labels", "controls", "group_id", "id", "model_score", "quantized_label", "quantized_model_score", "quantized_resolved", "reference_label"]}{"id": "babe-sg2-00026", "source": "test_predictions.jsonl", "expected_label": null, "model_decision": null, "difficulty": "held_out_test", "notes": "ID-level published prediction; article text not redistributed.", "keys": ["candidate_label", "contextual_labels", "controls", "group_id", "id", "model_score", "quantized_label", "quantized_model_score", "quantized_resolved", "reference_label"]}{"id": "babe-sg2-00033", "source": "test_predictions.jsonl", "expected_label": null, "model_decision": null, "difficulty": "held_out_test", "notes": "ID-level published prediction; article text not redistributed.", "keys": ["candidate_label", "contextual_labels", "controls", "group_id", "id", "model_score", "quantized_label", "quantized_model_score", "quantized_resolved", "reference_label"]}golden_examples.jsonlAdded+8