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 EXPORT_ATTEMPTS.json from Giuliocc/doxa-wording-encoder: direct link, hf CLI and curl.
- Browser
- Download file 1.59 kB
-
https://huggingface.co/Giuliocc/doxa-wording-encoder/resolve/main/EXPORT_ATTEMPTS.json
- Command line
-
hf download hf://Giuliocc/doxa-wording-encoder/EXPORT_ATTEMPTS.json
-
curl -L -o EXPORT_ATTEMPTS.json https://huggingface.co/Giuliocc/doxa-wording-encoder/resolve/main/EXPORT_ATTEMPTS.json
1.59 kB
| { | |
| "failed_initial_exports": [ | |
| { | |
| "name": "matrix_only_default", | |
| "quantized": { | |
| "rows": 384, | |
| "macro_f1": 0.757810857549761, | |
| "accuracy": 0.7578125, | |
| "per_class_f1": { | |
| "no_biased_wording": 0.7584415584415585, | |
| "biased_wording": 0.7571801566579635 | |
| }, | |
| "brier": 0.16673652657150886, | |
| "negative_log_likelihood": 0.5064179299554743, | |
| "ece_10_bins": 0.06994695107763012 | |
| }, | |
| "native_quantized_agreement": 0.9427083333333334, | |
| "bytes": 58803630, | |
| "sha256": "c9778d97fdfeb5b52660f1ff34cd5837af9041d82648a755d800143b9fb2ce45", | |
| "release_gate": { | |
| "native": true, | |
| "quantized": false, | |
| "size": false, | |
| "passed": false | |
| } | |
| }, | |
| { | |
| "name": "matrix_gather_default", | |
| "quantized": { | |
| "rows": 384, | |
| "macro_f1": 0.765625, | |
| "accuracy": 0.765625, | |
| "per_class_f1": { | |
| "no_biased_wording": 0.765625, | |
| "biased_wording": 0.765625 | |
| }, | |
| "brier": 0.16431202011597804, | |
| "negative_log_likelihood": 0.500860547963728, | |
| "ece_10_bins": 0.06312208312253155 | |
| }, | |
| "native_quantized_agreement": 0.9505208333333334, | |
| "bytes": 23051770, | |
| "sha256": "d3a3f3fdfc2a9ea00cdf925e4d89b56026334bb9342947f988f701d1479cb4e8", | |
| "release_gate": { | |
| "native": true, | |
| "quantized": false, | |
| "size": true, | |
| "passed": false | |
| } | |
| } | |
| ], | |
| "final_selected_representation": "per_channel_1-reduce_range_1", | |
| "training_or_checkpoint_changed": false | |
| } | |