badaoui HF Staff commited on
Commit
41d5431
·
verified ·
1 Parent(s): 069445c

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

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