Commit
·
4510ba6
1
Parent(s):
b3b66b0
add tf weights
Browse files- config.json +7 -0
- tf_model.h5 +3 -0
config.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
{
|
|
|
|
| 2 |
"activation_dropout": 0.1,
|
| 3 |
"activation_function": "relu",
|
| 4 |
"add_bias_logits": false,
|
|
@@ -9,11 +10,13 @@
|
|
| 9 |
"attention_dropout": 0.1,
|
| 10 |
"bos_token_id": 0,
|
| 11 |
"classif_dropout": 0.0,
|
|
|
|
| 12 |
"d_model": 1024,
|
| 13 |
"decoder_attention_heads": 16,
|
| 14 |
"decoder_ffn_dim": 4096,
|
| 15 |
"decoder_layerdrop": 0.0,
|
| 16 |
"decoder_layers": 16,
|
|
|
|
| 17 |
"dropout": 0.1,
|
| 18 |
"encoder_attention_heads": 16,
|
| 19 |
"encoder_ffn_dim": 4096,
|
|
@@ -22,6 +25,8 @@
|
|
| 22 |
"eos_token_id": 1,
|
| 23 |
"extra_pos_embeddings": 1,
|
| 24 |
"force_bos_token_to_be_generated": false,
|
|
|
|
|
|
|
| 25 |
"id2label": {
|
| 26 |
"0": "LABEL_0",
|
| 27 |
"1": "LABEL_1",
|
|
@@ -112,5 +117,7 @@
|
|
| 112 |
"max_position_embeddings": 512
|
| 113 |
}
|
| 114 |
},
|
|
|
|
|
|
|
| 115 |
"vocab_size": 96103
|
| 116 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "google/pegasus-large",
|
| 3 |
"activation_dropout": 0.1,
|
| 4 |
"activation_function": "relu",
|
| 5 |
"add_bias_logits": false,
|
|
|
|
| 10 |
"attention_dropout": 0.1,
|
| 11 |
"bos_token_id": 0,
|
| 12 |
"classif_dropout": 0.0,
|
| 13 |
+
"classifier_dropout": 0.0,
|
| 14 |
"d_model": 1024,
|
| 15 |
"decoder_attention_heads": 16,
|
| 16 |
"decoder_ffn_dim": 4096,
|
| 17 |
"decoder_layerdrop": 0.0,
|
| 18 |
"decoder_layers": 16,
|
| 19 |
+
"decoder_start_token_id": 0,
|
| 20 |
"dropout": 0.1,
|
| 21 |
"encoder_attention_heads": 16,
|
| 22 |
"encoder_ffn_dim": 4096,
|
|
|
|
| 25 |
"eos_token_id": 1,
|
| 26 |
"extra_pos_embeddings": 1,
|
| 27 |
"force_bos_token_to_be_generated": false,
|
| 28 |
+
"forced_eos_token_id": 1,
|
| 29 |
+
"gradient_checkpointing": false,
|
| 30 |
"id2label": {
|
| 31 |
"0": "LABEL_0",
|
| 32 |
"1": "LABEL_1",
|
|
|
|
| 117 |
"max_position_embeddings": 512
|
| 118 |
}
|
| 119 |
},
|
| 120 |
+
"transformers_version": "4.5.0.dev0",
|
| 121 |
+
"use_cache": true,
|
| 122 |
"vocab_size": 96103
|
| 123 |
}
|
tf_model.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0cefc7e73b7854284c67f1f691f15fb5c033dd8f0639cc64c0f68d39d6230750
|
| 3 |
+
size 2283889512
|