joaogante HF staff commited on
Commit
4d3bd9d
1 Parent(s): 967b084

Add TF weights

Browse files
Files changed (2) hide show
  1. config.json +4 -1
  2. 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",
@@ -22,6 +23,7 @@
22
  "decoder_layerdrop": 0.0,
23
  "decoder_layers": 6,
24
  "decoder_start_token_id": 59513,
 
25
  "dropout": 0.1,
26
  "encoder_attention_heads": 8,
27
  "encoder_ffn_dim": 2048,
@@ -51,8 +53,9 @@
51
  "num_hidden_layers": 6,
52
  "pad_token_id": 59513,
53
  "scale_embedding": true,
 
54
  "static_position_embeddings": true,
55
- "transformers_version": "4.9.0.dev0",
56
  "use_cache": true,
57
  "vocab_size": 59514
58
  }
 
1
  {
2
+ "_name_or_path": "/tmp/Helsinki-NLP/opus-mt-fr-en",
3
  "_num_labels": 3,
4
  "activation_dropout": 0.0,
5
  "activation_function": "swish",
 
23
  "decoder_layerdrop": 0.0,
24
  "decoder_layers": 6,
25
  "decoder_start_token_id": 59513,
26
+ "decoder_vocab_size": 59514,
27
  "dropout": 0.1,
28
  "encoder_attention_heads": 8,
29
  "encoder_ffn_dim": 2048,
 
53
  "num_hidden_layers": 6,
54
  "pad_token_id": 59513,
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": 59514
61
  }
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9ddf429085e46b20566df93a1417474c7f28e62245a8468554edb5abc8da7f92
3
+ size 301299328