Qian Liu
commited on
Commit
•
6429255
1
Parent(s):
e75cd63
Upload config.json
Browse files- config.json +70 -0
config.json
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "tapex-large-finetuned-tabfact",
|
3 |
+
"activation_dropout": 0.0,
|
4 |
+
"activation_function": "gelu",
|
5 |
+
"add_bias_logits": false,
|
6 |
+
"add_final_layer_norm": false,
|
7 |
+
"architectures": [
|
8 |
+
"BartForSequenceClassification"
|
9 |
+
],
|
10 |
+
"attention_dropout": 0.1,
|
11 |
+
"bos_token_id": 0,
|
12 |
+
"classifier_dropout": 0.0,
|
13 |
+
"d_model": 1024,
|
14 |
+
"decoder_attention_heads": 16,
|
15 |
+
"decoder_ffn_dim": 4096,
|
16 |
+
"decoder_layerdrop": 0.0,
|
17 |
+
"decoder_layers": 12,
|
18 |
+
"decoder_start_token_id": 2,
|
19 |
+
"dropout": 0.1,
|
20 |
+
"encoder_attention_heads": 16,
|
21 |
+
"encoder_ffn_dim": 4096,
|
22 |
+
"encoder_layerdrop": 0.0,
|
23 |
+
"encoder_layers": 12,
|
24 |
+
"eos_token_id": 2,
|
25 |
+
"forced_eos_token_id": 2,
|
26 |
+
"id2label": {
|
27 |
+
"0": "Refused",
|
28 |
+
"1": "Entailed"
|
29 |
+
},
|
30 |
+
"init_std": 0.02,
|
31 |
+
"is_encoder_decoder": true,
|
32 |
+
"label2id": {
|
33 |
+
"LABEL_0": 0,
|
34 |
+
"LABEL_1": 1
|
35 |
+
},
|
36 |
+
"max_position_embeddings": 1024,
|
37 |
+
"model_type": "bart",
|
38 |
+
"no_repeat_ngram_size": 3,
|
39 |
+
"normalize_before": false,
|
40 |
+
"normalize_embedding": true,
|
41 |
+
"num_beams": 4,
|
42 |
+
"num_hidden_layers": 6,
|
43 |
+
"pad_token_id": 1,
|
44 |
+
"problem_type": "single_label_classification",
|
45 |
+
"scale_embedding": false,
|
46 |
+
"task_specific_params": {
|
47 |
+
"summarization": {
|
48 |
+
"length_penalty": 1.0,
|
49 |
+
"max_length": 128,
|
50 |
+
"min_length": 12,
|
51 |
+
"num_beams": 4
|
52 |
+
},
|
53 |
+
"summarization_cnn": {
|
54 |
+
"length_penalty": 2.0,
|
55 |
+
"max_length": 142,
|
56 |
+
"min_length": 56,
|
57 |
+
"num_beams": 4
|
58 |
+
},
|
59 |
+
"summarization_xsum": {
|
60 |
+
"length_penalty": 1.0,
|
61 |
+
"max_length": 62,
|
62 |
+
"min_length": 11,
|
63 |
+
"num_beams": 6
|
64 |
+
}
|
65 |
+
},
|
66 |
+
"torch_dtype": "float32",
|
67 |
+
"transformers_version": "4.17.0.dev0",
|
68 |
+
"use_cache": true,
|
69 |
+
"vocab_size": 50265
|
70 |
+
}
|