Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

WafaaFraih
/
blip-roco-radiology-captioning

Image-to-Text
Transformers
Safetensors
English
blip
image-text-to-text
medical
radiology
image-captioning
roco
Model card Files Files and versions
xet
Community

Instructions to use WafaaFraih/blip-roco-radiology-captioning with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use WafaaFraih/blip-roco-radiology-captioning with Transformers:

    # Use a pipeline as a high-level helper
    # Warning: Pipeline type "image-to-text" is no longer supported in transformers v5.
    # You must load the model directly (see below) or downgrade to v4.x with:
    # 'pip install "transformers<5.0.0'
    from transformers import pipeline
    
    pipe = pipeline("image-to-text", model="WafaaFraih/blip-roco-radiology-captioning")
    # Load model directly
    from transformers import AutoProcessor, AutoModelForMultimodalLM
    
    processor = AutoProcessor.from_pretrained("WafaaFraih/blip-roco-radiology-captioning")
    model = AutoModelForMultimodalLM.from_pretrained("WafaaFraih/blip-roco-radiology-captioning")
  • Notebooks
  • Google Colab
  • Kaggle
blip-roco-radiology-captioning
991 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
WafaaFraih's picture
WafaaFraih
Add model card
406b4a9 verified 11 months ago
  • .gitattributes
    1.52 kB
    initial commit 11 months ago
  • README.md
    1.26 kB
    Add model card 11 months ago
  • config.json
    1.37 kB
    Upload fine-tuned BLIP model on ROCO radiology dataset 11 months ago
  • generation_config.json
    136 Bytes
    Upload fine-tuned BLIP model on ROCO radiology dataset 11 months ago
  • model.safetensors
    990 MB
    xet
    Upload fine-tuned BLIP model on ROCO radiology dataset 11 months ago
  • preprocessor_config.json
    615 Bytes
    Upload processor 11 months ago
  • special_tokens_map.json
    695 Bytes
    Upload processor 11 months ago
  • tokenizer.json
    711 kB
    Upload processor 11 months ago
  • tokenizer_config.json
    1.4 kB
    Upload processor 11 months ago
  • vocab.txt
    232 kB
    Upload processor 11 months ago