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

  • Log In
  • Sign Up

Soran
/
youtube_CLIP_LoRA_SimCSE

Zero-Shot Image Classification
Transformers
PyTorch
clip
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • Transformers

    How to use Soran/youtube_CLIP_LoRA_SimCSE with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("zero-shot-image-classification", model="Soran/youtube_CLIP_LoRA_SimCSE")
    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("Soran/youtube_CLIP_LoRA_SimCSE")
    model = AutoModelForZeroShotImageClassification.from_pretrained("Soran/youtube_CLIP_LoRA_SimCSE")
  • Notebooks
  • Google Colab
  • Kaggle
youtube_CLIP_LoRA_SimCSE
617 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 4 commits
Soran's picture
Soran
Upload processor
bcab68c over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • config.json
    484 Bytes
    Upload model over 2 years ago
  • merges.txt
    525 kB
    Upload tokenizer over 2 years ago
  • preprocessor_config.json
    556 Bytes
    Upload processor over 2 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    613 MB
    xet
    Upload model over 2 years ago
  • special_tokens_map.json
    472 Bytes
    Upload tokenizer over 2 years ago
  • tokenizer.json
    2.22 MB
    Upload tokenizer over 2 years ago
  • tokenizer_config.json
    775 Bytes
    Upload processor over 2 years ago
  • vocab.json
    862 kB
    Upload tokenizer over 2 years ago