Image-Text-to-Text
Transformers
Safetensors
English
Chinese
qwen3_5
qwen3.8
finetune
bf16
html
ui
generative-ui
conversational
Instructions to use wesjos/Qwen3.8-27B-HTML with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use wesjos/Qwen3.8-27B-HTML with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="wesjos/Qwen3.8-27B-HTML") 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("wesjos/Qwen3.8-27B-HTML") model = AutoModelForMultimodalLM.from_pretrained("wesjos/Qwen3.8-27B-HTML", 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 wesjos/Qwen3.8-27B-HTML with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "wesjos/Qwen3.8-27B-HTML" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "wesjos/Qwen3.8-27B-HTML", "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/wesjos/Qwen3.8-27B-HTML
- SGLang
How to use wesjos/Qwen3.8-27B-HTML 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 "wesjos/Qwen3.8-27B-HTML" \ --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": "wesjos/Qwen3.8-27B-HTML", "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 "wesjos/Qwen3.8-27B-HTML" \ --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": "wesjos/Qwen3.8-27B-HTML", "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 wesjos/Qwen3.8-27B-HTML with Docker Model Runner:
docker model run hf.co/wesjos/Qwen3.8-27B-HTML
Commit History
Yesterday
-
Showcase: add OpenWebUI test recording
Verified signatureed2268e -
Re-upload demo poster (now stored via LFS)
Verified signature1eca92e -
Re-store demo poster as LFS object
Verified signatureaf4ac6f -
Add OpenWebUI test recording (12 s)
Verified signaturef983f67 -
Add OpenWebUI demo poster
Verified signature3be9cda -
Add LFS rules for the new OpenWebUI demo assets
Verified signatured93c04c -
Upload folder using huggingface_hub
Verified signature89e8542
2 days ago
-
Upload folder using huggingface_hub
Verified signaturee901013 -
(Trained with Unsloth)
Verified signaturee90a288 -
(Trained with Unsloth)
Verified signaturea66b01f -
(Trained with Unsloth)
Verified signatureaf306f3 -
(Trained with Unsloth)
Verified signature772af89 -
(Trained with Unsloth)
Verified signature7a7423d -
(Trained with Unsloth)
Verified signature97a2495 -
(Trained with Unsloth)
Verified signature27b528e -
(Trained with Unsloth)
Verified signature6e46752 -
(Trained with Unsloth)
Verified signature6ddf12d -
(Trained with Unsloth)
Verified signature3c6732a -
(Trained with Unsloth)
Verified signature879caac -
(Trained with Unsloth)
Verified signatureb0fc980 -
(Trained with Unsloth)
Verified signature90394bd -
(Trained with Unsloth)
Verified signature97fcb8e -
(Trained with Unsloth)
Verified signature188916c -
(Trained with Unsloth)
Verified signature1eca030 -
(Trained with Unsloth)
Verified signaturedac0b39 -
(Trained with Unsloth)
Verified signature399c86a -
(Trained with Unsloth)
Verified signature10edc88 -
(Trained with Unsloth)
Verified signaturea48ea31 -
Unsloth Model Card
Verified signature46a206d -
initial commit
Verified signature932f272