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

  • Log In
  • Sign Up

SRDdev
/
Nebula

Image-to-Text
Transformers
PyTorch
blip
image-text-to-text
image-captioning
Model card Files Files and versions
xet
Community
1

Instructions to use SRDdev/Nebula with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use SRDdev/Nebula 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="SRDdev/Nebula")
    # Load model directly
    from transformers import AutoProcessor, AutoModelForImageTextToText
    
    processor = AutoProcessor.from_pretrained("SRDdev/Nebula")
    model = AutoModelForImageTextToText.from_pretrained("SRDdev/Nebula")
  • Notebooks
  • Google Colab
  • Kaggle
Nebula
897 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
SRDdev's picture
SRDdev
Update README.md
a93ebbd verified about 2 years ago
  • .gitattributes
    1.52 kB
    initial commit about 2 years ago
  • README.md
    91 Bytes
    Update README.md about 2 years ago
  • config.json
    4.56 kB
    Upload 8 files about 2 years ago
  • preprocessor_config.json
    287 Bytes
    Upload 8 files about 2 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    896 MB
    xet
    Upload 8 files about 2 years ago
  • special_tokens_map.json
    125 Bytes
    Upload 8 files about 2 years ago
  • tokenizer.json
    711 kB
    Upload 8 files about 2 years ago
  • tokenizer_config.json
    506 Bytes
    Upload 8 files about 2 years ago
  • vocab.txt
    232 kB
    Upload 8 files about 2 years ago