TheEnthusiast
commited on
Commit
·
00a351a
1
Parent(s):
ced3889
Change use_cache to true
Browse filesThis speeds up how quickly text is outputted by the model
- config.json +19 -14
config.json
CHANGED
@@ -1,23 +1,28 @@
|
|
1 |
{
|
2 |
-
"
|
|
|
|
|
3 |
"architectures": [
|
4 |
-
"
|
5 |
],
|
6 |
-
"
|
|
|
|
|
|
|
7 |
"eos_token_id": 2,
|
8 |
-
"
|
9 |
"hidden_size": 4096,
|
10 |
-
"
|
11 |
-
"
|
12 |
"max_position_embeddings": 2048,
|
13 |
-
"model_type": "
|
14 |
"num_attention_heads": 32,
|
15 |
"num_hidden_layers": 32,
|
16 |
-
"pad_token_id":
|
17 |
-
"
|
18 |
-
"
|
19 |
-
"
|
20 |
-
"
|
21 |
-
"
|
22 |
-
"
|
23 |
}
|
|
|
1 |
{
|
2 |
+
"_remove_final_layer_norm": false,
|
3 |
+
"activation_dropout": 0.0,
|
4 |
+
"activation_function": "relu",
|
5 |
"architectures": [
|
6 |
+
"OPTForCausalLM"
|
7 |
],
|
8 |
+
"attention_dropout": 0.0,
|
9 |
+
"bos_token_id": 2,
|
10 |
+
"do_layer_norm_before": true,
|
11 |
+
"dropout": 0.1,
|
12 |
"eos_token_id": 2,
|
13 |
+
"ffn_dim": 16384,
|
14 |
"hidden_size": 4096,
|
15 |
+
"init_std": 0.02,
|
16 |
+
"layerdrop": 0.0,
|
17 |
"max_position_embeddings": 2048,
|
18 |
+
"model_type": "opt",
|
19 |
"num_attention_heads": 32,
|
20 |
"num_hidden_layers": 32,
|
21 |
+
"pad_token_id": 1,
|
22 |
+
"prefix": "</s>",
|
23 |
+
"torch_dtype": "float16",
|
24 |
+
"transformers_version": "4.21.0.dev0",
|
25 |
+
"use_cache": true,
|
26 |
+
"vocab_size": 50272,
|
27 |
+
"word_embed_proj_dim": 4096
|
28 |
}
|