Upload folder using huggingface_hub
Browse files- README.md +1 -1
- adapter_config.json +5 -5
- adapter_model.safetensors +1 -1
- tokenizer_config.json +2 -2
- training_args.bin +1 -1
README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
---
|
| 2 |
-
base_model: microsoft/Phi-3
|
| 3 |
library_name: peft
|
| 4 |
---
|
| 5 |
|
|
|
|
| 1 |
---
|
| 2 |
+
base_model: microsoft/Phi-3-mini-4k-instruct
|
| 3 |
library_name: peft
|
| 4 |
---
|
| 5 |
|
adapter_config.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
{
|
| 2 |
"alpha_pattern": {},
|
| 3 |
"auto_mapping": null,
|
| 4 |
-
"base_model_name_or_path": "microsoft/Phi-3
|
| 5 |
"bias": "none",
|
| 6 |
"fan_in_fan_out": false,
|
| 7 |
"inference_mode": true,
|
|
@@ -10,7 +10,7 @@
|
|
| 10 |
"layers_pattern": null,
|
| 11 |
"layers_to_transform": null,
|
| 12 |
"loftq_config": {},
|
| 13 |
-
"lora_alpha":
|
| 14 |
"lora_dropout": 0.05,
|
| 15 |
"megatron_config": null,
|
| 16 |
"megatron_core": "megatron.core",
|
|
@@ -22,10 +22,10 @@
|
|
| 22 |
"target_modules": [
|
| 23 |
"gate_up_proj",
|
| 24 |
"qkv_proj",
|
| 25 |
-
"
|
| 26 |
-
"
|
| 27 |
],
|
| 28 |
"task_type": "CAUSAL_LM",
|
| 29 |
"use_dora": false,
|
| 30 |
-
"use_rslora":
|
| 31 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"alpha_pattern": {},
|
| 3 |
"auto_mapping": null,
|
| 4 |
+
"base_model_name_or_path": "microsoft/Phi-3-mini-4k-instruct",
|
| 5 |
"bias": "none",
|
| 6 |
"fan_in_fan_out": false,
|
| 7 |
"inference_mode": true,
|
|
|
|
| 10 |
"layers_pattern": null,
|
| 11 |
"layers_to_transform": null,
|
| 12 |
"loftq_config": {},
|
| 13 |
+
"lora_alpha": 32,
|
| 14 |
"lora_dropout": 0.05,
|
| 15 |
"megatron_config": null,
|
| 16 |
"megatron_core": "megatron.core",
|
|
|
|
| 22 |
"target_modules": [
|
| 23 |
"gate_up_proj",
|
| 24 |
"qkv_proj",
|
| 25 |
+
"o_proj",
|
| 26 |
+
"down_proj"
|
| 27 |
],
|
| 28 |
"task_type": "CAUSAL_LM",
|
| 29 |
"use_dora": false,
|
| 30 |
+
"use_rslora": true
|
| 31 |
}
|
adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 805341552
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3e4e3acb35584160ca3fe3e71c09ebe3d62b4d1be977c553bfc2ddbd369c851b
|
| 3 |
size 805341552
|
tokenizer_config.json
CHANGED
|
@@ -117,11 +117,11 @@
|
|
| 117 |
}
|
| 118 |
},
|
| 119 |
"bos_token": "<s>",
|
| 120 |
-
"chat_template": "{% for message in messages %}{% if message['role'] == 'system'
|
| 121 |
"clean_up_tokenization_spaces": false,
|
| 122 |
"eos_token": "<|endoftext|>",
|
| 123 |
"legacy": false,
|
| 124 |
-
"model_max_length":
|
| 125 |
"pad_token": "<|endoftext|>",
|
| 126 |
"padding_side": "right",
|
| 127 |
"sp_model_kwargs": {},
|
|
|
|
| 117 |
}
|
| 118 |
},
|
| 119 |
"bos_token": "<s>",
|
| 120 |
+
"chat_template": "{% for message in messages %}{% if message['role'] == 'system' %}{{'<|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": 4096,
|
| 125 |
"pad_token": "<|endoftext|>",
|
| 126 |
"padding_side": "right",
|
| 127 |
"sp_model_kwargs": {},
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 5368
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:89f329e94931cc3b2c58cdbef97e180ed194dfbb6f26bd8ea078c454020a5da2
|
| 3 |
size 5368
|