Update config.json
Browse files- config.json +14 -0
config.json
CHANGED
|
@@ -1,6 +1,10 @@
|
|
| 1 |
{
|
|
|
|
|
|
|
| 2 |
"activation_dropout": 0.0,
|
| 3 |
"activation_function": "swish",
|
|
|
|
|
|
|
| 4 |
"architectures": [
|
| 5 |
"MarianMTModel"
|
| 6 |
],
|
|
@@ -25,8 +29,18 @@
|
|
| 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",
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "Helsinki-NLP/opus-mt-ar-en",
|
| 3 |
+
"_num_labels": 3,
|
| 4 |
"activation_dropout": 0.0,
|
| 5 |
"activation_function": "swish",
|
| 6 |
+
"add_bias_logits": false,
|
| 7 |
+
"add_final_layer_norm": false,
|
| 8 |
"architectures": [
|
| 9 |
"MarianMTModel"
|
| 10 |
],
|
|
|
|
| 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",
|