End of training
Browse files- README.md +112 -0
- adapter_config.json +31 -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,112 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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-v0.1
|
| 9 |
+
datasets:
|
| 10 |
+
- generator
|
| 11 |
+
model-index:
|
| 12 |
+
- name: lc_full_packing
|
| 13 |
+
results: []
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 17 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 18 |
+
|
| 19 |
+
# lc_full_packing
|
| 20 |
+
|
| 21 |
+
This model is a fine-tuned version of [mistralai/Mistral-7B-v0.1](https://huggingface.co/mistralai/Mistral-7B-v0.1) on the generator dataset.
|
| 22 |
+
It achieves the following results on the evaluation set:
|
| 23 |
+
- Loss: 1.6843
|
| 24 |
+
|
| 25 |
+
## Model description
|
| 26 |
+
|
| 27 |
+
More information needed
|
| 28 |
+
|
| 29 |
+
## Intended uses & limitations
|
| 30 |
+
|
| 31 |
+
More information needed
|
| 32 |
+
|
| 33 |
+
## Training and evaluation data
|
| 34 |
+
|
| 35 |
+
More information needed
|
| 36 |
+
|
| 37 |
+
## Training procedure
|
| 38 |
+
|
| 39 |
+
### Training hyperparameters
|
| 40 |
+
|
| 41 |
+
The following hyperparameters were used during training:
|
| 42 |
+
- learning_rate: 2e-05
|
| 43 |
+
- train_batch_size: 1
|
| 44 |
+
- eval_batch_size: 1
|
| 45 |
+
- seed: 42
|
| 46 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 47 |
+
- lr_scheduler_type: cosine
|
| 48 |
+
- num_epochs: 50
|
| 49 |
+
|
| 50 |
+
### Training results
|
| 51 |
+
|
| 52 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
| 53 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
| 54 |
+
| 1.658 | 1.0 | 80 | 1.6224 |
|
| 55 |
+
| 1.5504 | 2.0 | 160 | 1.5658 |
|
| 56 |
+
| 1.5401 | 3.0 | 240 | 1.5452 |
|
| 57 |
+
| 1.5012 | 4.0 | 320 | 1.5356 |
|
| 58 |
+
| 1.5873 | 5.0 | 400 | 1.5318 |
|
| 59 |
+
| 1.4235 | 6.0 | 480 | 1.5295 |
|
| 60 |
+
| 1.4938 | 7.0 | 560 | 1.5312 |
|
| 61 |
+
| 1.4809 | 8.0 | 640 | 1.5340 |
|
| 62 |
+
| 1.3717 | 9.0 | 720 | 1.5361 |
|
| 63 |
+
| 1.5824 | 10.0 | 800 | 1.5430 |
|
| 64 |
+
| 1.4478 | 11.0 | 880 | 1.5456 |
|
| 65 |
+
| 1.4124 | 12.0 | 960 | 1.5535 |
|
| 66 |
+
| 1.3804 | 13.0 | 1040 | 1.5635 |
|
| 67 |
+
| 1.3416 | 14.0 | 1120 | 1.5694 |
|
| 68 |
+
| 1.3678 | 15.0 | 1200 | 1.5820 |
|
| 69 |
+
| 1.3439 | 16.0 | 1280 | 1.5922 |
|
| 70 |
+
| 1.2532 | 17.0 | 1360 | 1.6031 |
|
| 71 |
+
| 1.2628 | 18.0 | 1440 | 1.5963 |
|
| 72 |
+
| 1.4167 | 19.0 | 1520 | 1.6095 |
|
| 73 |
+
| 1.2727 | 20.0 | 1600 | 1.6200 |
|
| 74 |
+
| 1.3244 | 21.0 | 1680 | 1.6197 |
|
| 75 |
+
| 1.2597 | 22.0 | 1760 | 1.6325 |
|
| 76 |
+
| 1.2578 | 23.0 | 1840 | 1.6415 |
|
| 77 |
+
| 1.3411 | 24.0 | 1920 | 1.6453 |
|
| 78 |
+
| 1.2795 | 25.0 | 2000 | 1.6495 |
|
| 79 |
+
| 1.2928 | 26.0 | 2080 | 1.6509 |
|
| 80 |
+
| 1.2235 | 27.0 | 2160 | 1.6586 |
|
| 81 |
+
| 1.2335 | 28.0 | 2240 | 1.6604 |
|
| 82 |
+
| 1.1769 | 29.0 | 2320 | 1.6701 |
|
| 83 |
+
| 1.2284 | 30.0 | 2400 | 1.6681 |
|
| 84 |
+
| 1.2416 | 31.0 | 2480 | 1.6704 |
|
| 85 |
+
| 1.3158 | 32.0 | 2560 | 1.6737 |
|
| 86 |
+
| 1.2734 | 33.0 | 2640 | 1.6806 |
|
| 87 |
+
| 1.2803 | 34.0 | 2720 | 1.6815 |
|
| 88 |
+
| 1.1976 | 35.0 | 2800 | 1.6803 |
|
| 89 |
+
| 1.2457 | 36.0 | 2880 | 1.6801 |
|
| 90 |
+
| 1.2039 | 37.0 | 2960 | 1.6831 |
|
| 91 |
+
| 1.1931 | 38.0 | 3040 | 1.6824 |
|
| 92 |
+
| 1.2337 | 39.0 | 3120 | 1.6841 |
|
| 93 |
+
| 1.2167 | 40.0 | 3200 | 1.6833 |
|
| 94 |
+
| 1.1514 | 41.0 | 3280 | 1.6847 |
|
| 95 |
+
| 1.2817 | 42.0 | 3360 | 1.6841 |
|
| 96 |
+
| 1.1658 | 43.0 | 3440 | 1.6837 |
|
| 97 |
+
| 1.2635 | 44.0 | 3520 | 1.6841 |
|
| 98 |
+
| 1.0984 | 45.0 | 3600 | 1.6842 |
|
| 99 |
+
| 1.2229 | 46.0 | 3680 | 1.6843 |
|
| 100 |
+
| 1.26 | 47.0 | 3760 | 1.6840 |
|
| 101 |
+
| 1.1621 | 48.0 | 3840 | 1.6844 |
|
| 102 |
+
| 1.2998 | 49.0 | 3920 | 1.6848 |
|
| 103 |
+
| 1.2054 | 50.0 | 4000 | 1.6843 |
|
| 104 |
+
|
| 105 |
+
|
| 106 |
+
### Framework versions
|
| 107 |
+
|
| 108 |
+
- PEFT 0.11.1
|
| 109 |
+
- Transformers 4.41.2
|
| 110 |
+
- Pytorch 2.1.0+cu118
|
| 111 |
+
- Datasets 2.19.2
|
| 112 |
+
- Tokenizers 0.19.1
|
adapter_config.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alpha_pattern": {},
|
| 3 |
+
"auto_mapping": null,
|
| 4 |
+
"base_model_name_or_path": "mistralai/Mistral-7B-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 |
+
"o_proj",
|
| 25 |
+
"k_proj",
|
| 26 |
+
"v_proj"
|
| 27 |
+
],
|
| 28 |
+
"task_type": "CAUSAL_LM",
|
| 29 |
+
"use_dora": false,
|
| 30 |
+
"use_rslora": false
|
| 31 |
+
}
|
adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:19c5bd8a2087076e54b7a9c98de2bcaaa9b1ddbf9a8e5aeced1b5122e2e9413a
|
| 3 |
+
size 109086672
|
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": "{% for message in messages %}\n{% if message['role'] == 'user' %}\n{{ '<|user|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'system' %}\n{{ '<|system|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'assistant' %}\n{{ '<|assistant|>\n' + message['content'] + eos_token }}\n{% endif %}\n{% if loop.last and add_generation_prompt %}\n{{ '<|assistant|>' }}\n{% endif %}\n{% endfor %}",
|
| 33 |
+
"clean_up_tokenization_spaces": false,
|
| 34 |
+
"eos_token": "</s>",
|
| 35 |
+
"legacy": true,
|
| 36 |
+
"model_max_length": 2048,
|
| 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:23f5a66dece855889a10b77edfa2effe38f23b5822afd45bcc3170802c5a7d6c
|
| 3 |
+
size 5112
|