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
File size: 1,213 Bytes
2153e0a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | {
"model_id": "Giuliocc/doxa-wording-encoder",
"revision": "b6e07f2cc0ea82c0c46b89aac65fee8b74660db5",
"task": "biased_wording",
"status": "qualified_news_wording_research",
"format": "doxa_wording_onnx",
"files": {
"runtime_manifest.json": {
"sha256": "41d062afe08867983f40a4be89db9f16ad47f973aa6e29526759cad4295f835a",
"bytes": 824
},
"tokenizer.json": {
"sha256": "d241a60d5e8f04cc1b2b3e9ef7a4921b27bf526d9f6050ab90f9267a1f9e5c66",
"bytes": 711396
},
"onnx/model_quantized.onnx": {
"sha256": "cb6dd5d63b6ed2f28c142141c263e3a29deb88289ad4dab50f7584a7c7b27d48",
"bytes": 23157564
}
},
"card_url": "https://huggingface.co/Giuliocc/doxa-wording-encoder/blob/b6e07f2cc0ea82c0c46b89aac65fee8b74660db5/README.md",
"limitations": [
"English news wording task",
"No supervised surrounding-article context",
"Input above256tokens unresolved",
"Browser improvement interval includes zero",
"Academic/prejudice/whole-document conclusions require separate validation"
],
"request_contract": "doxa-portfolio-request-v1",
"inference_location": "local_cpu_or_browser_where_supported",
"source_payload_uploaded": false
}
|