Run this model with HF Jobs

Run unlikefraction/mcq-roberta-base on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/unlikefraction/mcq-roberta-base. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/unlikefraction/mcq-roberta-base on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
mcq-roberta-base / README.md
unlikefraction's picture
ONNX int8 export for browser inference
88e6839 verified
|
Raw History Blame Contribute Delete
1.27 kB
---
license: mit
library_name: transformers.js
pipeline_tag: text-classification
tags: [onnx, transformers.js, multiple-choice, mcq]
---
# mcq-roberta-base
ONNX (int8, per-channel dynamic quantization) export of a **roberta-base** fine-tuned for 5-way MCQ
answer selection, for the IITM BS DA2001P Deep Learning & GenAI project
(Shubham Gupta, roll 22f3001874).
Input is one flattened string, `"{question}\nA. {A}\nB. {B}\nC. {C}\nD. {D}\nE. {E}"`,
`max_length=160`. The five classes are the option letters A-E (`LABEL_0`..`LABEL_4`).
Fine-tuning: all 2,000 labelled rows of the `smart-mcq-solver-challenge` train set, 3 epochs,
AdamW lr 2e-5, weight decay 0.01, batch size 8, float32, linear schedule with 50 warmup steps.
**Quantization fidelity** (measured on 300 labelled rows, versus the fp32 PyTorch checkpoint,
for the 0.7 x DeBERTa + 0.3 x RoBERTa ensemble these two models form): top-1 agreement
**99.67%**, MAP@3 **1.000000 -> 0.998333**. Top-1 predictions are essentially preserved; the
very-low-probability rank 2-3 tail can reorder, because those probabilities (~0.001) are below
int8 resolution.
Used by the live demo: <https://huggingface.co/spaces/unlikefraction/smart-mcq-solver>
Source: <https://github.com/unlikefraction/iitm-da2001p-may2026>