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

  • 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")
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("dhansmair/flamingo-mini", dtype="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 over 3 years ago
  • .gitattributes
    1.34 kB
    initial commit over 3 years ago
  • README.md
    415 Bytes
    Update README.md over 3 years ago
  • config.json
    544 Bytes
    add model over 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

    • "torch._utils._rebuild_tensor_v2",
    • "collections.OrderedDict",
    • "torch.FloatStorage"

    What is a pickle import?

    3.34 GB
    xet
    add model over 3 years ago