Optimum commited on
Commit
cb27ab0
·
1 Parent(s): 452152d

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +20 -7
config.json CHANGED
@@ -4,11 +4,7 @@
4
  "BertModel"
5
  ],
6
  "attention_probs_dropout_prob": 0.1,
7
- "auto_cast": null,
8
- "auto_cast_type": null,
9
  "classifier_dropout": null,
10
- "disable_fast_relayout": false,
11
- "dynamic_batch_size": true,
12
  "hidden_act": "gelu",
13
  "hidden_dropout_prob": 0.1,
14
  "hidden_size": 32,
@@ -17,14 +13,31 @@
17
  "layer_norm_eps": 1e-12,
18
  "max_position_embeddings": 512,
19
  "model_type": "bert",
20
- "neuron_batch_size": 3,
21
- "neuron_sequence_length": 64,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
  "num_attention_heads": 4,
23
  "num_hidden_layers": 5,
24
  "pad_token_id": 0,
25
  "position_embedding_type": "absolute",
26
  "torch_dtype": "float32",
27
- "transformers_version": "4.29.2",
28
  "type_vocab_size": 16,
29
  "use_cache": true,
30
  "vocab_size": 1124
 
4
  "BertModel"
5
  ],
6
  "attention_probs_dropout_prob": 0.1,
 
 
7
  "classifier_dropout": null,
 
 
8
  "hidden_act": "gelu",
9
  "hidden_dropout_prob": 0.1,
10
  "hidden_size": 32,
 
13
  "layer_norm_eps": 1e-12,
14
  "max_position_embeddings": 512,
15
  "model_type": "bert",
16
+ "neuron": {
17
+ "auto_cast": null,
18
+ "auto_cast_type": null,
19
+ "compiler_type": "neuronx-cc",
20
+ "compiler_version": "2.8.0.25+a3ad0f342",
21
+ "disable_fallback": false,
22
+ "disable_fast_relayout": false,
23
+ "dynamic_batch_size": false,
24
+ "input_names": [
25
+ "input_ids",
26
+ "attention_mask",
27
+ "token_type_ids"
28
+ ],
29
+ "output_names": [
30
+ "logits"
31
+ ],
32
+ "static_batch_size": 1,
33
+ "static_sequence_length": 32
34
+ },
35
  "num_attention_heads": 4,
36
  "num_hidden_layers": 5,
37
  "pad_token_id": 0,
38
  "position_embedding_type": "absolute",
39
  "torch_dtype": "float32",
40
+ "transformers_version": "4.31.0",
41
  "type_vocab_size": 16,
42
  "use_cache": true,
43
  "vocab_size": 1124