Jingya HF staff commited on
Commit
8e9f6a1
1 Parent(s): 12414d9

Upload encoder/config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. encoder/config.json +69 -0
encoder/config.json ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "disable_fallback": false,
25
+ "disable_fast_relayout": false,
26
+ "dynamic_batch_size": false,
27
+ "input_names": [
28
+ "input_ids",
29
+ "attention_mask"
30
+ ],
31
+ "model_type": "t5-encoder",
32
+ "output_names": [
33
+ "present.0.self.key",
34
+ "present.1.self.key",
35
+ "present.2.self.key",
36
+ "present.3.self.key",
37
+ "present.4.self.key",
38
+ "present.0.self.value",
39
+ "present.1.self.value",
40
+ "present.2.self.value",
41
+ "present.3.self.value",
42
+ "present.4.self.value",
43
+ "present.0.cross.key",
44
+ "present.1.cross.key",
45
+ "present.2.cross.key",
46
+ "present.3.cross.key",
47
+ "present.4.cross.key",
48
+ "present.0.cross.value",
49
+ "present.1.cross.value",
50
+ "present.2.cross.value",
51
+ "present.3.cross.value",
52
+ "present.4.cross.value"
53
+ ],
54
+ "static_batch_size": 1,
55
+ "static_num_beams": 4,
56
+ "static_sequence_length": 32
57
+ },
58
+ "num_decoder_layers": 5,
59
+ "num_heads": 4,
60
+ "num_layers": 5,
61
+ "pad_token_id": 0,
62
+ "relative_attention_max_distance": 128,
63
+ "relative_attention_num_buckets": 8,
64
+ "task": "text2text-generation",
65
+ "torchscript": true,
66
+ "transformers_version": "4.34.1",
67
+ "use_cache": true,
68
+ "vocab_size": 1103
69
+ }