Xin Liu
commited on
Commit
•
bc7994e
1
Parent(s):
d37d4c8
Add
Browse filesSigned-off-by: Xin Liu <sam@secondstate.io>
- config.json +35 -0
config.json
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/home/ahmet_cohere_com/HF_Final_weight_tie",
|
3 |
+
"architectures": [
|
4 |
+
"CohereForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_bias": false,
|
7 |
+
"attention_dropout": 0.0,
|
8 |
+
"auto_map": {
|
9 |
+
"AutoConfig": "configuration_cohere.CohereConfig",
|
10 |
+
"AutoModel": "modeling_cohere.CohereModel",
|
11 |
+
"AutoModelForCausalLM": "modeling_cohere.CohereForCausalLM"
|
12 |
+
},
|
13 |
+
"bos_token_id": 5,
|
14 |
+
"eos_token_id": 255001,
|
15 |
+
"hidden_act": "silu",
|
16 |
+
"hidden_size": 8192,
|
17 |
+
"initializer_range": 0.02,
|
18 |
+
"intermediate_size": 22528,
|
19 |
+
"layer_norm_eps": 1e-05,
|
20 |
+
"logit_scale": 0.0625,
|
21 |
+
"max_position_embeddings": 8192,
|
22 |
+
"model_max_length": 131072,
|
23 |
+
"model_type": "cohere",
|
24 |
+
"num_attention_heads": 64,
|
25 |
+
"num_hidden_layers": 40,
|
26 |
+
"num_key_value_heads": 64,
|
27 |
+
"pad_token_id": 0,
|
28 |
+
"pretraining_tp": 1,
|
29 |
+
"rope_theta": 8000000.0,
|
30 |
+
"torch_dtype": "float16",
|
31 |
+
"transformers_version": "4.38.2",
|
32 |
+
"use_cache": true,
|
33 |
+
"vocab_size": 256000,
|
34 |
+
"tie_word_embeddings": true
|
35 |
+
}
|