Zero-Shot Image Classification
OpenCLIP
biomedical
contrastive-learning
image-text-retrieval
zero-shot-classification
Instructions to use ChartFoundation/BioLoom-models with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- OpenCLIP
How to use ChartFoundation/BioLoom-models with OpenCLIP:
import open_clip model, preprocess_train, preprocess_val = open_clip.create_model_and_transforms('hf-hub:ChartFoundation/BioLoom-models') tokenizer = open_clip.get_tokenizer('hf-hub:ChartFoundation/BioLoom-models') - Notebooks
- Google Colab
- Kaggle
Download Initialization/CommonPool/manifest.json from ChartFoundation/BioLoom-models: direct link, hf CLI and curl.
- Browser
- Download file 761 Bytes
-
https://huggingface.co/ChartFoundation/BioLoom-models/resolve/main/Initialization/CommonPool/manifest.json
- Command line
-
hf download hf://ChartFoundation/BioLoom-models/Initialization/CommonPool/manifest.json
-
curl -L -o manifest.json https://huggingface.co/ChartFoundation/BioLoom-models/resolve/main/Initialization/CommonPool/manifest.json
761 Bytes
| { | |
| "name": "CommonPool", | |
| "paper_location": "Main results / Table 5", | |
| "architecture": "BioClinicalModernBERT-large-ViT-L-14-commonpool-vision-longtext", | |
| "checkpoint": "Initialization/CommonPool/open_clip_pytorch_model.bin", | |
| "sha256": "65e2791e76ae16ce06dc2d020d1b097d8321a26571017236703388c236199e03", | |
| "bytes": 1816825530, | |
| "paper_metrics_percent": { | |
| "zero_shot": 53.66, | |
| "bioloombench": 61.53, | |
| "biomedflickr": 10.69 | |
| }, | |
| "results": { | |
| "zero_shot": "Initialization/CommonPool/results/zero-shot.json", | |
| "biomedflickr": "Initialization/CommonPool/results/biomedflickr-retrieval.json", | |
| "bioloombench": "Initialization/CommonPool/results/bioloom-retrieval.json" | |
| }, | |
| "config": "Initialization/CommonPool/open_clip_config.json" | |
| } | |