Instructions to use fassabilf/sea-clip-tiny-init with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- OpenCLIP
How to use fassabilf/sea-clip-tiny-init with OpenCLIP:
import open_clip model, preprocess_train, preprocess_val = open_clip.create_model_and_transforms('hf-hub:fassabilf/sea-clip-tiny-init') tokenizer = open_clip.get_tokenizer('hf-hub:fassabilf/sea-clip-tiny-init') - Notebooks
- Google Colab
- Kaggle
Download open_clip_config.json from fassabilf/sea-clip-tiny-init: direct link, hf CLI and curl.
- Browser
- Download file 532 Bytes
-
https://huggingface.co/fassabilf/sea-clip-tiny-init/resolve/main/open_clip_config.json
- Command line
-
hf download hf://fassabilf/sea-clip-tiny-init/open_clip_config.json
-
curl -L -o open_clip_config.json https://huggingface.co/fassabilf/sea-clip-tiny-init/resolve/main/open_clip_config.json
532 Bytes
| { | |
| "model_cfg": { | |
| "embed_dim": 512, | |
| "vision_cfg": { | |
| "image_size": 224, | |
| "layers": 12, | |
| "width": 192, | |
| "patch_size": 16 | |
| }, | |
| "text_cfg": { | |
| "context_length": 77, | |
| "vocab_size": 49408, | |
| "width": 384, | |
| "heads": 6, | |
| "layers": 12 | |
| } | |
| }, | |
| "preprocess_cfg": { | |
| "mean": [ | |
| 0.48145466, | |
| 0.4578275, | |
| 0.40821073 | |
| ], | |
| "std": [ | |
| 0.26862954, | |
| 0.26130258, | |
| 0.27577711 | |
| ], | |
| "interpolation": "bicubic", | |
| "resize_mode": "shortest" | |
| } | |
| } |