Jingya HF Staff commited on
Commit
6526a51
·
verified ·
1 Parent(s): 8fcfb44

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +57 -0
config.json ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "/tmp/tmpk4k5k_qu",
4
+ "architectures": [
5
+ "BertForQuestionAnswering"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.1,
8
+ "classifier_dropout": null,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 3072,
14
+ "language": "english",
15
+ "layer_norm_eps": 1e-12,
16
+ "max_position_embeddings": 512,
17
+ "model_type": "bert",
18
+ "name": "Bert",
19
+ "neuron": {
20
+ "auto_cast": "matmul",
21
+ "auto_cast_type": "bf16",
22
+ "compiler_type": "neuronx-cc",
23
+ "compiler_version": "2.16.372.0+4a9b2326",
24
+ "disable_fallback": false,
25
+ "disable_fast_relayout": false,
26
+ "dynamic_batch_size": false,
27
+ "inline_weights_to_neff": true,
28
+ "input_names": [
29
+ "input_ids",
30
+ "attention_mask",
31
+ "token_type_ids"
32
+ ],
33
+ "model_type": "bert",
34
+ "optlevel": "2",
35
+ "output_attentions": false,
36
+ "output_hidden_states": false,
37
+ "output_names": [
38
+ "start_logits",
39
+ "end_logits"
40
+ ],
41
+ "static_batch_size": 1,
42
+ "static_sequence_length": 128,
43
+ "tensor_parallel_size": 1
44
+ },
45
+ "num_attention_heads": 12,
46
+ "num_hidden_layers": 12,
47
+ "output_past": true,
48
+ "pad_token_id": 0,
49
+ "position_embedding_type": "absolute",
50
+ "task": "question-answering",
51
+ "torch_dtype": "float32",
52
+ "torchscript": true,
53
+ "transformers_version": "4.49.0",
54
+ "type_vocab_size": 2,
55
+ "use_cache": true,
56
+ "vocab_size": 28996
57
+ }