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

microsoft
/
BiomedCLIP-PubMedBERT_256-vit_base_patch16_224

Zero-Shot Image Classification
OpenCLIP
English
clip
biology
medical
Model card Files Files and versions
xet
Community
29

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

  • Libraries
  • OpenCLIP

    How to use microsoft/BiomedCLIP-PubMedBERT_256-vit_base_patch16_224 with OpenCLIP:

    import open_clip
    
    model, preprocess_train, preprocess_val = open_clip.create_model_and_transforms('hf-hub:microsoft/BiomedCLIP-PubMedBERT_256-vit_base_patch16_224')
    tokenizer = open_clip.get_tokenizer('hf-hub:microsoft/BiomedCLIP-PubMedBERT_256-vit_base_patch16_224')
  • Notebooks
  • Google Colab
  • Kaggle
BiomedCLIP-PubMedBERT_256-vit_base_patch16_224
789 MB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 37 commits
shengz's picture
shengz
Update README.md
9f341de verified over 1 year ago
  • example_data
    Upload 9 files about 3 years ago
  • .gitattributes
    1.48 kB
    initial commit about 3 years ago
  • LICENSE.md
    1.07 kB
    Create LICENSE.md about 3 years ago
  • README.md
    10.3 kB
    Update README.md over 1 year ago
  • biomed-vlp-eval.svg
    63.4 kB
    Upload biomed-vlp-eval.svg about 3 years ago
  • biomed_clip_example.ipynb
    2.89 MB
    Rerun .ipynb with the new ckpt. over 2 years ago
  • open_clip_config.json
    707 Bytes
    Update open_clip_config.json over 2 years ago
  • open_clip_pytorch_model.bin

    Detected Pickle imports (4)

    • "collections.OrderedDict",
    • "torch._utils._rebuild_tensor_v2",
    • "torch.LongStorage",
    • "torch.FloatStorage"

    What is a pickle import?

    784 MB
    xet
    Update ckpt. over 2 years ago
  • special_tokens_map.json
    125 Bytes
    trying push_pretrained_to_hf_hub util (#1) about 3 years ago
  • tokenizer.json
    679 kB
    trying push_pretrained_to_hf_hub util (#1) about 3 years ago
  • tokenizer_config.json
    394 Bytes
    trying push_pretrained_to_hf_hub util (#5) about 3 years ago
  • vocab.txt
    225 kB
    trying push_pretrained_to_hf_hub util (#1) about 3 years ago