ClaudioItaly commited on
Commit
d3f0e91
·
verified ·
1 Parent(s): 1e30282

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model:
3
+ - SillyTilly/mistralai_Mistral-Nemo-Base-2407
4
+ - SillyTilly/mistralai_Mistral-Nemo-Instruct-2407
5
+ library_name: transformers
6
+ tags:
7
+ - mergekit
8
+ - merge
9
+
10
+ ---
11
+ # merge
12
+
13
+ This is a merge of pre-trained language models created using [mergekit](https://github.com/cg123/mergekit).
14
+
15
+ ## Merge Details
16
+ ### Merge Method
17
+
18
+ This model was merged using the [TIES](https://arxiv.org/abs/2306.01708) merge method using [SillyTilly/mistralai_Mistral-Nemo-Base-2407](https://huggingface.co/SillyTilly/mistralai_Mistral-Nemo-Base-2407) as a base.
19
+
20
+ ### Models Merged
21
+
22
+ The following models were included in the merge:
23
+ * [SillyTilly/mistralai_Mistral-Nemo-Instruct-2407](https://huggingface.co/SillyTilly/mistralai_Mistral-Nemo-Instruct-2407)
24
+
25
+ ### Configuration
26
+
27
+ The following YAML configuration was used to produce this model:
28
+
29
+ ```yaml
30
+ base_model: SillyTilly/mistralai_Mistral-Nemo-Base-2407
31
+ dtype: bfloat16
32
+ merge_method: ties
33
+ parameters:
34
+ normalize: true
35
+ int8_mask: true
36
+ lambda: 0.8
37
+ slices:
38
+ - sources:
39
+ - model: SillyTilly/mistralai_Mistral-Nemo-Base-2407
40
+ layer_range: [0, -1]
41
+ parameters:
42
+ weight: 1.0
43
+ density: 0.6
44
+ - model: SillyTilly/mistralai_Mistral-Nemo-Instruct-2407
45
+ layer_range: [0, -1]
46
+ parameters:
47
+ weight: 0.7
48
+ density: 0.6
49
+ tie_alpha: 0.3
50
+ tie_norm: L2
51
+ merge_verbose: true
52
+
53
+ ```
config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "SillyTilly/mistralai_Mistral-Nemo-Base-2407",
3
+ "architectures": [
4
+ "MistralForCausalLM"
5
+ ],
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": 5120,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 14336,
14
+ "max_position_embeddings": 1024000,
15
+ "model_type": "mistral",
16
+ "num_attention_heads": 32,
17
+ "num_hidden_layers": -1,
18
+ "num_key_value_heads": 8,
19
+ "rms_norm_eps": 1e-05,
20
+ "rope_theta": 1000000.0,
21
+ "sliding_window": null,
22
+ "tie_word_embeddings": false,
23
+ "torch_dtype": "bfloat16",
24
+ "transformers_version": "4.44.1",
25
+ "use_cache": true,
26
+ "vocab_size": 131072
27
+ }
mergekit_config.yml ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ base_model: SillyTilly/mistralai_Mistral-Nemo-Base-2407
2
+ dtype: bfloat16
3
+ merge_method: ties
4
+ parameters:
5
+ normalize: true
6
+ int8_mask: true
7
+ lambda: 0.8
8
+ slices:
9
+ - sources:
10
+ - model: SillyTilly/mistralai_Mistral-Nemo-Base-2407
11
+ layer_range: [0, -1]
12
+ parameters:
13
+ weight: 1.0
14
+ density: 0.6
15
+ - model: SillyTilly/mistralai_Mistral-Nemo-Instruct-2407
16
+ layer_range: [0, -1]
17
+ parameters:
18
+ weight: 0.7
19
+ density: 0.6
20
+ tie_alpha: 0.3
21
+ tie_norm: L2
22
+ merge_verbose: true
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model-00001-of-00001.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7e9922c06872ffdb62d24543c3b7ffd3382fd6386fcf36fbfe785c41c5240288
3
+ size 2684365128
model.safetensors.index.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"metadata": {"mergekit_version": "0.0.4.4", "total_size": 2684364800}, "weight_map": {"lm_head.weight": "model-00001-of-00001.safetensors", "model.embed_tokens.weight": "model-00001-of-00001.safetensors", "model.norm.weight": "model-00001-of-00001.safetensors"}}
special_tokens_map.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "unk_token": {
17
+ "content": "<unk>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ }
23
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
The diff for this file is too large to render. See raw diff
 
vocab.json ADDED
The diff for this file is too large to render. See raw diff