Downloads · 30 days
18
1% of all-time downloads
umarigan/blip-image-captioning-base-chestxray-finetuned
blip-image-captioning-base-chestxray-finetuned is a image-text-to-text model from umarigan. Use it for the image-text-to-text task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as bsd-3-clause.
This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
Downloads · 30 days
18
1% of all-time downloads
All-time downloads
2.3K
Public
Parameters
247M
990 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors990 MB · 100%
From the Hugging Face model README
This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
This is a fine-tuned VLM on chest xray medicald dataset, the result shouldn't be used as an advice!!
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
Example usage:
from transformers import BlipForConditionalGeneration, AutoProcessor
model = BlipForConditionalGeneration.from_pretrained("umarigan/blip-image-captioning-base-chestxray-finetuned").to(device)
processor = AutoProcessor.from_pretrained("umarigan/blip-image-captioning-base-chestxray-finetuned")
inputs = processor(images=image, return_tensors="pt").to(device)
pixel_values = inputs.pixel_values
generated_ids = model.generate(pixel_values=pixel_values, max_length=50)
generated_caption = processor.batch_decode(generated_ids, skip_special_tokens=True)[0]
print(generated_caption)
https://huggingface.co/datasets/Shrey-1329/cxiu_hf_dataset
A simple blip fine-tuned model on medical imaging
Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019).
Google Colab L4 GPU
Google Colab L4 GPU
Umar Igan