Kreses commited on
Commit
d263f05
·
verified ·
1 Parent(s): 80a7716

End of training

Browse files
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: mistralai/Mistral-7B-Instruct-v0.2
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 [mistralai/Mistral-7B-Instruct-v0.2](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.2) on an unknown dataset.
20
  It achieves the following results on the evaluation set:
21
- - Loss: 1.3961
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.8031 | 0.29 | 1 | 1.4752 |
56
- | 1.7659 | 0.57 | 2 | 1.4449 |
57
- | 1.719 | 0.86 | 3 | 1.4310 |
58
- | 1.6627 | 1.14 | 4 | 1.4258 |
59
- | 1.6314 | 1.43 | 5 | 1.4145 |
60
- | 1.5923 | 1.71 | 6 | 1.4010 |
61
- | 1.5667 | 2.0 | 7 | 1.3915 |
62
- | 1.5096 | 2.29 | 8 | 1.3875 |
63
- | 1.5481 | 2.57 | 9 | 1.3872 |
64
- | 1.4877 | 2.86 | 10 | 1.3892 |
65
- | 1.39 | 3.14 | 11 | 1.3922 |
66
- | 1.4343 | 3.43 | 12 | 1.3961 |
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": "mistralai/Mistral-7B-Instruct-v0.2",
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
- "k_proj"
 
 
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:6a68fa73c30d1c0658a4d832ac0889c4d1e5d9f8067ce000274b8db0ff189517
3
- size 54560368
 
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:dadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055
3
- size 493443
 
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": "{{ bos_token }}{% for message in messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% if message['role'] == 'user' %}{{ '[INST] ' + message['content'] + ' [/INST]' }}{% elif message['role'] == 'assistant' %}{{ message['content'] + eos_token}}{% else %}{{ raise_exception('Only user and assistant roles are supported!') }}{% endif %}{% endfor %}",
33
  "clean_up_tokenization_spaces": false,
34
  "eos_token": "</s>",
35
- "legacy": true,
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