Downloads · 30 days
5
11% of all-time downloads
v1v1d1/vivid_docmatix_gemma3_4b_en_kn_hi_10k_50
vivid_docmatix_gemma3_4b_en_kn_hi_10k_50 is a image-text-to-text model from v1v1d1. 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.
This model is a fine-tuned version of Qwen/Qwen3-VL-4B-Instruct on the VIVID Docmatix multilingual dataset.
Downloads · 30 days
5
11% of all-time downloads
All-time downloads
46
Public
Parameters
4.3B
8.6 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors8.6 GB · 100%
From the Hugging Face model README
This model is a fine-tuned version of Qwen/Qwen3-VL-4B-Instruct on the VIVID Docmatix multilingual dataset.
The model was fine-tuned using:
This model is designed for:
from transformers import Qwen2VLForConditionalGeneration, AutoProcessor
from qwen_vl_utils import process_vision_info
import torch
# Load model and processor
model = Qwen2VLForConditionalGeneration.from_pretrained(
"v1v1d1/vivid_docmatix_gemma3_4b_en_kn_hi_10k_50",
torch_dtype=torch.bfloat16,
device_map="auto"
)
processor = AutoProcessor.from_pretrained("v1v1d1/vivid_docmatix_gemma3_4b_en_kn_hi_10k_50")
# Prepare inputs
messages = [
{
"role": "user",
"content": [
{"type": "image", "image": "path/to/image.jpg"},
{"type": "text", "text": "Extract all text from this document in Kannada."},
],
}
]
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(model.device)
# Generate
with torch.no_grad():
output_ids = model.generate(**inputs, max_new_tokens=4096)
generated_ids = [
output_ids[len(input_ids):]
for input_ids, output_ids in zip(inputs.input_ids, output_ids)
]
output_text = processor.batch_decode(
generated_ids, skip_special_tokens=True, clean_up_tokenization_spaces=True
)[0]
print(output_text)
This model was trained as part of the Nayana project for multilingual multimodal AI, focusing on underrepresented languages.
@misc{nayana-vivid-docmatix,
title={VIVID Docmatix: Multilingual Vision-Language Model},
author={Nayana Team},
year={2026},
url={https://huggingface.co/v1v1d1/vivid_docmatix_gemma3_4b_en_kn_hi_10k_50}
}
Apache 2.0