appvoid commited on
Commit
36bb463
·
verified ·
1 Parent(s): 8e86884

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model:
3
+ - mkurman/LiquidAI-LFM2.5-350M-SYNTH
4
+ - MihaiPopa-1/LFM2.5-350M-heretic
5
+ - appvoid/palmer-005-core
6
+ - squ11z1/claude-oss-350m
7
+ library_name: transformers
8
+ tags:
9
+ - mergekit
10
+ - merge
11
+
12
+ ---
13
+ # merge
14
+
15
+ This is a merge of pre-trained language models created using [mergekit](https://github.com/cg123/mergekit).
16
+
17
+ ## Merge Details
18
+ ### Merge Method
19
+
20
+ This model was merged using the [DARE TIES](https://arxiv.org/abs/2311.03099) merge method using [MihaiPopa-1/LFM2.5-350M-heretic](https://huggingface.co/MihaiPopa-1/LFM2.5-350M-heretic) as a base.
21
+
22
+ ### Models Merged
23
+
24
+ The following models were included in the merge:
25
+ * [mkurman/LiquidAI-LFM2.5-350M-SYNTH](https://huggingface.co/mkurman/LiquidAI-LFM2.5-350M-SYNTH)
26
+ * [appvoid/palmer-005-core](https://huggingface.co/appvoid/palmer-005-core)
27
+ * [squ11z1/claude-oss-350m](https://huggingface.co/squ11z1/claude-oss-350m)
28
+
29
+ ### Configuration
30
+
31
+ The following YAML configuration was used to produce this model:
32
+
33
+ ```yaml
34
+ merge_method: dare_ties
35
+ base_model: MihaiPopa-1/LFM2.5-350M-heretic
36
+ dtype: bfloat16
37
+
38
+ parameters:
39
+ normalize: false
40
+ int8_mask: true
41
+
42
+ models:
43
+ # slot_1_strongest
44
+ - model: mkurman/LiquidAI-LFM2.5-350M-SYNTH
45
+ parameters:
46
+ weight: 0.28
47
+ density: 0.38
48
+
49
+ # slot_2_medium
50
+ - model: squ11z1/claude-oss-350m
51
+ parameters:
52
+ weight: 0.22
53
+ density: 0.34
54
+
55
+ # slot_3_light
56
+ - model: appvoid/palmer-005-core
57
+ parameters:
58
+ weight: 0.14
59
+ density: 0.28
60
+
61
+ ```
config.json ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Lfm2ForCausalLM"
4
+ ],
5
+ "block_auto_adjust_ff_dim": true,
6
+ "block_dim": 1024,
7
+ "block_ffn_dim_multiplier": 1.0,
8
+ "block_mlp_init_scale": 1.0,
9
+ "block_multiple_of": 256,
10
+ "block_norm_eps": 1e-05,
11
+ "block_out_init_scale": 1.0,
12
+ "block_use_swiglu": true,
13
+ "block_use_xavier_init": true,
14
+ "bos_token_id": 1,
15
+ "conv_L_cache": 3,
16
+ "conv_bias": false,
17
+ "conv_dim": 1024,
18
+ "conv_use_xavier_init": true,
19
+ "dtype": "bfloat16",
20
+ "eos_token_id": 7,
21
+ "hidden_size": 1024,
22
+ "initializer_range": 0.02,
23
+ "intermediate_size": 6656,
24
+ "layer_types": [
25
+ "conv",
26
+ "conv",
27
+ "full_attention",
28
+ "conv",
29
+ "conv",
30
+ "full_attention",
31
+ "conv",
32
+ "conv",
33
+ "full_attention",
34
+ "conv",
35
+ "full_attention",
36
+ "conv",
37
+ "full_attention",
38
+ "conv",
39
+ "full_attention",
40
+ "conv"
41
+ ],
42
+ "max_position_embeddings": 128000,
43
+ "model_type": "lfm2",
44
+ "norm_eps": 1e-05,
45
+ "num_attention_heads": 16,
46
+ "num_heads": 16,
47
+ "num_hidden_layers": 16,
48
+ "num_key_value_heads": 8,
49
+ "pad_token_id": 0,
50
+ "rope_parameters": {
51
+ "rope_theta": 1000000.0,
52
+ "rope_type": "default"
53
+ },
54
+ "rope_theta": 1000000.0,
55
+ "transformers_version": "4.57.6",
56
+ "use_cache": true,
57
+ "use_pos_enc": true,
58
+ "vocab_size": 65536
59
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 7,
5
+ "pad_token_id": 0,
6
+ "transformers_version": "5.5.3"
7
+ }
mergekit_config.yml ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ merge_method: dare_ties
2
+ base_model: MihaiPopa-1/LFM2.5-350M-heretic
3
+ dtype: bfloat16
4
+
5
+ parameters:
6
+ normalize: false
7
+ int8_mask: true
8
+
9
+ models:
10
+ # slot_1_strongest
11
+ - model: mkurman/LiquidAI-LFM2.5-350M-SYNTH
12
+ parameters:
13
+ weight: 0.28
14
+ density: 0.38
15
+
16
+ # slot_2_medium
17
+ - model: squ11z1/claude-oss-350m
18
+ parameters:
19
+ weight: 0.22
20
+ density: 0.34
21
+
22
+ # slot_3_light
23
+ - model: appvoid/palmer-005-core
24
+ parameters:
25
+ weight: 0.14
26
+ density: 0.28
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e8e653c9609494a944e36c3939cdf2cd46d28fdfcd348ae0bb8f02729b341c2f
3
+ size 708984464
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "bos_token": "<|startoftext|>",
4
+ "clean_up_tokenization_spaces": false,
5
+ "eos_token": "<|im_end|>",
6
+ "extra_special_tokens": [],
7
+ "is_local": false,
8
+ "legacy": false,
9
+ "model_input_names": [
10
+ "input_ids",
11
+ "attention_mask"
12
+ ],
13
+ "model_max_length": 1000000000000000019884624838656,
14
+ "model_specific_special_tokens": {},
15
+ "pad_token": "<|pad|>",
16
+ "sp_model_kwargs": {},
17
+ "spaces_between_special_tokens": false,
18
+ "tokenizer_class": "TokenizersBackend",
19
+ "use_default_system_prompt": false,
20
+ "use_fast": true
21
+ }