Update config.json
Browse files- config.json +21 -34
config.json
CHANGED
|
@@ -4,38 +4,25 @@
|
|
| 4 |
"architectures": [
|
| 5 |
"OPTModel"
|
| 6 |
],
|
| 7 |
-
"
|
| 8 |
-
"
|
| 9 |
-
"
|
| 10 |
-
"
|
| 11 |
-
"
|
| 12 |
-
"
|
| 13 |
-
"
|
| 14 |
-
"
|
| 15 |
-
"
|
| 16 |
-
"dropout"
|
| 17 |
-
"
|
| 18 |
-
"
|
| 19 |
-
"
|
| 20 |
-
"
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
"
|
| 26 |
-
"
|
| 27 |
-
"
|
| 28 |
-
"LABEL_0": 0,
|
| 29 |
-
"LABEL_1": 1,
|
| 30 |
-
"LABEL_2": 2
|
| 31 |
-
},
|
| 32 |
-
"max_position_embeddings": 2048,
|
| 33 |
-
"model_type": "opt",
|
| 34 |
-
"pad_token_id": 1,
|
| 35 |
-
"scale_embedding": false,
|
| 36 |
-
"share_input_output_embed": true,
|
| 37 |
-
"torch_dtype": "float32",
|
| 38 |
-
"transformers_version": "4.19.0.dev0",
|
| 39 |
-
"use_cache": false,
|
| 40 |
-
"vocab_size": 50272
|
| 41 |
}
|
|
|
|
| 4 |
"architectures": [
|
| 5 |
"OPTModel"
|
| 6 |
],
|
| 7 |
+
"vocab_size": 50272,
|
| 8 |
+
"max_position_embeddings"=2048,
|
| 9 |
+
"num_layers"=24,
|
| 10 |
+
"num_attention_heads"=16,
|
| 11 |
+
"ffn_dim"=4096,
|
| 12 |
+
"layerdrop"=0.0,
|
| 13 |
+
"activation_function"="gelu",
|
| 14 |
+
"d_model"=1024,
|
| 15 |
+
"embed_dim"=512,
|
| 16 |
+
"dropout"=0.1,
|
| 17 |
+
"attention_dropout"=0.0,
|
| 18 |
+
"activation_dropout"=0.0,
|
| 19 |
+
"init_std"=0.02,
|
| 20 |
+
"scale_embedding"=false,
|
| 21 |
+
"share_input_output_embed"=true,
|
| 22 |
+
"use_cache"=false,
|
| 23 |
+
"pad_token_id"=1,
|
| 24 |
+
"bos_token_id"=0,
|
| 25 |
+
"eos_token_id"=2,
|
| 26 |
+
"decoder_start_token_id"=2,
|
| 27 |
+
"forced_eos_token_id"=2,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
}
|