Improve model card: Add metadata, external links, and fix sample usage
#1
by
nielsr HF Staff - opened
This PR enhances the model card for nmndeep/CLIC-ViT-L-14-224-PixPr-RedCaps by adding crucial information and ensuring the sample usage is runnable.
Specifically, it:
- Adds
license: apache-2.0. - Sets the
pipeline_tagtozero-shot-image-classificationfor better discoverability on the Hub. - Specifies
library_name: open_clip, which enables the automated "How to use" widget on the model page. - Adds links to the official 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). - Corrects the sample usage code snippet by adding the necessary
from urllib.request import urlopenimport, making it fully runnable.