Update README.md
Browse files
README.md
CHANGED
|
@@ -214,15 +214,15 @@ See above
|
|
| 214 |
Data splits can be accessed as:
|
| 215 |
```
|
| 216 |
from datasets import load_dataset
|
| 217 |
-
dset = load_dataset("newyorker_caption_contest", "matching")
|
| 218 |
-
dset = load_dataset("newyorker_caption_contest", "ranking")
|
| 219 |
-
dset = load_dataset("newyorker_caption_contest", "explanation")
|
| 220 |
```
|
| 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.:
|
|
@@ -231,7 +231,7 @@ Because the dataset is small, we reported in 5-fold cross-validation setting ini
|
|
| 231 |
from datasets import load_dataset
|
| 232 |
|
| 233 |
# the 4th data split
|
| 234 |
-
dset = load_dataset("newyorker_caption_contest", "explanation_4")
|
| 235 |
```
|
| 236 |
|
| 237 |
## Dataset Creation
|
|
|
|
| 214 |
Data splits can be accessed as:
|
| 215 |
```
|
| 216 |
from datasets import load_dataset
|
| 217 |
+
dset = load_dataset("jmhessel/newyorker_caption_contest", "matching")
|
| 218 |
+
dset = load_dataset("jmhessel/newyorker_caption_contest", "ranking")
|
| 219 |
+
dset = load_dataset("jmhessel/newyorker_caption_contest", "explanation")
|
| 220 |
```
|
| 221 |
|
| 222 |
Or, in the from pixels setting, e.g.,
|
| 223 |
```
|
| 224 |
from datasets import load_dataset
|
| 225 |
+
dset = load_dataset("jmhessel/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.:
|
|
|
|
| 231 |
from datasets import load_dataset
|
| 232 |
|
| 233 |
# the 4th data split
|
| 234 |
+
dset = load_dataset("jmhessel/newyorker_caption_contest", "explanation_4")
|
| 235 |
```
|
| 236 |
|
| 237 |
## Dataset Creation
|