Dampish commited on
Commit
01f9bad
1 Parent(s): 58a712a

Upload BloomForCausalLM

Browse files
Files changed (3) hide show
  1. config.json +23 -23
  2. generation_config.json +3 -2
  3. pytorch_model.bin +2 -2
config.json CHANGED
@@ -1,32 +1,32 @@
1
  {
2
- "_name_or_path": "cerebras/cerebras-gpt-256M",
3
- "activation_function": "gelu",
4
  "architectures": [
5
- "GPT2LMHeadModel"
6
  ],
7
- "attn_pdrop": 0.0,
8
- "bos_token_id": 50256,
9
- "embd_pdrop": 0.0,
10
- "eos_token_id": 50256,
 
 
 
11
  "initializer_range": 0.02,
12
  "layer_norm_epsilon": 1e-05,
13
- "model_type": "gpt2",
14
- "n_embd": 1088,
15
- "n_head": 17,
16
- "n_inner": 4352,
17
- "n_layer": 14,
18
- "n_positions": 2048,
19
- "reorder_and_upcast_attn": false,
20
- "resid_pdrop": 0.0,
21
- "scale_attn_by_inverse_layer_idx": false,
22
- "scale_attn_weights": true,
23
- "summary_activation": null,
24
- "summary_first_dropout": 0.1,
25
- "summary_proj_to_labels": true,
26
- "summary_type": "cls_index",
27
- "summary_use_proj": true,
28
  "torch_dtype": "float32",
29
  "transformers_version": "4.28.1",
 
30
  "use_cache": true,
31
- "vocab_size": 50257
32
  }
 
1
  {
2
+ "_name_or_path": "bigscience/bloom-560m",
3
+ "apply_residual_connection_post_layernorm": false,
4
  "architectures": [
5
+ "BloomForCausalLM"
6
  ],
7
+ "attention_dropout": 0.0,
8
+ "attention_softmax_in_fp32": true,
9
+ "bias_dropout_fusion": true,
10
+ "bos_token_id": 1,
11
+ "eos_token_id": 2,
12
+ "hidden_dropout": 0.0,
13
+ "hidden_size": 1024,
14
  "initializer_range": 0.02,
15
  "layer_norm_epsilon": 1e-05,
16
+ "masked_softmax_fusion": true,
17
+ "model_type": "bloom",
18
+ "n_head": 16,
19
+ "n_inner": null,
20
+ "n_layer": 24,
21
+ "offset_alibi": 100,
22
+ "pad_token_id": 3,
23
+ "pretraining_tp": 1,
24
+ "skip_bias_add": true,
25
+ "skip_bias_add_qkv": false,
26
+ "slow_but_exact": false,
 
 
 
 
27
  "torch_dtype": "float32",
28
  "transformers_version": "4.28.1",
29
+ "unk_token_id": 0,
30
  "use_cache": true,
31
+ "vocab_size": 250880
32
  }
generation_config.json CHANGED
@@ -1,6 +1,7 @@
1
  {
2
  "_from_model_config": true,
3
- "bos_token_id": 50256,
4
- "eos_token_id": 50256,
 
5
  "transformers_version": "4.28.1"
6
  }
 
1
  {
2
  "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 2,
5
+ "pad_token_id": 3,
6
  "transformers_version": "4.28.1"
7
  }
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6a5332391ae9118080a58abada1490c56c8d3a2b2f007835d1047a589d860e94
3
- size 1082693357
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3ee6256b388728cb87c2f4568a319c9e0531ea3e476ad8d74314fed74dff691c
3
+ size 2236953377