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

  • Log In
  • Sign Up

next-social
/
blip2-opt-2.7b-bf16

Visual Question Answering
Transformers
PyTorch
blip-2
Model card Files Files and versions
xet
Community
1

Instructions to use next-social/blip2-opt-2.7b-bf16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use next-social/blip2-opt-2.7b-bf16 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("visual-question-answering", model="next-social/blip2-opt-2.7b-bf16")
    # Load model directly
    from transformers import AutoProcessor, AutoModelForMultimodalLM
    
    processor = AutoProcessor.from_pretrained("next-social/blip2-opt-2.7b-bf16")
    model = AutoModelForMultimodalLM.from_pretrained("next-social/blip2-opt-2.7b-bf16", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
blip2-opt-2.7b-bf16
7.49 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
3v324v23's picture
3v324v23
add more
55015d5 almost 3 years ago
  • .gitattributes
    1.52 kB
    add model almost 3 years ago
  • config.json
    1.01 kB
    add model almost 3 years ago
  • generation_config.json
    136 Bytes
    add model almost 3 years ago
  • preprocessor_config.json
    432 Bytes
    add more almost 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    7.49 GB
    xet
    add model almost 3 years ago
  • special_tokens_map.json
    548 Bytes
    add more almost 3 years ago
  • tokenizer.json
    2.11 MB
    add more almost 3 years ago
  • tokenizer_config.json
    904 Bytes
    add more almost 3 years ago
  • vocab.json
    798 kB
    add more almost 3 years ago