Jingya HF Staff commited on
Commit
13972d3
·
1 Parent(s): 8468451

Upload text_encoder_2/config.json with huggingface_hub

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