Upload 8 files
Browse files- config.json +27 -0
- model-00001-of-00002.safetensors +3 -0
- model-00002-of-00002.safetensors +3 -0
- model.safetensors.index.json +81 -0
- special_tokens_map.json +35 -0
- tokenizer.json +0 -0
- tokenizer.model +3 -0
- tokenizer_config.json +46 -0
config.json
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "../../merged_models/japanese-e5-mistral-quarter",
|
3 |
+
"architectures": [
|
4 |
+
"MistralForEmbedding"
|
5 |
+
],
|
6 |
+
"attention_dropout": 0.0,
|
7 |
+
"bos_token_id": 1,
|
8 |
+
"eos_token_id": 2,
|
9 |
+
"hidden_act": "silu",
|
10 |
+
"hidden_size": 4096,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"intermediate_size": 14336,
|
13 |
+
"max_position_embeddings": 32768,
|
14 |
+
"model_type": "mistral",
|
15 |
+
"num_attention_heads": 32,
|
16 |
+
"num_hidden_layers": 8,
|
17 |
+
"num_key_value_heads": 8,
|
18 |
+
"pad_token_id": 2,
|
19 |
+
"rms_norm_eps": 1e-05,
|
20 |
+
"rope_theta": 10000.0,
|
21 |
+
"sliding_window": 4096,
|
22 |
+
"tie_word_embeddings": false,
|
23 |
+
"torch_dtype": "float32",
|
24 |
+
"transformers_version": "4.36.1",
|
25 |
+
"use_cache": false,
|
26 |
+
"vocab_size": 32000
|
27 |
+
}
|
model-00001-of-00002.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b59884f1c119551c472ccb2e89d2a122c0eea9cd9152243be3dd213f9554805d
|
3 |
+
size 4987196648
|
model-00002-of-00002.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:da5a19afb957863f4a31088ed76d0bf1a2d0af8a83299a28e9ed4b64342f1527
|
3 |
+
size 2516699792
|
model.safetensors.index.json
ADDED
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"metadata": {
|
3 |
+
"total_size": 7503888384
|
4 |
+
},
|
5 |
+
"weight_map": {
|
6 |
+
"embed_tokens.weight": "model-00001-of-00002.safetensors",
|
7 |
+
"layers.0.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
8 |
+
"layers.0.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
9 |
+
"layers.0.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
|
10 |
+
"layers.0.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
|
11 |
+
"layers.0.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
12 |
+
"layers.0.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
13 |
+
"layers.0.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
14 |
+
"layers.0.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
|
15 |
+
"layers.0.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
16 |
+
"layers.1.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
17 |
+
"layers.1.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
18 |
+
"layers.1.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
|
19 |
+
"layers.1.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
|
20 |
+
"layers.1.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
21 |
+
"layers.1.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
22 |
+
"layers.1.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
23 |
+
"layers.1.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
|
24 |
+
"layers.1.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
25 |
+
"layers.2.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
26 |
+
"layers.2.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
27 |
+
"layers.2.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
|
28 |
+
"layers.2.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
|
29 |
+
"layers.2.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
30 |
+
"layers.2.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
31 |
+
"layers.2.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
32 |
+
"layers.2.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
|
33 |
+
"layers.2.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
34 |
+
"layers.3.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
35 |
+
"layers.3.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
36 |
+
"layers.3.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
|
37 |
+
"layers.3.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
|
38 |
+
"layers.3.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
39 |
+
"layers.3.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
40 |
+
"layers.3.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
41 |
+
"layers.3.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
|
42 |
+
"layers.3.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
43 |
+
"layers.4.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
44 |
+
"layers.4.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
45 |
+
"layers.4.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
|
46 |
+
"layers.4.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
|
47 |
+
"layers.4.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
48 |
+
"layers.4.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
49 |
+
"layers.4.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
50 |
+
"layers.4.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
|
51 |
+
"layers.4.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
52 |
+
"layers.5.input_layernorm.weight": "model-00002-of-00002.safetensors",
|
53 |
+
"layers.5.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
|
54 |
+
"layers.5.mlp.gate_proj.weight": "model-00002-of-00002.safetensors",
|
55 |
+
"layers.5.mlp.up_proj.weight": "model-00002-of-00002.safetensors",
|
56 |
+
"layers.5.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
|
57 |
+
"layers.5.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
58 |
+
"layers.5.self_attn.o_proj.weight": "model-00002-of-00002.safetensors",
|
59 |
+
"layers.5.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
|
60 |
+
"layers.5.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
61 |
+
"layers.6.input_layernorm.weight": "model-00002-of-00002.safetensors",
|
62 |
+
"layers.6.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
|
63 |
+
"layers.6.mlp.gate_proj.weight": "model-00002-of-00002.safetensors",
|
64 |
+
"layers.6.mlp.up_proj.weight": "model-00002-of-00002.safetensors",
|
65 |
+
"layers.6.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
|
66 |
+
"layers.6.self_attn.k_proj.weight": "model-00002-of-00002.safetensors",
|
67 |
+
"layers.6.self_attn.o_proj.weight": "model-00002-of-00002.safetensors",
|
68 |
+
"layers.6.self_attn.q_proj.weight": "model-00002-of-00002.safetensors",
|
69 |
+
"layers.6.self_attn.v_proj.weight": "model-00002-of-00002.safetensors",
|
70 |
+
"layers.7.input_layernorm.weight": "model-00002-of-00002.safetensors",
|
71 |
+
"layers.7.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
|
72 |
+
"layers.7.mlp.gate_proj.weight": "model-00002-of-00002.safetensors",
|
73 |
+
"layers.7.mlp.up_proj.weight": "model-00002-of-00002.safetensors",
|
74 |
+
"layers.7.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
|
75 |
+
"layers.7.self_attn.k_proj.weight": "model-00002-of-00002.safetensors",
|
76 |
+
"layers.7.self_attn.o_proj.weight": "model-00002-of-00002.safetensors",
|
77 |
+
"layers.7.self_attn.q_proj.weight": "model-00002-of-00002.safetensors",
|
78 |
+
"layers.7.self_attn.v_proj.weight": "model-00002-of-00002.safetensors",
|
79 |
+
"norm.weight": "model-00002-of-00002.safetensors"
|
80 |
+
}
|
81 |
+
}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"<unk>",
|
4 |
+
"<s>",
|
5 |
+
"</s>"
|
6 |
+
],
|
7 |
+
"bos_token": {
|
8 |
+
"content": "<s>",
|
9 |
+
"lstrip": false,
|
10 |
+
"normalized": false,
|
11 |
+
"rstrip": false,
|
12 |
+
"single_word": false
|
13 |
+
},
|
14 |
+
"eos_token": {
|
15 |
+
"content": "</s>",
|
16 |
+
"lstrip": false,
|
17 |
+
"normalized": false,
|
18 |
+
"rstrip": false,
|
19 |
+
"single_word": false
|
20 |
+
},
|
21 |
+
"pad_token": {
|
22 |
+
"content": "</s>",
|
23 |
+
"lstrip": false,
|
24 |
+
"normalized": false,
|
25 |
+
"rstrip": false,
|
26 |
+
"single_word": false
|
27 |
+
},
|
28 |
+
"unk_token": {
|
29 |
+
"content": "<unk>",
|
30 |
+
"lstrip": false,
|
31 |
+
"normalized": false,
|
32 |
+
"rstrip": false,
|
33 |
+
"single_word": false
|
34 |
+
}
|
35 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055
|
3 |
+
size 493443
|
tokenizer_config.json
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": true,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"added_tokens_decoder": {
|
5 |
+
"0": {
|
6 |
+
"content": "<unk>",
|
7 |
+
"lstrip": false,
|
8 |
+
"normalized": false,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false,
|
11 |
+
"special": true
|
12 |
+
},
|
13 |
+
"1": {
|
14 |
+
"content": "<s>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": false,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false,
|
19 |
+
"special": true
|
20 |
+
},
|
21 |
+
"2": {
|
22 |
+
"content": "</s>",
|
23 |
+
"lstrip": false,
|
24 |
+
"normalized": false,
|
25 |
+
"rstrip": false,
|
26 |
+
"single_word": false,
|
27 |
+
"special": true
|
28 |
+
}
|
29 |
+
},
|
30 |
+
"additional_special_tokens": [
|
31 |
+
"<unk>",
|
32 |
+
"<s>",
|
33 |
+
"</s>"
|
34 |
+
],
|
35 |
+
"bos_token": "<s>",
|
36 |
+
"clean_up_tokenization_spaces": false,
|
37 |
+
"eos_token": "</s>",
|
38 |
+
"legacy": true,
|
39 |
+
"model_max_length": 1000000000000000019884624838656,
|
40 |
+
"pad_token": "</s>",
|
41 |
+
"sp_model_kwargs": {},
|
42 |
+
"spaces_between_special_tokens": false,
|
43 |
+
"tokenizer_class": "LlamaTokenizer",
|
44 |
+
"unk_token": "<unk>",
|
45 |
+
"use_default_system_prompt": false
|
46 |
+
}
|