add tf model

This commit is contained in:
Patrick von Platen 2021-02-24 11:30:29 +03:00
parent 49d34bce84
commit 1a8c2263da
2 changed files with 10 additions and 1 deletions

View File

@ -1,4 +1,5 @@
{ {
"_name_or_path": "Helsinki-NLP/opus-mt-en-de",
"_num_labels": 3, "_num_labels": 3,
"activation_dropout": 0.0, "activation_dropout": 0.0,
"activation_function": "swish", "activation_function": "swish",
@ -15,6 +16,7 @@
], ],
"bos_token_id": 0, "bos_token_id": 0,
"classif_dropout": 0.0, "classif_dropout": 0.0,
"classifier_dropout": 0.0,
"d_model": 512, "d_model": 512,
"decoder_attention_heads": 8, "decoder_attention_heads": 8,
"decoder_ffn_dim": 2048, "decoder_ffn_dim": 2048,
@ -27,6 +29,8 @@
"encoder_layerdrop": 0.0, "encoder_layerdrop": 0.0,
"encoder_layers": 6, "encoder_layers": 6,
"eos_token_id": 0, "eos_token_id": 0,
"forced_eos_token_id": 0,
"gradient_checkpointing": false,
"id2label": { "id2label": {
"0": "LABEL_0", "0": "LABEL_0",
"1": "LABEL_1", "1": "LABEL_1",
@ -49,5 +53,7 @@
"pad_token_id": 58100, "pad_token_id": 58100,
"scale_embedding": true, "scale_embedding": true,
"static_position_embeddings": true, "static_position_embeddings": true,
"transformers_version": "4.4.0.dev0",
"use_cache": true,
"vocab_size": 58101 "vocab_size": 58101
} }

3
tf_model.h5 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:69118ee40ce5b461a3a216a1cb3fe0154151d18de13970ef7371b0c165a81dc4
size 297909280