Upload BartForConditionalGeneration
Browse files- config.json +10 -2
- generation_config.json +4 -0
- pytorch_model.bin +1 -1
config.json
CHANGED
@@ -1,6 +1,9 @@
|
|
1 |
{
|
|
|
2 |
"activation_dropout": 0.0,
|
3 |
"activation_function": "gelu_new",
|
|
|
|
|
4 |
"architectures": [
|
5 |
"BartForConditionalGeneration"
|
6 |
],
|
@@ -8,12 +11,14 @@
|
|
8 |
"bos_token_id": 2,
|
9 |
"classifier_dropout": 0.0,
|
10 |
"d_model": 768,
|
11 |
-
"decoder_attention_heads":
|
12 |
"decoder_ffn_dim": 4096,
|
13 |
"decoder_layerdrop": 0.0,
|
14 |
"decoder_layers": 28,
|
15 |
"decoder_start_token_id": 2,
|
|
|
16 |
"dropout": 0.1,
|
|
|
17 |
"encoder_attention_heads": 24,
|
18 |
"encoder_ffn_dim": 4096,
|
19 |
"encoder_layerdrop": 0.0,
|
@@ -32,9 +37,12 @@
|
|
32 |
"LABEL_1": 1,
|
33 |
"LABEL_2": 2
|
34 |
},
|
|
|
35 |
"max_position_embeddings": 1026,
|
|
|
36 |
"model_type": "bart",
|
37 |
-
"
|
|
|
38 |
"pad_token_id": 3,
|
39 |
"scale_embedding": false,
|
40 |
"torch_dtype": "float32",
|
|
|
1 |
{
|
2 |
+
"_num_labels": 3,
|
3 |
"activation_dropout": 0.0,
|
4 |
"activation_function": "gelu_new",
|
5 |
+
"add_bias_logits": false,
|
6 |
+
"add_final_layer_norm": false,
|
7 |
"architectures": [
|
8 |
"BartForConditionalGeneration"
|
9 |
],
|
|
|
11 |
"bos_token_id": 2,
|
12 |
"classifier_dropout": 0.0,
|
13 |
"d_model": 768,
|
14 |
+
"decoder_attention_heads": 16,
|
15 |
"decoder_ffn_dim": 4096,
|
16 |
"decoder_layerdrop": 0.0,
|
17 |
"decoder_layers": 28,
|
18 |
"decoder_start_token_id": 2,
|
19 |
+
"do_blenderbot_90_layernorm": false,
|
20 |
"dropout": 0.1,
|
21 |
+
"early_stopping": true,
|
22 |
"encoder_attention_heads": 24,
|
23 |
"encoder_ffn_dim": 4096,
|
24 |
"encoder_layerdrop": 0.0,
|
|
|
37 |
"LABEL_1": 1,
|
38 |
"LABEL_2": 2
|
39 |
},
|
40 |
+
"max_length": 256,
|
41 |
"max_position_embeddings": 1026,
|
42 |
+
"min_length": 20,
|
43 |
"model_type": "bart",
|
44 |
+
"no_repeat_ngram_size": 3,
|
45 |
+
"num_hidden_layers": 9,
|
46 |
"pad_token_id": 3,
|
47 |
"scale_embedding": false,
|
48 |
"torch_dtype": "float32",
|
generation_config.json
CHANGED
@@ -2,8 +2,12 @@
|
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 2,
|
4 |
"decoder_start_token_id": 2,
|
|
|
5 |
"eos_token_id": 2,
|
6 |
"forced_eos_token_id": 2,
|
|
|
|
|
|
|
7 |
"pad_token_id": 3,
|
8 |
"transformers_version": "4.26.0"
|
9 |
}
|
|
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 2,
|
4 |
"decoder_start_token_id": 2,
|
5 |
+
"early_stopping": true,
|
6 |
"eos_token_id": 2,
|
7 |
"forced_eos_token_id": 2,
|
8 |
+
"max_length": 256,
|
9 |
+
"min_length": 20,
|
10 |
+
"no_repeat_ngram_size": 3,
|
11 |
"pad_token_id": 3,
|
12 |
"transformers_version": "4.26.0"
|
13 |
}
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 1645594701
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9c4993e36a808ec20a59e2e1c3eb84bba2c8458877d9113ad5af1397b975991e
|
3 |
size 1645594701
|