Instructions to use kwanY/styleid with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use kwanY/styleid with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-image-classification", model="kwanY/styleid") 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("kwanY/styleid") model = AutoModelForZeroShotImageClassification.from_pretrained("kwanY/styleid") - Notebooks
- Google Colab
- Kaggle
Improve model card metadata and content
#1
by nielsr HF Staff - opened
Hi! I'm Niels from the community science team at Hugging Face.
This PR improves the model card for StyleID by adding relevant metadata:
library_name: transformersto enable the "Use in Transformers" button and code snippets.pipeline_tag: image-feature-extractionto improve discoverability in the Hub.- Setting the license to
otherbased on the non-commercial research use notice.
I've also added links to the GitHub repository and formatted the usage section and citations for better readability.