dminhk commited on
Commit
257e32d
1 Parent(s): 8e56721

Upload text_encoder_2/config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. text_encoder_2/config.json +46 -0
text_encoder_2/config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_commit_hash": "f898a3e026e802f68796b95e9702464bac78d76f",
3
+ "_name_or_path": "/home/ubuntu/.cache/huggingface/hub/models--stabilityai--stable-diffusion-xl-base-1.0/snapshots/f898a3e026e802f68796b95e9702464bac78d76f/text_encoder_2",
4
+ "architectures": [
5
+ "CLIPTextModelWithProjection"
6
+ ],
7
+ "attention_dropout": 0.0,
8
+ "bos_token_id": 0,
9
+ "dropout": 0.0,
10
+ "eos_token_id": 2,
11
+ "hidden_act": "gelu",
12
+ "hidden_size": 1280,
13
+ "initializer_factor": 1.0,
14
+ "initializer_range": 0.02,
15
+ "intermediate_size": 5120,
16
+ "layer_norm_eps": 1e-05,
17
+ "max_position_embeddings": 77,
18
+ "model_type": "clip-text-model",
19
+ "neuron": {
20
+ "auto_cast": "matmul",
21
+ "auto_cast_type": "bf16",
22
+ "compiler_type": "neuronx-cc",
23
+ "compiler_version": "2.9.0.40+07376825f",
24
+ "dynamic_batch_size": false,
25
+ "input_names": [
26
+ "input_ids"
27
+ ],
28
+ "output_names": [
29
+ "text_embeds",
30
+ "last_hidden_state",
31
+ "hidden_states"
32
+ ],
33
+ "static_batch_size": 1,
34
+ "static_sequence_length": 77
35
+ },
36
+ "num_attention_heads": 20,
37
+ "num_hidden_layers": 32,
38
+ "output_hidden_states": true,
39
+ "pad_token_id": 1,
40
+ "projection_dim": 1280,
41
+ "task": "feature-extraction",
42
+ "torch_dtype": "float16",
43
+ "torchscript": true,
44
+ "transformers_version": "4.32.0.dev0",
45
+ "vocab_size": 49408
46
+ }