File size: 1,281 Bytes
83d73f9
f12132c
 
 
 
83d73f9
f12132c
83d73f9
 
 
f12132c
83d73f9
 
f12132c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
title: Smart MCQ Solver
emoji: 🧠
colorFrom: blue
colorTo: indigo
sdk: gradio
sdk_version: 5.9.1
app_file: app.py
pinned: false
license: mit
short_description: DeBERTa-v3-large ranking five candidate MCQ answers
---

# Smart MCQ Solver

Five-option multiple-choice question answering over science and philosophy,
scored by MAP@3. Fine-tuned `microsoft/deberta-v3-large` used as an
`AutoModelForMultipleChoice` cross-encoder.

| Metric | Value |
|---|---|
| 3-fold grouped CV MAP@3 | **0.7567** |
| Random MAP@3 baseline | 0.3667 |
| Leakage-free project estimate | 0.6817 |

Set the `MODEL_ID` Space variable to your model repo, e.g.
`your-username/smart-mcq-deberta-v3-large`.

## How it works

Each of the five options is paired with the question to form five
`(question, option)` sequences of shape `(5, L)`. The encoder scores each pair
independently; a linear head reduces each to one logit; the five logits are
reshaped to `(1, 5)` and softmaxed, so the options compete in a single
distribution. The top three, in order, are the MAP@3 submission.

## Limitations

Trained on 2,000 rows covering 252 unique questions. Closed-book — no retrieval,
no citations, and no abstention mechanism, so it ranks five options confidently
regardless of whether it knows the topic.