Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -20,6 +20,25 @@ Common-O is comprised of household objects:
|
|
| 20 |
|
| 21 |
We have two subsets: Common-O (3 - 8 objects) and Common-O Complex (8 - 16 objects).
|
| 22 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
|
| 24 |
## Multimodal LLMs excel at single image perception, but struggle with multi-scene reasoning
|
| 25 |
|
|
|
|
| 20 |
|
| 21 |
We have two subsets: Common-O (3 - 8 objects) and Common-O Complex (8 - 16 objects).
|
| 22 |
|
| 23 |
+
## Evaluating a Multimodal LLM on Common-O
|
| 24 |
+
|
| 25 |
+
```python
|
| 26 |
+
from datasets import common_o
|
| 27 |
+
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
question, image, image2, correct_response, _ = datasets.load("facebook/Common-O")[3]
|
| 31 |
+
|
| 32 |
+
instructions = ""
|
| 33 |
+
|
| 34 |
+
prompt = instructions + question
|
| 35 |
+
|
| 36 |
+
|
| 37 |
+
output = model(prompt, image, image2)
|
| 38 |
+
|
| 39 |
+
exact_match(output, correct_response)
|
| 40 |
+
```
|
| 41 |
+
|
| 42 |
|
| 43 |
## Multimodal LLMs excel at single image perception, but struggle with multi-scene reasoning
|
| 44 |
|