File size: 873 Bytes
aef8648 b8f40f4 aef8648 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
# [WebLINX: Real-World Website Navigation with Multi-Turn Dialogue](https://mcgill-nlp.github.io/weblinx)
*Xing Han Lù, Zdeněk Kasner, Siva Reddy*
## Quickstart
To get started, simply install `datasets` with `pip install datasets` and load the chat data splits:
```python
from datasets import load_dataset
# Load the training, validation and test (IID) splits
train = load_dataset("McGill-NLP/weblinx", "train")
val = load_dataset("McGill-NLP/weblinx", "valid")
test = load_dataset("McGill-NLP/weblinx", "test")
# Load one of the 4 out-of-domain splits (web, vis, geo, cat)
ood = load_dataset("McGill-NLP/weblinx", "web")
```
## Raw Data
To use the raw data, you will need to use the `huggingface_hub`:
```python
from huggingface_hub import snapshot_download
snapshot_download(repo_id="McGill-NLP/WebLINX", repo_type="dataset", local_dir="./data/webtasks")
``` |