Downloads · 30 days
11
15% of all-time downloads
prithivMLmods/Jan-v2-VL-med-FP8
Jan-v2-VL-med-FP8 is a image-text-to-text model from prithivMLmods. Use it for the image-text-to-text task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as apache-2.0.
Downloads · 30 days
11
15% of all-time downloads
All-time downloads
74
Public
Parameters
8.8B
14.2 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors14.2 GB · 100%
How the weights are stored.
F8_E4M36.9B · 79%
From the Hugging Face model README

Jan-v2-VL-med-FP8 is an FP8-compressed variant built on top of janhq/Jan-v2-VL-med. This edition applies BF16 · FP8 (F8_E4M3) precision formats to significantly reduce memory footprint and improve inference throughput while preserving the structured tool-calling and multimodal agent capabilities of the original 8B architecture. The base Jan-v2-VL-med model from JanHQ is the balanced variant in the 8B-parameter vision-language model family built on Qwen3-VL-8B-Thinking. It is optimized via LoRA-based RLVR (Reinforced Long-horizon Vision-Language Reasoning) for reliable multi-step execution in agentic automation tasks such as browser and desktop UI control, as well as screenshot-grounded tool calling without error accumulation or drift. This FP8 edition maintains strong multimodal reasoning, structured action generation, and long-horizon stability while enabling more efficient deployment on compatible GPU hardware.
[!important] FP8 8-bit floating point weight and activation quantization using hardware acceleration on GPUs – FP8 W8A8. Quantization W8A8 FP8-dynamic recipe – examples.
from transformers import Qwen2_5_VLForConditionalGeneration, AutoProcessor
from qwen_vl_utils import process_vision_info
import torch
# Load the FP8 Jan-v2-VL-med model
model = Qwen2_5_VLForConditionalGeneration.from_pretrained(
"janhq/Jan-v2-VL-med-FP8",
torch_dtype="auto",
device_map="auto"
)
processor = AutoProcessor.from_pretrained(
"janhq/Jan-v2-VL-med-FP8"
)
messages = [
{
"role": "user",
"content": [
{
"type": "image",
"image": "screenshot.png",
},
{"type": "text", "text": "Click the settings icon and open the preferences menu."},
],
}
]
text = processor.apply_chat_template(
messages, tokenize=False, add_generation_prompt=True
)
image_inputs, video_inputs = process_vision_info(messages)
inputs = processor(
text=[text],
images=image_inputs,
videos=video_inputs,
padding=True,
return_tensors="pt",
).to("cuda")
generated_ids = model.generate(**inputs, max_new_tokens=256)
generated_ids_trimmed = [
out_ids[len(in_ids):] for in_ids, out_ids in zip(inputs.input_ids, generated_ids)
]
output_text = processor.batch_decode(
generated_ids_trimmed,
skip_special_tokens=True,
clean_up_tokenization_spaces=False
)
print(output_text)
Important: This model generates executable structured actions.