taewan2002
commited on
Commit
•
d78773b
1
Parent(s):
0e2dd85
Upload folder using huggingface_hub
Browse files- README.md +4 -4
- config.json +2 -2
- mergekit_config.yml +2 -2
- model-00001-of-00006.safetensors +1 -1
- model-00002-of-00006.safetensors +1 -1
- model-00003-of-00006.safetensors +1 -1
- model-00004-of-00006.safetensors +1 -1
- model-00005-of-00006.safetensors +1 -1
- model-00006-of-00006.safetensors +1 -1
- special_tokens_map.json +8 -1
- tokenizer.json +1 -1
- tokenizer_config.json +3 -2
README.md
CHANGED
@@ -15,12 +15,12 @@ This is a merge of pre-trained language models created using [mergekit](https://
|
|
15 |
## Merge Details
|
16 |
### Merge Method
|
17 |
|
18 |
-
This model was merged using the [DARE](https://arxiv.org/abs/2311.03099) [TIES](https://arxiv.org/abs/2306.01708) merge method using [
|
19 |
|
20 |
### Models Merged
|
21 |
|
22 |
The following models were included in the merge:
|
23 |
-
* [
|
24 |
|
25 |
### Configuration
|
26 |
|
@@ -28,13 +28,13 @@ The following YAML configuration was used to produce this model:
|
|
28 |
|
29 |
```yaml
|
30 |
models:
|
31 |
-
- model: beomi/Llama-3-Open-Ko-8B
|
32 |
- model: ProbeMedicalYonseiMAILab/medllama3-v20
|
|
|
33 |
parameters:
|
34 |
density: 0.8
|
35 |
weight: 0.45
|
36 |
merge_method: dare_ties
|
37 |
-
base_model:
|
38 |
parameters:
|
39 |
int8_mask: true
|
40 |
dtype: bfloat16
|
|
|
15 |
## Merge Details
|
16 |
### Merge Method
|
17 |
|
18 |
+
This model was merged using the [DARE](https://arxiv.org/abs/2311.03099) [TIES](https://arxiv.org/abs/2306.01708) merge method using [ProbeMedicalYonseiMAILab/medllama3-v20](https://huggingface.co/ProbeMedicalYonseiMAILab/medllama3-v20) as a base.
|
19 |
|
20 |
### Models Merged
|
21 |
|
22 |
The following models were included in the merge:
|
23 |
+
* [beomi/Llama-3-Open-Ko-8B](https://huggingface.co/beomi/Llama-3-Open-Ko-8B)
|
24 |
|
25 |
### Configuration
|
26 |
|
|
|
28 |
|
29 |
```yaml
|
30 |
models:
|
|
|
31 |
- model: ProbeMedicalYonseiMAILab/medllama3-v20
|
32 |
+
- model: beomi/Llama-3-Open-Ko-8B
|
33 |
parameters:
|
34 |
density: 0.8
|
35 |
weight: 0.45
|
36 |
merge_method: dare_ties
|
37 |
+
base_model: ProbeMedicalYonseiMAILab/medllama3-v20
|
38 |
parameters:
|
39 |
int8_mask: true
|
40 |
dtype: bfloat16
|
config.json
CHANGED
@@ -1,12 +1,12 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
"LlamaForCausalLM"
|
5 |
],
|
6 |
"attention_bias": false,
|
7 |
"attention_dropout": 0.0,
|
8 |
"bos_token_id": 128000,
|
9 |
-
"eos_token_id":
|
10 |
"hidden_act": "silu",
|
11 |
"hidden_size": 4096,
|
12 |
"initializer_range": 0.02,
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "ProbeMedicalYonseiMAILab/medllama3-v20",
|
3 |
"architectures": [
|
4 |
"LlamaForCausalLM"
|
5 |
],
|
6 |
"attention_bias": false,
|
7 |
"attention_dropout": 0.0,
|
8 |
"bos_token_id": 128000,
|
9 |
+
"eos_token_id": 128009,
|
10 |
"hidden_act": "silu",
|
11 |
"hidden_size": 4096,
|
12 |
"initializer_range": 0.02,
|
mergekit_config.yml
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
models:
|
2 |
-
- model: beomi/Llama-3-Open-Ko-8B
|
3 |
- model: ProbeMedicalYonseiMAILab/medllama3-v20
|
|
|
4 |
parameters:
|
5 |
density: 0.8
|
6 |
weight: 0.45
|
7 |
merge_method: dare_ties
|
8 |
-
base_model:
|
9 |
parameters:
|
10 |
int8_mask: true
|
11 |
dtype: bfloat16
|
|
|
1 |
models:
|
|
|
2 |
- model: ProbeMedicalYonseiMAILab/medllama3-v20
|
3 |
+
- model: beomi/Llama-3-Open-Ko-8B
|
4 |
parameters:
|
5 |
density: 0.8
|
6 |
weight: 0.45
|
7 |
merge_method: dare_ties
|
8 |
+
base_model: ProbeMedicalYonseiMAILab/medllama3-v20
|
9 |
parameters:
|
10 |
int8_mask: true
|
11 |
dtype: bfloat16
|
model-00001-of-00006.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 2973804928
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a9ffab6c97ecfb98666e923fef62a82dea0cd9a1e2386e944cca88969b94319a
|
3 |
size 2973804928
|
model-00002-of-00006.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 2978069224
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1a35084ac65c951d0fe52455bc90aac0e58049c3537d4df35a2aa4b6b13457ad
|
3 |
size 2978069224
|
model-00003-of-00006.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 2927737664
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cc6fb58c99db0e870678df0397bdf48e41c1fa485ea8d25c05627bb26d61342e
|
3 |
size 2927737664
|
model-00004-of-00006.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 2936134720
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2a15217eb6d887afe4c335ad83311ed6a8f8d241709274470474f25a0148399f
|
3 |
size 2936134720
|
model-00005-of-00006.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 2936134688
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f68ebb9aa96a5925e32a754b6b8683b28527af9ebc779d7835216db55f0c8fd3
|
3 |
size 2936134688
|
model-00006-of-00006.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 1308675104
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1f421ca5dd6c355b492a6341b094787dd230294657316d25042b522728e73f3a
|
3 |
size 1308675104
|
special_tokens_map.json
CHANGED
@@ -7,7 +7,14 @@
|
|
7 |
"single_word": false
|
8 |
},
|
9 |
"eos_token": {
|
10 |
-
"content": "<|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
"lstrip": false,
|
12 |
"normalized": false,
|
13 |
"rstrip": false,
|
|
|
7 |
"single_word": false
|
8 |
},
|
9 |
"eos_token": {
|
10 |
+
"content": "<|eot_id|>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": {
|
17 |
+
"content": "<|eot_id|>",
|
18 |
"lstrip": false,
|
19 |
"normalized": false,
|
20 |
"rstrip": false,
|
tokenizer.json
CHANGED
@@ -2407,7 +2407,7 @@
|
|
2407 |
"end_of_word_suffix": null,
|
2408 |
"fuse_unk": false,
|
2409 |
"byte_fallback": false,
|
2410 |
-
"ignore_merges":
|
2411 |
"vocab": {
|
2412 |
"!": 0,
|
2413 |
"\"": 1,
|
|
|
2407 |
"end_of_word_suffix": null,
|
2408 |
"fuse_unk": false,
|
2409 |
"byte_fallback": false,
|
2410 |
+
"ignore_merges": false,
|
2411 |
"vocab": {
|
2412 |
"!": 0,
|
2413 |
"\"": 1,
|
tokenizer_config.json
CHANGED
@@ -2050,13 +2050,14 @@
|
|
2050 |
}
|
2051 |
},
|
2052 |
"bos_token": "<|begin_of_text|>",
|
2053 |
-
"chat_template": "{%
|
2054 |
"clean_up_tokenization_spaces": true,
|
2055 |
-
"eos_token": "<|
|
2056 |
"model_input_names": [
|
2057 |
"input_ids",
|
2058 |
"attention_mask"
|
2059 |
],
|
2060 |
"model_max_length": 1000000000000000019884624838656,
|
|
|
2061 |
"tokenizer_class": "PreTrainedTokenizerFast"
|
2062 |
}
|
|
|
2050 |
}
|
2051 |
},
|
2052 |
"bos_token": "<|begin_of_text|>",
|
2053 |
+
"chat_template": "{% for message in messages %}{% if message['role'] == 'system' %}{{ message['content'] }}{% elif message['role'] == 'user' %}{{ '\n\nHuman: ' + message['content'] + eos_token }}{% elif message['role'] == 'assistant' %}{{ '\n\nAssistant: ' + message['content'] + eos_token }}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '\n\nAssistant: ' }}{% endif %}",
|
2054 |
"clean_up_tokenization_spaces": true,
|
2055 |
+
"eos_token": "<|eot_id|>",
|
2056 |
"model_input_names": [
|
2057 |
"input_ids",
|
2058 |
"attention_mask"
|
2059 |
],
|
2060 |
"model_max_length": 1000000000000000019884624838656,
|
2061 |
+
"pad_token": "<|eot_id|>",
|
2062 |
"tokenizer_class": "PreTrainedTokenizerFast"
|
2063 |
}
|