Image-Text-to-Text
Transformers
Safetensors
lfm2_vl
browser-automation
gui-understanding
vision-language-model
webbrain
conversational
Instructions to use webbrain-one/webbrain-vl-2-450M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use webbrain-one/webbrain-vl-2-450M with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="webbrain-one/webbrain-vl-2-450M") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("webbrain-one/webbrain-vl-2-450M") model = AutoModelForMultimodalLM.from_pretrained("webbrain-one/webbrain-vl-2-450M", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use webbrain-one/webbrain-vl-2-450M with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "webbrain-one/webbrain-vl-2-450M" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "webbrain-one/webbrain-vl-2-450M", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/webbrain-one/webbrain-vl-2-450M
- SGLang
How to use webbrain-one/webbrain-vl-2-450M 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 "webbrain-one/webbrain-vl-2-450M" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "webbrain-one/webbrain-vl-2-450M", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'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 "webbrain-one/webbrain-vl-2-450M" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "webbrain-one/webbrain-vl-2-450M", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use webbrain-one/webbrain-vl-2-450M with Docker Model Runner:
docker model run hf.co/webbrain-one/webbrain-vl-2-450M
Download eval/v2-summary.json from webbrain-one/webbrain-vl-2-450M: direct link, hf CLI and curl.
- Browser
- Download file 5.66 kB
-
https://huggingface.co/webbrain-one/webbrain-vl-2-450M/resolve/main/eval/v2-summary.json
- Command line
-
hf download hf://webbrain-one/webbrain-vl-2-450M/eval/v2-summary.json
-
curl -L -o v2-summary.json https://huggingface.co/webbrain-one/webbrain-vl-2-450M/resolve/main/eval/v2-summary.json
5.66 kB
| { | |
| "schemaVersion": 1, | |
| "createdAt": "2026-08-22T08:29:48.253Z", | |
| "model": "webbrain-browser-vision-tiny-2", | |
| "endpoint": "http://127.0.0.1:8000/v1/chat/completions", | |
| "promptMode": "production", | |
| "productionUserText": "Describe this screenshot of the current browser viewport for a web-automation agent. Follow the format in the system prompt.", | |
| "promptSha256": "8465a0e60af8f3e4dcc5ff188a7682c22b1d52974db54ccb42ff8a1a5346a207", | |
| "overall": { | |
| "cases": 100, | |
| "scored": 100, | |
| "errors": 0, | |
| "successes": 36, | |
| "successRate": 0.36, | |
| "meanScore": 0.7499122266622266, | |
| "meanLatencyMs": 1967.96 | |
| }, | |
| "byDifficulty": { | |
| "easy": { | |
| "cases": 20, | |
| "scored": 20, | |
| "errors": 0, | |
| "successes": 12, | |
| "successRate": 0.6, | |
| "meanScore": 0.8306637806637805, | |
| "meanLatencyMs": 1759.85 | |
| }, | |
| "basic": { | |
| "cases": 20, | |
| "scored": 20, | |
| "errors": 0, | |
| "successes": 8, | |
| "successRate": 0.4, | |
| "meanScore": 0.77874888999889, | |
| "meanLatencyMs": 1760.15 | |
| }, | |
| "intermediate": { | |
| "cases": 20, | |
| "scored": 20, | |
| "errors": 0, | |
| "successes": 8, | |
| "successRate": 0.4, | |
| "meanScore": 0.7956476856476855, | |
| "meanLatencyMs": 1829 | |
| }, | |
| "advanced": { | |
| "cases": 20, | |
| "scored": 20, | |
| "errors": 0, | |
| "successes": 2, | |
| "successRate": 0.1, | |
| "meanScore": 0.6214635364635364, | |
| "meanLatencyMs": 1911.45 | |
| }, | |
| "challenging": { | |
| "cases": 20, | |
| "scored": 20, | |
| "errors": 0, | |
| "successes": 6, | |
| "successRate": 0.3, | |
| "meanScore": 0.7230372405372406, | |
| "meanLatencyMs": 2579.35 | |
| } | |
| }, | |
| "byCategory": { | |
| "authentication": { | |
| "cases": 5, | |
| "scored": 5, | |
| "errors": 0, | |
| "successes": 1, | |
| "successRate": 0.2, | |
| "meanScore": 0.7618648018648019, | |
| "meanLatencyMs": 2116.8 | |
| }, | |
| "search-results": { | |
| "cases": 5, | |
| "scored": 5, | |
| "errors": 0, | |
| "successes": 1, | |
| "successRate": 0.2, | |
| "meanScore": 0.7787878787878788, | |
| "meanLatencyMs": 2410.6 | |
| }, | |
| "checkout": { | |
| "cases": 5, | |
| "scored": 5, | |
| "errors": 0, | |
| "successes": 0, | |
| "successRate": 0, | |
| "meanScore": 0.7933177933177933, | |
| "meanLatencyMs": 2275 | |
| }, | |
| "form-validation": { | |
| "cases": 5, | |
| "scored": 5, | |
| "errors": 0, | |
| "successes": 0, | |
| "successRate": 0, | |
| "meanScore": 0.54, | |
| "meanLatencyMs": 1788.2 | |
| }, | |
| "modal-overlay": { | |
| "cases": 5, | |
| "scored": 5, | |
| "errors": 0, | |
| "successes": 1, | |
| "successRate": 0.2, | |
| "meanScore": 0.8121212121212122, | |
| "meanLatencyMs": 2095 | |
| }, | |
| "toast-notification": { | |
| "cases": 5, | |
| "scored": 5, | |
| "errors": 0, | |
| "successes": 3, | |
| "successRate": 0.6, | |
| "meanScore": 0.7777777777777779, | |
| "meanLatencyMs": 1823.8 | |
| }, | |
| "loading-state": { | |
| "cases": 5, | |
| "scored": 5, | |
| "errors": 0, | |
| "successes": 2, | |
| "successRate": 0.4, | |
| "meanScore": 0.7742424242424242, | |
| "meanLatencyMs": 1284.6 | |
| }, | |
| "consent-banner": { | |
| "cases": 5, | |
| "scored": 5, | |
| "errors": 0, | |
| "successes": 1, | |
| "successRate": 0.2, | |
| "meanScore": 0.6399999999999999, | |
| "meanLatencyMs": 1957 | |
| }, | |
| "dashboard": { | |
| "cases": 5, | |
| "scored": 5, | |
| "errors": 0, | |
| "successes": 4, | |
| "successRate": 0.8, | |
| "meanScore": 0.9, | |
| "meanLatencyMs": 2339.8 | |
| }, | |
| "chart-reading": { | |
| "cases": 5, | |
| "scored": 5, | |
| "errors": 0, | |
| "successes": 3, | |
| "successRate": 0.6, | |
| "meanScore": 0.9, | |
| "meanLatencyMs": 1604.4 | |
| }, | |
| "data-table": { | |
| "cases": 5, | |
| "scored": 5, | |
| "errors": 0, | |
| "successes": 3, | |
| "successRate": 0.6, | |
| "meanScore": 0.7714285714285714, | |
| "meanLatencyMs": 1956.2 | |
| }, | |
| "email-compose": { | |
| "cases": 5, | |
| "scored": 5, | |
| "errors": 0, | |
| "successes": 1, | |
| "successRate": 0.2, | |
| "meanScore": 0.6833333333333333, | |
| "meanLatencyMs": 1958.6 | |
| }, | |
| "kanban-board": { | |
| "cases": 5, | |
| "scored": 5, | |
| "errors": 0, | |
| "successes": 4, | |
| "successRate": 0.8, | |
| "meanScore": 0.8, | |
| "meanLatencyMs": 1610.6 | |
| }, | |
| "calendar": { | |
| "cases": 5, | |
| "scored": 5, | |
| "errors": 0, | |
| "successes": 1, | |
| "successRate": 0.2, | |
| "meanScore": 0.6317460317460318, | |
| "meanLatencyMs": 1963.6 | |
| }, | |
| "map-and-travel": { | |
| "cases": 5, | |
| "scored": 5, | |
| "errors": 0, | |
| "successes": 3, | |
| "successRate": 0.6, | |
| "meanScore": 0.805, | |
| "meanLatencyMs": 1541.6 | |
| }, | |
| "photo-understanding": { | |
| "cases": 5, | |
| "scored": 5, | |
| "errors": 0, | |
| "successes": 4, | |
| "successRate": 0.8, | |
| "meanScore": 0.8666666666666666, | |
| "meanLatencyMs": 1398.6 | |
| }, | |
| "multilingual-ocr": { | |
| "cases": 5, | |
| "scored": 5, | |
| "errors": 0, | |
| "successes": 1, | |
| "successRate": 0.2, | |
| "meanScore": 0.5454545454545453, | |
| "meanLatencyMs": 3396.8 | |
| }, | |
| "occlusion-and-contrast": { | |
| "cases": 5, | |
| "scored": 5, | |
| "errors": 0, | |
| "successes": 1, | |
| "successRate": 0.2, | |
| "meanScore": 0.7, | |
| "meanLatencyMs": 1876.8 | |
| }, | |
| "security-challenge": { | |
| "cases": 5, | |
| "scored": 5, | |
| "errors": 0, | |
| "successes": 0, | |
| "successRate": 0, | |
| "meanScore": 0.6965034965034966, | |
| "meanLatencyMs": 1971 | |
| }, | |
| "uncertainty-calibration": { | |
| "cases": 5, | |
| "scored": 5, | |
| "errors": 0, | |
| "successes": 2, | |
| "successRate": 0.4, | |
| "meanScore": 0.8200000000000001, | |
| "meanLatencyMs": 1990.2 | |
| } | |
| } | |
| } | |