Image-Text-to-Text
Transformers
Safetensors
inkling2_loop
weight-edit
browser-automation
conversational
8-bit precision
modelopt
Instructions to use husky8/Inkling-2-Mini-Fast-Browser-Use with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use husky8/Inkling-2-Mini-Fast-Browser-Use with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="husky8/Inkling-2-Mini-Fast-Browser-Use") 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("husky8/Inkling-2-Mini-Fast-Browser-Use") model = AutoModelForMultimodalLM.from_pretrained("husky8/Inkling-2-Mini-Fast-Browser-Use", 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 husky8/Inkling-2-Mini-Fast-Browser-Use with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "husky8/Inkling-2-Mini-Fast-Browser-Use" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "husky8/Inkling-2-Mini-Fast-Browser-Use", "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/husky8/Inkling-2-Mini-Fast-Browser-Use
- SGLang
How to use husky8/Inkling-2-Mini-Fast-Browser-Use 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 "husky8/Inkling-2-Mini-Fast-Browser-Use" \ --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": "husky8/Inkling-2-Mini-Fast-Browser-Use", "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 "husky8/Inkling-2-Mini-Fast-Browser-Use" \ --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": "husky8/Inkling-2-Mini-Fast-Browser-Use", "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 husky8/Inkling-2-Mini-Fast-Browser-Use with Docker Model Runner:
docker model run hf.co/husky8/Inkling-2-Mini-Fast-Browser-Use
Commit History
Today
-
Embed uninterrupted real-time browser runs
Verified signaturebe3015e -
Show the edited model full width at its recorded speed
Verified signature84e2603 -
Update the archive film, chapter index and selected timing summary
Verified signaturec4fc9be -
Embed uninterrupted real-time browser runs
Verified signaturef8ea613 -
Show the edited model full width at its recorded speed
Verified signaturef86b26e -
Embed uninterrupted real-time browser runs
Verified signatureebb17cf -
Show the edited model full width at its recorded speed
Verified signature4ae35ff -
List original time, edited time and speedup for all 13 browser tasks
Verified signature83dd675 -
Show each recorded browser action and label mean completion times
Verified signaturecb04746 -
List original time, edited time and speedup for all 13 browser tasks
Verified signatureb808400 -
Embed the benchmark film and rank five verified browser tasks
Verified signature077902e -
Embed the benchmark film and rank five verified browser tasks
Verified signatureded2ef4 -
Add paired inference timings, exact output rows and WebArena method
Verified signatured3047b2 -
Add paired inference timings, exact output rows and WebArena method
Verified signaturef864ee6 -
Lead with one measured speedup and the four-row weight edit
Verified signaturefe490d9 -
Lead with one measured speedup and the four-row weight edit
Verified signature7a6075d -
Include Mini in the repository name and download links
Verified signatured40abc5 -
Use the Browser Use repository name and link the verified reruns
Verified signature0ad76d0 -
Clarify checkpoint downloads, benchmark results and reproduction steps
Verified signature3606260 -
Clarify checkpoint downloads, benchmark results and reproduction steps
Verified signature652f754 -
Simplify the browser comparison and label the original and edited weights
Verified signaturefa4284d -
Feature verified joint passes and the expanded timing results
Verified signature4bfa7a3 -
Feature verified joint passes and the expanded timing results
Verified signaturee748c3a -
Publish the ordered browser film, verified timings and standalone checkpoint links
Verified signaturea55a3c9 -
Report browser timings by device model and link paired results
Verified signature5f88605 -
Add the form and cart replication and three-device search results
Verified signaturefcd9449 -
Label the evaluation scope as browser use
Verified signature91ad325 -
Add five-environment BrowserGym results
Verified signature76e38e9 -
Name the independent release Inkling 2 Fast Computer Use
Verified signature4dd50ab -
Release the measured two-row Inkling browser edit
Verified signatured456271 -
initial commit
Verified signature81a7830