How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("image-text-to-text", model="eduardofarina/MultimodalXray")
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoImageProcessor, AutoModelForMultimodalLM

processor = AutoImageProcessor.from_pretrained("eduardofarina/MultimodalXray")
model = AutoModelForMultimodalLM.from_pretrained("eduardofarina/MultimodalXray", device_map="auto")
Quick Links

This model is trained on a sample of CheXpert Dataset using only frontal views. The model combines a ViT and GPT2 to generate draft radiology reports.

Downloads last month
11
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Space using eduardofarina/MultimodalXray 1