Add TF weights
Browse files- config.json +8 -1
- tf_model.h5 +3 -0
config.json
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
{
|
|
|
2 |
"_num_labels": 3,
|
3 |
"activation_dropout": 0.0,
|
4 |
"activation_function": "swish",
|
@@ -15,18 +16,21 @@
|
|
15 |
],
|
16 |
"bos_token_id": 0,
|
17 |
"classif_dropout": 0.0,
|
|
|
18 |
"d_model": 512,
|
19 |
"decoder_attention_heads": 8,
|
20 |
"decoder_ffn_dim": 2048,
|
21 |
"decoder_layerdrop": 0.0,
|
22 |
"decoder_layers": 6,
|
23 |
"decoder_start_token_id": 48976,
|
|
|
24 |
"dropout": 0.1,
|
25 |
"encoder_attention_heads": 8,
|
26 |
"encoder_ffn_dim": 2048,
|
27 |
"encoder_layerdrop": 0.0,
|
28 |
"encoder_layers": 6,
|
29 |
"eos_token_id": 0,
|
|
|
30 |
"id2label": {
|
31 |
"0": "LABEL_0",
|
32 |
"1": "LABEL_1",
|
@@ -48,6 +52,9 @@
|
|
48 |
"num_hidden_layers": 6,
|
49 |
"pad_token_id": 48976,
|
50 |
"scale_embedding": true,
|
|
|
51 |
"static_position_embeddings": true,
|
|
|
|
|
52 |
"vocab_size": 48977
|
53 |
-
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "/tmp/Helsinki-NLP/opus-mt-de-pis",
|
3 |
"_num_labels": 3,
|
4 |
"activation_dropout": 0.0,
|
5 |
"activation_function": "swish",
|
|
|
16 |
],
|
17 |
"bos_token_id": 0,
|
18 |
"classif_dropout": 0.0,
|
19 |
+
"classifier_dropout": 0.0,
|
20 |
"d_model": 512,
|
21 |
"decoder_attention_heads": 8,
|
22 |
"decoder_ffn_dim": 2048,
|
23 |
"decoder_layerdrop": 0.0,
|
24 |
"decoder_layers": 6,
|
25 |
"decoder_start_token_id": 48976,
|
26 |
+
"decoder_vocab_size": 48977,
|
27 |
"dropout": 0.1,
|
28 |
"encoder_attention_heads": 8,
|
29 |
"encoder_ffn_dim": 2048,
|
30 |
"encoder_layerdrop": 0.0,
|
31 |
"encoder_layers": 6,
|
32 |
"eos_token_id": 0,
|
33 |
+
"forced_eos_token_id": 0,
|
34 |
"id2label": {
|
35 |
"0": "LABEL_0",
|
36 |
"1": "LABEL_1",
|
|
|
52 |
"num_hidden_layers": 6,
|
53 |
"pad_token_id": 48976,
|
54 |
"scale_embedding": true,
|
55 |
+
"share_encoder_decoder_embeddings": true,
|
56 |
"static_position_embeddings": true,
|
57 |
+
"transformers_version": "4.22.0.dev0",
|
58 |
+
"use_cache": true,
|
59 |
"vocab_size": 48977
|
60 |
+
}
|
tf_model.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0eebeff62970e8c25b1474b9845f320601259cf5cb70dae25745366da8efc7c5
|
3 |
+
size 279635256
|