ssmits commited on
Commit
6d286d2
1 Parent(s): 9c6bbf8

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model:
3
+ - tiiuae/falcon-11B
4
+ library_name: transformers
5
+ tags:
6
+ - mergekit
7
+ - merge
8
+
9
+ ---
10
+ # merge
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
+ * [tiiuae/falcon-11B](https://huggingface.co/tiiuae/falcon-11B)
23
+
24
+ ### Configuration
25
+
26
+ The following YAML configuration was used to produce this model:
27
+
28
+ ```yaml
29
+
30
+ slices:
31
+ - sources:
32
+ - model: tiiuae/falcon-11B
33
+ layer_range: [0, 14]
34
+ - sources:
35
+ - model: tiiuae/falcon-11B
36
+ layer_range: [58, 59]
37
+ merge_method: passthrough
38
+ dtype: bfloat16
39
+
40
+ ```
config.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "tiiuae/falcon-11B",
3
+ "activation": "gelu",
4
+ "alibi": false,
5
+ "architectures": [
6
+ "FalconForCausalLM"
7
+ ],
8
+ "attention_dropout": 0.0,
9
+ "auto_map": {
10
+ "AutoConfig": "tiiuae/falcon-11B--configuration_falcon.FalconConfig",
11
+ "AutoModel": "tiiuae/falcon-11B--modeling_falcon.FalconModel",
12
+ "AutoModelForCausalLM": "tiiuae/falcon-11B--modeling_falcon.FalconForCausalLM",
13
+ "AutoModelForQuestionAnswering": "tiiuae/falcon-11B--modeling_falcon.FalconForQuestionAnswering",
14
+ "AutoModelForSequenceClassification": "tiiuae/falcon-11B--modeling_falcon.FalconForSequenceClassification",
15
+ "AutoModelForTokenClassification": "tiiuae/falcon-11B--modeling_falcon.FalconForTokenClassification"
16
+ },
17
+ "bias": false,
18
+ "bos_token_id": 11,
19
+ "eos_token_id": 11,
20
+ "ff_factor": 4,
21
+ "ffn_hidden_size": 16384,
22
+ "hidden_dropout": 0.0,
23
+ "hidden_size": 4096,
24
+ "initializer_range": 0.02,
25
+ "layer_norm_epsilon": 1e-05,
26
+ "max_position_embeddings": 8192,
27
+ "model_type": "falcon",
28
+ "multi_query": true,
29
+ "new_decoder_architecture": true,
30
+ "num_attention_heads": 32,
31
+ "num_hidden_layers": 15,
32
+ "num_kv_heads": 8,
33
+ "num_ln_in_parallel_attn": 1,
34
+ "parallel_attn": true,
35
+ "rope_scaling": null,
36
+ "rope_theta": 500042.0,
37
+ "tie_word_embeddings": false,
38
+ "torch_dtype": "bfloat16",
39
+ "transformers_version": "4.42.3",
40
+ "use_cache": true,
41
+ "vocab_size": 65024
42
+ }
mergekit_config.yml ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ slices:
3
+ - sources:
4
+ - model: tiiuae/falcon-11B
5
+ layer_range: [0, 14]
6
+ - sources:
7
+ - model: tiiuae/falcon-11B
8
+ layer_range: [58, 59]
9
+ merge_method: passthrough
10
+ dtype: bfloat16
model-00001-of-00007.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:be473743446f6310af51e0c376f85362497f956b299ae82088be850871ebe058
3
+ size 885031960
model-00002-of-00007.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f7958aad384a953d794c245dc1fb049cf2e88db6555ebef8a37db39727a4f268
3
+ size 973112984
model-00003-of-00007.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6af88d2b4088e25940d9ed659d6c5d51a6f45ea30ebc6225df8566e6a1b4889b
3
+ size 922798064
model-00004-of-00007.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9a4d2a53884c65e30d3d5accbfe6da44300241ec0858e1ce6ea5b57e2170cdb8
3
+ size 922798064
model-00005-of-00007.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:251be00d26c131569bdc3581d9d8c76c62d9f0cde1acb3ef04da3ffc37c47cb9
3
+ size 973112960
model-00006-of-00007.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:67831f9550c08191e7d2fd3db9894f450ed021284e73c22e147b796b8de0ba1c
3
+ size 922798056
model-00007-of-00007.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1067d933aff18dee2cb3dccae118097ecec785625a688e64ee753c2d93313a3a
3
+ size 750797504
model.safetensors.index.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"metadata": {"mergekit_version": "0.0.4.4", "total_size": 6350438400}, "weight_map": {"lm_head.weight": "model-00001-of-00007.safetensors", "transformer.h.0.input_layernorm.bias": "model-00001-of-00007.safetensors", "transformer.h.0.input_layernorm.weight": "model-00001-of-00007.safetensors", "transformer.h.0.mlp.dense_4h_to_h.weight": "model-00001-of-00007.safetensors", "transformer.h.0.mlp.dense_h_to_4h.weight": "model-00001-of-00007.safetensors", "transformer.h.0.self_attention.dense.weight": "model-00001-of-00007.safetensors", "transformer.h.0.self_attention.query_key_value.weight": "model-00001-of-00007.safetensors", "transformer.h.1.input_layernorm.bias": "model-00001-of-00007.safetensors", "transformer.h.1.input_layernorm.weight": "model-00001-of-00007.safetensors", "transformer.h.1.mlp.dense_4h_to_h.weight": "model-00002-of-00007.safetensors", "transformer.h.1.mlp.dense_h_to_4h.weight": "model-00002-of-00007.safetensors", "transformer.h.1.self_attention.dense.weight": "model-00002-of-00007.safetensors", "transformer.h.1.self_attention.query_key_value.weight": "model-00002-of-00007.safetensors", "transformer.h.10.input_layernorm.bias": "model-00002-of-00007.safetensors", "transformer.h.10.input_layernorm.weight": "model-00002-of-00007.safetensors", "transformer.h.10.mlp.dense_4h_to_h.weight": "model-00002-of-00007.safetensors", "transformer.h.10.mlp.dense_h_to_4h.weight": "model-00002-of-00007.safetensors", "transformer.h.10.self_attention.dense.weight": "model-00002-of-00007.safetensors", "transformer.h.10.self_attention.query_key_value.weight": "model-00002-of-00007.safetensors", "transformer.h.11.input_layernorm.bias": "model-00002-of-00007.safetensors", "transformer.h.11.input_layernorm.weight": "model-00002-of-00007.safetensors", "transformer.h.11.mlp.dense_4h_to_h.weight": "model-00002-of-00007.safetensors", "transformer.h.11.mlp.dense_h_to_4h.weight": "model-00002-of-00007.safetensors", "transformer.h.11.self_attention.dense.weight": "model-00003-of-00007.safetensors", "transformer.h.11.self_attention.query_key_value.weight": "model-00003-of-00007.safetensors", "transformer.h.12.input_layernorm.bias": "model-00003-of-00007.safetensors", "transformer.h.12.input_layernorm.weight": "model-00003-of-00007.safetensors", "transformer.h.12.mlp.dense_4h_to_h.weight": "model-00003-of-00007.safetensors", "transformer.h.12.mlp.dense_h_to_4h.weight": "model-00003-of-00007.safetensors", "transformer.h.12.self_attention.dense.weight": "model-00003-of-00007.safetensors", "transformer.h.12.self_attention.query_key_value.weight": "model-00003-of-00007.safetensors", "transformer.h.13.input_layernorm.bias": "model-00003-of-00007.safetensors", "transformer.h.13.input_layernorm.weight": "model-00003-of-00007.safetensors", "transformer.h.13.mlp.dense_4h_to_h.weight": "model-00003-of-00007.safetensors", "transformer.h.13.mlp.dense_h_to_4h.weight": "model-00003-of-00007.safetensors", "transformer.h.13.self_attention.dense.weight": "model-00003-of-00007.safetensors", "transformer.h.13.self_attention.query_key_value.weight": "model-00003-of-00007.safetensors", "transformer.h.2.input_layernorm.bias": "model-00003-of-00007.safetensors", "transformer.h.2.input_layernorm.weight": "model-00003-of-00007.safetensors", "transformer.h.2.mlp.dense_4h_to_h.weight": "model-00003-of-00007.safetensors", "transformer.h.2.mlp.dense_h_to_4h.weight": "model-00004-of-00007.safetensors", "transformer.h.2.self_attention.dense.weight": "model-00004-of-00007.safetensors", "transformer.h.2.self_attention.query_key_value.weight": "model-00004-of-00007.safetensors", "transformer.h.3.input_layernorm.bias": "model-00004-of-00007.safetensors", "transformer.h.3.input_layernorm.weight": "model-00004-of-00007.safetensors", "transformer.h.3.mlp.dense_4h_to_h.weight": "model-00004-of-00007.safetensors", "transformer.h.3.mlp.dense_h_to_4h.weight": "model-00004-of-00007.safetensors", "transformer.h.3.self_attention.dense.weight": "model-00004-of-00007.safetensors", "transformer.h.3.self_attention.query_key_value.weight": "model-00004-of-00007.safetensors", "transformer.h.4.input_layernorm.bias": "model-00004-of-00007.safetensors", "transformer.h.4.input_layernorm.weight": "model-00004-of-00007.safetensors", "transformer.h.4.mlp.dense_4h_to_h.weight": "model-00004-of-00007.safetensors", "transformer.h.4.mlp.dense_h_to_4h.weight": "model-00004-of-00007.safetensors", "transformer.h.4.self_attention.dense.weight": "model-00004-of-00007.safetensors", "transformer.h.4.self_attention.query_key_value.weight": "model-00004-of-00007.safetensors", "transformer.h.5.input_layernorm.bias": "model-00004-of-00007.safetensors", "transformer.h.5.input_layernorm.weight": "model-00004-of-00007.safetensors", "transformer.h.5.mlp.dense_4h_to_h.weight": "model-00005-of-00007.safetensors", "transformer.h.5.mlp.dense_h_to_4h.weight": "model-00005-of-00007.safetensors", "transformer.h.5.self_attention.dense.weight": "model-00005-of-00007.safetensors", "transformer.h.5.self_attention.query_key_value.weight": "model-00005-of-00007.safetensors", "transformer.h.14.input_layernorm.bias": "model-00005-of-00007.safetensors", "transformer.h.14.input_layernorm.weight": "model-00005-of-00007.safetensors", "transformer.h.14.mlp.dense_4h_to_h.weight": "model-00005-of-00007.safetensors", "transformer.h.14.mlp.dense_h_to_4h.weight": "model-00005-of-00007.safetensors", "transformer.h.14.self_attention.dense.weight": "model-00005-of-00007.safetensors", "transformer.h.14.self_attention.query_key_value.weight": "model-00005-of-00007.safetensors", "transformer.h.6.input_layernorm.bias": "model-00005-of-00007.safetensors", "transformer.h.6.input_layernorm.weight": "model-00005-of-00007.safetensors", "transformer.h.6.mlp.dense_4h_to_h.weight": "model-00005-of-00007.safetensors", "transformer.h.6.mlp.dense_h_to_4h.weight": "model-00005-of-00007.safetensors", "transformer.h.6.self_attention.dense.weight": "model-00006-of-00007.safetensors", "transformer.h.6.self_attention.query_key_value.weight": "model-00006-of-00007.safetensors", "transformer.h.7.input_layernorm.bias": "model-00006-of-00007.safetensors", "transformer.h.7.input_layernorm.weight": "model-00006-of-00007.safetensors", "transformer.h.7.mlp.dense_4h_to_h.weight": "model-00006-of-00007.safetensors", "transformer.h.7.mlp.dense_h_to_4h.weight": "model-00006-of-00007.safetensors", "transformer.h.7.self_attention.dense.weight": "model-00006-of-00007.safetensors", "transformer.h.7.self_attention.query_key_value.weight": "model-00006-of-00007.safetensors", "transformer.h.8.input_layernorm.bias": "model-00006-of-00007.safetensors", "transformer.h.8.input_layernorm.weight": "model-00006-of-00007.safetensors", "transformer.h.8.mlp.dense_4h_to_h.weight": "model-00006-of-00007.safetensors", "transformer.h.8.mlp.dense_h_to_4h.weight": "model-00006-of-00007.safetensors", "transformer.h.8.self_attention.dense.weight": "model-00006-of-00007.safetensors", "transformer.h.8.self_attention.query_key_value.weight": "model-00006-of-00007.safetensors", "transformer.h.9.input_layernorm.bias": "model-00006-of-00007.safetensors", "transformer.h.9.input_layernorm.weight": "model-00006-of-00007.safetensors", "transformer.h.9.mlp.dense_4h_to_h.weight": "model-00006-of-00007.safetensors", "transformer.h.9.mlp.dense_h_to_4h.weight": "model-00007-of-00007.safetensors", "transformer.h.9.self_attention.dense.weight": "model-00007-of-00007.safetensors", "transformer.h.9.self_attention.query_key_value.weight": "model-00007-of-00007.safetensors", "transformer.ln_f.bias": "model-00007-of-00007.safetensors", "transformer.ln_f.weight": "model-00007-of-00007.safetensors", "transformer.word_embeddings.weight": "model-00007-of-00007.safetensors"}}
special_tokens_map.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ ">>TITLE<<",
4
+ ">>ABSTRACT<<",
5
+ ">>INTRODUCTION<<",
6
+ ">>SUMMARY<<",
7
+ ">>COMMENT<<",
8
+ ">>ANSWER<<",
9
+ ">>QUESTION<<",
10
+ ">>DOMAIN<<",
11
+ ">>PREFIX<<",
12
+ ">>SUFFIX<<",
13
+ ">>MIDDLE<<"
14
+ ],
15
+ "bos_token": {
16
+ "content": ">>",
17
+ "lstrip": false,
18
+ "normalized": false,
19
+ "rstrip": false,
20
+ "single_word": false
21
+ },
22
+ "eos_token": {
23
+ "content": "<|endoftext|>",
24
+ "lstrip": false,
25
+ "normalized": false,
26
+ "rstrip": false,
27
+ "single_word": false
28
+ },
29
+ "pad_token": {
30
+ "content": "<|endoftext|>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false
35
+ }
36
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,135 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": ">>TITLE<<",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "1": {
13
+ "content": ">>ABSTRACT<<",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "2": {
21
+ "content": ">>INTRODUCTION<<",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "3": {
29
+ "content": ">>SUMMARY<<",
30
+ "lstrip": false,
31
+ "normalized": false,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "4": {
37
+ "content": ">>COMMENT<<",
38
+ "lstrip": false,
39
+ "normalized": false,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ },
44
+ "5": {
45
+ "content": ">>ANSWER<<",
46
+ "lstrip": false,
47
+ "normalized": false,
48
+ "rstrip": false,
49
+ "single_word": false,
50
+ "special": true
51
+ },
52
+ "6": {
53
+ "content": ">>QUESTION<<",
54
+ "lstrip": false,
55
+ "normalized": false,
56
+ "rstrip": false,
57
+ "single_word": false,
58
+ "special": true
59
+ },
60
+ "7": {
61
+ "content": ">>DOMAIN<<",
62
+ "lstrip": false,
63
+ "normalized": false,
64
+ "rstrip": false,
65
+ "single_word": false,
66
+ "special": true
67
+ },
68
+ "8": {
69
+ "content": ">>PREFIX<<",
70
+ "lstrip": false,
71
+ "normalized": false,
72
+ "rstrip": false,
73
+ "single_word": false,
74
+ "special": true
75
+ },
76
+ "9": {
77
+ "content": ">>SUFFIX<<",
78
+ "lstrip": false,
79
+ "normalized": false,
80
+ "rstrip": false,
81
+ "single_word": false,
82
+ "special": true
83
+ },
84
+ "10": {
85
+ "content": ">>MIDDLE<<",
86
+ "lstrip": false,
87
+ "normalized": false,
88
+ "rstrip": false,
89
+ "single_word": false,
90
+ "special": true
91
+ },
92
+ "11": {
93
+ "content": "<|endoftext|>",
94
+ "lstrip": false,
95
+ "normalized": false,
96
+ "rstrip": false,
97
+ "single_word": false,
98
+ "special": true
99
+ },
100
+ "500": {
101
+ "content": ">>",
102
+ "lstrip": false,
103
+ "normalized": false,
104
+ "rstrip": false,
105
+ "single_word": false,
106
+ "special": true
107
+ }
108
+ },
109
+ "additional_special_tokens": [
110
+ ">>TITLE<<",
111
+ ">>ABSTRACT<<",
112
+ ">>INTRODUCTION<<",
113
+ ">>SUMMARY<<",
114
+ ">>COMMENT<<",
115
+ ">>ANSWER<<",
116
+ ">>QUESTION<<",
117
+ ">>DOMAIN<<",
118
+ ">>PREFIX<<",
119
+ ">>SUFFIX<<",
120
+ ">>MIDDLE<<"
121
+ ],
122
+ "bos_token": ">>",
123
+ "chat_template": "{% for message in messages %}\n{% if message['role'] == 'user' %}\n{{ 'User: \n' + message['content'] }}\n{% elif message['role'] == 'system' %}\n{{ 'System: ' + message['content'] }}\n{% elif message['role'] == 'assistant' %}\n{{ 'Falcon:\n' + message['content']}}\n{% endif %}\n{% if loop.last and add_generation_prompt %}\n{{ 'Falcon:' }}\n{% endif %}\n{% endfor %}",
124
+ "clean_up_tokenization_spaces": true,
125
+ "device_map": "cuda:2",
126
+ "eos_token": "<|endoftext|>",
127
+ "model_input_names": [
128
+ "input_ids",
129
+ "attention_mask"
130
+ ],
131
+ "model_max_length": 1000000000000000019884624838656,
132
+ "pad_token": "<|endoftext|>",
133
+ "padding_side": "left",
134
+ "tokenizer_class": "PreTrainedTokenizerFast"
135
+ }