Add TF weights

This commit is contained in:
Joao Gante 2022-09-05 12:15:14 +00:00
parent c8b63c83f3
commit 071bd9495c
2 changed files with 7 additions and 1 deletions

View File

@ -1,4 +1,5 @@
{ {
"_name_or_path": "/tmp/Helsinki-NLP/opus-mt-en-es",
"activation_dropout": 0.0, "activation_dropout": 0.0,
"activation_function": "swish", "activation_function": "swish",
"add_bias_logits": false, "add_bias_logits": false,
@ -21,6 +22,7 @@
"decoder_layerdrop": 0.0, "decoder_layerdrop": 0.0,
"decoder_layers": 6, "decoder_layers": 6,
"decoder_start_token_id": 65000, "decoder_start_token_id": 65000,
"decoder_vocab_size": 65001,
"dropout": 0.1, "dropout": 0.1,
"encoder_attention_heads": 8, "encoder_attention_heads": 8,
"encoder_ffn_dim": 2048, "encoder_ffn_dim": 2048,
@ -52,8 +54,9 @@
"num_hidden_layers": 6, "num_hidden_layers": 6,
"pad_token_id": 65000, "pad_token_id": 65000,
"scale_embedding": true, "scale_embedding": true,
"share_encoder_decoder_embeddings": true,
"static_position_embeddings": true, "static_position_embeddings": true,
"transformers_version": "4.9.0.dev0", "transformers_version": "4.22.0.dev0",
"use_cache": true, "use_cache": true,
"vocab_size": 65001 "vocab_size": 65001
} }

BIN
tf_model.h5 (Stored with Git LFS) Normal file

Binary file not shown.