Update README.md
Browse files
README.md
CHANGED
@@ -221,12 +221,15 @@ dset = load_dataset("newyorker_caption_contest", "explanation")
|
|
221 |
|
222 |
Or, in the from pixels setting, e.g.,
|
223 |
```
|
224 |
-
|
|
|
225 |
```
|
226 |
|
227 |
Because the dataset is small, we reported in 5-fold cross-validation setting initially. The default splits are split 0. You can access the other splits, e.g.:
|
228 |
|
229 |
```
|
|
|
|
|
230 |
# the 4th data split
|
231 |
dset = load_dataset("newyorker_caption_contest", "explanation_4")
|
232 |
```
|
|
|
221 |
|
222 |
Or, in the from pixels setting, e.g.,
|
223 |
```
|
224 |
+
from datasets import load_dataset
|
225 |
+
dset = load_dataset("newyorker_caption_contest", "ranking_from_pixels")
|
226 |
```
|
227 |
|
228 |
Because the dataset is small, we reported in 5-fold cross-validation setting initially. The default splits are split 0. You can access the other splits, e.g.:
|
229 |
|
230 |
```
|
231 |
+
from datasets import load_dataset
|
232 |
+
|
233 |
# the 4th data split
|
234 |
dset = load_dataset("newyorker_caption_contest", "explanation_4")
|
235 |
```
|