File size: 2,638 Bytes
399769a
d1059ad
399769a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f45b9f1
399769a
 
 
 
 
 
 
 
 
d1059ad
399769a
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
  "_name_or_path": "/tmp/tmp1dwp5xa5/encoder/config.json",
  "bos_token_id": 0,
  "classifier_dropout": 0.0,
  "d_ff": 37,
  "d_kv": 8,
  "d_model": 32,
  "decoder_start_token_id": 0,
  "dense_act_fn": "relu",
  "dropout_rate": 0.1,
  "eos_token_id": 1,
  "feed_forward_proj": "relu",
  "gradient_checkpointing": false,
  "initializer_factor": 0.002,
  "is_encoder_decoder": true,
  "is_gated_act": false,
  "layer_norm_epsilon": 1e-06,
  "model_type": "t5",
  "neuron": {
    "auto_cast": "matmul",
    "auto_cast_type": "bf16",
    "compiler_type": "neuronx-cc",
    "compiler_version": "2.11.0.34+c5231f848",
    "decoder_input_names": [
      "decoder_input_ids",
      "decoder_attention_mask",
      "encoder_hidden_states",
      "attention_mask",
      "beam_idx",
      "beam_scores"
    ],
    "decoder_output_names": [
      "next_token_scores",
      "next_tokens",
      "next_indices",
      "past.0.self.key",
      "past.1.self.key",
      "past.2.self.key",
      "past.3.self.key",
      "past.4.self.key",
      "past.0.self.value",
      "past.1.self.value",
      "past.2.self.value",
      "past.3.self.value",
      "past.4.self.value",
      "past.0.cross.key",
      "past.1.cross.key",
      "past.2.cross.key",
      "past.3.cross.key",
      "past.4.cross.key",
      "past.0.cross.value",
      "past.1.cross.value",
      "past.2.cross.value",
      "past.3.cross.value",
      "past.4.cross.value"
    ],
    "disable_fallback": false,
    "disable_fast_relayout": false,
    "dynamic_batch_size": false,
    "encoder_input_names": [
      "input_ids",
      "attention_mask"
    ],
    "encoder_output_names": [
      "present.0.self.key",
      "present.1.self.key",
      "present.2.self.key",
      "present.3.self.key",
      "present.4.self.key",
      "present.0.self.value",
      "present.1.self.value",
      "present.2.self.value",
      "present.3.self.value",
      "present.4.self.value",
      "present.0.cross.key",
      "present.1.cross.key",
      "present.2.cross.key",
      "present.3.cross.key",
      "present.4.cross.key",
      "present.0.cross.value",
      "present.1.cross.value",
      "present.2.cross.value",
      "present.3.cross.value",
      "present.4.cross.value"
    ],
    "static_batch_size": 1,
    "static_num_beams": 4,
    "static_sequence_length": 64
  },
  "num_decoder_layers": 5,
  "num_heads": 4,
  "num_layers": 5,
  "pad_token_id": 0,
  "relative_attention_max_distance": 128,
  "relative_attention_num_buckets": 8,
  "task": "text2text-generation",
  "torchscript": true,
  "transformers_version": "4.35.0",
  "use_cache": true,
  "vocab_size": 1103
}