add model
Browse files- config.json +6 -7
- pytorch_model.bin +2 -2
config.json
CHANGED
@@ -2,20 +2,20 @@
|
|
2 |
"activation_dropout": 0.0,
|
3 |
"activation_function": "gelu_new",
|
4 |
"architectures": [
|
5 |
-
"
|
6 |
],
|
7 |
"attention_dropout": 0.0,
|
8 |
"bos_token_id": 2,
|
9 |
"classifier_dropout": 0.0,
|
10 |
"d_model": 768,
|
11 |
"decoder_attention_heads": 12,
|
12 |
-
"decoder_ffn_dim":
|
13 |
"decoder_layerdrop": 0.0,
|
14 |
-
"decoder_layers":
|
15 |
"decoder_start_token_id": 2,
|
16 |
"dropout": 0.1,
|
17 |
"encoder_attention_heads": 12,
|
18 |
-
"encoder_ffn_dim":
|
19 |
"encoder_layerdrop": 0.0,
|
20 |
"encoder_layers": 3,
|
21 |
"eos_token_id": 2,
|
@@ -26,8 +26,7 @@
|
|
26 |
"2": "LABEL_2"
|
27 |
},
|
28 |
"init_std": 0.02,
|
29 |
-
"
|
30 |
-
"is_encoder_decoder": false,
|
31 |
"label2id": {
|
32 |
"LABEL_0": 0,
|
33 |
"LABEL_1": 1,
|
@@ -35,7 +34,7 @@
|
|
35 |
},
|
36 |
"max_position_embeddings": 1026,
|
37 |
"model_type": "bart",
|
38 |
-
"num_hidden_layers":
|
39 |
"pad_token_id": 3,
|
40 |
"scale_embedding": false,
|
41 |
"torch_dtype": "float32",
|
|
|
2 |
"activation_dropout": 0.0,
|
3 |
"activation_function": "gelu_new",
|
4 |
"architectures": [
|
5 |
+
"BartForConditionalGeneration"
|
6 |
],
|
7 |
"attention_dropout": 0.0,
|
8 |
"bos_token_id": 2,
|
9 |
"classifier_dropout": 0.0,
|
10 |
"d_model": 768,
|
11 |
"decoder_attention_heads": 12,
|
12 |
+
"decoder_ffn_dim": 4096,
|
13 |
"decoder_layerdrop": 0.0,
|
14 |
+
"decoder_layers": 9,
|
15 |
"decoder_start_token_id": 2,
|
16 |
"dropout": 0.1,
|
17 |
"encoder_attention_heads": 12,
|
18 |
+
"encoder_ffn_dim": 4096,
|
19 |
"encoder_layerdrop": 0.0,
|
20 |
"encoder_layers": 3,
|
21 |
"eos_token_id": 2,
|
|
|
26 |
"2": "LABEL_2"
|
27 |
},
|
28 |
"init_std": 0.02,
|
29 |
+
"is_encoder_decoder": true,
|
|
|
30 |
"label2id": {
|
31 |
"LABEL_0": 0,
|
32 |
"LABEL_1": 1,
|
|
|
34 |
},
|
35 |
"max_position_embeddings": 1026,
|
36 |
"model_type": "bart",
|
37 |
+
"num_hidden_layers": 2,
|
38 |
"pad_token_id": 3,
|
39 |
"scale_embedding": false,
|
40 |
"torch_dtype": "float32",
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e262726178c2921894aa95f9670bb711a166ee7c060b0060d03ffb795da3a4e1
|
3 |
+
size 599565821
|