nezahatkorkmaz's picture
Update README.md
c552222 verified
|
raw
history blame
1.08 kB
metadata
license: mit

Turkish LLaVA-Med (v1.5, Mistral 7B)

image/png

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 🎯

image/png

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.