Instructions to use laion/CLIP-ViT-bigG-14-laion2B-39B-b160k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- OpenCLIP
How to use laion/CLIP-ViT-bigG-14-laion2B-39B-b160k with OpenCLIP:
import open_clip model, preprocess_train, preprocess_val = open_clip.create_model_and_transforms('hf-hub:laion/CLIP-ViT-bigG-14-laion2B-39B-b160k') tokenizer = open_clip.get_tokenizer('hf-hub:laion/CLIP-ViT-bigG-14-laion2B-39B-b160k') - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -179,6 +179,6 @@
|
|
| 179 |
"num_attention_heads": 16,
|
| 180 |
"num_hidden_layers": 48,
|
| 181 |
"patch_size": 14,
|
| 182 |
-
"projection_dim": 1280
|
| 183 |
}
|
| 184 |
}
|
|
|
|
| 179 |
"num_attention_heads": 16,
|
| 180 |
"num_hidden_layers": 48,
|
| 181 |
"patch_size": 14,
|
| 182 |
+
"projection_dim": 1280
|
| 183 |
}
|
| 184 |
}
|