raphael-gl HF staff commited on
Commit
7994d68
1 Parent(s): 6616021

Upload text_encoder/config.json with huggingface_hub

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