Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,77 +1,13 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
- name: answer
|
| 12 |
-
dtype: string
|
| 13 |
-
- name: answer_index
|
| 14 |
-
dtype: int32
|
| 15 |
-
- name: answer_title
|
| 16 |
-
dtype: string
|
| 17 |
-
- name: title
|
| 18 |
-
dtype: string
|
| 19 |
-
- name: artist
|
| 20 |
-
dtype: string
|
| 21 |
-
- name: year
|
| 22 |
-
dtype: int32
|
| 23 |
-
- name: genre
|
| 24 |
-
dtype: string
|
| 25 |
-
- name: average_color
|
| 26 |
-
dtype: string
|
| 27 |
-
- name: colorfulness
|
| 28 |
-
dtype: float32
|
| 29 |
-
- name: seconds
|
| 30 |
-
dtype: int32
|
| 31 |
-
- name: source_url
|
| 32 |
-
dtype: string
|
| 33 |
-
splits:
|
| 34 |
-
- name: test
|
| 35 |
-
num_bytes: 406214
|
| 36 |
-
num_examples: 100
|
| 37 |
-
download_size: 421047
|
| 38 |
-
dataset_size: 406214
|
| 39 |
-
- config_name: youtube
|
| 40 |
-
features:
|
| 41 |
-
- name: id
|
| 42 |
-
dtype: string
|
| 43 |
-
- name: image
|
| 44 |
-
dtype: image
|
| 45 |
-
- name: choices
|
| 46 |
-
list: string
|
| 47 |
-
- name: answer
|
| 48 |
-
dtype: string
|
| 49 |
-
- name: answer_index
|
| 50 |
-
dtype: int32
|
| 51 |
-
- name: answer_title
|
| 52 |
-
dtype: string
|
| 53 |
-
- name: title
|
| 54 |
-
dtype: string
|
| 55 |
-
- name: artist
|
| 56 |
-
dtype: string
|
| 57 |
-
- name: year
|
| 58 |
-
dtype: int32
|
| 59 |
-
- name: genre
|
| 60 |
-
dtype: string
|
| 61 |
-
- name: average_color
|
| 62 |
-
dtype: string
|
| 63 |
-
- name: colorfulness
|
| 64 |
-
dtype: float32
|
| 65 |
-
- name: seconds
|
| 66 |
-
dtype: int32
|
| 67 |
-
- name: source_url
|
| 68 |
-
dtype: string
|
| 69 |
-
splits:
|
| 70 |
-
- name: test
|
| 71 |
-
num_bytes: 278435
|
| 72 |
-
num_examples: 100
|
| 73 |
-
download_size: 289340
|
| 74 |
-
dataset_size: 278435
|
| 75 |
configs:
|
| 76 |
- config_name: films
|
| 77 |
data_files:
|
|
@@ -82,3 +18,46 @@ configs:
|
|
| 82 |
- split: test
|
| 83 |
path: youtube/test-*
|
| 84 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
license: mit
|
| 3 |
+
task_categories:
|
| 4 |
+
- visual-question-answering
|
| 5 |
+
- multiple-choice
|
| 6 |
+
language:
|
| 7 |
+
- en
|
| 8 |
+
pretty_name: MovieColorBench
|
| 9 |
+
size_categories:
|
| 10 |
+
- n<1K
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
configs:
|
| 12 |
- config_name: films
|
| 13 |
data_files:
|
|
|
|
| 18 |
- split: test
|
| 19 |
path: youtube/test-*
|
| 20 |
---
|
| 21 |
+
|
| 22 |
+
# MovieColorBench
|
| 23 |
+
|
| 24 |
+
Can a model recognize a famous video from just its colors?
|
| 25 |
+
|
| 26 |
+
Each image is a barcode of one video. Every stripe is the average color of a few seconds, in order from start to end. The model picks which video it is out of 10 options, so guessing gets 10%.
|
| 27 |
+
|
| 28 |
+
| config | questions | what's in it |
|
| 29 |
+
|--------|-----------|--------------|
|
| 30 |
+
| `films` | 100 | feature films |
|
| 31 |
+
| `youtube` | 100 | the most viewed YouTube videos, mostly music videos |
|
| 32 |
+
|
| 33 |
+
```python
|
| 34 |
+
from datasets import load_dataset
|
| 35 |
+
ds = load_dataset("loganbolton/MovieColorBench", "films", split="test")
|
| 36 |
+
ds[0]["image"], ds[0]["choices"], ds[0]["answer"]
|
| 37 |
+
```
|
| 38 |
+
|
| 39 |
+
## Fields
|
| 40 |
+
|
| 41 |
+
| field | meaning |
|
| 42 |
+
|-------|---------|
|
| 43 |
+
| `image` | the barcode, 1000x200 PNG |
|
| 44 |
+
| `choices` | the 10 options |
|
| 45 |
+
| `answer`, `answer_index`, `answer_title` | the right option as a letter (A to J), an index (0 to 9) and text |
|
| 46 |
+
| `title`, `artist`, `year`, `genre` | about the video |
|
| 47 |
+
| `average_color` | mean color of the whole video as hex |
|
| 48 |
+
| `colorfulness` | how saturated the video is, near 0 for black and white |
|
| 49 |
+
| `seconds` | runtime |
|
| 50 |
+
| `source_url` | where the video came from |
|
| 51 |
+
|
| 52 |
+
The wrong options are picked to be plausible. Same genre, close in year, similar colorfulness.
|
| 53 |
+
|
| 54 |
+
## Running a model
|
| 55 |
+
|
| 56 |
+
The code is at https://github.com/LoganBolton/MovieColorBench. Any OpenRouter model runs with one command.
|
| 57 |
+
|
| 58 |
+
```bash
|
| 59 |
+
export OPENROUTER_API_KEY=sk-or-...
|
| 60 |
+
uv run run.py --model openai/gpt-6.1-sol
|
| 61 |
+
```
|
| 62 |
+
|
| 63 |
+
Only barcodes are shared here, no frames from the videos.
|