Image-Text-to-Text
Transformers
Safetensors
English
qwen3_5
jev
system-one
system-two
typed-decisions
decision-model
calibrated-probabilities
multimodal
vision
zero-shot
decision-index
recommendation
lora
vllm
conversational
Eval Results
Instructions to use autotrust/JEV-27B-VL with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use autotrust/JEV-27B-VL with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="autotrust/JEV-27B-VL") 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("autotrust/JEV-27B-VL") model = AutoModelForMultimodalLM.from_pretrained("autotrust/JEV-27B-VL", 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 autotrust/JEV-27B-VL with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "autotrust/JEV-27B-VL" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "autotrust/JEV-27B-VL", "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/autotrust/JEV-27B-VL
- SGLang
How to use autotrust/JEV-27B-VL 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 "autotrust/JEV-27B-VL" \ --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": "autotrust/JEV-27B-VL", "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 "autotrust/JEV-27B-VL" \ --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": "autotrust/JEV-27B-VL", "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 autotrust/JEV-27B-VL with Docker Model Runner:
docker model run hf.co/autotrust/JEV-27B-VL
Download calibration.json from autotrust/JEV-27B-VL: direct link, hf CLI and curl.
- Browser
- Download file 999 Bytes
-
https://huggingface.co/autotrust/JEV-27B-VL/resolve/main/calibration.json
- Command line
-
hf download hf://autotrust/JEV-27B-VL/calibration.json
-
curl -L -o calibration.json https://huggingface.co/autotrust/JEV-27B-VL/resolve/main/calibration.json
999 Bytes
| { | |
| "version": 1, | |
| "per_kind": { | |
| "noul": 1.0143134751376188, | |
| "choice": 1.0161280671450397, | |
| "score": 1.0036213515883572 | |
| }, | |
| "per_kind_family": {}, | |
| "fit": { | |
| "noul": { | |
| "n": 4363, | |
| "T": 1.0143134751376188, | |
| "kl_before": 0.004241107031702995, | |
| "kl_after": 0.004223881289362907 | |
| }, | |
| "choice": { | |
| "n": 3418, | |
| "T": 1.0161280671450397, | |
| "kl_before": 0.04535770043730736, | |
| "kl_after": 0.04530283063650131 | |
| }, | |
| "score": { | |
| "n": 3173, | |
| "T": 1.0036213515883572, | |
| "kl_before": 0.0210201907902956, | |
| "kl_after": 0.021016595885157585 | |
| } | |
| }, | |
| "diagnostic_calibration_split": { | |
| "raw": { | |
| "kl": 0.021931130439043045, | |
| "ece": 0.002680546396815126, | |
| "mce": 0.012234896421432495 | |
| }, | |
| "calibrated": { | |
| "kl": 0.021906107664108276, | |
| "ece": 0.0014270851053589991, | |
| "mce": 0.01255643367767334 | |
| } | |
| }, | |
| "source": "checkpoints/s2_27b/best", | |
| "fit_rows": 10954, | |
| "d1_excluded": true | |
| } |