license: mit tags: - pytorch - transformers - distilbert - text-classification library_name: transformers base_model: distilbert-base-uncased

⚑ DistilBERT MCQ Classifier β€” Smart MCQ Solver

distilbert-base-uncased + classification head on prompt text.

How to Load

import json, torch
from huggingface_hub import hf_hub_download
from transformers import DistilBertTokenizerFast
from model_defs import DistilBertClassifier

model = DistilBertClassifier.from_pretrained("24f3004104/Distilbert-Pretrained")
tokenizer = DistilBertTokenizerFast.from_pretrained("24f3004104/Distilbert-Pretrained")
labels_path = hf_hub_download("24f3004104/Distilbert-Pretrained", "labels.json")
classes = json.load(open(labels_path))["classes"]
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Space using 24f3004104/Distilbert-Pretrained 1