Description
Zeroshot is an open source tool that lets developers build image classifiers from text descriptions instead of labelled training data. You describe your classes in a simple web interface, and it trains a custom model in a few minutes. You then install the Python package with pip or conda, create a classifier from your model's ID or path, preprocess an image and call predict to get the index of the predicted class. Models run locally on CPU or GPU, so classification works offline, has low latency and does not incur a charge each time it runs; the project claims it is faster and more accurate than OpenAI's CLIP. It is free, community-driven and aimed at developers who want to add computer vision to an app quickly. Documentation on getting started and how it works is on GitHub, and the project was built by contributors in San Francisco.…
Highlights
- Create image classifiers from text descriptions
- No data labelling required
- Python package via pip or conda
- Runs locally on CPU or GPU, offline
- Web interface for training custom models
Ratings & Reviews
No ratings yet
Be the first to rate zeroshot.
People also visit

classifier.dev docs
Zero-shot text classification over plain HTTP — no API key, no account

tao-finetune-clip
CLIP vision-language model for image-text retrieval, zero-shot classification
Label Sleuth
Open source no-code system for text annotation and building of text classifiers
zeroshot FAQ
How do I create a classifier?
Describe your classes in the Zeroshot web interface to train a custom model in a few minutes; no training data is needed.
How do I use it in code?
Install with pip or conda, then create zeroshot.Classifier with your model string or path, build a preprocessing function with zeroshot.create_preprocess_fn(), and call classifier.predict on the preprocessed image.
Does it need an internet connection?
No. Models run locally, so you can use and deploy Zeroshot offline.
Is it free?
Yes. Zeroshot is open source and free to use.
What are the best zeroshot alternatives?
Popular alternatives to zeroshot include Lobe, MachineBox and Label Sleuth. See all zeroshot alternatives





.png?auto=compress&fit=max&w=128)
