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

  • Log In
  • Sign Up

mlx-community
/
medsiglip-448

Zero-Shot Image Classification
Transformers
Safetensors
MLX
siglip
vision
medical
radiology
dermatology
pathology
ophthalmology
chest-x-ray
Model card Files Files and versions
xet
Community

Instructions to use mlx-community/medsiglip-448 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use mlx-community/medsiglip-448 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("zero-shot-image-classification", model="mlx-community/medsiglip-448")
    pipe(
        "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png",
        candidate_labels=["animals", "humans", "landscape"],
    )
    # Load model directly
    from transformers import AutoProcessor, AutoModelForZeroShotImageClassification
    
    processor = AutoProcessor.from_pretrained("mlx-community/medsiglip-448")
    model = AutoModelForZeroShotImageClassification.from_pretrained("mlx-community/medsiglip-448")
  • MLX

    How to use mlx-community/medsiglip-448 with MLX:

    # Download the model from the Hub
    pip install huggingface_hub[hf_xet]
    
    huggingface-cli download --local-dir medsiglip-448 mlx-community/medsiglip-448
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • LM Studio
medsiglip-448
1.76 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
Deekshith-Dade's picture
Deekshith-Dade
Update config.json
b071aff verified 5 months ago
  • .gitattributes
    1.52 kB
    initial commit 5 months ago
  • README.md
    1.74 kB
    Upload folder using huggingface_hub 5 months ago
  • config.json
    836 Bytes
    Update config.json 5 months ago
  • model.safetensors
    1.76 GB
    xet
    Upload folder using huggingface_hub 5 months ago
  • model.safetensors.index.json
    82.6 kB
    Upload folder using huggingface_hub 5 months ago
  • preprocessor_config.json
    360 Bytes
    Upload folder using huggingface_hub 5 months ago
  • special_tokens_map.json
    409 Bytes
    Upload folder using huggingface_hub 5 months ago
  • spiece.model
    798 kB
    xet
    Upload folder using huggingface_hub 5 months ago
  • tokenizer.json
    2.4 MB
    Upload folder using huggingface_hub 5 months ago
  • tokenizer_config.json
    741 Bytes
    Upload folder using huggingface_hub 5 months ago