Faisal AlKhateeb
commited on
Commit
·
19c3116
1
Parent(s):
326d150
add bfloat16 checkpoint
Browse files- config.json +38 -32
- generation_config.json +6 -0
- pytorch_model.bin +2 -2
config.json
CHANGED
|
@@ -1,34 +1,40 @@
|
|
| 1 |
{
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
"
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
"
|
| 14 |
-
"
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c99feaec6acd74a23d674bbc52ca50b7f1109a3537bcb883a85b104905945cde
|
| 3 |
+
size 5292652837
|