TheBloke/Mistral-7B-Instruct-v0.2-AWQ-FaVe-rank8-10epochs
Browse files- README.md +100 -0
- adapter_config.json +29 -0
- adapter_model.safetensors +3 -0
- special_tokens_map.json +24 -0
- tokenizer.json +0 -0
- tokenizer_config.json +43 -0
- training_args.bin +3 -0
README.md
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
library_name: peft
|
| 4 |
+
tags:
|
| 5 |
+
- trl
|
| 6 |
+
- sft
|
| 7 |
+
- generated_from_trainer
|
| 8 |
+
base_model: TheBloke/Mistral-7B-Instruct-v0.2-AWQ
|
| 9 |
+
model-index:
|
| 10 |
+
- name: Mistral-7B-Instruct-v0.2-AWQ-FaVe-rank8-10epochs
|
| 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-v0.2-AWQ-FaVe-rank8-10epochs
|
| 18 |
+
|
| 19 |
+
This model is a fine-tuned version of [TheBloke/Mistral-7B-Instruct-v0.2-AWQ](https://huggingface.co/TheBloke/Mistral-7B-Instruct-v0.2-AWQ) on the None dataset.
|
| 20 |
+
It achieves the following results on the evaluation set:
|
| 21 |
+
- Loss: 0.4167
|
| 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.0001
|
| 41 |
+
- train_batch_size: 1
|
| 42 |
+
- eval_batch_size: 8
|
| 43 |
+
- seed: 42
|
| 44 |
+
- gradient_accumulation_steps: 4
|
| 45 |
+
- total_train_batch_size: 4
|
| 46 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 47 |
+
- lr_scheduler_type: linear
|
| 48 |
+
- lr_scheduler_warmup_steps: 10
|
| 49 |
+
- num_epochs: 10
|
| 50 |
+
|
| 51 |
+
### Training results
|
| 52 |
+
|
| 53 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
| 54 |
+
|:-------------:|:------:|:----:|:---------------:|
|
| 55 |
+
| No log | 0.2685 | 10 | 2.3328 |
|
| 56 |
+
| 2.7413 | 0.5369 | 20 | 1.6028 |
|
| 57 |
+
| 2.7413 | 0.8054 | 30 | 1.1226 |
|
| 58 |
+
| 1.3675 | 1.0738 | 40 | 0.8086 |
|
| 59 |
+
| 1.3675 | 1.3423 | 50 | 0.6971 |
|
| 60 |
+
| 0.795 | 1.6107 | 60 | 0.6129 |
|
| 61 |
+
| 0.795 | 1.8792 | 70 | 0.5594 |
|
| 62 |
+
| 0.6124 | 2.1477 | 80 | 0.5327 |
|
| 63 |
+
| 0.6124 | 2.4161 | 90 | 0.5144 |
|
| 64 |
+
| 0.4835 | 2.6846 | 100 | 0.4779 |
|
| 65 |
+
| 0.4835 | 2.9530 | 110 | 0.4559 |
|
| 66 |
+
| 0.503 | 3.2215 | 120 | 0.4455 |
|
| 67 |
+
| 0.503 | 3.4899 | 130 | 0.4149 |
|
| 68 |
+
| 0.405 | 3.7584 | 140 | 0.4071 |
|
| 69 |
+
| 0.405 | 4.0268 | 150 | 0.4065 |
|
| 70 |
+
| 0.3911 | 4.2953 | 160 | 0.4061 |
|
| 71 |
+
| 0.3911 | 4.5638 | 170 | 0.3963 |
|
| 72 |
+
| 0.3443 | 4.8322 | 180 | 0.3838 |
|
| 73 |
+
| 0.3443 | 5.1007 | 190 | 0.3848 |
|
| 74 |
+
| 0.3159 | 5.3691 | 200 | 0.3880 |
|
| 75 |
+
| 0.3159 | 5.6376 | 210 | 0.3733 |
|
| 76 |
+
| 0.2756 | 5.9060 | 220 | 0.3988 |
|
| 77 |
+
| 0.2756 | 6.1745 | 230 | 0.3966 |
|
| 78 |
+
| 0.2368 | 6.4430 | 240 | 0.3997 |
|
| 79 |
+
| 0.2368 | 6.7114 | 250 | 0.3811 |
|
| 80 |
+
| 0.2615 | 6.9799 | 260 | 0.3870 |
|
| 81 |
+
| 0.2615 | 7.2483 | 270 | 0.3982 |
|
| 82 |
+
| 0.1984 | 7.5168 | 280 | 0.4125 |
|
| 83 |
+
| 0.1984 | 7.7852 | 290 | 0.3856 |
|
| 84 |
+
| 0.2269 | 8.0537 | 300 | 0.3809 |
|
| 85 |
+
| 0.2269 | 8.3221 | 310 | 0.4043 |
|
| 86 |
+
| 0.1986 | 8.5906 | 320 | 0.4132 |
|
| 87 |
+
| 0.1986 | 8.8591 | 330 | 0.4088 |
|
| 88 |
+
| 0.1792 | 9.1275 | 340 | 0.4098 |
|
| 89 |
+
| 0.1792 | 9.3960 | 350 | 0.4169 |
|
| 90 |
+
| 0.1845 | 9.6644 | 360 | 0.4168 |
|
| 91 |
+
| 0.1845 | 9.9329 | 370 | 0.4167 |
|
| 92 |
+
|
| 93 |
+
|
| 94 |
+
### Framework versions
|
| 95 |
+
|
| 96 |
+
- PEFT 0.10.0
|
| 97 |
+
- Transformers 4.40.2
|
| 98 |
+
- Pytorch 2.2.1+cu121
|
| 99 |
+
- Datasets 2.19.1
|
| 100 |
+
- Tokenizers 0.19.1
|
adapter_config.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alpha_pattern": {},
|
| 3 |
+
"auto_mapping": null,
|
| 4 |
+
"base_model_name_or_path": "TheBloke/Mistral-7B-Instruct-v0.2-AWQ",
|
| 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": 8,
|
| 14 |
+
"lora_dropout": 0.05,
|
| 15 |
+
"megatron_config": null,
|
| 16 |
+
"megatron_core": "megatron.core",
|
| 17 |
+
"modules_to_save": null,
|
| 18 |
+
"peft_type": "LORA",
|
| 19 |
+
"r": 8,
|
| 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:99f1dea4aeace46f0fd2a1d4fd33c38a095982de4e7b0ed91cc8d2177934c9c5
|
| 3 |
+
size 13648432
|
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_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:627ae5e5f735d5b1341ee1ba5d0889dbce707808b0d0352d8a8cfefdf2b4251e
|
| 3 |
+
size 5112
|