Instructions to use Qwen/Qwen3.5-0.8B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Qwen/Qwen3.5-0.8B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="Qwen/Qwen3.5-0.8B") 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, AutoModelForImageTextToText processor = AutoProcessor.from_pretrained("Qwen/Qwen3.5-0.8B") model = AutoModelForImageTextToText.from_pretrained("Qwen/Qwen3.5-0.8B") 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
- vLLM
How to use Qwen/Qwen3.5-0.8B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Qwen/Qwen3.5-0.8B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Qwen/Qwen3.5-0.8B", "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/Qwen/Qwen3.5-0.8B
- SGLang
How to use Qwen/Qwen3.5-0.8B 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 "Qwen/Qwen3.5-0.8B" \ --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": "Qwen/Qwen3.5-0.8B", "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 "Qwen/Qwen3.5-0.8B" \ --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": "Qwen/Qwen3.5-0.8B", "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 Qwen/Qwen3.5-0.8B with Docker Model Runner:
docker model run hf.co/Qwen/Qwen3.5-0.8B
Add ParseBench evaluation results
#16
by boyang-runllama - opened
.eval_results/parsebench.yaml
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
- dataset:
|
| 2 |
+
id: llamaindex/ParseBench
|
| 3 |
+
task_id: mean
|
| 4 |
+
value: 28.4
|
| 5 |
+
date: '2026-04-22'
|
| 6 |
+
source:
|
| 7 |
+
url: https://huggingface.co/datasets/llamaindex/ParseBench
|
| 8 |
+
name: ParseBench
|
| 9 |
+
user: boyang-runllama
|
| 10 |
+
notes: "Pipeline name: qwen3_5_0_8b_vllm_layout"
|
| 11 |
+
- dataset:
|
| 12 |
+
id: llamaindex/ParseBench
|
| 13 |
+
task_id: text_content
|
| 14 |
+
value: 82.0
|
| 15 |
+
date: '2026-04-22'
|
| 16 |
+
source:
|
| 17 |
+
url: https://huggingface.co/datasets/llamaindex/ParseBench
|
| 18 |
+
name: ParseBench
|
| 19 |
+
user: boyang-runllama
|
| 20 |
+
notes: "Pipeline name: qwen3_5_0_8b_vllm_layout"
|
| 21 |
+
- dataset:
|
| 22 |
+
id: llamaindex/ParseBench
|
| 23 |
+
task_id: text_formatting
|
| 24 |
+
value: 43.1
|
| 25 |
+
date: '2026-04-22'
|
| 26 |
+
source:
|
| 27 |
+
url: https://huggingface.co/datasets/llamaindex/ParseBench
|
| 28 |
+
name: ParseBench
|
| 29 |
+
user: boyang-runllama
|
| 30 |
+
notes: "Pipeline name: qwen3_5_0_8b_vllm_layout"
|
| 31 |
+
- dataset:
|
| 32 |
+
id: llamaindex/ParseBench
|
| 33 |
+
task_id: layout
|
| 34 |
+
value: 15.0
|
| 35 |
+
date: '2026-04-22'
|
| 36 |
+
source:
|
| 37 |
+
url: https://huggingface.co/datasets/llamaindex/ParseBench
|
| 38 |
+
name: ParseBench
|
| 39 |
+
user: boyang-runllama
|
| 40 |
+
notes: "Pipeline name: qwen3_5_0_8b_vllm_layout"
|
| 41 |
+
- dataset:
|
| 42 |
+
id: llamaindex/ParseBench
|
| 43 |
+
task_id: chart
|
| 44 |
+
value: 0.4
|
| 45 |
+
date: '2026-04-22'
|
| 46 |
+
source:
|
| 47 |
+
url: https://huggingface.co/datasets/llamaindex/ParseBench
|
| 48 |
+
name: ParseBench
|
| 49 |
+
user: boyang-runllama
|
| 50 |
+
notes: "Pipeline name: qwen3_5_0_8b_vllm_layout"
|
| 51 |
+
- dataset:
|
| 52 |
+
id: llamaindex/ParseBench
|
| 53 |
+
task_id: table
|
| 54 |
+
value: 1.5
|
| 55 |
+
date: '2026-04-22'
|
| 56 |
+
source:
|
| 57 |
+
url: https://huggingface.co/datasets/llamaindex/ParseBench
|
| 58 |
+
name: ParseBench
|
| 59 |
+
user: boyang-runllama
|
| 60 |
+
notes: "Pipeline name: qwen3_5_0_8b_vllm_layout"
|