End of training
Browse files- README.md +113 -0
- adapter_config.json +29 -0
- adapter_model.safetensors +3 -0
- special_tokens_map.json +24 -0
- tokenizer.json +0 -0
- tokenizer.model +3 -0
- tokenizer_config.json +43 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,113 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.1
|
9 |
+
model-index:
|
10 |
+
- name: mistral-7b-instruct-autextification2024
|
11 |
+
results: []
|
12 |
+
---
|
13 |
+
|
14 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
15 |
+
should probably proofread and complete it, then remove this comment. -->
|
16 |
+
|
17 |
+
# mistral-7b-instruct-autextification2024
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [mistralai/Mistral-7B-Instruct-v0.1](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.1) on an unknown dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 1.8230
|
22 |
+
|
23 |
+
## Model description
|
24 |
+
|
25 |
+
More information needed
|
26 |
+
|
27 |
+
## Intended uses & limitations
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Training and evaluation data
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Training procedure
|
36 |
+
|
37 |
+
### Training hyperparameters
|
38 |
+
|
39 |
+
The following hyperparameters were used during training:
|
40 |
+
- learning_rate: 0.0002
|
41 |
+
- train_batch_size: 4
|
42 |
+
- eval_batch_size: 8
|
43 |
+
- seed: 42
|
44 |
+
- gradient_accumulation_steps: 4
|
45 |
+
- total_train_batch_size: 16
|
46 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
47 |
+
- lr_scheduler_type: constant
|
48 |
+
- lr_scheduler_warmup_ratio: 0.03
|
49 |
+
- training_steps: 500
|
50 |
+
|
51 |
+
### Training results
|
52 |
+
|
53 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
54 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
55 |
+
| 1.7076 | 0.0 | 10 | 2.0916 |
|
56 |
+
| 1.54 | 0.01 | 20 | 2.0382 |
|
57 |
+
| 2.0394 | 0.01 | 30 | 1.9987 |
|
58 |
+
| 2.3388 | 0.01 | 40 | 1.9706 |
|
59 |
+
| 3.0378 | 0.02 | 50 | 1.9866 |
|
60 |
+
| 1.511 | 0.02 | 60 | 1.9453 |
|
61 |
+
| 1.6499 | 0.02 | 70 | 1.9309 |
|
62 |
+
| 1.9693 | 0.03 | 80 | 1.9168 |
|
63 |
+
| 2.2389 | 0.03 | 90 | 1.9169 |
|
64 |
+
| 2.7812 | 0.03 | 100 | 1.9367 |
|
65 |
+
| 1.542 | 0.04 | 110 | 1.9202 |
|
66 |
+
| 1.574 | 0.04 | 120 | 1.9088 |
|
67 |
+
| 1.9916 | 0.04 | 130 | 1.8989 |
|
68 |
+
| 2.081 | 0.05 | 140 | 1.8862 |
|
69 |
+
| 2.768 | 0.05 | 150 | 1.9108 |
|
70 |
+
| 1.4699 | 0.05 | 160 | 1.8984 |
|
71 |
+
| 1.5366 | 0.06 | 170 | 1.8877 |
|
72 |
+
| 2.0133 | 0.06 | 180 | 1.8812 |
|
73 |
+
| 2.2186 | 0.06 | 190 | 1.8795 |
|
74 |
+
| 2.7003 | 0.07 | 200 | 1.8882 |
|
75 |
+
| 1.5169 | 0.07 | 210 | 1.8720 |
|
76 |
+
| 1.5444 | 0.07 | 220 | 1.8801 |
|
77 |
+
| 1.726 | 0.08 | 230 | 1.8732 |
|
78 |
+
| 2.0348 | 0.08 | 240 | 1.8657 |
|
79 |
+
| 2.6121 | 0.09 | 250 | 1.8702 |
|
80 |
+
| 1.5258 | 0.09 | 260 | 1.8655 |
|
81 |
+
| 1.5423 | 0.09 | 270 | 1.8733 |
|
82 |
+
| 1.8095 | 0.1 | 280 | 1.8505 |
|
83 |
+
| 2.0462 | 0.1 | 290 | 1.8455 |
|
84 |
+
| 2.5442 | 0.1 | 300 | 1.8552 |
|
85 |
+
| 1.4565 | 0.11 | 310 | 1.8586 |
|
86 |
+
| 1.4278 | 0.11 | 320 | 1.8491 |
|
87 |
+
| 1.7626 | 0.11 | 330 | 1.8358 |
|
88 |
+
| 1.9469 | 0.12 | 340 | 1.8427 |
|
89 |
+
| 2.5378 | 0.12 | 350 | 1.8580 |
|
90 |
+
| 1.4248 | 0.12 | 360 | 1.8499 |
|
91 |
+
| 1.586 | 0.13 | 370 | 1.8378 |
|
92 |
+
| 1.9637 | 0.13 | 380 | 1.8311 |
|
93 |
+
| 1.9733 | 0.13 | 390 | 1.8352 |
|
94 |
+
| 2.6789 | 0.14 | 400 | 1.8543 |
|
95 |
+
| 1.4521 | 0.14 | 410 | 1.8411 |
|
96 |
+
| 1.4683 | 0.14 | 420 | 1.8428 |
|
97 |
+
| 1.862 | 0.15 | 430 | 1.8331 |
|
98 |
+
| 2.0159 | 0.15 | 440 | 1.8304 |
|
99 |
+
| 2.5851 | 0.15 | 450 | 1.8385 |
|
100 |
+
| 1.4911 | 0.16 | 460 | 1.8309 |
|
101 |
+
| 1.5463 | 0.16 | 470 | 1.8262 |
|
102 |
+
| 1.8454 | 0.16 | 480 | 1.8137 |
|
103 |
+
| 2.0086 | 0.17 | 490 | 1.8143 |
|
104 |
+
| 2.6965 | 0.17 | 500 | 1.8230 |
|
105 |
+
|
106 |
+
|
107 |
+
### Framework versions
|
108 |
+
|
109 |
+
- PEFT 0.10.0
|
110 |
+
- Transformers 4.39.1
|
111 |
+
- Pytorch 2.2.1+cu121
|
112 |
+
- Datasets 2.18.0
|
113 |
+
- Tokenizers 0.15.2
|
adapter_config.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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,
|
8 |
+
"init_lora_weights": true,
|
9 |
+
"layer_replication": null,
|
10 |
+
"layers_pattern": null,
|
11 |
+
"layers_to_transform": null,
|
12 |
+
"loftq_config": {},
|
13 |
+
"lora_alpha": 16,
|
14 |
+
"lora_dropout": 0.1,
|
15 |
+
"megatron_config": null,
|
16 |
+
"megatron_core": "megatron.core",
|
17 |
+
"modules_to_save": null,
|
18 |
+
"peft_type": "LORA",
|
19 |
+
"r": 64,
|
20 |
+
"rank_pattern": {},
|
21 |
+
"revision": null,
|
22 |
+
"target_modules": [
|
23 |
+
"q_proj",
|
24 |
+
"v_proj"
|
25 |
+
],
|
26 |
+
"task_type": "CAUSAL_LM",
|
27 |
+
"use_dora": false,
|
28 |
+
"use_rslora": false
|
29 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b8a4c481e2efd6d9063d2574be300b0b56953772eb9dfc4f380d774d979bbaf2
|
3 |
+
size 109069176
|
special_tokens_map.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "</s>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": "</s>",
|
17 |
+
"unk_token": {
|
18 |
+
"content": "<unk>",
|
19 |
+
"lstrip": false,
|
20 |
+
"normalized": false,
|
21 |
+
"rstrip": false,
|
22 |
+
"single_word": false
|
23 |
+
}
|
24 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055
|
3 |
+
size 493443
|
tokenizer_config.json
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": true,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"added_tokens_decoder": {
|
5 |
+
"0": {
|
6 |
+
"content": "<unk>",
|
7 |
+
"lstrip": false,
|
8 |
+
"normalized": false,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false,
|
11 |
+
"special": true
|
12 |
+
},
|
13 |
+
"1": {
|
14 |
+
"content": "<s>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": false,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false,
|
19 |
+
"special": true
|
20 |
+
},
|
21 |
+
"2": {
|
22 |
+
"content": "</s>",
|
23 |
+
"lstrip": false,
|
24 |
+
"normalized": false,
|
25 |
+
"rstrip": false,
|
26 |
+
"single_word": false,
|
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
|
43 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9e207108cee23fb7349059fdca57cf088215fe6779dffc3688b093d670174b5c
|
3 |
+
size 4920
|