Instructions to use UCSC-VLAA/openvision2-vit-huge-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-huge-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-huge-patch14-224-vision-only') tokenizer = open_clip.get_tokenizer('hf-hub:UCSC-VLAA/openvision2-vit-huge-patch14-224-vision-only') - Notebooks
- Google Colab
- Kaggle
Upload standalone vision encoder: vit-only first commit
Browse files- open_clip_config.json +1 -1
open_clip_config.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
| 9 |
"no_ln_pre": true,
|
| 10 |
"pool_type": "avg",
|
| 11 |
"final_ln_after_pool": true,
|
| 12 |
-
"pos_embed_type": "
|
| 13 |
"norm_kwargs": {
|
| 14 |
"eps": 1e-06
|
| 15 |
},
|
|
|
|
| 9 |
"no_ln_pre": true,
|
| 10 |
"pool_type": "avg",
|
| 11 |
"final_ln_after_pool": true,
|
| 12 |
+
"pos_embed_type": "sin_cos_2d",
|
| 13 |
"norm_kwargs": {
|
| 14 |
"eps": 1e-06
|
| 15 |
},
|