jonathansuru commited on
Commit
17c8058
1 Parent(s): 9a3e20b

Upload M2M100ForConditionalGeneration

Browse files
Files changed (3) hide show
  1. config.json +7 -8
  2. generation_config.json +1 -1
  3. pytorch_model.bin +3 -0
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "facebook/nllb-200-distilled-600M",
3
  "activation_dropout": 0.0,
4
  "activation_function": "relu",
5
  "architectures": [
@@ -9,27 +9,26 @@
9
  "bos_token_id": 0,
10
  "d_model": 1024,
11
  "decoder_attention_heads": 16,
12
- "decoder_ffn_dim": 4096,
13
  "decoder_layerdrop": 0,
14
- "decoder_layers": 12,
15
  "decoder_start_token_id": 2,
16
  "dropout": 0.1,
17
  "encoder_attention_heads": 16,
18
- "encoder_ffn_dim": 4096,
19
  "encoder_layerdrop": 0,
20
- "encoder_layers": 12,
21
  "eos_token_id": 2,
22
  "init_std": 0.02,
23
  "is_encoder_decoder": true,
24
  "max_length": 200,
25
  "max_position_embeddings": 1024,
26
  "model_type": "m2m_100",
27
- "num_hidden_layers": 12,
28
  "pad_token_id": 1,
29
  "scale_embedding": true,
30
- "tokenizer_class": "NllbTokenizer",
31
  "torch_dtype": "float32",
32
- "transformers_version": "4.41.2",
33
  "use_cache": true,
34
  "vocab_size": 256204
35
  }
 
1
  {
2
+ "_name_or_path": "facebook/nllb-200-1.3B",
3
  "activation_dropout": 0.0,
4
  "activation_function": "relu",
5
  "architectures": [
 
9
  "bos_token_id": 0,
10
  "d_model": 1024,
11
  "decoder_attention_heads": 16,
12
+ "decoder_ffn_dim": 8192,
13
  "decoder_layerdrop": 0,
14
+ "decoder_layers": 24,
15
  "decoder_start_token_id": 2,
16
  "dropout": 0.1,
17
  "encoder_attention_heads": 16,
18
+ "encoder_ffn_dim": 8192,
19
  "encoder_layerdrop": 0,
20
+ "encoder_layers": 24,
21
  "eos_token_id": 2,
22
  "init_std": 0.02,
23
  "is_encoder_decoder": true,
24
  "max_length": 200,
25
  "max_position_embeddings": 1024,
26
  "model_type": "m2m_100",
27
+ "num_hidden_layers": 24,
28
  "pad_token_id": 1,
29
  "scale_embedding": true,
 
30
  "torch_dtype": "float32",
31
+ "transformers_version": "4.33.0",
32
  "use_cache": true,
33
  "vocab_size": 256204
34
  }
generation_config.json CHANGED
@@ -5,5 +5,5 @@
5
  "eos_token_id": 2,
6
  "max_length": 200,
7
  "pad_token_id": 1,
8
- "transformers_version": "4.41.2"
9
  }
 
5
  "eos_token_id": 2,
6
  "max_length": 200,
7
  "pad_token_id": 1,
8
+ "transformers_version": "4.33.0"
9
  }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:17a264b4c60492bd808b9b9756236c726da602103166518dc699cb04aac73cf2
3
+ size 5482895247