Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • 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

dhansmair
/
flamingo-mini

Image-to-Text
Transformers
PyTorch
English
image-captioning
Model card Files Files and versions
xet
Community
2

Instructions to use dhansmair/flamingo-mini with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use dhansmair/flamingo-mini 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="dhansmair/flamingo-mini")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("dhansmair/flamingo-mini", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
flamingo-mini
3.34 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
dhansmair's picture
dhansmair
Update README.md
8d5549b about 4 years ago
  • .gitattributes
    1.34 kB
    initial commit over 4 years ago
  • README.md
    415 Bytes
    Update README.md about 4 years ago
  • config.json
    544 Bytes
    add model over 4 years ago
  • pytorch_model.bin
    3.34 GB
    xet
    add model over 4 years ago