Optimum commited on
Commit
99c2280
·
1 Parent(s): d5199f0

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +44 -0
config.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "hf-internal-testing/tiny-random-BertModel",
3
+ "architectures": [
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,
11
+ "initializer_range": 0.02,
12
+ "intermediate_size": 37,
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
44
+ }