End of training
Browse files- README.md +23 -25
- config.json +1 -1
- final_checkpoint/config.json +1 -1
- final_checkpoint/generation_config.json +1 -1
- final_checkpoint/model-00001-of-00003.safetensors +1 -1
- final_checkpoint/model-00002-of-00003.safetensors +1 -1
- final_checkpoint/model-00003-of-00003.safetensors +1 -1
- generation_config.json +1 -1
- model-00001-of-00003.safetensors +1 -1
- model-00002-of-00003.safetensors +1 -1
- model-00003-of-00003.safetensors +1 -1
- tokenizer.json +7 -17
- tokenizer_config.json +2 -2
- training_args.bin +1 -1
README.md
CHANGED
@@ -17,7 +17,7 @@ should probably proofread and complete it, then remove this comment. -->
|
|
17 |
|
18 |
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.
|
19 |
It achieves the following results on the evaluation set:
|
20 |
-
- Loss:
|
21 |
|
22 |
## Model description
|
23 |
|
@@ -37,11 +37,9 @@ More information needed
|
|
37 |
|
38 |
The following hyperparameters were used during training:
|
39 |
- learning_rate: 1e-08
|
40 |
-
- train_batch_size:
|
41 |
- eval_batch_size: 1
|
42 |
- seed: 42
|
43 |
-
- gradient_accumulation_steps: 2
|
44 |
-
- total_train_batch_size: 4
|
45 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
46 |
- lr_scheduler_type: cosine
|
47 |
- lr_scheduler_warmup_steps: 100
|
@@ -51,31 +49,31 @@ The following hyperparameters were used during training:
|
|
51 |
|
52 |
| Training Loss | Epoch | Step | Validation Loss |
|
53 |
|:-------------:|:------:|:----:|:---------------:|
|
54 |
-
|
|
55 |
-
|
|
56 |
-
|
|
57 |
-
|
|
58 |
-
|
|
59 |
-
|
|
60 |
-
|
|
61 |
-
|
|
62 |
-
|
|
63 |
-
|
|
64 |
-
|
|
65 |
-
|
|
66 |
-
|
|
67 |
-
|
|
68 |
-
|
|
69 |
-
|
|
70 |
-
|
|
71 |
-
|
|
72 |
-
|
|
73 |
-
|
|
74 |
|
75 |
|
76 |
### Framework versions
|
77 |
|
78 |
-
- Transformers 4.42.
|
79 |
- Pytorch 2.0.0+cu117
|
80 |
- Datasets 2.20.0
|
81 |
- Tokenizers 0.19.1
|
|
|
17 |
|
18 |
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.
|
19 |
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 2.1332
|
21 |
|
22 |
## Model description
|
23 |
|
|
|
37 |
|
38 |
The following hyperparameters were used during training:
|
39 |
- learning_rate: 1e-08
|
40 |
+
- train_batch_size: 1
|
41 |
- eval_batch_size: 1
|
42 |
- seed: 42
|
|
|
|
|
43 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
44 |
- lr_scheduler_type: cosine
|
45 |
- lr_scheduler_warmup_steps: 100
|
|
|
49 |
|
50 |
| Training Loss | Epoch | Step | Validation Loss |
|
51 |
|:-------------:|:------:|:----:|:---------------:|
|
52 |
+
| 2.1335 | 0.0112 | 50 | 2.1446 |
|
53 |
+
| 2.1332 | 0.0224 | 100 | 2.1433 |
|
54 |
+
| 2.1306 | 0.0336 | 150 | 2.1414 |
|
55 |
+
| 2.1283 | 0.0448 | 200 | 2.1388 |
|
56 |
+
| 2.1267 | 0.0559 | 250 | 2.1362 |
|
57 |
+
| 2.1252 | 0.0671 | 300 | 2.1353 |
|
58 |
+
| 2.1247 | 0.0783 | 350 | 2.1345 |
|
59 |
+
| 2.1237 | 0.0895 | 400 | 2.1356 |
|
60 |
+
| 2.124 | 0.1007 | 450 | 2.1344 |
|
61 |
+
| 2.1238 | 0.1119 | 500 | 2.1344 |
|
62 |
+
| 2.1236 | 0.1231 | 550 | 2.1340 |
|
63 |
+
| 2.1235 | 0.1343 | 600 | 2.1341 |
|
64 |
+
| 2.1232 | 0.1454 | 650 | 2.1354 |
|
65 |
+
| 2.1231 | 0.1566 | 700 | 2.1337 |
|
66 |
+
| 2.1227 | 0.1678 | 750 | 2.1332 |
|
67 |
+
| 2.1225 | 0.1790 | 800 | 2.1332 |
|
68 |
+
| 2.1225 | 0.1902 | 850 | 2.1332 |
|
69 |
+
| 2.1225 | 0.2014 | 900 | 2.1332 |
|
70 |
+
| 2.1225 | 0.2126 | 950 | 2.1332 |
|
71 |
+
| 2.1225 | 0.2238 | 1000 | 2.1332 |
|
72 |
|
73 |
|
74 |
### Framework versions
|
75 |
|
76 |
+
- Transformers 4.42.4
|
77 |
- Pytorch 2.0.0+cu117
|
78 |
- Datasets 2.20.0
|
79 |
- Tokenizers 0.19.1
|
config.json
CHANGED
@@ -20,7 +20,7 @@
|
|
20 |
"sliding_window": null,
|
21 |
"tie_word_embeddings": false,
|
22 |
"torch_dtype": "float16",
|
23 |
-
"transformers_version": "4.42.
|
24 |
"use_cache": false,
|
25 |
"vocab_size": 32000
|
26 |
}
|
|
|
20 |
"sliding_window": null,
|
21 |
"tie_word_embeddings": false,
|
22 |
"torch_dtype": "float16",
|
23 |
+
"transformers_version": "4.42.4",
|
24 |
"use_cache": false,
|
25 |
"vocab_size": 32000
|
26 |
}
|
final_checkpoint/config.json
CHANGED
@@ -20,7 +20,7 @@
|
|
20 |
"sliding_window": null,
|
21 |
"tie_word_embeddings": false,
|
22 |
"torch_dtype": "float16",
|
23 |
-
"transformers_version": "4.42.
|
24 |
"use_cache": false,
|
25 |
"vocab_size": 32000
|
26 |
}
|
|
|
20 |
"sliding_window": null,
|
21 |
"tie_word_embeddings": false,
|
22 |
"torch_dtype": "float16",
|
23 |
+
"transformers_version": "4.42.4",
|
24 |
"use_cache": false,
|
25 |
"vocab_size": 32000
|
26 |
}
|
final_checkpoint/generation_config.json
CHANGED
@@ -2,5 +2,5 @@
|
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 1,
|
4 |
"eos_token_id": 2,
|
5 |
-
"transformers_version": "4.42.
|
6 |
}
|
|
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 1,
|
4 |
"eos_token_id": 2,
|
5 |
+
"transformers_version": "4.42.4"
|
6 |
}
|
final_checkpoint/model-00001-of-00003.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4943162240
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0e2532113526c3aa11b53fb2fd1ed995e44671d7a57e43cfce618f5c8d35f466
|
3 |
size 4943162240
|
final_checkpoint/model-00002-of-00003.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4999819232
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6a4a1d94545a3eb8a0faee985392f96b44a8e6585bcc43e5a6d4d364fafe4797
|
3 |
size 4999819232
|
final_checkpoint/model-00003-of-00003.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4540516256
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:85ac11daef8d9cc3e1688d856eb12903a682144ffbab48cf3156aa6313de070e
|
3 |
size 4540516256
|
generation_config.json
CHANGED
@@ -2,5 +2,5 @@
|
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 1,
|
4 |
"eos_token_id": 2,
|
5 |
-
"transformers_version": "4.42.
|
6 |
}
|
|
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 1,
|
4 |
"eos_token_id": 2,
|
5 |
+
"transformers_version": "4.42.4"
|
6 |
}
|
model-00001-of-00003.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4943162240
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0e2532113526c3aa11b53fb2fd1ed995e44671d7a57e43cfce618f5c8d35f466
|
3 |
size 4943162240
|
model-00002-of-00003.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4999819232
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6a4a1d94545a3eb8a0faee985392f96b44a8e6585bcc43e5a6d4d364fafe4797
|
3 |
size 4999819232
|
model-00003-of-00003.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4540516256
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:85ac11daef8d9cc3e1688d856eb12903a682144ffbab48cf3156aa6313de070e
|
3 |
size 4540516256
|
tokenizer.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
"version": "1.0",
|
3 |
"truncation": {
|
4 |
"direction": "Right",
|
5 |
-
"max_length":
|
6 |
"strategy": "LongestFirst",
|
7 |
"stride": 0
|
8 |
},
|
@@ -36,23 +36,13 @@
|
|
36 |
"special": true
|
37 |
}
|
38 |
],
|
39 |
-
"normalizer":
|
40 |
-
|
41 |
-
"
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
},
|
46 |
-
{
|
47 |
-
"type": "Replace",
|
48 |
-
"pattern": {
|
49 |
-
"String": " "
|
50 |
-
},
|
51 |
-
"content": "▁"
|
52 |
-
}
|
53 |
-
]
|
54 |
},
|
55 |
-
"pre_tokenizer": null,
|
56 |
"post_processor": {
|
57 |
"type": "TemplateProcessing",
|
58 |
"single": [
|
|
|
2 |
"version": "1.0",
|
3 |
"truncation": {
|
4 |
"direction": "Right",
|
5 |
+
"max_length": 1024,
|
6 |
"strategy": "LongestFirst",
|
7 |
"stride": 0
|
8 |
},
|
|
|
36 |
"special": true
|
37 |
}
|
38 |
],
|
39 |
+
"normalizer": null,
|
40 |
+
"pre_tokenizer": {
|
41 |
+
"type": "Metaspace",
|
42 |
+
"replacement": "▁",
|
43 |
+
"prepend_scheme": "first",
|
44 |
+
"split": false
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
},
|
|
|
46 |
"post_processor": {
|
47 |
"type": "TemplateProcessing",
|
48 |
"single": [
|
tokenizer_config.json
CHANGED
@@ -30,10 +30,10 @@
|
|
30 |
},
|
31 |
"additional_special_tokens": [],
|
32 |
"bos_token": "<s>",
|
33 |
-
"chat_template": "{{
|
34 |
"clean_up_tokenization_spaces": false,
|
35 |
"eos_token": "</s>",
|
36 |
-
"legacy":
|
37 |
"model_max_length": 1000000000000000019884624838656,
|
38 |
"pad_token": "</s>",
|
39 |
"sp_model_kwargs": {},
|
|
|
30 |
},
|
31 |
"additional_special_tokens": [],
|
32 |
"bos_token": "<s>",
|
33 |
+
"chat_template": "{%- if messages[0]['role'] == 'system' %}\n {%- set system_message = messages[0]['content'] %}\n {%- set loop_messages = messages[1:] %}\n{%- else %}\n {%- set loop_messages = messages %}\n{%- endif %}\n\n{{- bos_token }}\n{%- for message in loop_messages %}\n {%- if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}\n {{- raise_exception('After the optional system message, conversation roles must alternate user/assistant/user/assistant/...') }}\n {%- endif %}\n {%- if message['role'] == 'user' %}\n {%- if loop.first and system_message is defined %}\n {{- ' [INST] ' + system_message + '\\n\\n' + message['content'] + ' [/INST]' }}\n {%- else %}\n {{- ' [INST] ' + message['content'] + ' [/INST]' }}\n {%- endif %}\n {%- elif message['role'] == 'assistant' %}\n {{- ' ' + message['content'] + eos_token}}\n {%- else %}\n {{- raise_exception('Only user and assistant roles are supported, with the exception of an initial optional system message!') }}\n {%- endif %}\n{%- endfor %}\n",
|
34 |
"clean_up_tokenization_spaces": false,
|
35 |
"eos_token": "</s>",
|
36 |
+
"legacy": false,
|
37 |
"model_max_length": 1000000000000000019884624838656,
|
38 |
"pad_token": "</s>",
|
39 |
"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 4667
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f0bb04abef36dd14aaccc5712d079dbc4e20959cf85b0cf283ad952d0f0622ed
|
3 |
size 4667
|