Zero-Shot Image Classification
OpenCLIP
English
clip
biology
CV
images
animals
species
taxonomy
rare species
endangered species
evolutionary biology
multimodal
knowledge-guided
Instructions to use imageomics/bioclip with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- OpenCLIP
How to use imageomics/bioclip with OpenCLIP:
import open_clip model, preprocess_train, preprocess_val = open_clip.create_model_and_transforms('hf-hub:imageomics/bioclip') tokenizer = open_clip.get_tokenizer('hf-hub:imageomics/bioclip') - Notebooks
- Google Colab
- Kaggle
Download open_clip_config.json from imageomics/bioclip: direct link, hf CLI and curl.
- Browser
- Download file 469 Bytes
-
https://huggingface.co/imageomics/bioclip/resolve/main/open_clip_config.json
- Command line
-
hf download hf://imageomics/bioclip/open_clip_config.json
-
curl -L -o open_clip_config.json https://huggingface.co/imageomics/bioclip/resolve/main/open_clip_config.json
469 Bytes
| { | |
| "model_cfg": { | |
| "embed_dim": 512, | |
| "vision_cfg": { | |
| "image_size": 224, | |
| "layers": 12, | |
| "width": 768, | |
| "patch_size": 16 | |
| }, | |
| "text_cfg": { | |
| "context_length": 77, | |
| "vocab_size": 49408, | |
| "width": 512, | |
| "heads": 8, | |
| "layers": 12 | |
| } | |
| }, | |
| "preprocess_cfg": { | |
| "mean": [ | |
| 0.48145466, | |
| 0.4578275, | |
| 0.40821073 | |
| ], | |
| "std": [ | |
| 0.26862954, | |
| 0.26130258, | |
| 0.27577711 | |
| ] | |
| } | |
| } |