Instructions to use caid-technologies/parti-vision with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use caid-technologies/parti-vision with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="caid-technologies/parti-vision") 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("caid-technologies/parti-vision") model = AutoModelForMultimodalLM.from_pretrained("caid-technologies/parti-vision", 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 caid-technologies/parti-vision with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "caid-technologies/parti-vision" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "caid-technologies/parti-vision", "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/caid-technologies/parti-vision
- SGLang
How to use caid-technologies/parti-vision 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 "caid-technologies/parti-vision" \ --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": "caid-technologies/parti-vision", "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 "caid-technologies/parti-vision" \ --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": "caid-technologies/parti-vision", "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" } } ] } ] }' - Unsloth Studio
How to use caid-technologies/parti-vision with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for caid-technologies/parti-vision to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for caid-technologies/parti-vision to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for caid-technologies/parti-vision to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="caid-technologies/parti-vision", max_seq_length=2048, ) - Docker Model Runner
How to use caid-technologies/parti-vision with Docker Model Runner:
docker model run hf.co/caid-technologies/parti-vision
Parti-Vision
Turns a hardware idea — a sentence, a short brief, even a sketch — into a complete build blueprint.
Tell it what to build — "a USB-powered desk lamp with touch dimming" — optionally with a short document or a concept image, and it returns one structured blueprint plan: the parts, the wiring, ordered build steps, a costed sourcing table, and an appearance spec with a ready-to-use image-generation prompt. It's a standalone, all-in-one model (no adapter upon request).
Early research preview. For drafting and exploring ideas — not a replacement for real engineering, CAD, or safety review.
What it does
Give it a hardware idea and it returns, as one machine-readable JSON object:
- 📋 a parts list (electronics, printed parts, fasteners, with dimensions)
- 🔌 the wiring between parts, with a power budget and basic protection
- 🛠️ ordered build steps — fabrication → wiring → bring-up → assembly → testing
- 💲 costed sourcing whose line items add up
- 🎨 an appearance spec plus a ready-to-use image-generation prompt
Your app can parse, check, and build on the result directly.
Results
We test on requests the model has never seen during training. How often it produces a valid, well-structured blueprint:
| On held-out requests | Stock Qwen3.5-9B | Parti-Vision (free) | Parti-Vision (guided) |
|---|---|---|---|
| Valid, well-structured blueprint | 0% | 67% | 83% |
On brand-new realistic requests, guided decoding reaches 97% valid blueprints (61% with free decoding); the stock base model manages 0% on the same tests.
What's "guided decoding"? A standard serving option (guided_json in vLLM, "structured
outputs" in most hosted APIs) that constrains the output to your blueprint format. The model still
makes every design decision — the parts, the wiring, the steps, the costs — guided decoding just
guarantees the shape.
What's improved
- From 0 → usable. The stock base model can't produce a valid blueprint; Parti-Vision does — 67% free, 83% guided, and 97% on realistic requests with guided decoding.
- Reads sketches, renders, and short briefs — not just text. Prompt + brief + render is strongest.
- General image understanding preserved — the visual pathway is left intact during fine-tuning.
- Answers in JSON directly — no reasoning preamble to strip.
- Cleaner than earlier iterations — no leaked reasoning, no markdown fences, no leading prose (all regression-checked).
What you can give it
- A plain-English request — one or two sentences.
- A short document — a brief or notes, pasted into the message.
- A concept image — a hand-drawn sketch or product render, as a vision input.
Any combination works; prompt + brief + render is strongest. The model reads text + images, so convert PDFs, LaTeX, CAD files, or spreadsheets to text or an image first.
Try it
The model answers in JSON directly — no reasoning preamble to strip.
from unsloth import FastVisionModel
REPO = "caid-technologies/parti-vision"
model, tok = FastVisionModel.from_pretrained(REPO, load_in_4bit=False)
FastVisionModel.for_inference(model)
SYSTEM_PROMPT = (
"You design maker/electronics products. Given a request, reply with one JSON object "
"describing the complete build — parts, wiring, build steps, sourcing, and appearance. "
"Output only the JSON."
)
messages = [
{"role": "system", "content": [{"type": "text", "text": SYSTEM_PROMPT}]},
{"role": "user", "content": [{"type": "text", "text": "Design a USB desk lamp with touch dimming."}]},
]
text = tok.apply_chat_template(messages, add_generation_prompt=True, tokenize=False)
inputs = tok(text=text, return_tensors="pt").to("cuda")
out = model.generate(**inputs, max_new_tokens=13000, do_sample=False, repetition_penalty=1.1)
print(tok.decode(out[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True))
💡 Blueprints are long: keep max_new_tokens high and the repetition penalty on. To include an
image, add {"type": "image", "image": your_image} to the user content and pass images= to the
tokenizer.
🚀 Serving it for real? Use vLLM with guided_json (or your engine's structured-outputs mode)
constrained to your blueprint format — it takes valid-blueprint rates on unseen prompts from ~61%
to ~97%.
Good to know
- English prompts, maker/electronics domain. Off-topic requests still get a blueprint, not a refusal.
- Outputs are drafts, not verified engineering — roughly half have at least one design slip (a wiring mistake, costs slightly off, a misordered step). Re-validate in your app, and review before you solder.
- Very long plans can get cut off at the token cap; contradictory or impossible requests can produce confidently wrong blueprints.
Learn more
- 📄 Technical whitepaper (PDF) — the model family, training approach, evaluation methodology, and the complete honest scorecard.
- 💬 Discord community — questions, builds, feedback.
- 🧩 Text-only or a smaller footprint? See
caid-technologies/parti-base, the earlier 3B sibling.
Citation
@misc{parti_vision_base,
title = {Parti-Vision},
author = {Caid Technologies},
year = {2026},
howpublished = {\url{https://huggingface.co/caid-technologies}}
}
- Downloads last month
- 352