Add TF weights
Browse files- config.json +4 -1
- tf_model.h5 +3 -0
config.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
{
|
|
|
|
| 2 |
"activation_dropout": 0.0,
|
| 3 |
"activation_function": "swish",
|
| 4 |
"add_bias_logits": false,
|
|
@@ -21,6 +22,7 @@
|
|
| 21 |
"decoder_layerdrop": 0.0,
|
| 22 |
"decoder_layers": 6,
|
| 23 |
"decoder_start_token_id": 65000,
|
|
|
|
| 24 |
"dropout": 0.1,
|
| 25 |
"encoder_attention_heads": 8,
|
| 26 |
"encoder_ffn_dim": 2048,
|
|
@@ -52,8 +54,9 @@
|
|
| 52 |
"num_hidden_layers": 6,
|
| 53 |
"pad_token_id": 65000,
|
| 54 |
"scale_embedding": true,
|
|
|
|
| 55 |
"static_position_embeddings": true,
|
| 56 |
-
"transformers_version": "4.
|
| 57 |
"use_cache": true,
|
| 58 |
"vocab_size": 65001
|
| 59 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "/tmp/Helsinki-NLP/opus-mt-en-es",
|
| 3 |
"activation_dropout": 0.0,
|
| 4 |
"activation_function": "swish",
|
| 5 |
"add_bias_logits": false,
|
|
|
|
| 22 |
"decoder_layerdrop": 0.0,
|
| 23 |
"decoder_layers": 6,
|
| 24 |
"decoder_start_token_id": 65000,
|
| 25 |
+
"decoder_vocab_size": 65001,
|
| 26 |
"dropout": 0.1,
|
| 27 |
"encoder_attention_heads": 8,
|
| 28 |
"encoder_ffn_dim": 2048,
|
|
|
|
| 54 |
"num_hidden_layers": 6,
|
| 55 |
"pad_token_id": 65000,
|
| 56 |
"scale_embedding": true,
|
| 57 |
+
"share_encoder_decoder_embeddings": true,
|
| 58 |
"static_position_embeddings": true,
|
| 59 |
+
"transformers_version": "4.22.0.dev0",
|
| 60 |
"use_cache": true,
|
| 61 |
"vocab_size": 65001
|
| 62 |
}
|
tf_model.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9c0f86262f3ac03867ced8dd0b8ed83f7f2a39972f7249f60bf34ff8ea9e8765
|
| 3 |
+
size 312580600
|