phoebeklett
commited on
Commit
•
fbcc068
1
Parent(s):
46568df
Upload ExtendedMptForCausalLM
Browse files- config.json +5 -19
- generation_config.json +6 -3
config.json
CHANGED
@@ -1,28 +1,14 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
"ExtendedMptForCausalLM"
|
5 |
],
|
6 |
"attn_config": {
|
7 |
-
"
|
8 |
-
"alibi_bias_max": 8,
|
9 |
-
"attn_impl": "torch",
|
10 |
-
"attn_pdrop": 0,
|
11 |
-
"attn_type": "multihead_attention",
|
12 |
-
"attn_uses_sequence_id": false,
|
13 |
-
"clip_qkv": null,
|
14 |
-
"mask_by_sim": true,
|
15 |
-
"memory_type": "manual",
|
16 |
-
"prefix_lm": false,
|
17 |
-
"qk_ln": false,
|
18 |
-
"sim_threshold": 0.25,
|
19 |
-
"softmax_scale": null,
|
20 |
-
"topk": 10,
|
21 |
-
"use_active_externalism": true
|
22 |
},
|
23 |
"auto_map": {
|
24 |
-
"AutoConfig": "
|
25 |
-
"AutoModelForCausalLM": "
|
26 |
},
|
27 |
"d_model": 7168,
|
28 |
"emb_pdrop": 0,
|
@@ -55,7 +41,7 @@
|
|
55 |
"tokenizer_name": "sam-mosaic/gpt-neox-20b-chatml",
|
56 |
"torch_dtype": "float32",
|
57 |
"transformers_version": "4.33.0",
|
58 |
-
"use_cache":
|
59 |
"use_external_mind": true,
|
60 |
"use_external_mind_by_layer": [
|
61 |
true,
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "mosaicml/mpt-30b-chat",
|
3 |
"architectures": [
|
4 |
"ExtendedMptForCausalLM"
|
5 |
],
|
6 |
"attn_config": {
|
7 |
+
"model_type": ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
},
|
9 |
"auto_map": {
|
10 |
+
"AutoConfig": "mosaicml/mpt-30b-chat--configuration_mpt.MPTConfig",
|
11 |
+
"AutoModelForCausalLM": "mosaicml/mpt-30b-chat--modeling_mpt.MPTForCausalLM"
|
12 |
},
|
13 |
"d_model": 7168,
|
14 |
"emb_pdrop": 0,
|
|
|
41 |
"tokenizer_name": "sam-mosaic/gpt-neox-20b-chatml",
|
42 |
"torch_dtype": "float32",
|
43 |
"transformers_version": "4.33.0",
|
44 |
+
"use_cache": false,
|
45 |
"use_external_mind": true,
|
46 |
"use_external_mind_by_layer": [
|
47 |
true,
|
generation_config.json
CHANGED
@@ -1,6 +1,9 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
-
"
|
4 |
-
|
|
|
|
|
5 |
"transformers_version": "4.33.0",
|
|
|
6 |
}
|
|
|
1 |
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"eos_token_id": [
|
4 |
+
0,
|
5 |
+
50278
|
6 |
+
],
|
7 |
"transformers_version": "4.33.0",
|
8 |
+
"use_cache": false
|
9 |
}
|