tsavage68 commited on
Commit
0f1badb
1 Parent(s): 3cf8404

End of training

Browse files
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: 1.9634
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: 2
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
- | 1.9563 | 0.0447 | 50 | 1.9699 |
55
- | 1.9559 | 0.0895 | 100 | 1.9696 |
56
- | 1.9636 | 0.1342 | 150 | 1.9675 |
57
- | 1.9608 | 0.1790 | 200 | 1.9666 |
58
- | 1.9525 | 0.2237 | 250 | 1.9654 |
59
- | 1.9514 | 0.2685 | 300 | 1.9645 |
60
- | 1.9704 | 0.3132 | 350 | 1.9644 |
61
- | 1.9596 | 0.3579 | 400 | 1.9639 |
62
- | 1.9558 | 0.4027 | 450 | 1.9641 |
63
- | 1.9481 | 0.4474 | 500 | 1.9635 |
64
- | 1.945 | 0.4922 | 550 | 1.9639 |
65
- | 1.9532 | 0.5369 | 600 | 1.9634 |
66
- | 1.955 | 0.5817 | 650 | 1.9642 |
67
- | 1.9589 | 0.6264 | 700 | 1.9635 |
68
- | 1.9638 | 0.6711 | 750 | 1.9632 |
69
- | 1.9679 | 0.7159 | 800 | 1.9634 |
70
- | 1.9484 | 0.7606 | 850 | 1.9634 |
71
- | 1.9593 | 0.8054 | 900 | 1.9634 |
72
- | 1.9598 | 0.8501 | 950 | 1.9634 |
73
- | 1.9584 | 0.8949 | 1000 | 1.9634 |
74
 
75
 
76
  ### Framework versions
77
 
78
- - Transformers 4.42.3
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.3",
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.3",
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.3"
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:493f7d3cbed8b846171dd2cfb7f8da71a66bfbd8c551b551a2e52091bcda15a5
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:162b62ce1ec028192979e4b671badfc47e123c7510a4cc76b75e2a74762c012f
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:de2da2c429b678fcea554cf120b68bd5b37e08553abbae08d8e0dc9d0812050e
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.3"
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:493f7d3cbed8b846171dd2cfb7f8da71a66bfbd8c551b551a2e52091bcda15a5
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:162b62ce1ec028192979e4b671badfc47e123c7510a4cc76b75e2a74762c012f
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:de2da2c429b678fcea554cf120b68bd5b37e08553abbae08d8e0dc9d0812050e
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": 2048,
6
  "strategy": "LongestFirst",
7
  "stride": 0
8
  },
@@ -36,23 +36,13 @@
36
  "special": true
37
  }
38
  ],
39
- "normalizer": {
40
- "type": "Sequence",
41
- "normalizers": [
42
- {
43
- "type": "Prepend",
44
- "prepend": "▁"
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": "{{ 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 %}",
34
  "clean_up_tokenization_spaces": false,
35
  "eos_token": "</s>",
36
- "legacy": true,
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:1d4e02746be7366df08ac72ba280a7a91f9892ccf8769d5d107a4c9f43687351
3
  size 4667
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f0bb04abef36dd14aaccc5712d079dbc4e20959cf85b0cf283ad952d0f0622ed
3
  size 4667