Instructions to use aibuildai-inc/ProWork-PDF-27B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use aibuildai-inc/ProWork-PDF-27B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="aibuildai-inc/ProWork-PDF-27B") 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("aibuildai-inc/ProWork-PDF-27B") model = AutoModelForMultimodalLM.from_pretrained("aibuildai-inc/ProWork-PDF-27B", 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 aibuildai-inc/ProWork-PDF-27B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "aibuildai-inc/ProWork-PDF-27B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "aibuildai-inc/ProWork-PDF-27B", "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/aibuildai-inc/ProWork-PDF-27B
- SGLang
How to use aibuildai-inc/ProWork-PDF-27B 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 "aibuildai-inc/ProWork-PDF-27B" \ --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": "aibuildai-inc/ProWork-PDF-27B", "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 "aibuildai-inc/ProWork-PDF-27B" \ --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": "aibuildai-inc/ProWork-PDF-27B", "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 aibuildai-inc/ProWork-PDF-27B with Docker Model Runner:
docker model run hf.co/aibuildai-inc/ProWork-PDF-27B
Download README.md from aibuildai-inc/ProWork-PDF-27B: direct link, hf CLI and curl.
- Browser
- Download file 3.04 kB
-
https://huggingface.co/aibuildai-inc/ProWork-PDF-27B/resolve/main/README.md
- Command line
-
hf download hf://aibuildai-inc/ProWork-PDF-27B/README.md
-
curl -L -o README.md https://huggingface.co/aibuildai-inc/ProWork-PDF-27B/resolve/main/README.md
license: apache-2.0
base_model: Qwen/Qwen3.8-27B
base_model_relation: finetune
library_name: transformers
pipeline_tag: image-text-to-text
language:
- en
tags:
- document-understanding
- knowledge-work
- pdf
AIBuildAI ProWork-PDF-27B
Introduction
AIBuildAI ProWork-PDF-27B is Qwen3.8-27B post-trained by AIBuildAI on our own data for professional work on long documents: reading a working professional's request and the PDF packet it refers to (records, tables, charts, plans and regulations, often more than fifty pages), working out the figures from the packet, and answering in writing, as a memo, a note or a table.
- Base: Qwen/Qwen3.8-27B, 27B parameters, text and image input, 262,144-token context.
- Weights: bf16.
Evaluation
GDP.pdf (Surge AI's 100 public tasks of document work across ten domains), run under Artificial Analysis's protocol: the document's text and page images in the prompt, every rubric criterion judged by GPT-5.6 Luna (medium). All-pass is the share of attempts that meet every criterion.
Lighter bars are Artificial Analysis's published scores; the other bars are our own runs, the base, Qwen3.8-27B, through its hosted API.
AIBuildAI ProWork-PDF-27B reaches 21.0% all-pass, 5.4 points over its base, and comes within 0.6 points of GPT-6 Luna (max).
Quickstart
Serve with vLLM:
vllm serve aibuildai-inc/ProWork-PDF-27B \
--max-model-len 262144 \
--reasoning-parser qwen3 \
--enable-auto-tool-choice --tool-call-parser qwen3_xml \
--speculative-config '{"method": "mtp", "num_speculative_tokens": 3}'
Then call it with any OpenAI-compatible client, giving the document's text and its page images:
from openai import OpenAI
client = OpenAI(base_url="http://localhost:8000/v1", api_key="EMPTY")
response = client.chat.completions.create(
model="aibuildai-inc/ProWork-PDF-27B",
messages=[{"role": "user", "content": [
{"type": "text", "text": "Using the attached annual report, list each business segment with its revenue and operating margin, in a table. ..."},
{"type": "image_url", "image_url": {"url": "data:image/png;base64,..."}},
]}],
temperature=1.0,
top_p=0.95,
max_tokens=65536,
extra_body={"top_k": 20},
)
print(response.choices[0].message.content)
Recommended settings: thinking on, temperature 1.0, top-p 0.95, top-k 20, up to 65,536 output tokens per call. Give the model the document's text together with its page images, so it can read charts, plans and scanned tables.
Limitations
As with any model, check figures, citations and legal or medical statements before relying on them.
License
Apache 2.0, the license of the base model Qwen3.8-27B.
Citation
@misc{aibuildai2026proworkpdf,
title = {AIBuildAI ProWork-PDF-27B},
author = {{AIBuildAI}},
year = {2026},
url = {https://huggingface.co/aibuildai-inc/ProWork-PDF-27B}
}
