denru commited on
Commit
ef33537
1 Parent(s): 33d2768

Upload folder using huggingface_hub

Browse files
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": 4.65,
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-00009.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:996719ee23247f7ffcb905d1339c8ccd9411bb423b618e96a121099f67c31107
3
+ size 8578497188
output-00002-of-00009.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4c81d0f1ef252520080a9c10758827211696d35a88c320c328dc02f443891691
3
+ size 8518821176
output-00003-of-00009.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eafeeceefaadd793f32ea0af530b7e6cd94d92428a01d0ddac1f9050bbc53c4b
3
+ size 8532324360
output-00004-of-00009.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e830aaaf28ba59a70940cf6a798094dec012ddc51218bdd768936c5fe3876a4
3
+ size 8555665352
output-00005-of-00009.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ccefefde5148c7c4f882e50d22b0ceec30223163ff0e113265c236c62040095c
3
+ size 8478060448
output-00006-of-00009.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a70a0149f39aaa54ccd368b37ae3f442df4e33f112bd0152b8c659541e4ed210
3
+ size 8532042024
output-00007-of-00009.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fb6095c36d7d8a7f6be3fa6f148a698ed1ae91d05b7731e442aa3fdb496208d7
3
+ size 8579511072
output-00008-of-00009.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:edb6b7e18411d812e36b130fc90587c1c4d9d001834c2ae8ce3a06cc82c2da28
3
+ size 8532555904
output-00009-of-00009.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b1a7dab7ef4d500fd75461a36ba380bc6b1802b3100f4c6274988919e4ff9aa2
3
+ size 4100703880
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
+ }