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

chuhac
/
BiomedCLIP-vit-bert-hf

Zero-Shot Classification
Transformers
PyTorch
Safetensors
English
clip
feature-extraction
custom_code
Model card Files Files and versions
xet
Community
1

Instructions to use chuhac/BiomedCLIP-vit-bert-hf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use chuhac/BiomedCLIP-vit-bert-hf with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("zero-shot-classification", model="chuhac/BiomedCLIP-vit-bert-hf", trust_remote_code=True)
    # Load model directly
    from transformers import AutoProcessor, AutoModel
    
    processor = AutoProcessor.from_pretrained("chuhac/BiomedCLIP-vit-bert-hf", trust_remote_code=True)
    model = AutoModel.from_pretrained("chuhac/BiomedCLIP-vit-bert-hf", trust_remote_code=True)
  • Notebooks
  • Google Colab
  • Kaggle
BiomedCLIP-vit-bert-hf
1.57 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 4 commits
chuhac's picture
chuhac
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model (#1)
c44fed2 verified almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit about 2 years ago
  • README.md
    546 Bytes
    Update README.md about 2 years ago
  • config.json
    2.86 kB
    Upload 8 files about 2 years ago
  • configuration_biomed_clip.py
    2.7 kB
    Upload 8 files about 2 years ago
  • model.safetensors
    784 MB
    xet
    Adding `safetensors` variant of this model (#1) almost 2 years ago
  • modeling_biomed_clip.py
    39.6 kB
    Upload 8 files about 2 years ago
  • preprocessor_config.json
    349 Bytes
    Upload 8 files about 2 years ago
  • processing_biomed_clip.py
    7.17 kB
    Upload 8 files about 2 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    784 MB
    xet
    Upload 8 files about 2 years ago
  • tokenizer.json
    679 kB
    Upload 8 files about 2 years ago
  • tokenizer_config.json
    394 Bytes
    Upload 8 files about 2 years ago