jisukim8873
commited on
Commit
•
3a25f5e
1
Parent(s):
f77d075
Upload M2M100ForConditionalGeneration
Browse files- config.json +36 -0
- generation_config.json +9 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/home/jisukim/online/_backtranslation/nllb-finetuned-en-to-ko/checkpoint-628005",
|
3 |
+
"activation_dropout": 0.0,
|
4 |
+
"activation_function": "relu",
|
5 |
+
"architectures": [
|
6 |
+
"M2M100ForConditionalGeneration"
|
7 |
+
],
|
8 |
+
"attention_dropout": 0.1,
|
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 |
+
"forced_bos_token_id": 256098,
|
23 |
+
"init_std": 0.02,
|
24 |
+
"is_encoder_decoder": true,
|
25 |
+
"max_length": 200,
|
26 |
+
"max_position_embeddings": 1024,
|
27 |
+
"model_type": "m2m_100",
|
28 |
+
"num_hidden_layers": 12,
|
29 |
+
"pad_token_id": 1,
|
30 |
+
"scale_embedding": true,
|
31 |
+
"tokenizer_class": "NllbTokenizer",
|
32 |
+
"torch_dtype": "float32",
|
33 |
+
"transformers_version": "4.28.1",
|
34 |
+
"use_cache": true,
|
35 |
+
"vocab_size": 256206
|
36 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token_id": 0,
|
3 |
+
"decoder_start_token_id": 2,
|
4 |
+
"eos_token_id": 2,
|
5 |
+
"forced_bos_token_id": 256098,
|
6 |
+
"max_length": 200,
|
7 |
+
"pad_token_id": 1,
|
8 |
+
"transformers_version": "4.28.1"
|
9 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e9d8fbf496e8728ea2b831e69542aa135361e5318096a5c7541275aa2607f69a
|
3 |
+
size 2468867209
|