joaogante HF staff commited on
Commit
afc367b
1 Parent(s): 7709af7

Add TF weights

Browse files
Files changed (2) hide show
  1. config.json +8 -1
  2. 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,
@@ -14,12 +15,14 @@
14
  ],
15
  "bos_token_id": 0,
16
  "classif_dropout": 0.0,
 
17
  "d_model": 512,
18
  "decoder_attention_heads": 8,
19
  "decoder_ffn_dim": 2048,
20
  "decoder_layerdrop": 0.0,
21
  "decoder_layers": 6,
22
  "decoder_start_token_id": 65000,
 
23
  "dropout": 0.1,
24
  "encoder_attention_heads": 8,
25
  "encoder_ffn_dim": 2048,
@@ -28,6 +31,7 @@
28
  "eos_token_id": 0,
29
  "extra_pos_embeddings": 65001,
30
  "force_bos_token_to_be_generated": false,
 
31
  "id2label": {
32
  "0": "LABEL_0",
33
  "1": "LABEL_1",
@@ -49,6 +53,9 @@
49
  "num_hidden_layers": 6,
50
  "pad_token_id": 65000,
51
  "scale_embedding": true,
 
52
  "static_position_embeddings": true,
 
 
53
  "vocab_size": 65001
54
- }
 
1
  {
2
+ "_name_or_path": "/tmp/Helsinki-NLP/opus-mt-es-en",
3
  "activation_dropout": 0.0,
4
  "activation_function": "swish",
5
  "add_bias_logits": false,
 
15
  ],
16
  "bos_token_id": 0,
17
  "classif_dropout": 0.0,
18
+ "classifier_dropout": 0.0,
19
  "d_model": 512,
20
  "decoder_attention_heads": 8,
21
  "decoder_ffn_dim": 2048,
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,
 
31
  "eos_token_id": 0,
32
  "extra_pos_embeddings": 65001,
33
  "force_bos_token_to_be_generated": false,
34
+ "forced_eos_token_id": 0,
35
  "id2label": {
36
  "0": "LABEL_0",
37
  "1": "LABEL_1",
 
53
  "num_hidden_layers": 6,
54
  "pad_token_id": 65000,
55
  "scale_embedding": true,
56
+ "share_encoder_decoder_embeddings": true,
57
  "static_position_embeddings": true,
58
+ "transformers_version": "4.22.0.dev0",
59
+ "use_cache": true,
60
  "vocab_size": 65001
61
+ }
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9a1bab8c96a2d60c3c88c82b98e61af23e6fbb74d5a0aa3927bcf110132b86ba
3
+ size 312580600