Datasets:
File size: 1,023 Bytes
0fc9a15 | 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 | ---
license: cc-by-4.0
task_categories:
- question-answering
language:
- en
tags:
- lance
- video
- benchmark
formats:
- lance
libraries:
- datasets
- lance
size_categories:
- 1K<n<10K
---
# MINERVA for lmms-eval
This dataset package is prepared for lmms-eval integration of MINERVA.
## Contents
- `minerva.json`: original annotation metadata.
- `data/train.lance`: Lance table with one row per `video_id` and inline `video_blob`.
## Lance schema
- `video_id`: YouTube video ID.
- `youtube_url`: YouTube URL reconstructed from ID.
- `video_ext`: local downloaded file extension.
- `video_size_bytes`: raw file size.
- `video_blob`: large binary blob with metadata `lance-encoding:blob=true`.
## Loading examples
```python
import lance
ds = lance.dataset("hf://datasets/lmms-lab-eval/minerva/data/train.lance")
row = ds.scanner(columns=["video_id"], limit=1).to_table().to_pylist()[0]
blob = ds.take_blobs("video_blob", ids=[0])[0]
with open("sample.mp4", "wb") as f:
f.write(blob.read())
```
|