Visual Question Answering
Transformers
Safetensors
English
Hindi
paligemma
image-text-to-text
Bilingual
text-generation-inference
Run this model with HF Jobs
Run BhashaAI/ViLaH on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/BhashaAI/ViLaH. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/BhashaAI/ViLaH on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use BhashaAI/ViLaH with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use BhashaAI/ViLaH with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "visual-question-answering" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("visual-question-answering", model="BhashaAI/ViLaH")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("BhashaAI/ViLaH") model = AutoModelForMultimodalLM.from_pretrained("BhashaAI/ViLaH", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files20 unmodified lines212223242526272820 unmodified lines* Model Configuration: Fine-tuned on a single epoch using a V100 gpu.* Training Duration: Approximately one day.* Evaluation Loss: Achieved an eval loss of 1.6384 at the end of the epoch.# DatasetThe dataset was finetuned on only one dataset* [damerajee/clean_hin_vqa](https://huggingface.co/datasets/damerajee/clean_hin_vqa) : This dataset was derived from [Lin-Chen/ShareGPT4V](https://huggingface.co/google/paligemma-3b-pt-224) and filtered to include only images from the COCO dataset. The original dataset was translated and cleaned to ensure high-quality Hindi visual question answering content.20 unmodified lines21222324252627282920 unmodified lines* Model Configuration: Fine-tuned on a single epoch using a V100 gpu.* Training Duration: Approximately one day.* Evaluation Loss: Achieved an eval loss of 1.6384 at the end of the epoch.* The model is still being train as of right now with better quality dataset* The model's performance may be compromised due to insufficient data and the fact that it was trained for only one epoch.# DatasetThe dataset was finetuned on only one dataset* [damerajee/clean_hin_vqa](https://huggingface.co/datasets/damerajee/clean_hin_vqa) : This dataset was derived from [Lin-Chen/ShareGPT4V](https://huggingface.co/google/paligemma-3b-pt-224) and filtered to include only images from the COCO dataset. The original dataset was translated and cleaned to ensure high-quality Hindi visual question answering content.
README.md+3-2