Jingya HF staff commited on
Commit
aba1e87
1 Parent(s): eb9fc6e

Upload text_encoder/config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. text_encoder/config.json +46 -0
text_encoder/config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_commit_hash": "4721097975058205c4edcdece2cc574b7dd7bc04",
3
+ "_name_or_path": "/home/ubuntu/.cache/huggingface/hub/models--SimianLuo--LCM_Dreamshaper_v7/snapshots/4721097975058205c4edcdece2cc574b7dd7bc04/text_encoder",
4
+ "architectures": [
5
+ "CLIPTextModel"
6
+ ],
7
+ "attention_dropout": 0.0,
8
+ "bos_token_id": 0,
9
+ "dropout": 0.0,
10
+ "eos_token_id": 2,
11
+ "hidden_act": "quick_gelu",
12
+ "hidden_size": 768,
13
+ "initializer_factor": 1.0,
14
+ "initializer_range": 0.02,
15
+ "intermediate_size": 3072,
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.11.0.34+c5231f848",
24
+ "disable_fallback": false,
25
+ "disable_fast_relayout": false,
26
+ "dynamic_batch_size": false,
27
+ "input_names": [
28
+ "input_ids"
29
+ ],
30
+ "output_names": [
31
+ "last_hidden_state",
32
+ "pooler_output"
33
+ ],
34
+ "static_batch_size": 1,
35
+ "static_sequence_length": 77
36
+ },
37
+ "num_attention_heads": 12,
38
+ "num_hidden_layers": 12,
39
+ "pad_token_id": 1,
40
+ "projection_dim": 768,
41
+ "task": "feature-extraction",
42
+ "torch_dtype": "float32",
43
+ "torchscript": true,
44
+ "transformers_version": "4.35.0.dev0",
45
+ "vocab_size": 49408
46
+ }