yuchenlin
commited on
Commit
•
f87b6e1
1
Parent(s):
2234fd7
bart base config
Browse files- config.json +10 -9
- tokenizer_config.json +1 -1
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "facebook/bart-
|
3 |
"activation_dropout": 0.1,
|
4 |
"activation_function": "gelu",
|
5 |
"add_bias_logits": false,
|
@@ -11,18 +11,18 @@
|
|
11 |
"bos_token_id": 0,
|
12 |
"classif_dropout": 0.1,
|
13 |
"classifier_dropout": 0.0,
|
14 |
-
"d_model":
|
15 |
-
"decoder_attention_heads":
|
16 |
-
"decoder_ffn_dim":
|
17 |
"decoder_layerdrop": 0.0,
|
18 |
-
"decoder_layers":
|
19 |
"decoder_start_token_id": 2,
|
20 |
"dropout": 0.1,
|
21 |
"early_stopping": true,
|
22 |
-
"encoder_attention_heads":
|
23 |
-
"encoder_ffn_dim":
|
24 |
"encoder_layerdrop": 0.0,
|
25 |
-
"encoder_layers":
|
26 |
"eos_token_id": 2,
|
27 |
"forced_eos_token_id": 2,
|
28 |
"gradient_checkpointing": false,
|
@@ -42,8 +42,9 @@
|
|
42 |
"model_type": "bart",
|
43 |
"no_repeat_ngram_size": 3,
|
44 |
"normalize_before": false,
|
|
|
45 |
"num_beams": 4,
|
46 |
-
"num_hidden_layers":
|
47 |
"pad_token_id": 1,
|
48 |
"scale_embedding": false,
|
49 |
"task_specific_params": {
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "facebook/bart-base",
|
3 |
"activation_dropout": 0.1,
|
4 |
"activation_function": "gelu",
|
5 |
"add_bias_logits": false,
|
|
|
11 |
"bos_token_id": 0,
|
12 |
"classif_dropout": 0.1,
|
13 |
"classifier_dropout": 0.0,
|
14 |
+
"d_model": 768,
|
15 |
+
"decoder_attention_heads": 12,
|
16 |
+
"decoder_ffn_dim": 3072,
|
17 |
"decoder_layerdrop": 0.0,
|
18 |
+
"decoder_layers": 6,
|
19 |
"decoder_start_token_id": 2,
|
20 |
"dropout": 0.1,
|
21 |
"early_stopping": true,
|
22 |
+
"encoder_attention_heads": 12,
|
23 |
+
"encoder_ffn_dim": 3072,
|
24 |
"encoder_layerdrop": 0.0,
|
25 |
+
"encoder_layers": 6,
|
26 |
"eos_token_id": 2,
|
27 |
"forced_eos_token_id": 2,
|
28 |
"gradient_checkpointing": false,
|
|
|
42 |
"model_type": "bart",
|
43 |
"no_repeat_ngram_size": 3,
|
44 |
"normalize_before": false,
|
45 |
+
"normalize_embedding": true,
|
46 |
"num_beams": 4,
|
47 |
+
"num_hidden_layers": 6,
|
48 |
"pad_token_id": 1,
|
49 |
"scale_embedding": false,
|
50 |
"task_specific_params": {
|
tokenizer_config.json
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"unk_token": "<unk>", "bos_token": "<s>", "eos_token": "</s>", "add_prefix_space": false, "errors": "replace", "sep_token": "</s>", "cls_token": "<s>", "pad_token": "<pad>", "mask_token": "<mask>", "model_max_length": 1024, "special_tokens_map_file": null, "name_or_path": "facebook/bart-
|
|
|
1 |
+
{"unk_token": "<unk>", "bos_token": "<s>", "eos_token": "</s>", "add_prefix_space": false, "errors": "replace", "sep_token": "</s>", "cls_token": "<s>", "pad_token": "<pad>", "mask_token": "<mask>", "model_max_length": 1024, "special_tokens_map_file": null, "name_or_path": "facebook/bart-base", "tokenizer_class": "BartTokenizer"}
|