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

YaekobB
/
blip-caption-model

Image-to-Text
Transformers
Safetensors
PyTorch
blip
image-text-to-text
image-captioning
vision-language-model
multimodal-ai
computer-vision
deep-learning
Model card Files Files and versions
xet
Community

Instructions to use YaekobB/blip-caption-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use YaekobB/blip-caption-model 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="YaekobB/blip-caption-model")
    # Load model directly
    from transformers import AutoProcessor, AutoModelForMultimodalLM
    
    processor = AutoProcessor.from_pretrained("YaekobB/blip-caption-model")
    model = AutoModelForMultimodalLM.from_pretrained("YaekobB/blip-caption-model", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
blip-caption-model
897 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 3 commits
YaekobB's picture
YaekobB
Add model card documentation
730ded8 verified 4 months ago
  • .gitattributes
    1.52 kB
    initial commit about 1 year ago
  • README.md
    2.83 kB
    Add model card documentation 4 months ago
  • config.json
    1.37 kB
    Upload fine-tuned BLIP weights about 1 year ago
  • generation_config.json
    121 Bytes
    Upload fine-tuned BLIP weights about 1 year ago
  • model.safetensors
    896 MB
    xet
    Upload fine-tuned BLIP weights about 1 year ago
  • preprocessor_config.json
    431 Bytes
    Upload fine-tuned BLIP weights about 1 year ago
  • special_tokens_map.json
    695 Bytes
    Upload fine-tuned BLIP weights about 1 year ago
  • tokenizer.json
    712 kB
    Upload fine-tuned BLIP weights about 1 year ago
  • tokenizer_config.json
    1.38 kB
    Upload fine-tuned BLIP weights about 1 year ago
  • training_args.bin

    Detected Pickle imports (9)

    • "transformers.trainer_utils.HubStrategy",
    • "transformers.training_args.OptimizerNames",
    • "transformers.trainer_utils.SchedulerType",
    • "accelerate.utils.dataclasses.DistributedType",
    • "transformers.trainer_pt_utils.AcceleratorConfig",
    • "torch.device",
    • "accelerate.state.PartialState",
    • "transformers.training_args_seq2seq.Seq2SeqTrainingArguments",
    • "transformers.trainer_utils.IntervalStrategy"

    How to fix it?

    5.5 kB
    xet
    Upload fine-tuned BLIP weights about 1 year ago
  • vocab.txt
    232 kB
    Upload fine-tuned BLIP weights about 1 year ago