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
File size: 1,234 Bytes
f12d393 | 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 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | {
"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"
}
|