Instructions to use beyoru/qjev-plus-27b-preview with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use beyoru/qjev-plus-27b-preview with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="beyoru/qjev-plus-27b-preview") 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("beyoru/qjev-plus-27b-preview") model = AutoModelForMultimodalLM.from_pretrained("beyoru/qjev-plus-27b-preview", 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 beyoru/qjev-plus-27b-preview with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "beyoru/qjev-plus-27b-preview" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "beyoru/qjev-plus-27b-preview", "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/beyoru/qjev-plus-27b-preview
- SGLang
How to use beyoru/qjev-plus-27b-preview 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 "beyoru/qjev-plus-27b-preview" \ --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": "beyoru/qjev-plus-27b-preview", "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 "beyoru/qjev-plus-27b-preview" \ --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": "beyoru/qjev-plus-27b-preview", "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 beyoru/qjev-plus-27b-preview with Docker Model Runner:
docker model run hf.co/beyoru/qjev-plus-27b-preview
qjev+ (JEV decision model)
qjev+ is a 27B JEV decision model: give it a conversation, a document or an agent trajectory plus a set of options, and it returns the right choice, fast and reliably. It is built for the decisions that sit inside real products: routing, intent and category classification, content moderation, and approving what an agent is about to do.
“The best decision model is not the one that says the most — it is the one that makes the right call when it matters.”
Highlights
- Accurate single-choice decisions across Vietnamese and English, with the full general ability of Qwen3.8-27B.
- Strong safety out of the box: high accuracy on Vietnamese and English content-safety benchmarks, and the best agent-safety score in its class on ATBench, with a very low false-block rate on benign inputs (NotInject).
- Agent-ready: judges whether the next tool call in a multi-step agent run should go ahead.
- JEV-ready: built for JEV decision serving, returning typed decisions (enum, boolean, multi-field JSON) in milliseconds instead of generating text. On a single H200, a decision takes about 48 ms p50.
- Drop-in: standard Qwen3.8 architecture and chat template; runs on transformers, vLLM and SGLang with structured output.
Results
Public benchmarks. Single-label decisions, temperature 0, one option chosen from the allowed set, default threshold, no per-task tuning.
| Benchmark | qjev+ | Qwen3.8-27B | pplx-decider-v1-27b | Gemma-4-26B-A4B-it |
|---|---|---|---|---|
| ViCulturaBench, accuracy (4,000, labels re-verified) | 91.0 | 91.5 | 90.0 | 90.7 |
| Aegis 2.0, accuracy (150 sampled from test) | 78.7 | 78.7 | 75.3 | 78.7 |
| ATBench, accuracy (1,000) | 71.5 | 70.2 | 60.8 | 65.2 |
| ATBench, unsafe recall | 51.9 | 46.5 | 22.1 | 49.5 |
| ATBench, false-block rate (lower is better) | 9.1 | 6.4 | 1.0 | 19.3 |
| NotInject, false-block rate (339 benign, lower is better) | 2.1 | 2.4 | 0.9 | 5.9 |
Usage
Ask for JSON with an enum field via structured output, thinking disabled:
from openai import OpenAI
client = OpenAI(base_url="http://localhost:30000/v1", api_key="-")
r = client.chat.completions.create(
model="qjev-plus-27b",
temperature=0,
messages=[{"role": "system", "content": "Classify the user's message."},
{"role": "user", "content": "Hoá đơn của tôi chưa được xuất sau 3 ngày."}],
response_format={"type": "json_schema", "json_schema": {"name": "decision", "strict": True, "schema": {
"type": "object",
"properties": {"intent": {"type": "string", "enum": ["question", "request", "complaint", "other"]}},
"required": ["intent"], "additionalProperties": False}}},
extra_body={"chat_template_kwargs": {"enable_thinking": False}},
)
print(r.choices[0].message.content)
License
Apache 2.0, same as the base model.
- Downloads last month
- -
Model tree for beyoru/qjev-plus-27b-preview
Base model
Qwen/Qwen3.8-27B