Qian Liu
commited on
Commit
•
50327c6
1
Parent(s):
db2f955
Update config.json
Browse files- config.json +53 -53
config.json
CHANGED
@@ -1,53 +1,53 @@
|
|
1 |
-
{
|
2 |
-
"_name_or_path": "tapex-
|
3 |
-
"activation_dropout": 0.0,
|
4 |
-
"activation_function": "gelu",
|
5 |
-
"add_bias_logits": false,
|
6 |
-
"add_final_layer_norm": false,
|
7 |
-
"architectures": [
|
8 |
-
"BartForConditionalGeneration"
|
9 |
-
],
|
10 |
-
"attention_dropout": 0.1,
|
11 |
-
"bos_token_id": 0,
|
12 |
-
"classifier_dropout": 0.0,
|
13 |
-
"d_model": 768,
|
14 |
-
"decoder_attention_heads": 12,
|
15 |
-
"decoder_ffn_dim": 3072,
|
16 |
-
"decoder_layerdrop": 0.0,
|
17 |
-
"decoder_layers": 6,
|
18 |
-
"decoder_start_token_id": 2,
|
19 |
-
"dropout": 0.1,
|
20 |
-
"encoder_attention_heads": 12,
|
21 |
-
"encoder_ffn_dim": 3072,
|
22 |
-
"encoder_layerdrop": 0.0,
|
23 |
-
"encoder_layers": 6,
|
24 |
-
"eos_token_id": 2,
|
25 |
-
"forced_bos_token_id": 0,
|
26 |
-
"forced_eos_token_id": 2,
|
27 |
-
"gradient_checkpointing": false,
|
28 |
-
"id2label": {
|
29 |
-
"0": "LABEL_0",
|
30 |
-
"1": "LABEL_1",
|
31 |
-
"2": "LABEL_2"
|
32 |
-
},
|
33 |
-
"init_std": 0.02,
|
34 |
-
"is_encoder_decoder": true,
|
35 |
-
"label2id": {
|
36 |
-
"LABEL_0": 0,
|
37 |
-
"LABEL_1": 1,
|
38 |
-
"LABEL_2": 2
|
39 |
-
},
|
40 |
-
"max_length": 1024,
|
41 |
-
"max_position_embeddings": 1024,
|
42 |
-
"model_type": "bart",
|
43 |
-
"normalize_before": false,
|
44 |
-
"normalize_embedding": true,
|
45 |
-
"num_beams": 4,
|
46 |
-
"num_hidden_layers": 6,
|
47 |
-
"pad_token_id": 1,
|
48 |
-
"scale_embedding": false,
|
49 |
-
"torch_dtype": "float32",
|
50 |
-
"transformers_version": "4.17.0.dev0",
|
51 |
-
"use_cache": true,
|
52 |
-
"vocab_size": 50265
|
53 |
-
}
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/tapex-large-finetuned-wtq",
|
3 |
+
"activation_dropout": 0.0,
|
4 |
+
"activation_function": "gelu",
|
5 |
+
"add_bias_logits": false,
|
6 |
+
"add_final_layer_norm": false,
|
7 |
+
"architectures": [
|
8 |
+
"BartForConditionalGeneration"
|
9 |
+
],
|
10 |
+
"attention_dropout": 0.1,
|
11 |
+
"bos_token_id": 0,
|
12 |
+
"classifier_dropout": 0.0,
|
13 |
+
"d_model": 768,
|
14 |
+
"decoder_attention_heads": 12,
|
15 |
+
"decoder_ffn_dim": 3072,
|
16 |
+
"decoder_layerdrop": 0.0,
|
17 |
+
"decoder_layers": 6,
|
18 |
+
"decoder_start_token_id": 2,
|
19 |
+
"dropout": 0.1,
|
20 |
+
"encoder_attention_heads": 12,
|
21 |
+
"encoder_ffn_dim": 3072,
|
22 |
+
"encoder_layerdrop": 0.0,
|
23 |
+
"encoder_layers": 6,
|
24 |
+
"eos_token_id": 2,
|
25 |
+
"forced_bos_token_id": 0,
|
26 |
+
"forced_eos_token_id": 2,
|
27 |
+
"gradient_checkpointing": false,
|
28 |
+
"id2label": {
|
29 |
+
"0": "LABEL_0",
|
30 |
+
"1": "LABEL_1",
|
31 |
+
"2": "LABEL_2"
|
32 |
+
},
|
33 |
+
"init_std": 0.02,
|
34 |
+
"is_encoder_decoder": true,
|
35 |
+
"label2id": {
|
36 |
+
"LABEL_0": 0,
|
37 |
+
"LABEL_1": 1,
|
38 |
+
"LABEL_2": 2
|
39 |
+
},
|
40 |
+
"max_length": 1024,
|
41 |
+
"max_position_embeddings": 1024,
|
42 |
+
"model_type": "bart",
|
43 |
+
"normalize_before": false,
|
44 |
+
"normalize_embedding": true,
|
45 |
+
"num_beams": 4,
|
46 |
+
"num_hidden_layers": 6,
|
47 |
+
"pad_token_id": 1,
|
48 |
+
"scale_embedding": false,
|
49 |
+
"torch_dtype": "float32",
|
50 |
+
"transformers_version": "4.17.0.dev0",
|
51 |
+
"use_cache": true,
|
52 |
+
"vocab_size": 50265
|
53 |
+
}
|