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
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

kpyu
/
video-blip-opt-2.7b-ego4d

Image-to-Text
Transformers
PyTorch
English
blip-2
text-generation
vision
video-to-text
image-captioning
video-captioning
visual-question-answering
Model card Files Files and versions
xet
Community
1

Instructions to use kpyu/video-blip-opt-2.7b-ego4d with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use kpyu/video-blip-opt-2.7b-ego4d 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="kpyu/video-blip-opt-2.7b-ego4d")
    # Load model directly
    from transformers import AutoProcessor, AutoModelForSeq2SeqLM
    
    processor = AutoProcessor.from_pretrained("kpyu/video-blip-opt-2.7b-ego4d")
    model = AutoModelForSeq2SeqLM.from_pretrained("kpyu/video-blip-opt-2.7b-ego4d")
  • Notebooks
  • Google Colab
  • Kaggle
video-blip-opt-2.7b-ego4d
15.5 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
kpyu's picture
kpyu
Add a model card
83865b7 about 3 years ago
  • .gitattributes
    1.48 kB
    initial commit about 3 years ago
  • README.md
    1.49 kB
    Add a model card about 3 years ago
  • config.json
    7.02 kB
    Upload VideoBlipForConditionalGeneration about 3 years ago
  • merges.txt
    456 kB
    Upload processor about 3 years ago
  • preprocessor_config.json
    432 Bytes
    Upload processor about 3 years ago
  • pytorch_model-00001-of-00002.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    10 GB
    xet
    Upload VideoBlipForConditionalGeneration about 3 years ago
  • pytorch_model-00002-of-00002.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    5.5 GB
    xet
    Upload VideoBlipForConditionalGeneration about 3 years ago
  • pytorch_model.bin.index.json
    122 kB
    Upload VideoBlipForConditionalGeneration about 3 years ago
  • special_tokens_map.json
    548 Bytes
    Upload processor about 3 years ago
  • tokenizer.json
    2.11 MB
    Upload processor about 3 years ago
  • tokenizer_config.json
    909 Bytes
    Upload processor about 3 years ago
  • vocab.json
    798 kB
    Upload processor about 3 years ago