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 score_graph.json from enzoferracini/patchdedup-ptbr-mdeberta: direct link, hf CLI and curl.
- Browser
- Download file 928 Bytes
-
https://huggingface.co/enzoferracini/patchdedup-ptbr-mdeberta/resolve/main/score_graph.json
- Command line
-
hf download hf://enzoferracini/patchdedup-ptbr-mdeberta/score_graph.json
-
curl -L -o score_graph.json https://huggingface.co/enzoferracini/patchdedup-ptbr-mdeberta/resolve/main/score_graph.json
928 Bytes
| { | |
| "kind": "average", | |
| "indices": [ | |
| 0 | |
| ], | |
| "weights": [ | |
| 1.0 | |
| ], | |
| "calibrator_kind": "identity", | |
| "calibrator": { | |
| "kind": "identity" | |
| }, | |
| "components": [ | |
| { | |
| "name": "hpo_5::min", | |
| "initial_key": "nli_deberta", | |
| "aggregation": "min", | |
| "quantized": false, | |
| "model_sha256": "058be8f2224e2f995de5fd3c7b4b14bc3df19abc7874be82793727af2c1b68bf", | |
| "path": ".", | |
| "source_directory": "artifacts/v03/hpo_5/model" | |
| } | |
| ], | |
| "binary_threshold": 0.4262998700141907, | |
| "conformal": { | |
| "alpha": 0.1, | |
| "q": 0.045632243156433105, | |
| "calibration_pairs": 20, | |
| "thresholds": { | |
| "low": 0.04563224315643311, | |
| "high": 0.9543677568435669, | |
| "positive_enabled": true, | |
| "negative_enabled": true | |
| }, | |
| "assumption": "Marginal coverage requires exchangeability; not a precision guarantee or domain-shift protection" | |
| }, | |
| "decision_policy_version": "0.3.0" | |
| } | |