Text Generation
Transformers
Safetensors
English
weblinx
text-generation-inference
web-agents
agents
Instructions to use McGill-NLP/MindAct-large-weblinx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use McGill-NLP/MindAct-large-weblinx with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="McGill-NLP/MindAct-large-weblinx")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("McGill-NLP/MindAct-large-weblinx", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use McGill-NLP/MindAct-large-weblinx with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "McGill-NLP/MindAct-large-weblinx" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "McGill-NLP/MindAct-large-weblinx", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/McGill-NLP/MindAct-large-weblinx
- SGLang
How to use McGill-NLP/MindAct-large-weblinx with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "McGill-NLP/MindAct-large-weblinx" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "McGill-NLP/MindAct-large-weblinx", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "McGill-NLP/MindAct-large-weblinx" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "McGill-NLP/MindAct-large-weblinx", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use McGill-NLP/MindAct-large-weblinx with Docker Model Runner:
docker model run hf.co/McGill-NLP/MindAct-large-weblinx
Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
datasets:
|
| 3 |
+
- McGill-NLP/WebLINX
|
| 4 |
+
- McGill-NLP/WebLINX-full
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
metrics:
|
| 8 |
+
- f1
|
| 9 |
+
- iou
|
| 10 |
+
- chrf
|
| 11 |
+
library_name: transformers
|
| 12 |
+
pipeline_tag: text-generation
|
| 13 |
+
tags:
|
| 14 |
+
- weblinx
|
| 15 |
+
- text-generation-inference
|
| 16 |
+
- web-agents
|
| 17 |
+
- agents
|
| 18 |
+
license: apache-2.0
|
| 19 |
+
---
|
| 20 |
+
<div align="center">
|
| 21 |
+
<h1 style="margin-bottom: 0.5em;">WebLINX: Real-World Website Navigation with Multi-Turn Dialogue</h1>
|
| 22 |
+
<em>Xing Han Lù*, Zdeněk Kasner*, Siva Reddy</em>
|
| 23 |
+
</div>
|
| 24 |
+
|
| 25 |
+
<div style="margin-bottom: 2em"></div>
|
| 26 |
+
|
| 27 |
+
<div style="display: flex; justify-content: space-around; align-items: center; font-size: 120%;">
|
| 28 |
+
<div><a href="https://mcgill-nlp.github.io/weblinx">🌐Website</a></div>
|
| 29 |
+
<div><a href="https://huggingface.co/spaces/McGill-NLP/weblinx-explorer">💻Explorer</a></div>
|
| 30 |
+
<div><a href="https://huggingface.co/datasets/McGill-NLP/WebLINX">🤗Dataset</a></div>
|
| 31 |
+
<div><a href="https://github.com/McGill-NLP/weblinx">💾Code</a></div>
|
| 32 |
+
</div>
|
| 33 |
+
|
| 34 |
+
|
| 35 |
+
## Original Model
|
| 36 |
+
|
| 37 |
+
This model is finetuned on WebLINX using checkpoints previously published on Huggingface Hub.\
|
| 38 |
+
[Click here to access the original model.](https://huggingface.co/osunlp/MindAct_ActionPrediction_flan-t5-large)
|