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

stefra
/
blip-large-glance-image

Zero-Shot Image Classification
Transformers
Safetensors
glance_image
feature-extraction
glance
statement-tuning
image-text-matching
custom_code
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Transformers

    How to use stefra/blip-large-glance-image with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("zero-shot-image-classification", model="stefra/blip-large-glance-image", trust_remote_code=True)
    pipe(
        "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png",
        candidate_labels=["animals", "humans", "landscape"],
    )
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("stefra/blip-large-glance-image", trust_remote_code=True, device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
blip-large-glance-image
1.78 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
stefra's picture
stefra
Upload GLANCE Image
6ec75c7 verified 18 days ago
  • .gitattributes
    1.52 kB
    initial commit 18 days ago
  • README.md
    2.46 kB
    Upload GLANCE Image 18 days ago
  • config.json
    2.68 kB
    Upload GLANCE Image 18 days ago
  • eval_report.json
    2.98 kB
    Upload GLANCE Image 18 days ago
  • model.safetensors
    1.78 GB
    xet
    Upload GLANCE Image 18 days ago
  • modeling_glance_image.py
    26.1 kB
    Upload GLANCE Image 18 days ago
  • processor_config.json
    544 Bytes
    Upload GLANCE Image 18 days ago
  • tokenizer.json
    711 kB
    Upload GLANCE Image 18 days ago
  • tokenizer_config.json
    441 Bytes
    Upload GLANCE Image 18 days ago