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
| 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) |