badaoui HF Staff commited on
Commit
3b329b3
·
verified ·
1 Parent(s): 4918553

Upload neuronxcc-2.16.372.0+4a9b2326/MODULE_995fca3105c99a487c04/config.json with huggingface_hub

Browse files
neuronxcc-2.16.372.0+4a9b2326/MODULE_995fca3105c99a487c04/config.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "architectures": [
4
+ "BertForMaskedLM"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 3072,
14
+ "layer_norm_eps": 1e-12,
15
+ "max_position_embeddings": 512,
16
+ "model_type": "bert",
17
+ "neuron": {
18
+ "auto_cast": null,
19
+ "auto_cast_type": null,
20
+ "compiler_type": "neuronx-cc",
21
+ "compiler_version": "2.16.372.0+4a9b2326",
22
+ "dynamic_batch_size": false,
23
+ "inline_weights_to_neff": true,
24
+ "input_names": [
25
+ "input_ids",
26
+ "attention_mask",
27
+ "token_type_ids"
28
+ ],
29
+ "model_type": "bert",
30
+ "optlevel": "2",
31
+ "output_attentions": false,
32
+ "output_hidden_states": false,
33
+ "output_names": [
34
+ "logits"
35
+ ],
36
+ "static_batch_size": 1,
37
+ "static_sequence_length": 128,
38
+ "task": "text-classification",
39
+ "tensor_parallel_size": 1
40
+ },
41
+ "num_attention_heads": 12,
42
+ "num_hidden_layers": 12,
43
+ "pad_token_id": 0,
44
+ "position_embedding_type": "absolute",
45
+ "torch_dtype": "float32",
46
+ "torchscript": true,
47
+ "transformers_version": "4.51.3",
48
+ "type_vocab_size": 2,
49
+ "use_cache": true,
50
+ "vocab_size": 30522
51
+ }