Upload 3 files
Browse files- config.json +39 -0
- generation_config.json +7 -0
- model.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"LSWTForCausalLM"
|
4 |
+
],
|
5 |
+
"bos_token_id": 2,
|
6 |
+
"d_ffn": 4096,
|
7 |
+
"d_model": 1536,
|
8 |
+
"d_vocab": 768,
|
9 |
+
"dropout_att_mat": 0.0,
|
10 |
+
"dropout_att_out": 0.0,
|
11 |
+
"dropout_ffn_int": 0.0,
|
12 |
+
"dropout_ffn_out": 0.0,
|
13 |
+
"dropout_layers": 0.0,
|
14 |
+
"enable_bias": true,
|
15 |
+
"eos_token_id": 2,
|
16 |
+
"gated_att": false,
|
17 |
+
"gated_ffn": true,
|
18 |
+
"init_std": 0.02,
|
19 |
+
"model_type": "lsw_transformer",
|
20 |
+
"n_heads": 24,
|
21 |
+
"n_layers": 18,
|
22 |
+
"n_registers": 0,
|
23 |
+
"pad_token_id": 1,
|
24 |
+
"parent_embeddings": "facebook/opt-125m",
|
25 |
+
"qk_norm": false,
|
26 |
+
"recompute_kv": true,
|
27 |
+
"rope_base_freq": 500000,
|
28 |
+
"rope_dynamic": false,
|
29 |
+
"rope_ntk_scale": 1.0,
|
30 |
+
"rope_positions": 4096,
|
31 |
+
"rope_reversed": true,
|
32 |
+
"rope_yarn_a": 0.07,
|
33 |
+
"rope_yarn_b": 1.0,
|
34 |
+
"torch_dtype": "float16",
|
35 |
+
"trainable_embeddings": true,
|
36 |
+
"transformers_version": "4.37.2",
|
37 |
+
"use_cache": true,
|
38 |
+
"vocab_size": 50272
|
39 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 2,
|
4 |
+
"eos_token_id": 2,
|
5 |
+
"pad_token_id": 1,
|
6 |
+
"transformers_version": "4.37.2"
|
7 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7ab74cf5a44b427c43190df568095509cdff1ba5474d3a3c4982adcbf14306bc
|
3 |
+
size 1101987472
|