Commit
·
31d2a98
1
Parent(s):
90a0b2c
Upload config.json
Browse files- config.json +47 -37
config.json
CHANGED
|
@@ -1,48 +1,58 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
"architectures": [
|
| 4 |
-
"
|
| 5 |
],
|
| 6 |
-
"
|
| 7 |
-
"
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
"id2label": {
|
| 13 |
-
"0": "
|
| 14 |
-
"1": "
|
| 15 |
-
"2": "
|
| 16 |
-
"3": "B-ORG",
|
| 17 |
-
"4": "I-ORG",
|
| 18 |
-
"5": "B-LOC",
|
| 19 |
-
"6": "I-LOC",
|
| 20 |
-
"7": "B-MISC",
|
| 21 |
-
"8": "I-MISC"
|
| 22 |
},
|
| 23 |
-
"
|
| 24 |
-
"
|
| 25 |
"label2id": {
|
| 26 |
-
"
|
| 27 |
-
"
|
| 28 |
-
"
|
| 29 |
-
"B-PER": "1",
|
| 30 |
-
"I-LOC": "6",
|
| 31 |
-
"I-MISC": "8",
|
| 32 |
-
"I-ORG": "4",
|
| 33 |
-
"I-PER": "2",
|
| 34 |
-
"O": "0"
|
| 35 |
},
|
| 36 |
-
"
|
| 37 |
"max_position_embeddings": 512,
|
| 38 |
-
"model_type": "
|
| 39 |
-
"
|
| 40 |
-
"
|
| 41 |
-
"
|
| 42 |
-
"
|
|
|
|
|
|
|
|
|
|
| 43 |
"torch_dtype": "float32",
|
| 44 |
-
"transformers_version": "4.
|
| 45 |
-
"type_vocab_size": 2,
|
| 46 |
"use_cache": true,
|
| 47 |
-
"vocab_size":
|
| 48 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "Helsinki-NLP/opus-mt-en-ml",
|
| 3 |
+
"activation_dropout": 0.0,
|
| 4 |
+
"activation_function": "swish",
|
| 5 |
+
"add_bias_logits": false,
|
| 6 |
+
"add_final_layer_norm": false,
|
| 7 |
"architectures": [
|
| 8 |
+
"MarianMTModel"
|
| 9 |
],
|
| 10 |
+
"attention_dropout": 0.0,
|
| 11 |
+
"bad_words_ids": [
|
| 12 |
+
[
|
| 13 |
+
24660
|
| 14 |
+
]
|
| 15 |
+
],
|
| 16 |
+
"bos_token_id": 0,
|
| 17 |
+
"classif_dropout": 0.0,
|
| 18 |
+
"classifier_dropout": 0.0,
|
| 19 |
+
"d_model": 512,
|
| 20 |
+
"decoder_attention_heads": 8,
|
| 21 |
+
"decoder_ffn_dim": 2048,
|
| 22 |
+
"decoder_layerdrop": 0.0,
|
| 23 |
+
"decoder_layers": 6,
|
| 24 |
+
"decoder_start_token_id": 24660,
|
| 25 |
+
"dropout": 0.1,
|
| 26 |
+
"encoder_attention_heads": 8,
|
| 27 |
+
"encoder_ffn_dim": 2048,
|
| 28 |
+
"encoder_layerdrop": 0.0,
|
| 29 |
+
"encoder_layers": 6,
|
| 30 |
+
"eos_token_id": 0,
|
| 31 |
+
"forced_eos_token_id": 0,
|
| 32 |
"id2label": {
|
| 33 |
+
"0": "LABEL_0",
|
| 34 |
+
"1": "LABEL_1",
|
| 35 |
+
"2": "LABEL_2"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
},
|
| 37 |
+
"init_std": 0.02,
|
| 38 |
+
"is_encoder_decoder": true,
|
| 39 |
"label2id": {
|
| 40 |
+
"LABEL_0": 0,
|
| 41 |
+
"LABEL_1": 1,
|
| 42 |
+
"LABEL_2": 2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 43 |
},
|
| 44 |
+
"max_length": 512,
|
| 45 |
"max_position_embeddings": 512,
|
| 46 |
+
"model_type": "marian",
|
| 47 |
+
"normalize_before": false,
|
| 48 |
+
"normalize_embedding": false,
|
| 49 |
+
"num_beams": 4,
|
| 50 |
+
"num_hidden_layers": 6,
|
| 51 |
+
"pad_token_id": 24660,
|
| 52 |
+
"scale_embedding": true,
|
| 53 |
+
"static_position_embeddings": true,
|
| 54 |
"torch_dtype": "float32",
|
| 55 |
+
"transformers_version": "4.17.0",
|
|
|
|
| 56 |
"use_cache": true,
|
| 57 |
+
"vocab_size": 24661
|
| 58 |
}
|