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

mobilint
/
blip-image-captioning-large

Image-to-Text
Transformers
Safetensors
Mobilint
mobilint-blip
text-generation
custom_code
Model card Files Files and versions
xet
Community

Instructions to use mobilint/blip-image-captioning-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use mobilint/blip-image-captioning-large 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="mobilint/blip-image-captioning-large", trust_remote_code=True)
    # Load model directly
    from transformers import AutoModelForCausalLM
    model = AutoModelForCausalLM.from_pretrained("mobilint/blip-image-captioning-large", trust_remote_code=True, device_map="auto")
  • Mobilint

    How to use mobilint/blip-image-captioning-large with Mobilint:

    # pip install mblt-model-zoo
    from mblt_model_zoo.vision import MBLT_Engine
    
    model = MBLT_Engine(
        model_cls="blip-image-captioning-large",
        model_type="DEFAULT",
        model_path="",
        core_mode="global8",
    )
    
    try:
        image = model.preprocess("path/to/image.jpg")
        output = model(image)
        result = model.postprocess(output)
    finally:
        model.dispose()
    
  • Notebooks
  • Google Colab
  • Kaggle
blip-image-captioning-large
558 MB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 13 commits
parkjinman98's picture
parkjinman98
Adjust library_name metadata for model card
a43c597 verified about 2 months ago
  • .gitattributes
    1.68 kB
    Upload folder using huggingface_hub 9 months ago
  • README.md
    636 Bytes
    Adjust library_name metadata for model card about 2 months ago
  • blip-image-captioning-large_text_decoder.mxq
    147 MB
    xet
    Upload 2 files 7 months ago
  • blip-image-captioning-large_vision_model.mxq
    314 MB
    xet
    Upload 2 files 7 months ago
  • config.json
    5.23 kB
    fix: add blip auto_map entries 3 months ago
  • model.safetensors
    95.3 MB
    xet
    Remove redundant BLIP position_ids buffer 4 months ago
  • preprocessor_config.json
    445 Bytes
    Upload folder using huggingface_hub 9 months ago
  • proxy_blip.py
    497 Bytes
    Create proxy_blip.py 7 months ago
  • special_tokens_map.json
    125 Bytes
    Upload folder using huggingface_hub 9 months ago
  • tokenizer.json
    711 kB
    Upload folder using huggingface_hub 9 months ago
  • tokenizer_config.json
    527 Bytes
    Upload folder using huggingface_hub 9 months ago
  • vocab.txt
    232 kB
    Upload folder using huggingface_hub 9 months ago