Upload folder using huggingface_hub
Browse files- README.md +59 -0
- config.json +40 -0
- mergekit_config.yml +30 -0
- model.safetensors.index.json +0 -0
- output-00001-of-00010.safetensors +3 -0
- output-00002-of-00010.safetensors +3 -0
- output-00003-of-00010.safetensors +3 -0
- output-00004-of-00010.safetensors +3 -0
- output-00005-of-00010.safetensors +3 -0
- output-00006-of-00010.safetensors +3 -0
- output-00007-of-00010.safetensors +3 -0
- output-00008-of-00010.safetensors +3 -0
- output-00009-of-00010.safetensors +3 -0
- output-00010-of-00010.safetensors +3 -0
- special_tokens_map.json +30 -0
- tokenizer.json +0 -0
- tokenizer.model +3 -0
- tokenizer_config.json +42 -0
README.md
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model:
|
3 |
+
- sophosympatheia/Midnight-Miqu-70B-v1.5
|
4 |
+
library_name: transformers
|
5 |
+
tags:
|
6 |
+
- mergekit
|
7 |
+
- merge
|
8 |
+
|
9 |
+
---
|
10 |
+
# merged_model
|
11 |
+
|
12 |
+
This is a merge of pre-trained language models created using [mergekit](https://github.com/cg123/mergekit).
|
13 |
+
|
14 |
+
## Merge Details
|
15 |
+
### Merge Method
|
16 |
+
|
17 |
+
This model was merged using the passthrough merge method.
|
18 |
+
|
19 |
+
### Models Merged
|
20 |
+
|
21 |
+
The following models were included in the merge:
|
22 |
+
* [sophosympatheia/Midnight-Miqu-70B-v1.5](https://huggingface.co/sophosympatheia/Midnight-Miqu-70B-v1.5)
|
23 |
+
|
24 |
+
### Configuration
|
25 |
+
|
26 |
+
The following YAML configuration was used to produce this model:
|
27 |
+
|
28 |
+
```yaml
|
29 |
+
slices:
|
30 |
+
- sources:
|
31 |
+
- model: sophosympatheia/Midnight-Miqu-70B-v1.5
|
32 |
+
layer_range: [0, 16]
|
33 |
+
- sources:
|
34 |
+
- model: sophosympatheia/Midnight-Miqu-70B-v1.5
|
35 |
+
layer_range: [8, 24]
|
36 |
+
- sources:
|
37 |
+
- model: sophosympatheia/Midnight-Miqu-70B-v1.5
|
38 |
+
layer_range: [16, 32]
|
39 |
+
- sources:
|
40 |
+
- model: sophosympatheia/Midnight-Miqu-70B-v1.5
|
41 |
+
layer_range: [24, 40]
|
42 |
+
- sources:
|
43 |
+
- model: sophosympatheia/Midnight-Miqu-70B-v1.5
|
44 |
+
layer_range: [32, 48]
|
45 |
+
- sources:
|
46 |
+
- model: sophosympatheia/Midnight-Miqu-70B-v1.5
|
47 |
+
layer_range: [40, 56]
|
48 |
+
- sources:
|
49 |
+
- model: sophosympatheia/Midnight-Miqu-70B-v1.5
|
50 |
+
layer_range: [48, 64]
|
51 |
+
- sources:
|
52 |
+
- model: sophosympatheia/Midnight-Miqu-70B-v1.5
|
53 |
+
layer_range: [56, 72]
|
54 |
+
- sources:
|
55 |
+
- model: sophosympatheia/Midnight-Miqu-70B-v1.5
|
56 |
+
layer_range: [64, 80]
|
57 |
+
merge_method: passthrough
|
58 |
+
dtype: float16
|
59 |
+
```
|
config.json
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "sophosympatheia/Midnight-Miqu-70B-v1.5",
|
3 |
+
"architectures": [
|
4 |
+
"LlamaForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_bias": false,
|
7 |
+
"attention_dropout": 0.0,
|
8 |
+
"bos_token_id": 1,
|
9 |
+
"eos_token_id": 2,
|
10 |
+
"hidden_act": "silu",
|
11 |
+
"hidden_size": 8192,
|
12 |
+
"initializer_range": 0.02,
|
13 |
+
"intermediate_size": 28672,
|
14 |
+
"max_position_embeddings": 32764,
|
15 |
+
"model_type": "llama",
|
16 |
+
"num_attention_heads": 64,
|
17 |
+
"num_hidden_layers": 144,
|
18 |
+
"num_key_value_heads": 8,
|
19 |
+
"pad_token_id": 0,
|
20 |
+
"pretraining_tp": 1,
|
21 |
+
"rms_norm_eps": 1e-05,
|
22 |
+
"rope_scaling": null,
|
23 |
+
"rope_theta": 1000000,
|
24 |
+
"tie_word_embeddings": false,
|
25 |
+
"torch_dtype": "float16",
|
26 |
+
"transformers_version": "4.39.2",
|
27 |
+
"use_cache": true,
|
28 |
+
"vocab_size": 32000,
|
29 |
+
"quantization_config": {
|
30 |
+
"quant_method": "exl2",
|
31 |
+
"version": "0.0.17",
|
32 |
+
"bits": 5.0,
|
33 |
+
"head_bits": 8,
|
34 |
+
"calibration": {
|
35 |
+
"rows": 100,
|
36 |
+
"length": 2048,
|
37 |
+
"dataset": "pippa_raw_fix.parquet"
|
38 |
+
}
|
39 |
+
}
|
40 |
+
}
|
mergekit_config.yml
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
slices:
|
2 |
+
- sources:
|
3 |
+
- model: sophosympatheia/Midnight-Miqu-70B-v1.5
|
4 |
+
layer_range: [0, 16]
|
5 |
+
- sources:
|
6 |
+
- model: sophosympatheia/Midnight-Miqu-70B-v1.5
|
7 |
+
layer_range: [8, 24]
|
8 |
+
- sources:
|
9 |
+
- model: sophosympatheia/Midnight-Miqu-70B-v1.5
|
10 |
+
layer_range: [16, 32]
|
11 |
+
- sources:
|
12 |
+
- model: sophosympatheia/Midnight-Miqu-70B-v1.5
|
13 |
+
layer_range: [24, 40]
|
14 |
+
- sources:
|
15 |
+
- model: sophosympatheia/Midnight-Miqu-70B-v1.5
|
16 |
+
layer_range: [32, 48]
|
17 |
+
- sources:
|
18 |
+
- model: sophosympatheia/Midnight-Miqu-70B-v1.5
|
19 |
+
layer_range: [40, 56]
|
20 |
+
- sources:
|
21 |
+
- model: sophosympatheia/Midnight-Miqu-70B-v1.5
|
22 |
+
layer_range: [48, 64]
|
23 |
+
- sources:
|
24 |
+
- model: sophosympatheia/Midnight-Miqu-70B-v1.5
|
25 |
+
layer_range: [56, 72]
|
26 |
+
- sources:
|
27 |
+
- model: sophosympatheia/Midnight-Miqu-70B-v1.5
|
28 |
+
layer_range: [64, 80]
|
29 |
+
merge_method: passthrough
|
30 |
+
dtype: float16
|
model.safetensors.index.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
output-00001-of-00010.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e00afe35c6abc7802cb23d365c8713ecc75fa2a4e6f79a5b156aa7e86132821e
|
3 |
+
size 8575200660
|
output-00002-of-00010.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e04bb5cfd77b85e7630d2a81ca9d3a547e5d21618660e54d1aa7fe165e79b554
|
3 |
+
size 8472106164
|
output-00003-of-00010.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:96de572b070d65bcd5a6b068e686e9420e4521ebc363d41febb679e1219a7f11
|
3 |
+
size 8479272752
|
output-00004-of-00010.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:46dae2656c546f51e7d897b1e5d3722beec48e43b56d94b4fe292038675933d0
|
3 |
+
size 8572432288
|
output-00005-of-00010.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7050980e99e1d11685d33daebb12a8aba4550261238c15385db1c092a87707d7
|
3 |
+
size 8441524000
|
output-00006-of-00010.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a54de5312f6e0a0403c7e9fd3313755ebeb74406f0ea52d6715aa0447f115f0a
|
3 |
+
size 8463544216
|
output-00007-of-00010.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c8996b3ec904bbb90a122a600697aa45f0a184fad12dd38e131281e736eb6e66
|
3 |
+
size 8484693920
|
output-00008-of-00010.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e1b6f0f81baade0aad42389c7bf9df1746c434cfde6a2c0508cbc18f0473108b
|
3 |
+
size 8588731344
|
output-00009-of-00010.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3981b6d9885a2aa4eab14052acff47460e799d8ed5e275016d7fea757e4b46e3
|
3 |
+
size 8467864360
|
output-00010-of-00010.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:628a2b09e2a5382ac807006b0df26a3e3252d9f3ab9034f65fdf2974a8317816
|
3 |
+
size 1250082312
|
special_tokens_map.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": true,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "</s>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": true,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": {
|
17 |
+
"content": "<unk>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": true,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"unk_token": {
|
24 |
+
"content": "<unk>",
|
25 |
+
"lstrip": false,
|
26 |
+
"normalized": true,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
}
|
30 |
+
}
|
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:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
|
3 |
+
size 499723
|
tokenizer_config.json
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": true,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false,
|
11 |
+
"special": true
|
12 |
+
},
|
13 |
+
"1": {
|
14 |
+
"content": "<s>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": true,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false,
|
19 |
+
"special": true
|
20 |
+
},
|
21 |
+
"2": {
|
22 |
+
"content": "</s>",
|
23 |
+
"lstrip": false,
|
24 |
+
"normalized": true,
|
25 |
+
"rstrip": false,
|
26 |
+
"single_word": false,
|
27 |
+
"special": true
|
28 |
+
}
|
29 |
+
},
|
30 |
+
"bos_token": "<s>",
|
31 |
+
"chat_template": "{{ bos_token }}{% for message in messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% if message['role'] == 'user' %}{{ '[INST] ' + message['content'] + ' [/INST]' }}{% elif message['role'] == 'assistant' %}{{ message['content'] + eos_token}}{% else %}{{ raise_exception('Only user and assistant roles are supported!') }}{% endif %}{% endfor %}",
|
32 |
+
"clean_up_tokenization_spaces": false,
|
33 |
+
"eos_token": "</s>",
|
34 |
+
"legacy": false,
|
35 |
+
"model_max_length": 1000000000000000019884624838656,
|
36 |
+
"pad_token": "<unk>",
|
37 |
+
"sp_model_kwargs": {},
|
38 |
+
"spaces_between_special_tokens": false,
|
39 |
+
"tokenizer_class": "LlamaTokenizer",
|
40 |
+
"unk_token": "<unk>",
|
41 |
+
"use_default_system_prompt": false
|
42 |
+
}
|