Downloads · 30 days
79
6% of all-time downloads
ytu-ce-cosmos/Turkish-LLaVA-v0.1
Turkish-LLaVA-v0.1 is a image-text-to-text model from ytu-ce-cosmos. Use it for the image-text-to-text task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
Downloads · 30 days
79
6% of all-time downloads
All-time downloads
1.4K
Public
Parameters
8.4B
16.7 GB on disk
Likes
12
Public
Click a slice to open those files.
.safetensors16.7 GB · 100%
From the Hugging Face model README
This is a Turkish visual language model designed for multi-modal visual instruction-following tasks. It utilizes the LLaVA (Large Language and Vision Assistant) architecture, integrating the ytucosmos/Turkish-Llama-8b-Instruct-v0.1 language model. The model is capable of processing both visual (image) and textual inputs, allowing it to understand and execute instructions provided in Turkish.
The model was pretrained on LLaVA-CC3M-Pretrain-595K dataset, which was translated to Turkish using DeepL Translate.<br> It was further fine-tuned using subsets the following datasets to enhance its visual reasoning and understanding capabilities:
conda create -n lmdeploy python=3.8 -y
conda activate lmdeploy
pip install lmdeploy
from lmdeploy import pipeline, ChatTemplateConfig
from lmdeploy.vl import load_image
pipe = pipeline("ytu-ce-cosmos/Turkish-LLaVA-v0.1",
chat_template_config=ChatTemplateConfig(model_name='llama3'))
url = "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/transformers/tasks/idefics-im-captioning.jpg"
image = load_image(url)
response = pipe(('Bu resimde öne çıkan ögeler nelerdir?', image))
print(response)
"""
Resimde, çiçeklerle dolu bir bahçede yavru bir köpek ve arka planda bir ağaç yer alıyor.
Köpek, çiçeklerin arasında otururken ve etrafını saran çiçeklerin arasından bakarken görülebiliyor.
Bu sahne, köpeğin bahçede geçirdiği zamanın tadını çıkardığı ve çevresini keşfettiği sakin ve huzurlu bir atmosferi yansıtıyor.
"""
Image used in this example: <img src="./example.jpg"/>
@inproceedings{zeer2024cosmos,
title={Cosmos-LLaVA: Chatting with the Visual},
author={Zeer, Ahmed and Dogan, Eren and Erdem, Yusuf and {\.I}nce, Elif and Shbib, Osama and Uzun, M Egemen and Uz, Atahan and Yuce, M Kaan and Kesgin, H Toprak and Amasyali, M Fatih},
booktitle={2024 8th International Artificial Intelligence and Data Processing Symposium (IDAP)},
pages={1--7},
year={2024},
organization={IEEE}
}
COSMOS AI Research Group, Yildiz Technical University Computer Engineering Department <br> https://cosmos.yildiz.edu.tr/ <br> [email protected] <br>