Model save
Browse files- README.md +4 -6
- adapter_config.json +4 -4
- adapter_model.safetensors +2 -2
- added_tokens.json +5 -0
- merges.txt +0 -0
- special_tokens_map.json +6 -16
- tokenizer.json +0 -0
- tokenizer_config.json +20 -20
- training_args.bin +2 -2
- vocab.json +0 -0
README.md
CHANGED
@@ -1,10 +1,8 @@
|
|
1 |
---
|
2 |
-
base_model:
|
3 |
library_name: peft
|
4 |
license: apache-2.0
|
5 |
tags:
|
6 |
-
- trl
|
7 |
-
- sft
|
8 |
- generated_from_trainer
|
9 |
model-index:
|
10 |
- name: output
|
@@ -16,9 +14,9 @@ should probably proofread and complete it, then remove this comment. -->
|
|
16 |
|
17 |
# output
|
18 |
|
19 |
-
This model is a fine-tuned version of [
|
20 |
It achieves the following results on the evaluation set:
|
21 |
-
- Loss:
|
22 |
|
23 |
## Model description
|
24 |
|
@@ -51,7 +49,7 @@ The following hyperparameters were used during training:
|
|
51 |
|
52 |
| Training Loss | Epoch | Step | Validation Loss |
|
53 |
|:-------------:|:-----:|:----:|:---------------:|
|
54 |
-
|
|
55 |
|
56 |
|
57 |
### Framework versions
|
|
|
1 |
---
|
2 |
+
base_model: Qwen/Qwen2-0.5B-Instruct
|
3 |
library_name: peft
|
4 |
license: apache-2.0
|
5 |
tags:
|
|
|
|
|
6 |
- generated_from_trainer
|
7 |
model-index:
|
8 |
- name: output
|
|
|
14 |
|
15 |
# output
|
16 |
|
17 |
+
This model is a fine-tuned version of [Qwen/Qwen2-0.5B-Instruct](https://huggingface.co/Qwen/Qwen2-0.5B-Instruct) on an unknown dataset.
|
18 |
It achieves the following results on the evaluation set:
|
19 |
+
- Loss: 2.5043
|
20 |
|
21 |
## Model description
|
22 |
|
|
|
49 |
|
50 |
| Training Loss | Epoch | Step | Validation Loss |
|
51 |
|:-------------:|:-----:|:----:|:---------------:|
|
52 |
+
| 2.4483 | 1.0 | 1250 | 2.5043 |
|
53 |
|
54 |
|
55 |
### Framework versions
|
adapter_config.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
{
|
2 |
"alpha_pattern": {},
|
3 |
"auto_mapping": null,
|
4 |
-
"base_model_name_or_path": "
|
5 |
"bias": "none",
|
6 |
"fan_in_fan_out": false,
|
7 |
"inference_mode": true,
|
@@ -20,10 +20,10 @@
|
|
20 |
"rank_pattern": {},
|
21 |
"revision": null,
|
22 |
"target_modules": [
|
23 |
-
"q_proj",
|
24 |
-
"o_proj",
|
25 |
"v_proj",
|
26 |
-
"k_proj"
|
|
|
|
|
27 |
],
|
28 |
"task_type": "CAUSAL_LM",
|
29 |
"use_dora": false,
|
|
|
1 |
{
|
2 |
"alpha_pattern": {},
|
3 |
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "Qwen/Qwen2-0.5B-Instruct",
|
5 |
"bias": "none",
|
6 |
"fan_in_fan_out": false,
|
7 |
"inference_mode": true,
|
|
|
20 |
"rank_pattern": {},
|
21 |
"revision": null,
|
22 |
"target_modules": [
|
|
|
|
|
23 |
"v_proj",
|
24 |
+
"k_proj",
|
25 |
+
"o_proj",
|
26 |
+
"q_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:67f3d8b947d17b0ef8afed0dbddff7111c084a73395347cccd3a62e250ba8e65
|
3 |
+
size 34628576
|
added_tokens.json
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"<|endoftext|>": 151643,
|
3 |
+
"<|im_end|>": 151645,
|
4 |
+
"<|im_start|>": 151644
|
5 |
+
}
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
special_tokens_map.json
CHANGED
@@ -1,24 +1,14 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
-
"
|
4 |
-
"
|
5 |
-
|
6 |
-
"rstrip": false,
|
7 |
-
"single_word": false
|
8 |
-
},
|
9 |
"eos_token": {
|
10 |
-
"content": "
|
11 |
"lstrip": false,
|
12 |
"normalized": false,
|
13 |
"rstrip": false,
|
14 |
"single_word": false
|
15 |
},
|
16 |
-
"pad_token": "
|
17 |
-
"unk_token": {
|
18 |
-
"content": "<unk>",
|
19 |
-
"lstrip": false,
|
20 |
-
"normalized": false,
|
21 |
-
"rstrip": false,
|
22 |
-
"single_word": false
|
23 |
-
}
|
24 |
}
|
|
|
1 |
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"<|im_start|>",
|
4 |
+
"<|im_end|>"
|
5 |
+
],
|
|
|
|
|
|
|
6 |
"eos_token": {
|
7 |
+
"content": "<|im_end|>",
|
8 |
"lstrip": false,
|
9 |
"normalized": false,
|
10 |
"rstrip": false,
|
11 |
"single_word": false
|
12 |
},
|
13 |
+
"pad_token": "<|im_end|>"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
}
|
tokenizer.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
CHANGED
@@ -1,26 +1,24 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
-
"add_eos_token": false,
|
4 |
-
"add_prefix_space": null,
|
5 |
"added_tokens_decoder": {
|
6 |
-
"
|
7 |
-
"content": "
|
8 |
"lstrip": false,
|
9 |
"normalized": false,
|
10 |
"rstrip": false,
|
11 |
"single_word": false,
|
12 |
"special": true
|
13 |
},
|
14 |
-
"
|
15 |
-
"content": "
|
16 |
"lstrip": false,
|
17 |
"normalized": false,
|
18 |
"rstrip": false,
|
19 |
"single_word": false,
|
20 |
"special": true
|
21 |
},
|
22 |
-
"
|
23 |
-
"content": "
|
24 |
"lstrip": false,
|
25 |
"normalized": false,
|
26 |
"rstrip": false,
|
@@ -28,16 +26,18 @@
|
|
28 |
"special": true
|
29 |
}
|
30 |
},
|
31 |
-
"
|
32 |
-
|
|
|
|
|
|
|
|
|
33 |
"clean_up_tokenization_spaces": false,
|
34 |
-
"eos_token": "
|
35 |
-
"
|
36 |
-
"model_max_length":
|
37 |
-
"pad_token": "
|
38 |
-
"
|
39 |
-
"
|
40 |
-
"
|
41 |
-
"unk_token": "<unk>",
|
42 |
-
"use_default_system_prompt": false
|
43 |
}
|
|
|
1 |
{
|
2 |
+
"add_prefix_space": false,
|
|
|
|
|
3 |
"added_tokens_decoder": {
|
4 |
+
"151643": {
|
5 |
+
"content": "<|endoftext|>",
|
6 |
"lstrip": false,
|
7 |
"normalized": false,
|
8 |
"rstrip": false,
|
9 |
"single_word": false,
|
10 |
"special": true
|
11 |
},
|
12 |
+
"151644": {
|
13 |
+
"content": "<|im_start|>",
|
14 |
"lstrip": false,
|
15 |
"normalized": false,
|
16 |
"rstrip": false,
|
17 |
"single_word": false,
|
18 |
"special": true
|
19 |
},
|
20 |
+
"151645": {
|
21 |
+
"content": "<|im_end|>",
|
22 |
"lstrip": false,
|
23 |
"normalized": false,
|
24 |
"rstrip": false,
|
|
|
26 |
"special": true
|
27 |
}
|
28 |
},
|
29 |
+
"additional_special_tokens": [
|
30 |
+
"<|im_start|>",
|
31 |
+
"<|im_end|>"
|
32 |
+
],
|
33 |
+
"bos_token": null,
|
34 |
+
"chat_template": "{% for message in messages %}{% if loop.first and messages[0]['role'] != 'system' %}{{ '<|im_start|>system\nYou are a helpful assistant.<|im_end|>\n' }}{% endif %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
|
35 |
"clean_up_tokenization_spaces": false,
|
36 |
+
"eos_token": "<|im_end|>",
|
37 |
+
"errors": "replace",
|
38 |
+
"model_max_length": 32768,
|
39 |
+
"pad_token": "<|im_end|>",
|
40 |
+
"split_special_tokens": false,
|
41 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
42 |
+
"unk_token": null
|
|
|
|
|
43 |
}
|
training_args.bin
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:48965fb6ac5944d0c535a76076f7b88ca4a5b055e1e4d1d7f895e7da69e44c8a
|
3 |
+
size 5176
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|