ehristoforu commited on
Commit
ddc9829
1 Parent(s): d78ab81

Update text_encoder_2/config.json

Browse files
Files changed (1) hide show
  1. text_encoder_2/config.json +25 -18
text_encoder_2/config.json CHANGED
@@ -1,24 +1,31 @@
1
  {
2
  "architectures": [
3
- "CLIPTextModelWithProjection"
4
  ],
5
- "attention_dropout": 0.0,
6
- "bos_token_id": 0,
7
- "dropout": 0.0,
8
- "eos_token_id": 2,
9
- "hidden_act": "quick_gelu",
10
- "hidden_size": 768,
 
 
 
11
  "initializer_factor": 1.0,
12
- "initializer_range": 0.02,
13
- "intermediate_size": 3072,
14
- "layer_norm_eps": 1e-05,
15
- "max_position_embeddings": 77,
16
- "model_type": "clip_text_model",
17
- "num_attention_heads": 12,
18
- "num_hidden_layers": 12,
19
- "pad_token_id": 1,
20
- "projection_dim": 768,
 
 
 
21
  "torch_dtype": "float16",
22
  "transformers_version": "4.41.2",
23
- "vocab_size": 49408
24
- }
 
 
1
  {
2
  "architectures": [
3
+ "T5EncoderModel"
4
  ],
5
+ "classifier_dropout": 0.0,
6
+ "d_ff": 10240,
7
+ "d_kv": 64,
8
+ "d_model": 4096,
9
+ "decoder_start_token_id": 0,
10
+ "dense_act_fn": "gelu_new",
11
+ "dropout_rate": 0.1,
12
+ "eos_token_id": 1,
13
+ "feed_forward_proj": "gated-gelu",
14
  "initializer_factor": 1.0,
15
+ "is_encoder_decoder": true,
16
+ "is_gated_act": true,
17
+ "layer_norm_epsilon": 1e-06,
18
+ "model_type": "t5",
19
+ "num_decoder_layers": 24,
20
+ "num_heads": 64,
21
+ "num_layers": 24,
22
+ "output_past": true,
23
+ "pad_token_id": 0,
24
+ "relative_attention_max_distance": 128,
25
+ "relative_attention_num_buckets": 32,
26
+ "tie_word_embeddings": false,
27
  "torch_dtype": "float16",
28
  "transformers_version": "4.41.2",
29
+ "use_cache": true,
30
+ "vocab_size": 32128
31
+ }