metadata
license: mit
Turkish LLaVA-Med (v1.5, Mistral 7B)
Türkçe görsel soru-cevap desteği sağlayan bir tıbbi görüntü analizi modeli.
Çeviri katmanı entegre edilmiştir. Soruları Türkçe sorun, yanıtlar da Türkçe gelir 🎯
Kullanım
from transformers import AutoModelForCausalLM, AutoTokenizer, CLIPImageProcessor
from PIL import Image
import torch
model = AutoModelForCausalLM.from_pretrained("nezahatkorkmaz/turkish-llava-med-pipeline-v1.5-mistral-7b", torch_dtype=torch.float16).to("cuda")
tokenizer = AutoTokenizer.from_pretrained("nezahatkorkmaz/turkish-llava-med-pipeline-v1.5-mistral-7b")
image_processor = CLIPImageProcessor.from_pretrained("nezahatkorkmaz/turkish-llava-med-pipeline-v1.5-mistral-7b")
# predict_turkish(image, question) fonksiyonunu Colab veya Python'da kullanabilirsiniz.