Zero-Shot Image Classification
OpenCLIP
English
OpenCLIP
clip
biology
biodiversity
agronomy
CV
images
animals
species
taxonomy
rare species
endangered species
evolutionary biology
multimodal
knowledge-guided
Run this model with HF Jobs
Run BGLab/BioTrove-CLIP on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/BGLab/BioTrove-CLIP. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/BGLab/BioTrove-CLIP on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use BGLab/BioTrove-CLIP with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- OpenCLIP
How to use BGLab/BioTrove-CLIP with OpenCLIP:
import open_clip model, preprocess_train, preprocess_val = open_clip.create_model_and_transforms('hf-hub:BGLab/BioTrove-CLIP') tokenizer = open_clip.get_tokenizer('hf-hub:BGLab/BioTrove-CLIP') - Notebooks
- Google Colab
- Kaggle
open_clip files
Browse filesFiles changed (6)
- open_clip_config.jsonAdded+30
- open_clip_pytorch_model.binAdded+3
- special_tokens_map.jsonAdded+24
- tokenizer.jsonAdded
- tokenizer_config.jsonAdded+33
- vocab.jsonAdded
123456789101112131415161718192021222324252627282930{ "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 ] } }123version https://git-lfs.github.com/spec/v1oid sha256:2f0ccf6a9b77594bbcca1e29d97ffb692d800b8ff72606d4e2b0beac07816dcdsize 598595372123456789101112131415161718192021222324{ "bos_token": { "content": "<|startoftext|>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }, "eos_token": { "content": "<|endoftext|>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }, "pad_token": "<|endoftext|>", "unk_token": { "content": "<|endoftext|>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }}123456789101112131415161718192021222324252627282930313233{ "add_prefix_space": false, "bos_token": { "__type": "AddedToken", "content": "<|startoftext|>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }, "do_lower_case": true, "eos_token": { "__type": "AddedToken", "content": "<|endoftext|>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }, "errors": "replace", "model_max_length": 77, "pad_token": "<|endoftext|>", "special_tokens_map_file": "./special_tokens_map.json", "tokenizer_class": "CLIPTokenizer", "unk_token": { "__type": "AddedToken", "content": "<|endoftext|>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false } }open_clip_config.jsonAdded+30
open_clip_pytorch_model.binAdded+3
special_tokens_map.jsonAdded+24
tokenizer.jsonAdded
tokenizer_config.jsonAdded+33
vocab.jsonAdded