Upload MT5ForConditionalGeneration
Browse files- config.json +2 -2
- generation_config.json +4 -3
- pytorch_model.bin +2 -2
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "
|
| 3 |
"architectures": [
|
| 4 |
"MT5ForConditionalGeneration"
|
| 5 |
],
|
|
@@ -25,7 +25,7 @@
|
|
| 25 |
"tie_word_embeddings": false,
|
| 26 |
"tokenizer_class": "T5Tokenizer",
|
| 27 |
"torch_dtype": "float32",
|
| 28 |
-
"transformers_version": "4.
|
| 29 |
"use_cache": true,
|
| 30 |
"vocab_size": 40475
|
| 31 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "/root/autodl-tmp/trained/checkpoint-245000",
|
| 3 |
"architectures": [
|
| 4 |
"MT5ForConditionalGeneration"
|
| 5 |
],
|
|
|
|
| 25 |
"tie_word_embeddings": false,
|
| 26 |
"tokenizer_class": "T5Tokenizer",
|
| 27 |
"torch_dtype": "float32",
|
| 28 |
+
"transformers_version": "4.30.2",
|
| 29 |
"use_cache": true,
|
| 30 |
"vocab_size": 40475
|
| 31 |
}
|
generation_config.json
CHANGED
|
@@ -2,8 +2,9 @@
|
|
| 2 |
"decoder_start_token_id": 0,
|
| 3 |
"do_sample": true,
|
| 4 |
"eos_token_id": 1,
|
| 5 |
-
"
|
| 6 |
-
"
|
|
|
|
| 7 |
"pad_token_id": 0,
|
| 8 |
-
"transformers_version": "4.
|
| 9 |
}
|
|
|
|
| 2 |
"decoder_start_token_id": 0,
|
| 3 |
"do_sample": true,
|
| 4 |
"eos_token_id": 1,
|
| 5 |
+
"length_penalty": 1.5,
|
| 6 |
+
"max_length": 128,
|
| 7 |
+
"num_beams": 5,
|
| 8 |
"pad_token_id": 0,
|
| 9 |
+
"transformers_version": "4.30.2"
|
| 10 |
}
|
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:c1f2bf983b1736e181dfaf878cb8b4466c786cc9e3d087f921f6dbde021fe6b3
|
| 3 |
+
size 342094917
|