Text Classification
Transformers
Safetensors
deberta-v2
multiple-choice
deberta
mcq
question-answering
text-embeddings-inference
Instructions to use rohitk123/deberta-mcq-solver with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use rohitk123/deberta-mcq-solver with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="rohitk123/deberta-mcq-solver")# Load model directly from transformers import AutoTokenizer, AutoModelForMultipleChoice tokenizer = AutoTokenizer.from_pretrained("rohitk123/deberta-mcq-solver") model = AutoModelForMultipleChoice.from_pretrained("rohitk123/deberta-mcq-solver", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 1,032 Bytes
76acfc0 0f03bf4 76acfc0 0f03bf4 76acfc0 0f03bf4 76acfc0 0f03bf4 76acfc0 0f03bf4 76acfc0 0f03bf4 76acfc0 0f03bf4 76acfc0 0f03bf4 76acfc0 0f03bf4 76acfc0 0f03bf4 76acfc0 0f03bf4 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | ---
library_name: transformers
pipeline_tag: text-classification
tags:
- deberta
- multiple-choice
- mcq
- question-answering
---
# DeBERTa MCQ Solver
A DeBERTa-based multiple-choice question solver trained using PyTorch and Hugging Face Transformers.
## Model
This model is trained for multiple-choice question answering with five candidate options.
### Architecture
- Base model: DeBERTa
- Framework: PyTorch
- Library: Hugging Face Transformers
- Number of choices: 5
- Maximum sequence length: 256
## Files
- `config.json` — model configuration
- `model.safetensors` — trained model weights
- `tokenizer.json` — tokenizer
- `tokenizer_config.json` — tokenizer configuration
- `app.py` — Gradio application
- `requirements.txt` — Python dependencies
## Usage
```python
from transformers import AutoTokenizer, AutoModelForMultipleChoice
model_name = "rohitk123/deberta-mcq-solver"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForMultipleChoice.from_pretrained(model_name) |