Image-Text-to-Text
Transformers
Safetensors
English
Chinese
qwen3_5
qwen3.8
finetune
bf16
html
ui
generative-ui
conversational
Run this model with HF Jobs
Run wesjos/Qwen3.8-27B-HTML on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/wesjos/Qwen3.8-27B-HTML. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/wesjos/Qwen3.8-27B-HTML on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/wesjos/Qwen3.8-27B-HTML. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/wesjos/Qwen3.8-27B-HTML. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
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
Showcase: add OpenWebUI test recording
Browse files59 unmodified lines606162636465161 unmodified lines22722822923023123223359 unmodified lines<sub><b>28 s screen recording</b> · <code>.ai-view</code> pages streaming in — cards, callouts, a comparison table, inline SVG</sub></div><div align="center"><img src="demos/sigmoid-explainer.jpg" width="100%"><br>161 unmodified lines| `chat_template.jinja` | generic Qwen3.8 template — **no Mario-html trigger** || `tokenizer.json` · `tokenizer_config.json` | tokenizer, 248,320 vocab || `processor_config.json` | image / video preprocessing || `demos/` | screenshots and the 28 s recording used above || `LICENSE` | Apache-2.0 |---59 unmodified lines60616263646566676869707172737475161 unmodified lines23723823924024124224359 unmodified lines<sub><b>28 s screen recording</b> · <code>.ai-view</code> pages streaming in — cards, callouts, a comparison table, inline SVG</sub></div><div align="center"><b>OpenWebUI测试</b><br><video width="100%" controls muted playsinline loop poster="https://huggingface.co/wesjos/Qwen3.8-27B-HTML/resolve/main/demos/openwebui-test-poster.jpg"><source src="https://huggingface.co/wesjos/Qwen3.8-27B-HTML/resolve/main/demos/openwebui-test.mp4" type="video/mp4">Your browser does not support the video tag — <a href="https://huggingface.co/wesjos/Qwen3.8-27B-HTML/blob/main/demos/openwebui-test.mp4">download the 12 s clip</a>.</video><br><sub>12 s screen recording · the same tune running inside OpenWebUI (model chip reads <code>qwen-3.8-27b</code>): the Mario-html persona picks up the English instruction, a <code>run_command</code> tool step renders the sandbox spec as an <code>.ai-view</code> card grid, and “is qwen4 coming?” comes back as a rendered page — short-answer callout, timeline cards, warning callout, bottom line.</sub></div><div align="center"><img src="demos/sigmoid-explainer.jpg" width="100%"><br>161 unmodified lines| `chat_template.jinja` | generic Qwen3.8 template — **no Mario-html trigger** || `tokenizer.json` · `tokenizer_config.json` | tokenizer, 248,320 vocab || `processor_config.json` | image / video preprocessing || `demos/` | screenshots, the 28 s recording and the 12 s OpenWebUI clip used above || `LICENSE` | Apache-2.0 |---
README.md+11-1