Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

microsoft
/
colipri

Zero-Shot Image Classification
COLIPRI
Safetensors
English
Model card Files Files and versions
xet
Community
5

Instructions to use microsoft/colipri with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • COLIPRI

    How to use microsoft/colipri with COLIPRI:

    pip install colipri
    from colipri import get_model
    from colipri import get_processor
    from colipri import load_sample_ct
    from colipri import ZeroShotImageClassificationPipeline
    
    model = get_model().cuda()
    processor = get_processor()
    pipeline = ZeroShotImageClassificationPipeline("microsoft/colipri", processor)
    
    image = load_sample_ct()
    
    pipeline(image, ["No lung nodules", "Lung nodules"])
    
  • Notebooks
  • Google Colab
  • Kaggle
colipri
1.04 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 19 commits
Wauplin's picture
Wauplin HF Staff
Add `library_name: colipri`
4ca63c1 verified 3 months ago
  • assets
    Add package code and model weights 4 months ago
  • src
    Add __version__ 4 months ago
  • .gitattributes
    1.56 kB
    Add package code and model weights 4 months ago
  • .gitignore
    119 Bytes
    Add package code and model weights 4 months ago
  • .python-version
    5 Bytes
    Add package code and model weights 4 months ago
  • COLIPRI_demo.ipynb
    1.47 MB
    Update installation instructions in demo 3 months ago
  • LICENSE
    1.07 kB
    Add package code and model weights 4 months ago
  • README.md
    6.62 kB
    Add `library_name: colipri` 3 months ago
  • config.json
    0 Bytes
    Add dummy file to start tracking downloads 3 months ago
  • justfile
    114 Bytes
    Add some justfile recipes 3 months ago
  • model.safetensors
    1.03 GB
    xet
    Add package code and model weights 4 months ago
  • model_card.md
    5.66 kB
    Add package code and model weights 4 months ago
  • pyproject.toml
    1.52 kB
    Use latest version of dynamic-network-architectures 3 months ago
  • uv.lock
    514 kB
    Use latest version of dynamic-network-architectures 3 months ago