valhalla commited on
Commit
e37de2f
1 Parent(s): 6c5aff4

fix pos embed weights

Browse files
Files changed (2) hide show
  1. config.json +0 -4
  2. pytorch_model.bin +2 -2
config.json CHANGED
@@ -1,5 +1,4 @@
1
  {
2
- "_name_or_path": "hf_models/m2m100_1.2B",
3
  "activation_dropout": 0.0,
4
  "activation_function": "relu",
5
  "architectures": [
@@ -14,7 +13,6 @@
14
  "decoder_layers": 24,
15
  "decoder_start_token_id": 2,
16
  "dropout": 0.1,
17
- "early_stopping": true,
18
  "encoder_attention_heads": 16,
19
  "encoder_ffn_dim": 8192,
20
  "encoder_layerdrop": 0.05,
@@ -23,10 +21,8 @@
23
  "gradient_checkpointing": false,
24
  "init_std": 0.02,
25
  "is_encoder_decoder": true,
26
- "max_length": 200,
27
  "max_position_embeddings": 1024,
28
  "model_type": "m2m_100",
29
- "num_beams": 5,
30
  "num_hidden_layers": 24,
31
  "pad_token_id": 1,
32
  "scale_embedding": true,
 
1
  {
 
2
  "activation_dropout": 0.0,
3
  "activation_function": "relu",
4
  "architectures": [
 
13
  "decoder_layers": 24,
14
  "decoder_start_token_id": 2,
15
  "dropout": 0.1,
 
16
  "encoder_attention_heads": 16,
17
  "encoder_ffn_dim": 8192,
18
  "encoder_layerdrop": 0.05,
 
21
  "gradient_checkpointing": false,
22
  "init_std": 0.02,
23
  "is_encoder_decoder": true,
 
24
  "max_position_embeddings": 1024,
25
  "model_type": "m2m_100",
 
26
  "num_hidden_layers": 24,
27
  "pad_token_id": 1,
28
  "scale_embedding": true,
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8e0c909ef6d4600b2b3f1c63add99204affaf0b0dcd57a4e08b903f1b2237f22
3
- size 4967187531
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d50e1cbbb65de326d44f2094426043f77b8a2b457986618b67d4ae842af7bf05
3
+ size 4958743333