How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-classification", model="dhananjay2912/deberta_aci_bench_medical_section_classifier")
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification

tokenizer = AutoTokenizer.from_pretrained("dhananjay2912/deberta_aci_bench_medical_section_classifier")
model = AutoModelForSequenceClassification.from_pretrained("dhananjay2912/deberta_aci_bench_medical_section_classifier", device_map="auto")
Quick Links

Model Trained Using AutoTrain

  • Problem type: Text Classification

Validation Metrics

loss: 1.4913766384124756

f1_macro: 0.28164367547346275

f1_micro: 0.64

f1_weighted: 0.5917376665887304

precision_macro: 0.2705775014459225

precision_micro: 0.64

precision_weighted: 0.5802396761133604

recall_macro: 0.3324350649350649

recall_micro: 0.64

recall_weighted: 0.64

accuracy: 0.64

Downloads last month
3
Safetensors
Model size
0.2B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support