The official weblinx library
Project description
WebLINX
| 🤗Dataset | 📄Paper | 🌐Website |
|---|---|---|
| 🤖Models | 💻Explorer | 🐦Tweets |
WebLINX: Real-World Website Navigation with Multi-Turn Dialogue
Xing Han Lù*, Zdeněk Kasner*, Siva Reddy
*Equal contribution
Installation
# Install the base package
pip install weblinx
# Install all dependencies
pip install weblinx[all]
# Install specific dependencies for...
# ...processing HTML
pip install weblinx[processing]
# ...video processing
pip install weblinx[video]
# ...development
pip install weblinx[dev]
Library Usage
Check out our documentation for more information on how to use WebLINX.
Modeling
Our modeling code is separate from the weblinx library, but requires it as a dependency. You can install the modeling code by running:
# First, install the base package
pip install weblinx
# THen, clone this repo
git clone https://github.com/McGill-NLP/weblinx
cd weblinx/modeling
For the rest of the instructions, please take a look at the modeling README.
Evaluation
To install packages necessary for evaluation, run:
pip install weblinx[eval]
You can now access the evaluation module by importing in Python:
import weblinx.eval
Use weblinx.eval.metrics for evaluation metrics, weblinx.eval.__init__ for useful evaluation-related functions. You may also find it useful to take a look at weblinx.processing.outputs to get an idea of how to use the outputs of the model for evaluation.
To run the automatic evaluation, you can use the following command:
python -m weblinx.eval --help
For more examples on how to use weblinx.eval, take a look at the modeling README.
Note: We are still working on the code for
weblinx.evalandweblinx.processing.outputs. If you have any questions or would like to contribute docs, please feel free to open an issue or a pull request.
Citations
If you use this library, please cite our work using the following:
@misc{lù2024weblinx,
title={WebLINX: Real-World Website Navigation with Multi-Turn Dialogue},
author={Xing Han Lù and Zdeněk Kasner and Siva Reddy},
year={2024},
eprint={2402.05930},
archivePrefix={arXiv},
primaryClass={cs.CL}
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file weblinx-0.2.3.tar.gz.
File metadata
- Download URL: weblinx-0.2.3.tar.gz
- Upload date:
- Size: 73.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0e6eb683059a6fa373ef625f4897dc183343c7833d0ee2da9f80c46fe26e7f86
|
|
| MD5 |
7562bec16528e6eeddd0155bd447ffa4
|
|
| BLAKE2b-256 |
7918ac1fbbbb4379d495254f001e235f6f3fc70bdc6e03aeb3d9320f8a244fc2
|
File details
Details for the file weblinx-0.2.3-py3-none-any.whl.
File metadata
- Download URL: weblinx-0.2.3-py3-none-any.whl
- Upload date:
- Size: 76.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
59586e503c0a253eef600f117b8ba03ba37584f7310da0052b57d02ab17e3027
|
|
| MD5 |
572572358a8cc1d8e556977642af1e23
|
|
| BLAKE2b-256 |
d95199759b13e2073153a1c42ec0ef3b25e1e862fb5b5108750443d6701cae1b
|