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"]
Inference Providers NEW
This model isn't deployed by any Inference Provider. π Ask for provider support