--- language: - en size_categories: - 10K

WebLINX: Real-World Website Navigation with Multi-Turn Dialogue

Xing Han Lù*, Zdeněk Kasner*, Siva Reddy
📄Paper
🌐Website
💻Explorer
💾Code
🐦Tweets
🤖Models
## 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", split="train") valid = load_dataset("McGill-NLP/weblinx", split="validation") test = load_dataset("McGill-NLP/weblinx", split="test") # Load one of the 4 out-of-domain splits (test_web, test_vis, test_geo, test_cat) test_web = load_dataset("McGill-NLP/weblinx", split="test_web") # Download and read template snapshot_download( repo_id="McGill-NLP/WebLINX", repo_type="dataset", allow_patterns="template.txt", local_dir="./" ) with open('template.txt') as f: template = f.read() # Get the input text for a model by formatting the template with the correct turn_data = valid[0] input_text = template.format(**turn_data) # input_text can be given to a model ``` ## 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-full", repo_type="dataset", local_dir="./data/weblinx") ``` For more information on how to use this data using our [official library](https://github.com/McGill-NLP/WebLINX), please refer to the [WebLINX documentation](https://mcgill-nlp.github.io/weblinx/docs).