Downloads · 30 days
10
7% of all-time downloads
HasithKovinda/dominance-deberta-v3
dominance-deberta-v3 is a text classification model from HasithKovinda. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as apache-2.0.
This model is a fine-tuned version of microsoft/deberta-v3-base on a normalized regression task using the EmoBank dataset. It predicts dominance scores (1–5 scale) based on the input sentence.
Downloads · 30 days
10
7% of all-time downloads
All-time downloads
147
Public
Parameters
184M
740 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors738 MB · 99%
From the Hugging Face model README
This model is a fine-tuned version of microsoft/deberta-v3-base on a normalized regression task using the EmoBank dataset. It predicts dominance scores (1–5 scale) based on the input sentence.
This model is useful for estimating how confident, assertive, or dominant a sentence sounds — useful for behavior analysis, sentiment scoring, or interview assessment systems.
from transformers import AutoTokenizer, AutoModelForSequenceClassification
import torch
model = AutoModelForSequenceClassification.from_pretrained("hasithkovinda/dominance-deberta-v3")
tokenizer = AutoTokenizer.from_pretrained("hasithkovinda/dominance-deberta-v3")
inputs = tokenizer(["I'm confident in my abilities."], return_tensors="pt")
with torch.no_grad():
outputs = model(**inputs)
# Convert output from 0–1 to 1–5 dominance score
score = outputs.logits.squeeze().item() * 4 + 1
print("Dominance Score:", round(score, 2))