Image-Text-to-Text
Transformers
Safetensors
qwen2_5_vl
agent
action
vlm
conversational
text-generation-inference
Instructions to use convergence-ai/proxy-lite-3b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use convergence-ai/proxy-lite-3b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="convergence-ai/proxy-lite-3b") 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)# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("convergence-ai/proxy-lite-3b") model = AutoModelForMultimodalLM.from_pretrained("convergence-ai/proxy-lite-3b", 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=40) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use convergence-ai/proxy-lite-3b with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "convergence-ai/proxy-lite-3b" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "convergence-ai/proxy-lite-3b", "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/convergence-ai/proxy-lite-3b
- SGLang
How to use convergence-ai/proxy-lite-3b 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 "convergence-ai/proxy-lite-3b" \ --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": "convergence-ai/proxy-lite-3b", "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 "convergence-ai/proxy-lite-3b" \ --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": "convergence-ai/proxy-lite-3b", "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 convergence-ai/proxy-lite-3b with Docker Model Runner:
docker model run hf.co/convergence-ai/proxy-lite-3b
add AIBOM
#5
by sabato-nocera - opened
convergence-ai_proxy-lite-3b.json
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bomFormat": "CycloneDX",
|
| 3 |
+
"specVersion": "1.6",
|
| 4 |
+
"serialNumber": "urn:uuid:6b5bd733-ebd1-46f4-abc0-cf84d3257714",
|
| 5 |
+
"version": 1,
|
| 6 |
+
"metadata": {
|
| 7 |
+
"timestamp": "2025-07-14T10:40:19.271236+00:00",
|
| 8 |
+
"component": {
|
| 9 |
+
"type": "machine-learning-model",
|
| 10 |
+
"bom-ref": "convergence-ai/proxy-lite-3b-045537c4-097d-5992-b759-dd2c48581631",
|
| 11 |
+
"name": "convergence-ai/proxy-lite-3b",
|
| 12 |
+
"externalReferences": [
|
| 13 |
+
{
|
| 14 |
+
"url": "https://huggingface.co/convergence-ai/proxy-lite-3b",
|
| 15 |
+
"type": "documentation"
|
| 16 |
+
}
|
| 17 |
+
],
|
| 18 |
+
"modelCard": {
|
| 19 |
+
"modelParameters": {
|
| 20 |
+
"task": "image-to-text",
|
| 21 |
+
"architectureFamily": "qwen2_5_vl",
|
| 22 |
+
"modelArchitecture": "Qwen2_5_VLForConditionalGeneration"
|
| 23 |
+
},
|
| 24 |
+
"properties": [
|
| 25 |
+
{
|
| 26 |
+
"name": "library_name",
|
| 27 |
+
"value": "transformers"
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"name": "base_model",
|
| 31 |
+
"value": "Qwen/Qwen2.5-VL-3B-Instruct"
|
| 32 |
+
}
|
| 33 |
+
],
|
| 34 |
+
"consideration": {
|
| 35 |
+
"useCases": "<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->Proxy Lite is designed and trained to complete automated tasks in a web browser.Full code for running the model is available in the [github repository](https://github.com/convergence-ai/proxy-lite).This includes a CLI tool for running the model, as well as a streamlit app.You can use this [endpoint](https://huggingface.co/spaces/convergence-ai/demo-api) for small-scale testing.---"
|
| 36 |
+
}
|
| 37 |
+
},
|
| 38 |
+
"authors": [
|
| 39 |
+
{
|
| 40 |
+
"name": "convergence-ai"
|
| 41 |
+
}
|
| 42 |
+
],
|
| 43 |
+
"licenses": [
|
| 44 |
+
{
|
| 45 |
+
"license": {
|
| 46 |
+
"id": "CC-BY-NC-4.0",
|
| 47 |
+
"url": "https://spdx.org/licenses/CC-BY-NC-4.0.html"
|
| 48 |
+
}
|
| 49 |
+
}
|
| 50 |
+
],
|
| 51 |
+
"description": "<!-- Provide a longer summary of what this model is. -->- **Developed by:** Convergence AI- **Model type:** 3B Vision-Language Model- **Agent type**: Web-browsing Agent- **License:** CC-BY-NC-4.0- **Finetuned from model:** Qwen/Qwen2.5-VL-3B-Instruct- [Running the agent](https://github.com/convergence-ai/proxy-lite)",
|
| 52 |
+
"tags": [
|
| 53 |
+
"transformers",
|
| 54 |
+
"safetensors",
|
| 55 |
+
"qwen2_5_vl",
|
| 56 |
+
"image-to-text",
|
| 57 |
+
"agent",
|
| 58 |
+
"action",
|
| 59 |
+
"vlm",
|
| 60 |
+
"base_model:Qwen/Qwen2.5-VL-3B-Instruct",
|
| 61 |
+
"base_model:finetune:Qwen/Qwen2.5-VL-3B-Instruct",
|
| 62 |
+
"license:cc-by-nc-4.0",
|
| 63 |
+
"text-generation-inference",
|
| 64 |
+
"endpoints_compatible",
|
| 65 |
+
"region:us"
|
| 66 |
+
]
|
| 67 |
+
}
|
| 68 |
+
}
|
| 69 |
+
}
|