jadechoghari commited on
Commit
826a5f8
·
verified ·
1 Parent(s): 7368160

add text encoder working

Browse files
text_encoder/config.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "openai/clip-vit-large-patch14",
3
+ "attention_dropout": 0.0,
4
+ "bos_token_id": 0,
5
+ "dropout": 0.0,
6
+ "eos_token_id": 2,
7
+ "hidden_act": "quick_gelu",
8
+ "hidden_size": 768,
9
+ "initializer_factor": 1.0,
10
+ "initializer_range": 0.02,
11
+ "intermediate_size": 3072,
12
+ "layer_norm_eps": 1e-05,
13
+ "max_position_embeddings": 77,
14
+ "model_type": "clip_text_model",
15
+ "num_attention_heads": 12,
16
+ "num_hidden_layers": 12,
17
+ "pad_token_id": 1,
18
+ "projection_dim": 768,
19
+ "transformers_version": "4.42.4",
20
+ "vocab_size": 49408
21
+ }
text_encoder/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:52de4b2426c9e31a63dadec5d111f766af7304b1ab205872b060c274727861de
3
+ size 492265136