Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

gospacedev
/
blip-image-captioning-base-bf16

Image-to-Text
Transformers
Safetensors
blip
image-text-to-text
Model card Files Files and versions
xet
Community

Instructions to use gospacedev/blip-image-captioning-base-bf16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use gospacedev/blip-image-captioning-base-bf16 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="gospacedev/blip-image-captioning-base-bf16")
    # Load model directly
    from transformers import AutoProcessor, AutoModelForImageTextToText
    
    processor = AutoProcessor.from_pretrained("gospacedev/blip-image-captioning-base-bf16")
    model = AutoModelForImageTextToText.from_pretrained("gospacedev/blip-image-captioning-base-bf16")
  • Notebooks
  • Google Colab
  • Kaggle
blip-image-captioning-base-bf16
502 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 16 commits
gospacedev's picture
gospacedev
Update README.md
e73727e verified about 2 years ago
  • .gitattributes
    1.58 kB
    Upload for_valued_gangster.png about 2 years ago
  • README.md
    1.47 kB
    Update README.md about 2 years ago
  • cat in currents.png
    286 kB
    Upload cat in currents.png about 2 years ago
  • config.json
    692 Bytes
    Update config.json about 2 years ago
  • for_valued_gangster.png
    6.33 MB
    xet
    Upload for_valued_gangster.png about 2 years ago
  • generation_config.json
    141 Bytes
    Upload BlipForConditionalGeneration about 2 years ago
  • model.safetensors
    495 MB
    xet
    Upload BlipForConditionalGeneration about 2 years ago
  • preprocessor_config.json
    706 Bytes
    Upload processor about 2 years ago
  • special_tokens_map.json
    695 Bytes
    Upload processor about 2 years ago
  • tokenizer.json
    711 kB
    Upload processor about 2 years ago
  • tokenizer_config.json
    1.35 kB
    Upload processor about 2 years ago
  • vocab.txt
    232 kB
    Upload processor about 2 years ago