Text Classification
Transformers
ONNX
Safetensors
English
bert
political-discourse
media-bias
wording
contextual-review
text-embeddings-inference
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
Download NOTICE from Giuliocc/doxa-wording-encoder: direct link, hf CLI and curl.
- Browser
- Download file 931 Bytes
-
https://huggingface.co/Giuliocc/doxa-wording-encoder/resolve/main/NOTICE
- Command line
-
hf download hf://Giuliocc/doxa-wording-encoder/NOTICE
-
curl -L -o NOTICE https://huggingface.co/Giuliocc/doxa-wording-encoder/resolve/main/NOTICE
931 Bytes
| DOXA contextual wording experiment | |
| The encoder and tokenizer derive from sentence-transformers/all-MiniLM-L6-v2 | |
| at revision 1110a243fdf4706b3f48f1d95db1a4f5529b4d41. The source model card | |
| declares Apache License 2.0. Original MiniLM and sentence-transformers | |
| attribution remains applicable. | |
| The learning task uses BABE expert-majority wording annotations from | |
| Media-Bias-Group/Neural-Media-Bias-Detection-Using-Distant-Supervision-With-BABE | |
| at revision fb79f646dcabf1746f5ebedc06ed8dd61ba78188. | |
| The source repository's license and the underlying news text's rights are | |
| recorded in the linked benchmark. Article text is absent from the public | |
| model package. Public predictions identify benchmark IDs and source groups. | |
| The training, evaluation and browser integration code written for this | |
| experiment is original DOXA project code. Model cards must retain the task | |
| scope, data provenance, uncertainty and evaluation limitations. | |