pinzhenchen
commited on
Commit
•
5ff16e7
1
Parent(s):
b49e625
Upload config.json with huggingface_hub
Browse files- config.json +44 -0
config.json
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
64000
|
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": 64000,
|
20 |
+
"decoder_vocab_size": 64001,
|
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": 4,
|
35 |
+
"num_hidden_layers": 6,
|
36 |
+
"pad_token_id": 64000,
|
37 |
+
"scale_embedding": true,
|
38 |
+
"share_encoder_decoder_embeddings": true,
|
39 |
+
"static_position_embeddings": true,
|
40 |
+
"torch_dtype": "float16",
|
41 |
+
"transformers_version": "4.30.1",
|
42 |
+
"use_cache": true,
|
43 |
+
"vocab_size": 64001
|
44 |
+
}
|