Ozgur98 commited on
Commit
c6471b0
1 Parent(s): 16db4fc

Upload MosaicGPT

Browse files
Files changed (1) hide show
  1. config.json +43 -26
config.json CHANGED
@@ -1,29 +1,46 @@
1
  {
2
- "apply_residual_connection_post_layernorm": false,
3
- "attention_dropout": 0.0,
4
- "attention_softmax_in_fp32": true,
5
- "bias_dropout_fusion": true,
6
  "architectures": [
7
- "BloomForCausalLM"
8
  ],
9
- "bos_token_id": 1,
10
- "eos_token_id": 2,
11
- "pad_token_id": 3,
12
- "unk_token_id": 0,
13
- "hidden_dropout": 0.0,
14
- "initializer_range": 0.02,
15
- "layer_norm_epsilon": 1e-05,
16
- "masked_softmax_fusion": true,
17
- "model_type": "bloom",
18
- "n_embed": 2560,
19
- "n_inner": null,
20
- "n_layer": 30,
21
- "num_attention_heads": 32,
22
- "offset_alibi": 100,
23
- "pretraining_tp": 4,
24
- "skip_bias_add": true,
25
- "skip_bias_add_qkv": false,
26
- "transformers_version": "4.20.0",
27
- "use_cache": true,
28
- "vocab_size": 250880
29
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  {
2
+ "_name_or_path": "mosaicml/mpt-1b-redpajama-200b-dolly",
3
+ "alibi": true,
4
+ "alibi_bias_max": 8,
 
5
  "architectures": [
6
+ "MosaicGPT"
7
  ],
8
+ "attn_clip_qkv": null,
9
+ "attn_impl": "torch",
10
+ "attn_pdrop": 0,
11
+ "attn_qk_ln": true,
12
+ "attn_uses_sequence_id": false,
13
+ "auto_map": {
14
+ "AutoConfig": "mosaicml/mpt-1b-redpajama-200b-dolly--configuration_mosaic_gpt.MosaicGPTConfig",
15
+ "AutoModelForCausalLM": "mosaicml/mpt-1b-redpajama-200b-dolly--mosaic_gpt.MosaicGPT"
16
+ },
17
+ "d_model": 2048,
18
+ "emb_init_std": null,
19
+ "emb_init_uniform_lim": null,
20
+ "emb_pdrop": 0,
21
+ "embedding_fraction": 1.0,
22
+ "fan_mode": "fan_in",
23
+ "init_device": "cpu",
24
+ "init_div_is_residual": true,
25
+ "init_gain": 0,
26
+ "init_nonlinearity": "relu",
27
+ "init_std": 0.02,
28
+ "logit_scale": null,
29
+ "low_precision_layernorm": true,
30
+ "max_seq_len": 2048,
31
+ "mlp_ratio": 4,
32
+ "model_type": "mosaic_gpt",
33
+ "n_heads": 16,
34
+ "n_layers": 24,
35
+ "no_bias": true,
36
+ "param_init_fn": "kaiming_normal_",
37
+ "prefix_lm": false,
38
+ "resid_pdrop": 0,
39
+ "softmax_scale": null,
40
+ "tokenizer_name": "EleutherAI/gpt-neox-20b",
41
+ "torch_dtype": "bfloat16",
42
+ "transformers_version": "4.31.0",
43
+ "use_cache": false,
44
+ "verbose": 0,
45
+ "vocab_size": 50432
46
+ }