
Polaris-VGA-2B-Post1.0e is an experimental post-optimized evolution built on top of Qwen/Qwen3.5-4B, designed to extend compact-to-mid scale language modeling into the domain of VGA (Visual Grounding Anything). This variant introduces enhanced multimodal alignment and deeper visual reasoning capabilities, enabling the model to interpret complex scenes, explain visual content with higher contextual awareness, and perform precise grounding across diverse inputs. As an experimental release, it explores advanced post-training strategies to strengthen the connection between textual instructions and visual elements for detection, explanation, and structured interpretation tasks, while leveraging the expanded capacity of a 4B-scale backbone.
[!IMPORTANT] Visual-Grounding-Anything (code) - https://huggingface.co/prithivMLmods/Polaris-VGA-4B-Post1.0e/tree/main/Visual-Grounding-Anything
| File Name | Quant Type | File Size | File Link |
|---|---|---|---|
| Polaris-VGA-4B-Post1.0e.BF16.gguf | BF16 | 8.42 GB | Download |
| Polaris-VGA-4B-Post1.0e.F16.gguf | F16 | 8.42 GB | Download |
| Polaris-VGA-4B-Post1.0e.F32.gguf | F32 | 16.8 GB | Download |
| Polaris-VGA-4B-Post1.0e.Q8_0.gguf | Q8_0 | 4.48 GB | Download |
| Polaris-VGA-4B-Post1.0e.mmproj-bf16.gguf | mmproj-bf16 | 676 MB | Download |
| Polaris-VGA-4B-Post1.0e.mmproj-f16.gguf | mmproj-f16 | 676 MB | Download |
| Polaris-VGA-4B-Post1.0e.mmproj-f32.gguf | mmproj-f32 | 1.33 GB | Download |
| Polaris-VGA-4B-Post1.0e.mmproj-q8_0.gguf | mmproj-q8_0 | 367 MB | Download |
[!NOTE] Recommended (chat_template.jinja) - https://huggingface.co/prithivMLmods/Polaris-VGA-4B-Post1.0e/blob/main/chat_template.jinja
[!NOTE] Standard or Default (chat_template.jinja) – https://huggingface.co/prithivMLmods/Polaris-VGA-4B-Post1.0e/blob/main/standard-chat_template/chat_template.jinja
1hf auth login --token <YOUR_HF_TOKEN>
2
3hf download prithivMLmods/Polaris-VGA-4B-Post1.0e1pip install transformers==5.3.0
2# or
3pip install git+https://github.com/huggingface/transformers.git1from transformers import Qwen3_5ForConditionalGeneration, AutoProcessor
2import torch
3
4model = Qwen3_5ForConditionalGeneration.from_pretrained(
5 "prithivMLmods/Polaris-VGA-4B-Post1.0e",
6 torch_dtype="auto",
7 device_map="auto"
8)
9
10processor = AutoProcessor.from_pretrained(
11 "prithivMLmods/Polaris-VGA-4B-Post1.0e"
12)
13
14messages = [
15 {
16 "role": "user",
17 "content": [
18 {"type": "text", "text": "Describe this image in extreme detail."}
19 ],
20 }
21]
22
23text = processor.apply_chat_template(
24 messages, tokenize=False, add_generation_prompt=True
25)
26
27inputs = processor(
28 text=[text],
29 padding=True,
30 return_tensors="pt"
31).to("cuda")
32
33generated_ids = model.generate(**inputs, max_new_tokens=512)
34
35generated_ids_trimmed = [
36 out_ids[len(in_ids):] for in_ids, out_ids in zip(inputs.input_ids, generated_ids)
37]
38
39output_text = processor.batch_decode(
40 generated_ids_trimmed,
41 skip_special_tokens=True,
42 clean_up_tokenization_spaces=False
43)
44
45print(output_text)Important Note: This is an experimental variant focused on expanding multimodal grounding capabilities.