Downloads · 30 days
13
8% of all-time downloads
Hacktrix-121/deberta-v3-base-opp115-multilabel-v2
deberta-v3-base-opp115-multilabel-v2 is a text classification model from Hacktrix-121. Use it when you need a label for a piece of text. It is set up for transformers.
Fine-tuned DeBERTaV3 model for multi-label classification on the OPP115 dataset.
Downloads · 30 days
13
8% of all-time downloads
All-time downloads
162
Public
Parameters
184M
740 MB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors738 MB · 99%
From the Hugging Face model README
Fine-tuned DeBERTaV3 model for multi-label classification on the OPP115 dataset.
| Metric | Score |
|---|---|
| Macro F1 | 0.8092 |
| Micro F1 | 0.8565 |
| Weighted F1 | 0.8531 |
| Macro Precision | 0.8657 |
| Macro Recall | 0.7697 |
from transformers import AutoModelForSequenceClassification, AutoTokenizer
import torch
model = AutoModelForSequenceClassification.from_pretrained("Hacktrix-121/deberta-v3-base-opp115-multilabel-v2")
tokenizer = AutoTokenizer.from_pretrained("Hacktrix-121/deberta-v3-base-opp115-multilabel-v2")
text = "Your input text here"
inputs = tokenizer(text, return_tensors="pt")
logits = model(**inputs).logits
probs = torch.sigmoid(logits)