Upload folder using huggingface_hub
Browse files- adapter_config.json +6 -6
- adapter_model.safetensors +2 -2
- special_tokens_map.json +0 -9
- tokenizer.json +1 -1
- tokenizer_config.json +3 -8
adapter_config.json
CHANGED
|
@@ -10,20 +10,20 @@
|
|
| 10 |
"layers_pattern": null,
|
| 11 |
"layers_to_transform": null,
|
| 12 |
"loftq_config": {},
|
| 13 |
-
"lora_alpha":
|
| 14 |
-
"lora_dropout": 0.
|
| 15 |
"megatron_config": null,
|
| 16 |
"megatron_core": "megatron.core",
|
| 17 |
"modules_to_save": null,
|
| 18 |
"peft_type": "LORA",
|
| 19 |
-
"r":
|
| 20 |
"rank_pattern": {},
|
| 21 |
"revision": null,
|
| 22 |
"target_modules": [
|
| 23 |
-
"down_proj",
|
| 24 |
-
"gate_up_proj",
|
| 25 |
"o_proj",
|
| 26 |
-
"qkv_proj"
|
|
|
|
|
|
|
| 27 |
],
|
| 28 |
"task_type": "CAUSAL_LM",
|
| 29 |
"use_dora": false,
|
|
|
|
| 10 |
"layers_pattern": null,
|
| 11 |
"layers_to_transform": null,
|
| 12 |
"loftq_config": {},
|
| 13 |
+
"lora_alpha": 16,
|
| 14 |
+
"lora_dropout": 0.0,
|
| 15 |
"megatron_config": null,
|
| 16 |
"megatron_core": "megatron.core",
|
| 17 |
"modules_to_save": null,
|
| 18 |
"peft_type": "LORA",
|
| 19 |
+
"r": 16,
|
| 20 |
"rank_pattern": {},
|
| 21 |
"revision": null,
|
| 22 |
"target_modules": [
|
|
|
|
|
|
|
| 23 |
"o_proj",
|
| 24 |
+
"qkv_proj",
|
| 25 |
+
"down_proj",
|
| 26 |
+
"gate_up_proj"
|
| 27 |
],
|
| 28 |
"task_type": "CAUSAL_LM",
|
| 29 |
"use_dora": false,
|
adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cd961c1fd17706a5f2bbda2e19098a0d8132355eed3959aa333b182d273b4cf0
|
| 3 |
+
size 100697728
|
special_tokens_map.json
CHANGED
|
@@ -1,13 +1,4 @@
|
|
| 1 |
{
|
| 2 |
-
"additional_special_tokens": [
|
| 3 |
-
{
|
| 4 |
-
"content": "<|end|>",
|
| 5 |
-
"lstrip": false,
|
| 6 |
-
"normalized": false,
|
| 7 |
-
"rstrip": false,
|
| 8 |
-
"single_word": false
|
| 9 |
-
}
|
| 10 |
-
],
|
| 11 |
"bos_token": {
|
| 12 |
"content": "<s>",
|
| 13 |
"lstrip": false,
|
|
|
|
| 1 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
"bos_token": {
|
| 3 |
"content": "<s>",
|
| 4 |
"lstrip": false,
|
tokenizer.json
CHANGED
|
@@ -98,7 +98,7 @@
|
|
| 98 |
"content": "<|end|>",
|
| 99 |
"single_word": false,
|
| 100 |
"lstrip": false,
|
| 101 |
-
"rstrip":
|
| 102 |
"normalized": false,
|
| 103 |
"special": true
|
| 104 |
},
|
|
|
|
| 98 |
"content": "<|end|>",
|
| 99 |
"single_word": false,
|
| 100 |
"lstrip": false,
|
| 101 |
+
"rstrip": true,
|
| 102 |
"normalized": false,
|
| 103 |
"special": true
|
| 104 |
},
|
tokenizer_config.json
CHANGED
|
@@ -87,7 +87,7 @@
|
|
| 87 |
"content": "<|end|>",
|
| 88 |
"lstrip": false,
|
| 89 |
"normalized": false,
|
| 90 |
-
"rstrip":
|
| 91 |
"single_word": false,
|
| 92 |
"special": true
|
| 93 |
},
|
|
@@ -116,20 +116,15 @@
|
|
| 116 |
"special": true
|
| 117 |
}
|
| 118 |
},
|
| 119 |
-
"additional_special_tokens": [
|
| 120 |
-
"<|end|>"
|
| 121 |
-
],
|
| 122 |
"bos_token": "<s>",
|
| 123 |
"chat_template": "{% for message in messages %}{% if message['role'] == 'system' and message['content'] %}{{'<|system|>\n' + message['content'] + '<|end|>\n'}}{% elif message['role'] == 'user' %}{{'<|user|>\n' + message['content'] + '<|end|>\n'}}{% elif message['role'] == 'assistant' %}{{'<|assistant|>\n' + message['content'] + '<|end|>\n'}}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '<|assistant|>\n' }}{% else %}{{ eos_token }}{% endif %}",
|
| 124 |
"clean_up_tokenization_spaces": false,
|
| 125 |
"eos_token": "<|endoftext|>",
|
| 126 |
-
"extra_special_tokens": {},
|
| 127 |
"legacy": false,
|
| 128 |
-
"model_max_length":
|
| 129 |
"pad_token": "<|endoftext|>",
|
| 130 |
-
"padding_side": "
|
| 131 |
"sp_model_kwargs": {},
|
| 132 |
-
"split_special_tokens": false,
|
| 133 |
"tokenizer_class": "LlamaTokenizer",
|
| 134 |
"unk_token": "<unk>",
|
| 135 |
"use_default_system_prompt": false
|
|
|
|
| 87 |
"content": "<|end|>",
|
| 88 |
"lstrip": false,
|
| 89 |
"normalized": false,
|
| 90 |
+
"rstrip": true,
|
| 91 |
"single_word": false,
|
| 92 |
"special": true
|
| 93 |
},
|
|
|
|
| 116 |
"special": true
|
| 117 |
}
|
| 118 |
},
|
|
|
|
|
|
|
|
|
|
| 119 |
"bos_token": "<s>",
|
| 120 |
"chat_template": "{% for message in messages %}{% if message['role'] == 'system' and message['content'] %}{{'<|system|>\n' + message['content'] + '<|end|>\n'}}{% elif message['role'] == 'user' %}{{'<|user|>\n' + message['content'] + '<|end|>\n'}}{% elif message['role'] == 'assistant' %}{{'<|assistant|>\n' + message['content'] + '<|end|>\n'}}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '<|assistant|>\n' }}{% else %}{{ eos_token }}{% endif %}",
|
| 121 |
"clean_up_tokenization_spaces": false,
|
| 122 |
"eos_token": "<|endoftext|>",
|
|
|
|
| 123 |
"legacy": false,
|
| 124 |
+
"model_max_length": 131072,
|
| 125 |
"pad_token": "<|endoftext|>",
|
| 126 |
+
"padding_side": "left",
|
| 127 |
"sp_model_kwargs": {},
|
|
|
|
| 128 |
"tokenizer_class": "LlamaTokenizer",
|
| 129 |
"unk_token": "<unk>",
|
| 130 |
"use_default_system_prompt": false
|