Jingya HF staff commited on
Commit
399769a
1 Parent(s): 2a761dc

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +101 -0
config.json ADDED
@@ -0,0 +1,101 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/tmp/tmplp684gkk/encoder/config.json",
3
+ "bos_token_id": 0,
4
+ "classifier_dropout": 0.0,
5
+ "d_ff": 37,
6
+ "d_kv": 8,
7
+ "d_model": 32,
8
+ "decoder_start_token_id": 0,
9
+ "dense_act_fn": "relu",
10
+ "dropout_rate": 0.1,
11
+ "eos_token_id": 1,
12
+ "feed_forward_proj": "relu",
13
+ "gradient_checkpointing": false,
14
+ "initializer_factor": 0.002,
15
+ "is_encoder_decoder": true,
16
+ "is_gated_act": false,
17
+ "layer_norm_epsilon": 1e-06,
18
+ "model_type": "t5",
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
+ "decoder_input_names": [
25
+ "decoder_input_ids",
26
+ "decoder_attention_mask",
27
+ "encoder_hidden_states",
28
+ "attention_mask",
29
+ "beam_idx",
30
+ "beam_scores"
31
+ ],
32
+ "decoder_output_names": [
33
+ "next_token_scores",
34
+ "next_tokens",
35
+ "next_indices",
36
+ "past.0.self.key",
37
+ "past.1.self.key",
38
+ "past.2.self.key",
39
+ "past.3.self.key",
40
+ "past.4.self.key",
41
+ "past.0.self.value",
42
+ "past.1.self.value",
43
+ "past.2.self.value",
44
+ "past.3.self.value",
45
+ "past.4.self.value",
46
+ "past.0.cross.key",
47
+ "past.1.cross.key",
48
+ "past.2.cross.key",
49
+ "past.3.cross.key",
50
+ "past.4.cross.key",
51
+ "past.0.cross.value",
52
+ "past.1.cross.value",
53
+ "past.2.cross.value",
54
+ "past.3.cross.value",
55
+ "past.4.cross.value"
56
+ ],
57
+ "disable_fallback": false,
58
+ "disable_fast_relayout": false,
59
+ "dynamic_batch_size": false,
60
+ "encoder_input_names": [
61
+ "input_ids",
62
+ "attention_mask"
63
+ ],
64
+ "encoder_output_names": [
65
+ "present.0.self.key",
66
+ "present.1.self.key",
67
+ "present.2.self.key",
68
+ "present.3.self.key",
69
+ "present.4.self.key",
70
+ "present.0.self.value",
71
+ "present.1.self.value",
72
+ "present.2.self.value",
73
+ "present.3.self.value",
74
+ "present.4.self.value",
75
+ "present.0.cross.key",
76
+ "present.1.cross.key",
77
+ "present.2.cross.key",
78
+ "present.3.cross.key",
79
+ "present.4.cross.key",
80
+ "present.0.cross.value",
81
+ "present.1.cross.value",
82
+ "present.2.cross.value",
83
+ "present.3.cross.value",
84
+ "present.4.cross.value"
85
+ ],
86
+ "static_batch_size": 1,
87
+ "static_num_beams": 4,
88
+ "static_sequence_length": 32
89
+ },
90
+ "num_decoder_layers": 5,
91
+ "num_heads": 4,
92
+ "num_layers": 5,
93
+ "pad_token_id": 0,
94
+ "relative_attention_max_distance": 128,
95
+ "relative_attention_num_buckets": 8,
96
+ "task": "text2text-generation",
97
+ "torchscript": true,
98
+ "transformers_version": "4.34.1",
99
+ "use_cache": true,
100
+ "vocab_size": 1103
101
+ }