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

  • Log In
  • Sign Up

reneepr
/
clip-action-model

Image Classification
Transformers
Safetensors
clip
Model card Files Files and versions
xet
Community

Instructions to use reneepr/clip-action-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use reneepr/clip-action-model with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="reneepr/clip-action-model")
    pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")
    # Load model directly
    from transformers import AutoProcessor, AutoModelForImageClassification
    
    processor = AutoProcessor.from_pretrained("reneepr/clip-action-model")
    model = AutoModelForImageClassification.from_pretrained("reneepr/clip-action-model")
  • Notebooks
  • Google Colab
  • Kaggle
clip-action-model
960 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 7 commits
reneepr's picture
reneepr
Upload fine-tuned CLIP model + processor
addb884 verified 10 months ago
  • .gitattributes
    1.52 kB
    initial commit 10 months ago
  • README.md
    5.17 kB
    Upload fine-tuned CLIP model 10 months ago
  • clip_finetuned.pt

    Detected Pickle imports (3)

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

    What is a pickle import?

    605 MB
    xet
    Upload fine-tuned CLIP checkpoint 10 months ago
  • config.json
    1.52 kB
    Upload fine-tuned CLIP model + processor 10 months ago
  • merges.txt
    525 kB
    Upload processor for CLIP model 10 months ago
  • model.safetensors
    350 MB
    xet
    Upload fine-tuned CLIP model + processor 10 months ago
  • preprocessor_config.json
    504 Bytes
    Upload processor for CLIP model 10 months ago
  • special_tokens_map.json
    588 Bytes
    Upload processor for CLIP model 10 months ago
  • tokenizer.json
    3.64 MB
    Upload processor for CLIP model 10 months ago
  • tokenizer_config.json
    774 Bytes
    Upload processor for CLIP model 10 months ago
  • vocab.json
    862 kB
    Upload processor for CLIP model 10 months ago