Instructions to use BiliSakura/DOFA-CLIP-VIT-L-14 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use BiliSakura/DOFA-CLIP-VIT-L-14 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-feature-extraction", model="BiliSakura/DOFA-CLIP-VIT-L-14")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("BiliSakura/DOFA-CLIP-VIT-L-14", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 550 Bytes
a9ea501 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | {
"architectures": [
"CLIPTextModel"
],
"attention_dropout": 0.0,
"bos_token_id": 0,
"dropout": 0.0,
"dtype": "float32",
"eos_token_id": 1,
"hidden_act": "gelu",
"hidden_size": 1152,
"initializer_factor": 1.0,
"initializer_range": 0.02,
"intermediate_size": 4304,
"layer_norm_eps": 1e-06,
"max_position_embeddings": 64,
"model_type": "clip_text_model",
"num_attention_heads": 16,
"num_hidden_layers": 27,
"pad_token_id": 0,
"projection_dim": 1152,
"transformers_version": "4.57.3",
"vocab_size": 32000
}
|