Downloads · 30 days
7
16% of all-time downloads
Shitanshu06/mcq-deberta-v3-large
mcq-deberta-v3-large is a text classification model from Shitanshu06. Use it when you need a label for a piece of text. The card lists the license as apache-2.0.
Fine-tuned DeBERTa-v3-large for 5-option Multiple Choice Question answering.
Downloads · 30 days
7
16% of all-time downloads
All-time downloads
45
Public
Parameters
435M
1.7 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors1.7 GB · 99%
From the Hugging Face model README
Fine-tuned DeBERTa-v3-large for 5-option Multiple Choice Question answering.
from transformers import DebertaV2Tokenizer, DebertaV2ForSequenceClassification
import torch
tokenizer = DebertaV2Tokenizer.from_pretrained("Shitanshu06/mcq-deberta-v3-large")
model = DebertaV2ForSequenceClassification.from_pretrained("Shitanshu06/mcq-deberta-v3-large", num_labels=1)
question = "What is dropout?"
option = "To prevent overfitting"
enc = tokenizer(question, option, return_tensors="pt", truncation=True, max_length=192)
with torch.no_grad():
score = model(**enc).logits.item()