Faisal AlKhateeb commited on
Commit
19c3116
1 Parent(s): 326d150

add bfloat16 checkpoint

Browse files
Files changed (3) hide show
  1. config.json +38 -32
  2. generation_config.json +6 -0
  3. pytorch_model.bin +2 -2
config.json CHANGED
@@ -1,34 +1,40 @@
1
  {
2
- "auto_map": {
3
- "AutoConfig": "configuration_btlm.BTLMConfig",
4
- "AutoModel": "modeling_btlm.BTLMModel",
5
- "AutoModelForSequenceClassification": "modeling_btlm.BTLMForSequenceClassification",
6
- "AutoModelForTokenClassification": "modeling_btlm.BTLMForTokenClassification",
7
- "AutoModelForQuestionAnswering": "modeling_btlm.BTLMForQuestionAnswering",
8
- "AutoModelForCausalLM": "modeling_btlm.BTLMLMHeadModel"
9
- },
10
- "architectures": [
11
- "BTLMLMHeadModel"
12
- ],
13
- "attn_pdrop": 0.0,
14
- "bos_token_id": 50256,
15
- "eos_token_id": 50256,
16
- "scale_attn_weights": true,
17
- "resid_pdrop": 0.0,
18
- "embeddings_scale": 14.6,
19
- "n_inner": 6826,
20
- "n_embd": 2560,
21
- "layer_norm_epsilon": 1e-05,
22
- "n_positions": 8192,
23
- "activation_function": "swiglu",
24
- "n_head": 32,
25
- "n_layer": 32,
26
- "model_type": "btlm",
27
- "width_scale": 0.1,
28
- "output_logits_scale": 0.22200000000000003,
29
- "position_embedding_type": "alibi",
30
- "scale_qk_dot_by_d": true,
31
- "tie_word_embeddings": true,
32
- "vocab_size": 50257,
33
- "embd_pdrop": 0.0
 
 
 
 
 
 
34
  }
 
1
  {
2
+ "_name_or_path": "cerebras/btlm-3b-8k-base",
3
+ "activation_function": "swiglu",
4
+ "architectures": [
5
+ "BTLMLMHeadModel"
6
+ ],
7
+ "attn_pdrop": 0.0,
8
+ "auto_map": {
9
+ "AutoConfig": "configuration_btlm.BTLMConfig",
10
+ "AutoModel": "modeling_btlm.BTLMModel",
11
+ "AutoModelForCausalLM": "modeling_btlm.BTLMLMHeadModel",
12
+ "AutoModelForQuestionAnswering": "modeling_btlm.BTLMForQuestionAnswering",
13
+ "AutoModelForSequenceClassification": "modeling_btlm.BTLMForSequenceClassification",
14
+ "AutoModelForTokenClassification": "modeling_btlm.BTLMForTokenClassification"
15
+ },
16
+ "bos_token_id": 50256,
17
+ "embd_pdrop": 0.0,
18
+ "embeddings_scale": 14.6,
19
+ "eos_token_id": 50256,
20
+ "initializer_range": 0.073,
21
+ "layer_norm_epsilon": 1e-05,
22
+ "model_type": "btlm",
23
+ "n_embd": 2560,
24
+ "n_head": 32,
25
+ "n_inner": 6826,
26
+ "n_layer": 32,
27
+ "n_positions": 8192,
28
+ "output_logits_scale": 0.22200000000000003,
29
+ "position_embedding_type": "alibi",
30
+ "reorder_and_upcast_attn": false,
31
+ "resid_pdrop": 0.0,
32
+ "scale_attn_by_inverse_layer_idx": false,
33
+ "scale_attn_weights": true,
34
+ "scale_qk_dot_by_d": true,
35
+ "torch_dtype": "bfloat16",
36
+ "transformers_version": "4.30.0",
37
+ "use_cache": true,
38
+ "vocab_size": 50257,
39
+ "width_scale": 0.1
40
  }
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 50256,
4
+ "eos_token_id": 50256,
5
+ "transformers_version": "4.30.0"
6
+ }
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2c941784983f87a61c21450c65774c591a49291f565f3f15396348d5a1dd0263
3
- size 13247298643
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c99feaec6acd74a23d674bbc52ca50b7f1109a3537bcb883a85b104905945cde
3
+ size 5292652837