erwann commited on
Commit
a0aeb8d
1 Parent(s): 7132787

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
+ "_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": "all",
21
+ "auto_cast_type": "fp16",
22
+ "compiler_type": "neuronx-cc",
23
+ "compiler_version": "2.11.0.35+4f5279863",
24
+ "disable_fallback": false,
25
+ "disable_fast_relayout": false,
26
+ "dynamic_batch_size": false,
27
+ "input_names": [
28
+ "input_ids"
29
+ ],
30
+ "model_type": "clip-text-model",
31
+ "output_attentions": false,
32
+ "output_hidden_states": false,
33
+ "output_names": [
34
+ "last_hidden_state",
35
+ "pooler_output"
36
+ ],
37
+ "static_batch_size": 1,
38
+ "static_num_beams": 1,
39
+ "static_sequence_length": 77
40
+ },
41
+ "num_attention_heads": 12,
42
+ "num_hidden_layers": 12,
43
+ "pad_token_id": 1,
44
+ "projection_dim": 768,
45
+ "task": "feature-extraction",
46
+ "torch_dtype": "float32",
47
+ "torchscript": true,
48
+ "transformers_version": "4.35.0.dev0",
49
+ "vocab_size": 49408
50
+ }