Update checkpoint for transformers>=4.29 (#2)
Browse files- Update checkpoint for transformers>=4.29 (7232209b201e852ac9450ed69d25fddfdc51b579)
- config.json +45 -0
- generation_config.json +16 -0
- model.safetensors +3 -0
- pytorch_model.bin +3 -0
config.json
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"activation_dropout": 0.0,
|
| 3 |
+
"activation_function": "relu",
|
| 4 |
+
"architectures": [
|
| 5 |
+
"MarianMTModel"
|
| 6 |
+
],
|
| 7 |
+
"attention_dropout": 0.0,
|
| 8 |
+
"bad_words_ids": [
|
| 9 |
+
[
|
| 10 |
+
35697
|
| 11 |
+
]
|
| 12 |
+
],
|
| 13 |
+
"bos_token_id": 0,
|
| 14 |
+
"classifier_dropout": 0.0,
|
| 15 |
+
"d_model": 1024,
|
| 16 |
+
"decoder_attention_heads": 16,
|
| 17 |
+
"decoder_ffn_dim": 4096,
|
| 18 |
+
"decoder_layerdrop": 0.0,
|
| 19 |
+
"decoder_layers": 6,
|
| 20 |
+
"decoder_start_token_id": 35697,
|
| 21 |
+
"decoder_vocab_size": 35698,
|
| 22 |
+
"dropout": 0.1,
|
| 23 |
+
"encoder_attention_heads": 16,
|
| 24 |
+
"encoder_ffn_dim": 4096,
|
| 25 |
+
"encoder_layerdrop": 0.0,
|
| 26 |
+
"encoder_layers": 6,
|
| 27 |
+
"eos_token_id": 26162,
|
| 28 |
+
"forced_eos_token_id": 26162,
|
| 29 |
+
"init_std": 0.02,
|
| 30 |
+
"is_encoder_decoder": true,
|
| 31 |
+
"max_length": 512,
|
| 32 |
+
"max_position_embeddings": 1024,
|
| 33 |
+
"model_type": "marian",
|
| 34 |
+
"normalize_embedding": false,
|
| 35 |
+
"num_beams": 4,
|
| 36 |
+
"num_hidden_layers": 6,
|
| 37 |
+
"pad_token_id": 35697,
|
| 38 |
+
"scale_embedding": true,
|
| 39 |
+
"share_encoder_decoder_embeddings": true,
|
| 40 |
+
"static_position_embeddings": true,
|
| 41 |
+
"torch_dtype": "float16",
|
| 42 |
+
"transformers_version": "4.34.0.dev0",
|
| 43 |
+
"use_cache": true,
|
| 44 |
+
"vocab_size": 35698
|
| 45 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bad_words_ids": [
|
| 3 |
+
[
|
| 4 |
+
35697
|
| 5 |
+
]
|
| 6 |
+
],
|
| 7 |
+
"bos_token_id": 0,
|
| 8 |
+
"decoder_start_token_id": 35697,
|
| 9 |
+
"eos_token_id": 26162,
|
| 10 |
+
"forced_eos_token_id": 26162,
|
| 11 |
+
"max_length": 512,
|
| 12 |
+
"num_beams": 4,
|
| 13 |
+
"pad_token_id": 35697,
|
| 14 |
+
"renormalize_logits": true,
|
| 15 |
+
"transformers_version": "4.34.0.dev0"
|
| 16 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:69ea2cf1906dd5768225f7ef1a778f8eaa87dbc8e2c1e4190ec2ca774975dd69
|
| 3 |
+
size 425925172
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ebbeee990e971cb41fd5262b168a044724e2c47dde06de7d10deb49287ad4cfc
|
| 3 |
+
size 425982149
|