File size: 1,725 Bytes
378cb5f
e2152af
 
 
378cb5f
 
e2152af
378cb5f
 
e2152af
378cb5f
 
e2152af
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
---
title: Evaluation Dataset Quiz
emoji: 🧠
colorFrom: blue
colorTo: green
sdk: gradio
sdk_version: 4.19.2
app_file: app.py
pinned: false
license: mit
---

# HuggingFace Evaluation Dataset Quiz

Test your knowledge with questions from popular evaluation datasets!

## Features

- 🎯 Interactive quiz interface built with Gradio
- πŸ“Š 8 popular evaluation datasets including:
  - GSM8K (Grade School Math)
  - MMLU (Massive Multitask Language Understanding)
  - AI2 ARC (Science Questions)
  - HellaSwag (Commonsense NLI)
  - WinoGrande (Winograd Schema)
  - BoolQ (Boolean Questions)
  - SQuAD (Reading Comprehension)
  - PIQA (Physical Reasoning)
- 🎲 Random question selection
- βœ… Immediate feedback on answers
- πŸ“ˆ Score tracking
- πŸ”„ Support for multiple question formats:
  - Multiple choice
  - True/False
  - Text input for QA tasks

## How to Use

1. **Select a Dataset**: Choose from the available evaluation datasets
2. **Choose Number of Questions**: Select how many questions you want (5-20)
3. **Start Quiz**: Click "Start Quiz" to begin
4. **Answer Questions**: Select or type your answer and click "Submit Answer"
5. **Get Feedback**: See if you got it right and learn the correct answer
6. **Continue**: Click "Next Question" to proceed
7. **View Score**: See your final score at the end

## Local Development

```bash
# Clone the repository
git clone <your-repo-url>
cd eval_quiz_app

# Install dependencies
pip install -r requirements.txt

# Run the app
python app.py
```

## Deployment

This app is designed to run on HuggingFace Spaces. Simply push to your Space repository and it will deploy automatically.

## Contributing

Feel free to add more datasets or improve the quiz functionality!