Text Classification
Transformers
Safetensors
Spanish
new
xlm-roberta
multilingual
social-media
custom_code
text-embeddings-inference
Instructions to use SimoneAstarita/es-no-bio-20251013-t01 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SimoneAstarita/es-no-bio-20251013-t01 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="SimoneAstarita/es-no-bio-20251013-t01", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForSequenceClassification model = AutoModelForSequenceClassification.from_pretrained("SimoneAstarita/es-no-bio-20251013-t01", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download reports.json from SimoneAstarita/es-no-bio-20251013-t01: direct link, hf CLI and curl.
- Browser
- Download file 4.22 kB
-
https://huggingface.co/SimoneAstarita/es-no-bio-20251013-t01/resolve/main/reports.json
- Command line
-
hf download hf://SimoneAstarita/es-no-bio-20251013-t01/reports.json
-
curl -L -o reports.json https://huggingface.co/SimoneAstarita/es-no-bio-20251013-t01/resolve/main/reports.json
4.22 kB
| { | |
| "overall": { | |
| "at_0.5": { | |
| "precision_macro": 0.6608465608465608, | |
| "recall_macro": 0.7035714285714285, | |
| "f1_macro": 0.6764388665555447, | |
| "precision_weighted": 0.8374859708193041, | |
| "recall_weighted": 0.8106060606060606, | |
| "f1_weighted": 0.821655123645515, | |
| "accuracy": 0.8106060606060606, | |
| "confusion_matrix": [ | |
| [ | |
| 96, | |
| 16 | |
| ], | |
| [ | |
| 9, | |
| 11 | |
| ] | |
| ], | |
| "classification_report": " precision recall f1-score support\n\n no-recl (0) 0.9143 0.8571 0.8848 112\n recl (1) 0.4074 0.5500 0.4681 20\n\n accuracy 0.8106 132\n macro avg 0.6608 0.7036 0.6764 132\nweighted avg 0.8375 0.8106 0.8217 132\n", | |
| "threshold": 0.5 | |
| }, | |
| "at_best_global": { | |
| "precision_macro": 0.6608465608465608, | |
| "recall_macro": 0.7035714285714285, | |
| "f1_macro": 0.6764388665555447, | |
| "precision_weighted": 0.8374859708193041, | |
| "recall_weighted": 0.8106060606060606, | |
| "f1_weighted": 0.821655123645515, | |
| "accuracy": 0.8106060606060606, | |
| "confusion_matrix": [ | |
| [ | |
| 96, | |
| 16 | |
| ], | |
| [ | |
| 9, | |
| 11 | |
| ] | |
| ], | |
| "classification_report": " precision recall f1-score support\n\n no-recl (0) 0.9143 0.8571 0.8848 112\n recl (1) 0.4074 0.5500 0.4681 20\n\n accuracy 0.8106 132\n macro avg 0.6608 0.7036 0.6764 132\nweighted avg 0.8375 0.8106 0.8217 132\n", | |
| "threshold": 0.5 | |
| }, | |
| "at_best_by_lang": { | |
| "precision_macro": 0.6608465608465608, | |
| "recall_macro": 0.7035714285714285, | |
| "f1_macro": 0.6764388665555447, | |
| "precision_weighted": 0.8374859708193041, | |
| "recall_weighted": 0.8106060606060606, | |
| "f1_weighted": 0.821655123645515, | |
| "accuracy": 0.8106060606060606, | |
| "confusion_matrix": [ | |
| [ | |
| 96, | |
| 16 | |
| ], | |
| [ | |
| 9, | |
| 11 | |
| ] | |
| ], | |
| "classification_report": " precision recall f1-score support\n\n no-recl (0) 0.9143 0.8571 0.8848 112\n recl (1) 0.4074 0.5500 0.4681 20\n\n accuracy 0.8106 132\n macro avg 0.6608 0.7036 0.6764 132\nweighted avg 0.8375 0.8106 0.8217 132\n", | |
| "thresholds_by_lang": { | |
| "es": 0.5 | |
| } | |
| } | |
| }, | |
| "thresholds": { | |
| "global_best": { | |
| "threshold": 0.5, | |
| "f1_macro": 0.6764388665555447, | |
| "precision_macro": 0.6608465608465608, | |
| "recall_macro": 0.7035714285714285 | |
| }, | |
| "by_lang_best": { | |
| "es": { | |
| "threshold": 0.5, | |
| "f1_macro": 0.6764388665555447, | |
| "precision_macro": 0.6608465608465608, | |
| "recall_macro": 0.7035714285714285 | |
| } | |
| }, | |
| "default": 0.5 | |
| }, | |
| "per_lang": { | |
| "at_0.5": [ | |
| { | |
| "lang": "es", | |
| "n": 132, | |
| "accuracy": 0.8106060606060606, | |
| "f1_macro": 0.6764388665555447, | |
| "precision_macro": 0.6608465608465608, | |
| "recall_macro": 0.7035714285714285, | |
| "f1_weighted": 0.821655123645515, | |
| "precision_weighted": 0.8374859708193041, | |
| "recall_weighted": 0.8106060606060606 | |
| } | |
| ], | |
| "at_best_global": [ | |
| { | |
| "lang": "es", | |
| "n": 132, | |
| "accuracy": 0.8106060606060606, | |
| "f1_macro": 0.6764388665555447, | |
| "precision_macro": 0.6608465608465608, | |
| "recall_macro": 0.7035714285714285, | |
| "f1_weighted": 0.821655123645515, | |
| "precision_weighted": 0.8374859708193041, | |
| "recall_weighted": 0.8106060606060606 | |
| } | |
| ], | |
| "at_best_by_lang": [ | |
| { | |
| "lang": "es", | |
| "n": 132, | |
| "accuracy": 0.8106060606060606, | |
| "f1_macro": 0.6764388665555447, | |
| "precision_macro": 0.6608465608465608, | |
| "recall_macro": 0.7035714285714285, | |
| "f1_weighted": 0.821655123645515, | |
| "precision_weighted": 0.8374859708193041, | |
| "recall_weighted": 0.8106060606060606 | |
| } | |
| ] | |
| } | |
| } |