mistralai/mistral-instruct-generation
Browse files
README.md
CHANGED
@@ -5,7 +5,7 @@ tags:
|
|
5 |
- trl
|
6 |
- sft
|
7 |
- generated_from_trainer
|
8 |
-
base_model: mistralai/Mistral-7B-Instruct-v0.
|
9 |
datasets:
|
10 |
- generator
|
11 |
model-index:
|
@@ -18,9 +18,9 @@ should probably proofread and complete it, then remove this comment. -->
|
|
18 |
|
19 |
# mistral_instruct_generation
|
20 |
|
21 |
-
This model is a fine-tuned version of [mistralai/Mistral-7B-Instruct-v0.
|
22 |
It achieves the following results on the evaluation set:
|
23 |
-
- Loss: 1.
|
24 |
|
25 |
## Model description
|
26 |
|
@@ -53,11 +53,11 @@ The following hyperparameters were used during training:
|
|
53 |
|
54 |
| Training Loss | Epoch | Step | Validation Loss |
|
55 |
|:-------------:|:------:|:----:|:---------------:|
|
56 |
-
| 1.
|
57 |
-
| 1.
|
58 |
-
| 1.
|
59 |
-
| 1.
|
60 |
-
| 1.
|
61 |
|
62 |
|
63 |
### Framework versions
|
|
|
5 |
- trl
|
6 |
- sft
|
7 |
- generated_from_trainer
|
8 |
+
base_model: mistralai/Mistral-7B-Instruct-v0.1
|
9 |
datasets:
|
10 |
- generator
|
11 |
model-index:
|
|
|
18 |
|
19 |
# mistral_instruct_generation
|
20 |
|
21 |
+
This model is a fine-tuned version of [mistralai/Mistral-7B-Instruct-v0.1](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.1) on the generator dataset.
|
22 |
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 1.4969
|
24 |
|
25 |
## Model description
|
26 |
|
|
|
53 |
|
54 |
| Training Loss | Epoch | Step | Validation Loss |
|
55 |
|:-------------:|:------:|:----:|:---------------:|
|
56 |
+
| 1.6666 | 0.0260 | 20 | 1.5570 |
|
57 |
+
| 1.5509 | 0.0521 | 40 | 1.5239 |
|
58 |
+
| 1.5707 | 0.0781 | 60 | 1.5093 |
|
59 |
+
| 1.5722 | 0.1042 | 80 | 1.5024 |
|
60 |
+
| 1.5602 | 0.1302 | 100 | 1.4969 |
|
61 |
|
62 |
|
63 |
### 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.
|
5 |
"bias": "none",
|
6 |
"fan_in_fan_out": false,
|
7 |
"inference_mode": true,
|
|
|
1 |
{
|
2 |
"alpha_pattern": {},
|
3 |
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "mistralai/Mistral-7B-Instruct-v0.1",
|
5 |
"bias": "none",
|
6 |
"fan_in_fan_out": false,
|
7 |
"inference_mode": true,
|
adapter_model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 27280152
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5da2600a0dcc2d5a7b2838b49cb83a0c02dadda5a3e7e652007661ae36b8ed1c
|
3 |
size 27280152
|
runs/May08_07-23-51_8413bacd2c4b/events.out.tfevents.1715153319.8413bacd2c4b.225.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f7dcbe365dd34f701fde2488dd160d75974825f86e8938858ada643b95091dfe
|
3 |
+
size 8950
|
tokenizer_config.json
CHANGED
@@ -29,7 +29,7 @@
|
|
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,
|
|
|
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,
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 5048
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:413bc6e1d67a088848afdf175ac749c9f4d0ff09768e00b393021aabec09c5d4
|
3 |
size 5048
|