Instructions to use UCSC-VLAA/openvision2-vit-large-patch14-224-vision-only with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- OpenCLIP
How to use UCSC-VLAA/openvision2-vit-large-patch14-224-vision-only with OpenCLIP:
import open_clip model, preprocess_train, preprocess_val = open_clip.create_model_and_transforms('hf-hub:UCSC-VLAA/openvision2-vit-large-patch14-224-vision-only') tokenizer = open_clip.get_tokenizer('hf-hub:UCSC-VLAA/openvision2-vit-large-patch14-224-vision-only') - Notebooks
- Google Colab
- Kaggle
| { | |
| "model_cfg": { | |
| "embed_dim": 1024, | |
| "vision_cfg": { | |
| "layers": 24, | |
| "width": 1024, | |
| "patch_size": 14, | |
| "image_size": 224, | |
| "no_ln_pre": true, | |
| "pool_type": "avg", | |
| "final_ln_after_pool": true, | |
| "norm_kwargs": { | |
| "eps": 1e-06 | |
| }, | |
| "output_tokens": true, | |
| "head_width": 64 | |
| }, | |
| "text_cfg": { | |
| "context_length": 77, | |
| "vocab_size": 49408, | |
| "width": 512, | |
| "heads": 8, | |
| "layers": 12 | |
| } | |
| } | |
| } |