Instructions to use hf-internal-testing/tiny-open-clip-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- OpenCLIP
How to use hf-internal-testing/tiny-open-clip-model with OpenCLIP:
import open_clip model, preprocess_train, preprocess_val = open_clip.create_model_and_transforms('hf-hub:hf-internal-testing/tiny-open-clip-model') tokenizer = open_clip.get_tokenizer('hf-hub:hf-internal-testing/tiny-open-clip-model') - Notebooks
- Google Colab
- Kaggle
Kernel size
Browse files- open_clip_config.json +1 -1
open_clip_config.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
| 5 |
"image_size": 8,
|
| 6 |
"layers": 2,
|
| 7 |
"width": 128,
|
| 8 |
-
"patch_size":
|
| 9 |
},
|
| 10 |
"text_cfg": {
|
| 11 |
"context_length": 77,
|
|
|
|
| 5 |
"image_size": 8,
|
| 6 |
"layers": 2,
|
| 7 |
"width": 128,
|
| 8 |
+
"patch_size": 2
|
| 9 |
},
|
| 10 |
"text_cfg": {
|
| 11 |
"context_length": 77,
|