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.0,
|
3 |
"activation_function": "swish",
|
4 |
"add_bias_logits": false,
|
@@ -9,18 +10,21 @@
|
|
9 |
"attention_dropout": 0.0,
|
10 |
"bos_token_id": 0,
|
11 |
"classif_dropout": 0.0,
|
|
|
12 |
"d_model": 512,
|
13 |
"decoder_attention_heads": 8,
|
14 |
"decoder_ffn_dim": 2048,
|
15 |
"decoder_layerdrop": 0.0,
|
16 |
"decoder_layers": 6,
|
17 |
"decoder_start_token_id": 61278,
|
|
|
18 |
"dropout": 0.1,
|
19 |
"encoder_attention_heads": 8,
|
20 |
"encoder_ffn_dim": 2048,
|
21 |
"encoder_layerdrop": 0.0,
|
22 |
"encoder_layers": 6,
|
23 |
"eos_token_id": 0,
|
|
|
24 |
"id2label": {
|
25 |
"0": "LABEL_0",
|
26 |
"1": "LABEL_1",
|
@@ -41,6 +45,9 @@
|
|
41 |
"num_hidden_layers": 6,
|
42 |
"pad_token_id": 61278,
|
43 |
"scale_embedding": true,
|
|
|
44 |
"static_position_embeddings": true,
|
|
|
|
|
45 |
"vocab_size": 61279
|
46 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "/tmp/Helsinki-NLP/opus-mt-sv-tum",
|
3 |
"activation_dropout": 0.0,
|
4 |
"activation_function": "swish",
|
5 |
"add_bias_logits": false,
|
|
|
10 |
"attention_dropout": 0.0,
|
11 |
"bos_token_id": 0,
|
12 |
"classif_dropout": 0.0,
|
13 |
+
"classifier_dropout": 0.0,
|
14 |
"d_model": 512,
|
15 |
"decoder_attention_heads": 8,
|
16 |
"decoder_ffn_dim": 2048,
|
17 |
"decoder_layerdrop": 0.0,
|
18 |
"decoder_layers": 6,
|
19 |
"decoder_start_token_id": 61278,
|
20 |
+
"decoder_vocab_size": 61279,
|
21 |
"dropout": 0.1,
|
22 |
"encoder_attention_heads": 8,
|
23 |
"encoder_ffn_dim": 2048,
|
24 |
"encoder_layerdrop": 0.0,
|
25 |
"encoder_layers": 6,
|
26 |
"eos_token_id": 0,
|
27 |
+
"forced_eos_token_id": 0,
|
28 |
"id2label": {
|
29 |
"0": "LABEL_0",
|
30 |
"1": "LABEL_1",
|
|
|
45 |
"num_hidden_layers": 6,
|
46 |
"pad_token_id": 61278,
|
47 |
"scale_embedding": true,
|
48 |
+
"share_encoder_decoder_embeddings": true,
|
49 |
"static_position_embeddings": true,
|
50 |
+
"transformers_version": "4.22.0.dev0",
|
51 |
+
"use_cache": true,
|
52 |
"vocab_size": 61279
|
53 |
}
|
tf_model.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:019f6f71c5eb1ed1fa3d6b00d630b5e982c61db27e39916c3f2640a49ac540db
|
3 |
+
size 304928168
|