Run this model with HF Jobs
Run trillionlabs/Trillion-LLaVA-7B 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/trillionlabs/Trillion-LLaVA-7B. 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/trillionlabs/Trillion-LLaVA-7B 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 trillionlabs/Trillion-LLaVA-7B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use trillionlabs/Trillion-LLaVA-7B 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="trillionlabs/Trillion-LLaVA-7B")# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("trillionlabs/Trillion-LLaVA-7B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Introduction
We introduce Trillion-LLaVA-7B, a Vision Language Model (VLM) capable of understanding images.
To better observe the transfer of multilinguality in vision tasks under controlled conditions, we adopted the same dataset, two-stage training strategy, and model architecture as LLaVA. While Trillion-7B-preview-vision was trained exclusively on English vision-language instruction pairs, the model is able to demonstrate strong performance on Korean visual reasoning tasks. The results indicate that our model’s robust multilingual foundation enables the effective transfer of visual reasoning capabilities across languages without requiring language-specific visual training data.
Evaluation
Performance comparison (English, Korean) across different vision-language models
| Model | MMBENCH En | MMBENCH Ko | SEED-I En | SEED-I Ko | MMStar En | MMStar Ko | K-DTCB |
|---|---|---|---|---|---|---|---|
| Llava-1.5-7b | 0.64 | 0.43 | 0.66 | 0.52 | 0.34 | 0.33 | 0.30 |
| Llava-1.6-mistral-7b | 0.68 | 0.49 | 0.72 | 0.61 | 0.36 | 0.33 | 0.30 |
| Trillion-LLaVA-7B | 0.66 | 0.61 | 0.68 | 0.66 | 0.37 | 0.37 | 0.33 |
Limitations
- Lack of training on multilingual visual instruction tuning data: The model was trained exclusive on English vision-language pairs, which leaves room for improvement on other language pairs.
- The model inherits the limitations of Trillion-7B-preview, since no additional training was done except on vision language understanding data.
License
This model repository is licensed under the Apache-2.0 License.
- Downloads last month
- 58
Model tree for trillionlabs/Trillion-LLaVA-7B
Base model
trillionlabs/Trillion-7B-preview