rootxhacker commited on
Commit
7131d5d
·
verified ·
1 Parent(s): d8d13c7

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model:
3
+ - rootxhacker/mini-Llama-70M-SFT-math
4
+ - rootxhacker/mini-Llama-70M-SFT
5
+ - rootxhacker/mini-Llama-70M-SFT-ifeval
6
+ - rootxhacker/mini-Llama-70M-SFT-COT
7
+ - rootxhacker/mini-Llama-70M-SFT-medical
8
+ - rootxhacker/mini-Llama-70M-SFT-v2
9
+ - rootxhacker/mini-Llama-70M-SFT-code
10
+ library_name: transformers
11
+ tags:
12
+ - mergekit
13
+ - merge
14
+
15
+ ---
16
+ # merge
17
+
18
+ This is a merge of pre-trained language models created using [mergekit](https://github.com/cg123/mergekit).
19
+
20
+ ## Merge Details
21
+ ### Merge Method
22
+
23
+ This model was merged using the Passthrough merge method.
24
+
25
+ ### Models Merged
26
+
27
+ The following models were included in the merge:
28
+ * [rootxhacker/mini-Llama-70M-SFT-math](https://huggingface.co/rootxhacker/mini-Llama-70M-SFT-math)
29
+ * [rootxhacker/mini-Llama-70M-SFT](https://huggingface.co/rootxhacker/mini-Llama-70M-SFT)
30
+ * [rootxhacker/mini-Llama-70M-SFT-ifeval](https://huggingface.co/rootxhacker/mini-Llama-70M-SFT-ifeval)
31
+ * [rootxhacker/mini-Llama-70M-SFT-COT](https://huggingface.co/rootxhacker/mini-Llama-70M-SFT-COT)
32
+ * [rootxhacker/mini-Llama-70M-SFT-medical](https://huggingface.co/rootxhacker/mini-Llama-70M-SFT-medical)
33
+ * [rootxhacker/mini-Llama-70M-SFT-v2](https://huggingface.co/rootxhacker/mini-Llama-70M-SFT-v2)
34
+ * [rootxhacker/mini-Llama-70M-SFT-code](https://huggingface.co/rootxhacker/mini-Llama-70M-SFT-code)
35
+
36
+ ### Configuration
37
+
38
+ The following YAML configuration was used to produce this model:
39
+
40
+ ```yaml
41
+ slices:
42
+ - sources:
43
+ - model: rootxhacker/mini-Llama-70M-SFT-v2 # Core reasoning
44
+ layer_range: [0, 5] # Full 6 layers
45
+ - sources:
46
+ - model: rootxhacker/mini-Llama-70M-SFT-COT
47
+ layer_range: [0, 5] # Full 6 layers
48
+ - sources:
49
+ - model: rootxhacker/mini-Llama-70M-SFT-medical
50
+ layer_range: [0, 5]
51
+ - sources:
52
+ - model: rootxhacker/mini-Llama-70M-SFT-code
53
+ layer_range: [0, 5]
54
+ - sources:
55
+ - model: rootxhacker/mini-Llama-70M-SFT-math
56
+ layer_range: [0, 5]
57
+ - sources:
58
+ - model: rootxhacker/mini-Llama-70M-SFT-ifeval
59
+ layer_range: [0, 4] # 5 layers
60
+ - sources:
61
+ - model: rootxhacker/mini-Llama-70M-SFT-v2
62
+ layer_range: [0, 4] # 5 layers
63
+ - sources:
64
+ - model: rootxhacker/mini-Llama-70M-SFT
65
+ layer_range: [0, 4] # 5 layers
66
+ merge_method: passthrough
67
+ dtype: bfloat16
68
+
69
+ ```
config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "LlamaForCausalLM"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 1,
8
+ "eos_token_id": 2,
9
+ "head_dim": 128,
10
+ "hidden_act": "silu",
11
+ "hidden_size": 768,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 1024,
14
+ "max_position_embeddings": 256,
15
+ "mlp_bias": false,
16
+ "model_type": "llama",
17
+ "num_attention_heads": 6,
18
+ "num_hidden_layers": 37,
19
+ "num_key_value_heads": 6,
20
+ "pad_token_id": 0,
21
+ "pretraining_tp": 1,
22
+ "rms_norm_eps": 1e-05,
23
+ "rope_scaling": null,
24
+ "rope_theta": 10000.0,
25
+ "tie_word_embeddings": false,
26
+ "torch_dtype": "bfloat16",
27
+ "transformers_version": "4.51.1",
28
+ "use_cache": true,
29
+ "vocab_size": 32000
30
+ }
mergekit_config.yml ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ slices:
2
+ - sources:
3
+ - model: rootxhacker/mini-Llama-70M-SFT-v2 # Core reasoning
4
+ layer_range: [0, 5] # Full 6 layers
5
+ - sources:
6
+ - model: rootxhacker/mini-Llama-70M-SFT-COT
7
+ layer_range: [0, 5] # Full 6 layers
8
+ - sources:
9
+ - model: rootxhacker/mini-Llama-70M-SFT-medical
10
+ layer_range: [0, 5]
11
+ - sources:
12
+ - model: rootxhacker/mini-Llama-70M-SFT-code
13
+ layer_range: [0, 5]
14
+ - sources:
15
+ - model: rootxhacker/mini-Llama-70M-SFT-math
16
+ layer_range: [0, 5]
17
+ - sources:
18
+ - model: rootxhacker/mini-Llama-70M-SFT-ifeval
19
+ layer_range: [0, 4] # 5 layers
20
+ - sources:
21
+ - model: rootxhacker/mini-Llama-70M-SFT-v2
22
+ layer_range: [0, 4] # 5 layers
23
+ - sources:
24
+ - model: rootxhacker/mini-Llama-70M-SFT
25
+ layer_range: [0, 4] # 5 layers
26
+ merge_method: passthrough
27
+ dtype: bfloat16
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a6f9beca11a087c7833224ae9776ccee0c0de1c2ca3215bcaf96b1b6dfa6adcf
3
+ size 447632856
special_tokens_map.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "</s>",
17
+ "unk_token": {
18
+ "content": "<unk>",
19
+ "lstrip": false,
20
+ "normalized": true,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ }
24
+ }
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
+ "add_prefix_space": null,
5
+ "added_tokens_decoder": {
6
+ "0": {
7
+ "content": "<unk>",
8
+ "lstrip": false,
9
+ "normalized": true,
10
+ "rstrip": false,
11
+ "single_word": false,
12
+ "special": true
13
+ },
14
+ "1": {
15
+ "content": "<s>",
16
+ "lstrip": false,
17
+ "normalized": true,
18
+ "rstrip": false,
19
+ "single_word": false,
20
+ "special": true
21
+ },
22
+ "2": {
23
+ "content": "</s>",
24
+ "lstrip": false,
25
+ "normalized": true,
26
+ "rstrip": false,
27
+ "single_word": false,
28
+ "special": true
29
+ }
30
+ },
31
+ "bos_token": "<s>",
32
+ "clean_up_tokenization_spaces": false,
33
+ "eos_token": "</s>",
34
+ "extra_special_tokens": {},
35
+ "legacy": false,
36
+ "model_max_length": 1000000000000000019884624838656,
37
+ "pad_token": "</s>",
38
+ "sp_model_kwargs": {},
39
+ "tokenizer_class": "LlamaTokenizer",
40
+ "unk_token": "<unk>",
41
+ "use_default_system_prompt": false
42
+ }