Update sources having fixed issues with tokenizer.
Browse files- config.json +37 -38
- generation_config.json +11 -11
- pytorch_model.bin +2 -2
- special_tokens_map.json +4 -4
- tokenizer_config.json +9 -12
- vocab.json +0 -0
config.json
CHANGED
@@ -1,45 +1,44 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
-
"
|
4 |
-
"
|
5 |
-
"architectures": [
|
6 |
"MarianMTModel"
|
7 |
],
|
8 |
-
"attention_dropout":
|
9 |
-
"bad_words_ids":
|
10 |
[
|
11 |
50000
|
12 |
]
|
13 |
],
|
14 |
-
"bos_token_id":
|
15 |
-
"d_model":
|
16 |
-
"decoder_attention_heads":
|
17 |
-
"decoder_ffn_dim":
|
18 |
-
"decoder_layerdrop":
|
19 |
-
"decoder_layers":
|
20 |
-
"decoder_start_token_id":
|
21 |
-
"decoder_vocab_size":
|
22 |
-
"dropout":
|
23 |
-
"encoder_attention_heads":
|
24 |
-
"encoder_ffn_dim":
|
25 |
-
"encoder_layerdrop":
|
26 |
-
"encoder_layers":
|
27 |
-
"eos_token_id":
|
28 |
-
"forced_eos_token_id":
|
29 |
-
"init_std":
|
30 |
-
"is_encoder_decoder":
|
31 |
-
"max_length":
|
32 |
-
"max_position_embeddings":
|
33 |
-
"model_type":
|
34 |
-
"normalize_embedding":
|
35 |
-
"num_beams":
|
36 |
-
"num_hidden_layers":
|
37 |
-
"pad_token_id":
|
38 |
-
"scale_embedding":
|
39 |
-
"share_encoder_decoder_embeddings":
|
40 |
-
"static_position_embeddings":
|
41 |
-
"torch_dtype":
|
42 |
-
"transformers_version":
|
43 |
-
"use_cache":
|
44 |
-
"vocab_size":
|
45 |
-
}
|
|
|
1 |
{
|
2 |
+
"activation_dropout":0.0,
|
3 |
+
"activation_function":"swish",
|
4 |
+
"architectures":[
|
|
|
5 |
"MarianMTModel"
|
6 |
],
|
7 |
+
"attention_dropout":0.0,
|
8 |
+
"bad_words_ids":[
|
9 |
[
|
10 |
50000
|
11 |
]
|
12 |
],
|
13 |
+
"bos_token_id":0,
|
14 |
+
"d_model":512,
|
15 |
+
"decoder_attention_heads":8,
|
16 |
+
"decoder_ffn_dim":2048,
|
17 |
+
"decoder_layerdrop":0.0,
|
18 |
+
"decoder_layers":6,
|
19 |
+
"decoder_start_token_id":50000,
|
20 |
+
"decoder_vocab_size":50001,
|
21 |
+
"dropout":0.1,
|
22 |
+
"encoder_attention_heads":8,
|
23 |
+
"encoder_ffn_dim":2048,
|
24 |
+
"encoder_layerdrop":0.0,
|
25 |
+
"encoder_layers":6,
|
26 |
+
"eos_token_id":0,
|
27 |
+
"forced_eos_token_id":0,
|
28 |
+
"init_std":0.02,
|
29 |
+
"is_encoder_decoder":true,
|
30 |
+
"max_length":512,
|
31 |
+
"max_position_embeddings":512,
|
32 |
+
"model_type":"marian",
|
33 |
+
"normalize_embedding":false,
|
34 |
+
"num_beams":6,
|
35 |
+
"num_hidden_layers":6,
|
36 |
+
"pad_token_id":50000,
|
37 |
+
"scale_embedding":true,
|
38 |
+
"share_encoder_decoder_embeddings":true,
|
39 |
+
"static_position_embeddings":true,
|
40 |
+
"torch_dtype":"float16",
|
41 |
+
"transformers_version":"4.26.1",
|
42 |
+
"use_cache":true,
|
43 |
+
"vocab_size":50001
|
44 |
+
}
|
generation_config.json
CHANGED
@@ -1,16 +1,16 @@
|
|
1 |
{
|
2 |
-
"_from_model_config":
|
3 |
-
"bad_words_ids":
|
4 |
[
|
5 |
50000
|
6 |
]
|
7 |
],
|
8 |
-
"bos_token_id":
|
9 |
-
"decoder_start_token_id":
|
10 |
-
"eos_token_id":
|
11 |
-
"forced_eos_token_id":
|
12 |
-
"max_length":
|
13 |
-
"num_beams":
|
14 |
-
"pad_token_id":
|
15 |
-
"transformers_version":
|
16 |
-
}
|
|
|
1 |
{
|
2 |
+
"_from_model_config":true,
|
3 |
+
"bad_words_ids":[
|
4 |
[
|
5 |
50000
|
6 |
]
|
7 |
],
|
8 |
+
"bos_token_id":0,
|
9 |
+
"decoder_start_token_id":50000,
|
10 |
+
"eos_token_id":0,
|
11 |
+
"forced_eos_token_id":0,
|
12 |
+
"max_length":512,
|
13 |
+
"num_beams":6,
|
14 |
+
"pad_token_id":50000,
|
15 |
+
"transformers_version":"4.26.1"
|
16 |
+
}
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8be83031b385edbe85e09fbdec571ac87f9a598a5fc94c92564ec94eb5462300
|
3 |
+
size 190862153
|
special_tokens_map.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"eos_token":
|
3 |
-
"pad_token":
|
4 |
-
"unk_token":
|
5 |
-
}
|
|
|
1 |
{
|
2 |
+
"eos_token":"</s>",
|
3 |
+
"pad_token":"<pad>",
|
4 |
+
"unk_token":"<unk>"
|
5 |
+
}
|
tokenizer_config.json
CHANGED
@@ -1,13 +1,10 @@
|
|
1 |
{
|
2 |
-
"eos_token":
|
3 |
-
"model_max_length":
|
4 |
-
"pad_token":
|
5 |
-
"separate_vocabs":
|
6 |
-
"source_lang":
|
7 |
-
"
|
8 |
-
"
|
9 |
-
"
|
10 |
-
|
11 |
-
"tokenizer_class": "MarianTokenizer",
|
12 |
-
"unk_token": "<unk>"
|
13 |
-
}
|
|
|
1 |
{
|
2 |
+
"eos_token":"</s>",
|
3 |
+
"model_max_length":512,
|
4 |
+
"pad_token":"<pad>",
|
5 |
+
"separate_vocabs":false,
|
6 |
+
"source_lang":"en",
|
7 |
+
"target_lang":"cy",
|
8 |
+
"tokenizer_class":"MarianTokenizer",
|
9 |
+
"unk_token":"<unk>"
|
10 |
+
}
|
|
|
|
|
|
vocab.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|