Instructions to use flintglass/PrismAgent-35B-A3B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use flintglass/PrismAgent-35B-A3B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="flintglass/PrismAgent-35B-A3B") 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("flintglass/PrismAgent-35B-A3B") model = AutoModelForMultimodalLM.from_pretrained("flintglass/PrismAgent-35B-A3B", 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 flintglass/PrismAgent-35B-A3B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "flintglass/PrismAgent-35B-A3B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "flintglass/PrismAgent-35B-A3B", "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/flintglass/PrismAgent-35B-A3B
- SGLang
How to use flintglass/PrismAgent-35B-A3B 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 "flintglass/PrismAgent-35B-A3B" \ --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": "flintglass/PrismAgent-35B-A3B", "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 "flintglass/PrismAgent-35B-A3B" \ --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": "flintglass/PrismAgent-35B-A3B", "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 flintglass/PrismAgent-35B-A3B with Docker Model Runner:
docker model run hf.co/flintglass/PrismAgent-35B-A3B
Flintglass PrismAgent-35B-A3B
Flintglass PrismAgent-35B-A3B is an ultra-fast, Apache-2.0 Mixture-of-Experts (35B total / 3B active parameters) local agent execution specialist built on Qwen/Qwen3.6-35B-A3B and trained via Pure On-Policy 4-Verifier GRPO (PPO-clipped RLVR) for high-throughput, non-thinking (enable_thinking=False) tool calling, strict abstention, JSON Schema compliance, SQLite SQL, and Python synthesis.
Because only 3B parameters are active per token, PrismAgent-35B-A3B delivers 3B-class latency (~80+ tok/s on consumer GPUs & Apple Silicon) while scoring 83.72% Avg 5-Bench (+1.78 pts over Base Qwen3.6-35B-A3B), +4.74 pts on BFCL v3 Live (75.68%, 86.4% Irrelevance, 93.8% Parallel), 92.10% JSONSchemaBench, 81.70% SQLite, and 80.69% MBPP+ (+2.65 pts!)!
GGUF quantizations (
Q4_K_M,Q6_Kβ runs fast on 24β32 GB GPUs or 32 GB MacBooks):flintglass/PrismAgent-35B-A3B-GGUF
Dense 27B flagship (84.37%Avg 5-Bench,96.4%JSONSchema):flintglass/PrismAgent-27BΒ·PrismAgent-27B-GGUF
Compact 8B sibling (4.7 GBQ4_K_M):flintglass/PrismAgent-8BΒ·PrismAgent-8B-GGUF
Zero-Leakage 5-Benchmark Evaluation (4,775 Held-Out Execution Tasks)
Evaluated identically with greedy decoding (temperature=0, enable_thinking=False) across all 4,775 strictly held-out, execution-verified tasks (832 eval leaks purged from training splits):
| Model (All Fast Non-Thinking Mode) | Active Params | Avg 5-Bench | BFCL v3 Live (2,233) | JSONSchema (1,000) | SQLite SQL (1,000) | HumanEval+ (164) | MBPP+ (378) |
|---|---|---|---|---|---|---|---|
Qwen/Qwen3-8B (Base) |
8B | 78.59% | 75.77% | 86.20% | 80.40% | 76.22% | 74.34% |
flintglass/PrismAgent-8B |
8B | 80.11% | 77.43% | 91.70% | 82.10% | 76.83% | 72.49% |
Qwen/Qwen3.6-35B-A3B (Base) |
3B | 81.94% | 70.94% | 90.60% | 81.10% | 89.02% | 78.04% |
flintglass/PrismAgent-35B-A3B |
3B | 83.72% | 75.68% | 92.10% | 81.70% | 88.41% | 80.69% |
Gain vs. Base Qwen3.6-35B-A3B |
β | +1.78 pts | +4.74 pts | +1.50 pts | +0.60 pts | -0.61 pts | +2.65 pts |
flintglass/PrismAgent-27B (Dense 27B) |
27B | 84.37% | 78.46% | 96.40% | 80.20% | 89.02% | 77.78% |
BFCL v3 Live Category Breakdown (Full 2,233 Tasks)
| Model | Micro Avg (2,233) | Macro Avg | live_simple (258) |
live_multiple (1,053) |
live_parallel (16) |
live_par_mult (24) |
live_irrelevance (882) |
|---|---|---|---|---|---|---|---|
Qwen/Qwen3.6-35B-A3B (Base) |
70.94% | 72.73% | 71.32% | 67.52% | 87.50% | 62.50% | 74.83% |
flintglass/PrismAgent-35B-A3B |
75.68% | 75.49% | 76.36% | 66.86% | 93.75% | 54.17% | 86.39% |
Quickstart
1. vLLM (High-Throughput MoE Agent Server)
vllm serve flintglass/PrismAgent-35B-A3B \
--dtype bfloat16 \
--enable-auto-tool-choice \
--tool-call-parser qwen3_xml \
--port 8000
2. Local Apple Silicon / Single GPU (Ollama & llama.cpp)
ollama run hf.co/flintglass/PrismAgent-35B-A3B-GGUF:Q4_K_M
License
Apache 2.0. Built by Flintglass Labs.
- Downloads last month
- 43