Add reserved words
Browse files- config.json +2 -2
- generation_config.json +15 -0
- pytorch_model.bin +1 -1
- tokenizer_config.json +1 -2
- training_args.bin +3 -0
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"activation_dropout": 0.0,
|
4 |
"activation_function": "swish",
|
5 |
"add_bias_logits": false,
|
@@ -58,7 +58,7 @@
|
|
58 |
"share_encoder_decoder_embeddings": true,
|
59 |
"static_position_embeddings": true,
|
60 |
"torch_dtype": "float32",
|
61 |
-
"transformers_version": "4.
|
62 |
"use_cache": true,
|
63 |
"vocab_size": 65001
|
64 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "../models/minecraft-en-zh",
|
3 |
"activation_dropout": 0.0,
|
4 |
"activation_function": "swish",
|
5 |
"add_bias_logits": false,
|
|
|
58 |
"share_encoder_decoder_embeddings": true,
|
59 |
"static_position_embeddings": true,
|
60 |
"torch_dtype": "float32",
|
61 |
+
"transformers_version": "4.30.2",
|
62 |
"use_cache": true,
|
63 |
"vocab_size": 65001
|
64 |
}
|
generation_config.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bad_words_ids": [
|
3 |
+
[
|
4 |
+
65000
|
5 |
+
]
|
6 |
+
],
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"decoder_start_token_id": 65000,
|
9 |
+
"eos_token_id": 0,
|
10 |
+
"forced_eos_token_id": 0,
|
11 |
+
"max_length": 512,
|
12 |
+
"num_beams": 4,
|
13 |
+
"pad_token_id": 65000,
|
14 |
+
"transformers_version": "4.30.2"
|
15 |
+
}
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 310020485
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0aabf26374749166f39155219985edac876893581a7cbea870100d7e10e21178
|
3 |
size 310020485
|
tokenizer_config.json
CHANGED
@@ -1,12 +1,11 @@
|
|
1 |
{
|
|
|
2 |
"eos_token": "</s>",
|
3 |
"model_max_length": 512,
|
4 |
-
"name_or_path": "./results/checkpoint-51500",
|
5 |
"pad_token": "<pad>",
|
6 |
"separate_vocabs": false,
|
7 |
"source_lang": "eng",
|
8 |
"sp_model_kwargs": {},
|
9 |
-
"special_tokens_map_file": null,
|
10 |
"target_lang": "zho",
|
11 |
"tokenizer_class": "MarianTokenizer",
|
12 |
"unk_token": "<unk>"
|
|
|
1 |
{
|
2 |
+
"clean_up_tokenization_spaces": true,
|
3 |
"eos_token": "</s>",
|
4 |
"model_max_length": 512,
|
|
|
5 |
"pad_token": "<pad>",
|
6 |
"separate_vocabs": false,
|
7 |
"source_lang": "eng",
|
8 |
"sp_model_kwargs": {},
|
|
|
9 |
"target_lang": "zho",
|
10 |
"tokenizer_class": "MarianTokenizer",
|
11 |
"unk_token": "<unk>"
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:950c684c3d1ed48320cb7d4ef2d0ed4e13680611d5322a1190f0933458d08f9e
|
3 |
+
size 4015
|