Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -33,3 +33,40 @@ configs:
|
|
| 33 |
- split: testmini
|
| 34 |
path: data/testmini-*
|
| 35 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
- split: testmini
|
| 34 |
path: data/testmini-*
|
| 35 |
---
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
# MathVision (testmini) – single-image version
|
| 39 |
+
|
| 40 |
+
This dataset is derived from [MathLLMs/MathVision](https://huggingface.co/datasets/MathLLMs/MathVision)
|
| 41 |
+
(`testmini` split only). Please cite and follow the license of the original dataset.
|
| 42 |
+
|
| 43 |
+
## Modifications
|
| 44 |
+
|
| 45 |
+
1. **Removed multi-image samples**: any sample whose question/options reference more than one
|
| 46 |
+
image (`<image1>`, `<image2>`, ...) was deleted. **58** samples were removed,
|
| 47 |
+
**246** remain.
|
| 48 |
+
2. **Added a `prompt` column**, built from the `question` column:
|
| 49 |
+
- The image tags (`<image1>`, ...) are removed from the question text.
|
| 50 |
+
- If the sample has choices, they are appended as:
|
| 51 |
+
`QUESTION Choices: (A) option (B) option ...`
|
| 52 |
+
- If the choices are only letters (the values are inside the image), the format is:
|
| 53 |
+
`QUESTION Choices: (A) (B) (C) (D) (E)`
|
| 54 |
+
- If there are no choices, the prompt is just the cleaned question.
|
| 55 |
+
|
| 56 |
+
## Example
|
| 57 |
+
|
| 58 |
+
| field | value |
|
| 59 |
+
|---|---|
|
| 60 |
+
| prompt | How many different digits can you find in this picture? |
|
| 61 |
+
|
| 62 |
+
## Columns
|
| 63 |
+
|
| 64 |
+
`id`, `question`, `options`, `image`, `decoded_image`, `answer`, `solution`, `level`, `subject`, `prompt`
|
| 65 |
+
|
| 66 |
+
## Usage
|
| 67 |
+
|
| 68 |
+
```python
|
| 69 |
+
from datasets import load_dataset
|
| 70 |
+
ds = load_dataset("Misraj/MathVision_testmini", split="testmini")
|
| 71 |
+
print(ds[0]["prompt"])
|
| 72 |
+
```
|