Upload model
Browse files- config.json +6 -5
- generation_config.json +2 -2
config.json
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
{
|
|
|
2 |
"activation_dropout": 0.0,
|
3 |
"activation_function": "relu",
|
4 |
"architectures": [
|
@@ -19,21 +20,21 @@
|
|
19 |
"encoder_layerdrop": 0.1,
|
20 |
"encoder_layers": 6,
|
21 |
"eos_token_id": 2,
|
22 |
-
"forced_eos_token_id":
|
23 |
"init_std": 0.02,
|
24 |
"is_encoder_decoder": true,
|
25 |
-
"max_length":
|
26 |
"max_position_embeddings": 256,
|
27 |
"model_type": "marian",
|
28 |
"normalize_embedding": false,
|
29 |
-
"num_beams":
|
30 |
"num_hidden_layers": 6,
|
31 |
-
"pad_token_id":
|
32 |
"scale_embedding": true,
|
33 |
"share_encoder_decoder_embeddings": true,
|
34 |
"static_position_embeddings": true,
|
35 |
"torch_dtype": "float32",
|
36 |
-
"transformers_version": "4.
|
37 |
"use_cache": false,
|
38 |
"vocab_size": 32000
|
39 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "ep1",
|
3 |
"activation_dropout": 0.0,
|
4 |
"activation_function": "relu",
|
5 |
"architectures": [
|
|
|
20 |
"encoder_layerdrop": 0.1,
|
21 |
"encoder_layers": 6,
|
22 |
"eos_token_id": 2,
|
23 |
+
"forced_eos_token_id": null,
|
24 |
"init_std": 0.02,
|
25 |
"is_encoder_decoder": true,
|
26 |
+
"max_length": null,
|
27 |
"max_position_embeddings": 256,
|
28 |
"model_type": "marian",
|
29 |
"normalize_embedding": false,
|
30 |
+
"num_beams": null,
|
31 |
"num_hidden_layers": 6,
|
32 |
+
"pad_token_id": 3,
|
33 |
"scale_embedding": true,
|
34 |
"share_encoder_decoder_embeddings": true,
|
35 |
"static_position_embeddings": true,
|
36 |
"torch_dtype": "float32",
|
37 |
+
"transformers_version": "4.45.2",
|
38 |
"use_cache": false,
|
39 |
"vocab_size": 32000
|
40 |
}
|
generation_config.json
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
"forced_eos_token_id": 2,
|
7 |
"max_length": 512,
|
8 |
"num_beams": 5,
|
9 |
-
"pad_token_id":
|
10 |
-
"transformers_version": "4.
|
11 |
"use_cache": false
|
12 |
}
|
|
|
6 |
"forced_eos_token_id": 2,
|
7 |
"max_length": 512,
|
8 |
"num_beams": 5,
|
9 |
+
"pad_token_id": 3,
|
10 |
+
"transformers_version": "4.45.2",
|
11 |
"use_cache": false
|
12 |
}
|