End of training
Browse files- README.md +15 -16
- adapter_config.json +4 -4
- adapter_model.safetensors +2 -2
- tokenizer.json +0 -0
- tokenizer.model +2 -2
- tokenizer_config.json +3 -4
README.md
CHANGED
@@ -1,11 +1,10 @@
|
|
1 |
---
|
2 |
-
license: apache-2.0
|
3 |
library_name: peft
|
4 |
tags:
|
5 |
- trl
|
6 |
- sft
|
7 |
- generated_from_trainer
|
8 |
-
base_model:
|
9 |
model-index:
|
10 |
- name: output
|
11 |
results: []
|
@@ -16,9 +15,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: 1.
|
22 |
|
23 |
## Model description
|
24 |
|
@@ -52,18 +51,18 @@ The following hyperparameters were used during training:
|
|
52 |
|
53 |
| Training Loss | Epoch | Step | Validation Loss |
|
54 |
|:-------------:|:-----:|:----:|:---------------:|
|
55 |
-
| 1.
|
56 |
-
|
|
57 |
-
| 1.
|
58 |
-
| 1.
|
59 |
-
| 1.
|
60 |
-
| 1.
|
61 |
-
| 1.
|
62 |
-
| 1.
|
63 |
-
| 1.
|
64 |
-
| 1.
|
65 |
-
| 1.
|
66 |
-
| 1.
|
67 |
|
68 |
|
69 |
### Framework versions
|
|
|
1 |
---
|
|
|
2 |
library_name: peft
|
3 |
tags:
|
4 |
- trl
|
5 |
- sft
|
6 |
- generated_from_trainer
|
7 |
+
base_model: meta-llama/Llama-2-7b-chat-hf
|
8 |
model-index:
|
9 |
- name: output
|
10 |
results: []
|
|
|
15 |
|
16 |
# output
|
17 |
|
18 |
+
This model is a fine-tuned version of [meta-llama/Llama-2-7b-chat-hf](https://huggingface.co/meta-llama/Llama-2-7b-chat-hf) on an unknown dataset.
|
19 |
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 1.5112
|
21 |
|
22 |
## Model description
|
23 |
|
|
|
51 |
|
52 |
| Training Loss | Epoch | Step | Validation Loss |
|
53 |
|:-------------:|:-----:|:----:|:---------------:|
|
54 |
+
| 1.9596 | 0.29 | 1 | 1.7030 |
|
55 |
+
| 2.0029 | 0.57 | 2 | 1.6746 |
|
56 |
+
| 1.9649 | 0.86 | 3 | 1.6343 |
|
57 |
+
| 1.8472 | 1.14 | 4 | 1.6023 |
|
58 |
+
| 1.8243 | 1.43 | 5 | 1.5890 |
|
59 |
+
| 1.8297 | 1.71 | 6 | 1.5809 |
|
60 |
+
| 1.8483 | 2.0 | 7 | 1.5683 |
|
61 |
+
| 1.7739 | 2.29 | 8 | 1.5528 |
|
62 |
+
| 1.8205 | 2.57 | 9 | 1.5378 |
|
63 |
+
| 1.7415 | 2.86 | 10 | 1.5262 |
|
64 |
+
| 1.6532 | 3.14 | 11 | 1.5178 |
|
65 |
+
| 1.7671 | 3.43 | 12 | 1.5112 |
|
66 |
|
67 |
|
68 |
### 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,
|
@@ -19,10 +19,10 @@
|
|
19 |
"rank_pattern": {},
|
20 |
"revision": null,
|
21 |
"target_modules": [
|
22 |
-
"q_proj",
|
23 |
-
"o_proj",
|
24 |
"v_proj",
|
25 |
-
"
|
|
|
|
|
26 |
],
|
27 |
"task_type": "CAUSAL_LM",
|
28 |
"use_rslora": false
|
|
|
1 |
{
|
2 |
"alpha_pattern": {},
|
3 |
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "meta-llama/Llama-2-7b-chat-hf",
|
5 |
"bias": "none",
|
6 |
"fan_in_fan_out": false,
|
7 |
"inference_mode": true,
|
|
|
19 |
"rank_pattern": {},
|
20 |
"revision": null,
|
21 |
"target_modules": [
|
|
|
|
|
22 |
"v_proj",
|
23 |
+
"q_proj",
|
24 |
+
"k_proj",
|
25 |
+
"o_proj"
|
26 |
],
|
27 |
"task_type": "CAUSAL_LM",
|
28 |
"use_rslora": 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:ae952f03c8703076c365c1f560e6bc44b26bdaeaff581851ad2b643316bb9b06
|
3 |
+
size 67143296
|
tokenizer.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer.model
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:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
|
3 |
+
size 499723
|
tokenizer_config.json
CHANGED
@@ -27,16 +27,15 @@
|
|
27 |
"special": true
|
28 |
}
|
29 |
},
|
30 |
-
"additional_special_tokens": [],
|
31 |
"bos_token": "<s>",
|
32 |
-
"chat_template": "{{
|
33 |
"clean_up_tokenization_spaces": false,
|
34 |
"eos_token": "</s>",
|
35 |
-
"legacy":
|
36 |
"model_max_length": 1000000000000000019884624838656,
|
37 |
"pad_token": "</s>",
|
|
|
38 |
"sp_model_kwargs": {},
|
39 |
-
"spaces_between_special_tokens": false,
|
40 |
"tokenizer_class": "LlamaTokenizer",
|
41 |
"unk_token": "<unk>",
|
42 |
"use_default_system_prompt": false
|
|
|
27 |
"special": true
|
28 |
}
|
29 |
},
|
|
|
30 |
"bos_token": "<s>",
|
31 |
+
"chat_template": "{% if messages[0]['role'] == 'system' %}{% set loop_messages = messages[1:] %}{% set system_message = messages[0]['content'] %}{% else %}{% set loop_messages = messages %}{% set system_message = false %}{% endif %}{% for message in loop_messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% if loop.index0 == 0 and system_message != false %}{% set content = '<<SYS>>\\n' + system_message + '\\n<</SYS>>\\n\\n' + message['content'] %}{% else %}{% set content = message['content'] %}{% endif %}{% if message['role'] == 'user' %}{{ bos_token + '[INST] ' + content.strip() + ' [/INST]' }}{% elif message['role'] == 'assistant' %}{{ ' ' + content.strip() + ' ' + eos_token }}{% endif %}{% endfor %}",
|
32 |
"clean_up_tokenization_spaces": false,
|
33 |
"eos_token": "</s>",
|
34 |
+
"legacy": false,
|
35 |
"model_max_length": 1000000000000000019884624838656,
|
36 |
"pad_token": "</s>",
|
37 |
+
"padding_side": "right",
|
38 |
"sp_model_kwargs": {},
|
|
|
39 |
"tokenizer_class": "LlamaTokenizer",
|
40 |
"unk_token": "<unk>",
|
41 |
"use_default_system_prompt": false
|