jla25 commited on
Commit
8e556f8
·
verified ·
1 Parent(s): 6dda27a

Upload M2M100ForConditionalGeneration

Browse files
Files changed (2) hide show
  1. config.json +3 -3
  2. generation_config.json +2 -2
config.json CHANGED
@@ -14,7 +14,7 @@
14
  "decoder_layers": 12,
15
  "decoder_start_token_id": 2,
16
  "dropout": 0.1,
17
- "early_stopping": true,
18
  "encoder_attention_heads": 16,
19
  "encoder_ffn_dim": 4096,
20
  "encoder_layerdrop": 0.05,
@@ -23,10 +23,10 @@
23
  "gradient_checkpointing": false,
24
  "init_std": 0.02,
25
  "is_encoder_decoder": true,
26
- "max_length": 512,
27
  "max_position_embeddings": 1024,
28
  "model_type": "m2m_100",
29
- "num_beams": 3,
30
  "num_hidden_layers": 12,
31
  "pad_token_id": 1,
32
  "scale_embedding": true,
 
14
  "decoder_layers": 12,
15
  "decoder_start_token_id": 2,
16
  "dropout": 0.1,
17
+ "early_stopping": null,
18
  "encoder_attention_heads": 16,
19
  "encoder_ffn_dim": 4096,
20
  "encoder_layerdrop": 0.05,
 
23
  "gradient_checkpointing": false,
24
  "init_std": 0.02,
25
  "is_encoder_decoder": true,
26
+ "max_length": null,
27
  "max_position_embeddings": 1024,
28
  "model_type": "m2m_100",
29
+ "num_beams": null,
30
  "num_hidden_layers": 12,
31
  "pad_token_id": 1,
32
  "scale_embedding": true,
generation_config.json CHANGED
@@ -4,8 +4,8 @@
4
  "decoder_start_token_id": 2,
5
  "early_stopping": true,
6
  "eos_token_id": 2,
7
- "max_length": 200,
8
- "num_beams": 5,
9
  "pad_token_id": 1,
10
  "transformers_version": "4.46.2"
11
  }
 
4
  "decoder_start_token_id": 2,
5
  "early_stopping": true,
6
  "eos_token_id": 2,
7
+ "max_length": 512,
8
+ "num_beams": 3,
9
  "pad_token_id": 1,
10
  "transformers_version": "4.46.2"
11
  }