Instructions to use hiert/testconfig with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hiert/testconfig with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-image-classification", model="hiert/testconfig") pipe( "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png", candidate_labels=["animals", "humans", "landscape"], )# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForZeroShotImageClassification processor = AutoProcessor.from_pretrained("hiert/testconfig") model = AutoModelForZeroShotImageClassification.from_pretrained("hiert/testconfig", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Upload 2 files
Verified signature7b06daa -
Rename config1.json to config.json
Verified signature48edff3 -
Upload config1.json
Verified signature8dd4cf1 -
Delete config.json
Verified signature4b5f757 -
Upload config.json
Verified signature42fabc4 -
Rename config.json to other_config.json
Verified signaturee80c45e -
Rename other_handler.py to handler.py
Verified signature5fe8674 -
Upload other_handler.py
Verified signatureb893913 -
Rename other_config.json to config.json
Verified signature4a2c815 -
Upload other_config.json
Verified signatureef2b4f3 -
Delete config.json
Verified signatureb499c05 -
Upload config.json
Verified signature36e36c1 -
initial commit
Verified signature0d176f8