Upload config.json with huggingface_hub
Browse files- config.json +47 -0
config.json
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "mosaicml/mpt-7b",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"MptForCausalLM"
|
| 5 |
+
],
|
| 6 |
+
"attn_config": {
|
| 7 |
+
"model_type": ""
|
| 8 |
+
},
|
| 9 |
+
"auto_map": {
|
| 10 |
+
"AutoConfig": "mosaicml/mpt-7b--configuration_mpt.MPTConfig",
|
| 11 |
+
"AutoModelForCausalLM": "mosaicml/mpt-7b--modeling_mpt.MPTForCausalLM"
|
| 12 |
+
},
|
| 13 |
+
"d_model": 4096,
|
| 14 |
+
"emb_pdrop": 0,
|
| 15 |
+
"embedding_fraction": 1.0,
|
| 16 |
+
"expansion_ratio": 4,
|
| 17 |
+
"init_config": {
|
| 18 |
+
"emb_init_std": null,
|
| 19 |
+
"emb_init_uniform_lim": null,
|
| 20 |
+
"fan_mode": "fan_in",
|
| 21 |
+
"init_div_is_residual": true,
|
| 22 |
+
"init_gain": 0,
|
| 23 |
+
"init_nonlinearity": "relu",
|
| 24 |
+
"init_std": 0.02,
|
| 25 |
+
"name": "kaiming_normal_",
|
| 26 |
+
"verbose": 0
|
| 27 |
+
},
|
| 28 |
+
"init_device": "cpu",
|
| 29 |
+
"initializer_range": 0.02,
|
| 30 |
+
"layer_norm_epsilon": 1e-05,
|
| 31 |
+
"learned_pos_emb": true,
|
| 32 |
+
"logit_scale": null,
|
| 33 |
+
"max_seq_len": 2048,
|
| 34 |
+
"model_type": "mpt",
|
| 35 |
+
"n_heads": 32,
|
| 36 |
+
"n_layers": 32,
|
| 37 |
+
"no_bias": true,
|
| 38 |
+
"norm_type": "low_precision_layernorm",
|
| 39 |
+
"pad_token_id": 50277,
|
| 40 |
+
"resid_pdrop": 0,
|
| 41 |
+
"tokenizer_name": "EleutherAI/gpt-neox-20b",
|
| 42 |
+
"torch_dtype": "bfloat16",
|
| 43 |
+
"transformers_version": "4.44.0",
|
| 44 |
+
"use_cache": false,
|
| 45 |
+
"verbose": 0,
|
| 46 |
+
"vocab_size": 50278
|
| 47 |
+
}
|