Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -139,9 +139,9 @@ You can also access the data processed for reranking tasks. To do that:
|
|
| 139 |
```python
|
| 140 |
from datasets import load_dataset
|
| 141 |
|
| 142 |
-
|
| 143 |
# validation split:
|
| 144 |
-
valid = load_dataset(
|
| 145 |
# test-iid split
|
| 146 |
test_iid = load_dataset(name, 'reranking', split='test_iid')
|
| 147 |
# other options: test_cat, test_geo, test_vis, test_web
|
|
|
|
| 139 |
```python
|
| 140 |
from datasets import load_dataset
|
| 141 |
|
| 142 |
+
path = 'McGill-NLP/WebLINX'
|
| 143 |
# validation split:
|
| 144 |
+
valid = load_dataset(path, name='reranking', split='validation')
|
| 145 |
# test-iid split
|
| 146 |
test_iid = load_dataset(name, 'reranking', split='test_iid')
|
| 147 |
# other options: test_cat, test_geo, test_vis, test_web
|