Upload FlaxBartForConditionalGeneration
Browse files- config.json +3 -3
- flax_model.msgpack +2 -2
- generation_config.json +10 -0
config.json
CHANGED
@@ -1,12 +1,11 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "sshleifer/tiny-mbart",
|
3 |
"_num_labels": 3,
|
4 |
"activation_dropout": 0.0,
|
5 |
"activation_function": "gelu",
|
6 |
"add_bias_logits": false,
|
7 |
"add_final_layer_norm": true,
|
8 |
"architectures": [
|
9 |
-
"
|
10 |
],
|
11 |
"attention_dropout": 0.0,
|
12 |
"bos_token_id": 0,
|
@@ -17,6 +16,7 @@
|
|
17 |
"decoder_ffn_dim": 4,
|
18 |
"decoder_layerdrop": 0.0,
|
19 |
"decoder_layers": 2,
|
|
|
20 |
"dropout": 0.1,
|
21 |
"encoder_attention_heads": 1,
|
22 |
"encoder_ffn_dim": 4,
|
@@ -38,7 +38,7 @@
|
|
38 |
"LABEL_2": 2
|
39 |
},
|
40 |
"max_position_embeddings": 1024,
|
41 |
-
"model_type": "
|
42 |
"normalize_before": true,
|
43 |
"normalize_embedding": true,
|
44 |
"num_beams": 2,
|
|
|
1 |
{
|
|
|
2 |
"_num_labels": 3,
|
3 |
"activation_dropout": 0.0,
|
4 |
"activation_function": "gelu",
|
5 |
"add_bias_logits": false,
|
6 |
"add_final_layer_norm": true,
|
7 |
"architectures": [
|
8 |
+
"BartForConditionalGeneration"
|
9 |
],
|
10 |
"attention_dropout": 0.0,
|
11 |
"bos_token_id": 0,
|
|
|
16 |
"decoder_ffn_dim": 4,
|
17 |
"decoder_layerdrop": 0.0,
|
18 |
"decoder_layers": 2,
|
19 |
+
"decoder_start_token_id": 2,
|
20 |
"dropout": 0.1,
|
21 |
"encoder_attention_heads": 1,
|
22 |
"encoder_ffn_dim": 4,
|
|
|
38 |
"LABEL_2": 2
|
39 |
},
|
40 |
"max_position_embeddings": 1024,
|
41 |
+
"model_type": "bart",
|
42 |
"normalize_before": true,
|
43 |
"normalize_embedding": true,
|
44 |
"num_beams": 2,
|
flax_model.msgpack
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:1a5031e0000aac8abffa7c835b5f2c365efeb9afa555014146fa6c43e95676ca
|
3 |
+
size 1511694
|
generation_config.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 0,
|
4 |
+
"decoder_start_token_id": 2,
|
5 |
+
"eos_token_id": 2,
|
6 |
+
"forced_eos_token_id": 2,
|
7 |
+
"num_beams": 2,
|
8 |
+
"pad_token_id": 1,
|
9 |
+
"transformers_version": "4.27.0.dev0"
|
10 |
+
}
|