opus-mt-sv-no / config.json
system
Update config.json 3bbe4c0
1 {
2 "activation_dropout": 0.0,
3 "activation_function": "swish",
4 "add_bias_logits": false,
5 "add_final_layer_norm": false,
6 "architectures": [
7 "MarianMTModel"
8 ],
9 "attention_dropout": 0.0,
10 "bad_words_ids": [
11 [
12 6456
13 ]
14 ],
15 "bos_token_id": 0,
16 "classif_dropout": 0.0,
17 "d_model": 512,
18 "decoder_attention_heads": 8,
19 "decoder_ffn_dim": 2048,
20 "decoder_layerdrop": 0.0,
21 "decoder_layers": 6,
22 "decoder_start_token_id": 6456,
23 "dropout": 0.1,
24 "encoder_attention_heads": 8,
25 "encoder_ffn_dim": 2048,
26 "encoder_layerdrop": 0.0,
27 "encoder_layers": 6,
28 "eos_token_id": 0,
29 "extra_pos_embeddings": 6457,
30 "id2label": {
31 "0": "LABEL_0",
32 "1": "LABEL_1",
33 "2": "LABEL_2"
34 },
35 "init_std": 0.02,
36 "is_encoder_decoder": true,
37 "label2id": {
38 "LABEL_0": 0,
39 "LABEL_1": 1,
40 "LABEL_2": 2
41 },
42 "max_length": 512,
43 "max_position_embeddings": 512,
44 "model_type": "marian",
45 "normalize_before": false,
46 "normalize_embedding": false,
47 "num_beams": 6,
48 "num_hidden_layers": 6,
49 "pad_token_id": 6456,
50 "scale_embedding": true,
51 "static_position_embeddings": true,
52 "vocab_size": 6457
53 }
54