Text Classification
Transformers
Safetensors
Portuguese
deberta-v2
patchdedup
experimental
nli
text-embeddings-inference
Instructions to use enzoferracini/patchdedup-ptbr-mdeberta with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use enzoferracini/patchdedup-ptbr-mdeberta with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="enzoferracini/patchdedup-ptbr-mdeberta")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("enzoferracini/patchdedup-ptbr-mdeberta") model = AutoModelForSequenceClassification.from_pretrained("enzoferracini/patchdedup-ptbr-mdeberta", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download evaluation/teacher.json from enzoferracini/patchdedup-ptbr-mdeberta: direct link, hf CLI and curl.
- Browser
- Download file 1.23 kB
-
https://huggingface.co/enzoferracini/patchdedup-ptbr-mdeberta/resolve/main/evaluation/teacher.json
- Command line
-
hf download hf://enzoferracini/patchdedup-ptbr-mdeberta/evaluation/teacher.json
-
curl -L -o teacher.json https://huggingface.co/enzoferracini/patchdedup-ptbr-mdeberta/resolve/main/evaluation/teacher.json
1.23 kB
| { | |
| "name": "multitask_deberta", | |
| "directory": "artifacts/v03/multitask_deberta/model", | |
| "initial_key": "nli_deberta", | |
| "kind": "nli", | |
| "aggregation": "min", | |
| "policy": { | |
| "binary_threshold": 0.3526493012905121, | |
| "thresholds": { | |
| "low": 0.46919283270835876, | |
| "high": 0.4728550910949707, | |
| "positive_enabled": true, | |
| "negative_enabled": true | |
| }, | |
| "selection_split": "validation", | |
| "precision_target": 0.9, | |
| "negative_predictive_value_target": 0.9, | |
| "minimum_support": 5, | |
| "decision_policy_version": "0.1.0" | |
| }, | |
| "validation": { | |
| "support": 132, | |
| "positive_support": 57, | |
| "precision": 0.8983050847457628, | |
| "recall": 0.9298245614035088, | |
| "f1": 0.9137931034482759, | |
| "macro_f1": 0.9231127679403541, | |
| "average_precision": 0.9448769491431617, | |
| "confusion_matrix": [ | |
| [ | |
| 69, | |
| 6 | |
| ], | |
| [ | |
| 4, | |
| 53 | |
| ] | |
| ], | |
| "coverage": 0.9924242424242424, | |
| "review_rate": 0.007575757575757576, | |
| "review_count": 1, | |
| "redundant_count": 56, | |
| "not_redundant_count": 75, | |
| "selective_precision": 0.9107142857142857, | |
| "negative_predictive_value": 0.92 | |
| }, | |
| "cache": "artifacts/v03/cache/multitask_deberta-development.npy" | |
| } | |