Instructions to use nmndeep/CLIC-ViT-B-32-224-PixPr-RedCaps with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- OpenCLIP
How to use nmndeep/CLIC-ViT-B-32-224-PixPr-RedCaps with OpenCLIP:
import open_clip model, preprocess_train, preprocess_val = open_clip.create_model_and_transforms('hf-hub:nmndeep/CLIC-ViT-B-32-224-PixPr-RedCaps') tokenizer = open_clip.get_tokenizer('hf-hub:nmndeep/CLIC-ViT-B-32-224-PixPr-RedCaps') - Notebooks
- Google Colab
- Kaggle
Enhance model card with metadata, abstract, links, and citation
#1
by nielsr HF Staff - opened
This PR significantly enhances the model card for CLIC-ViT-B-32-224-PixPr-RedCaps by:
- Adding essential metadata:
license: apache-2.0,library_name: open_clip, andpipeline_tag: zero-shot-image-classification. These additions will improve the model's discoverability on the Hugging Face Hub and enable the automatedopen_clipusage widget. - Providing the paper's abstract for comprehensive context about the model.
- Including direct links to the paper (Advancing Compositional Awareness in CLIP with Efficient Fine-Tuning), the project page (https://clic-compositional-clip.github.io/), and the GitHub repository (https://github.com/AmitPeleg/CLIC).
- Incorporating the BibTeX citation for proper academic attribution.
- Correcting the sample usage snippet by explicitly importing
urlopento ensure it runs without errors.
Please review these improvements.