End of training
Browse files- README.md +99 -0
- adapter_config.json +33 -0
- adapter_model.safetensors +3 -0
- special_tokens_map.json +24 -0
- tokenizer.json +0 -0
- tokenizer_config.json +42 -0
- training_args.bin +3 -0
README.md
ADDED
|
@@ -0,0 +1,99 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
model-index:
|
| 10 |
+
- name: NXAIR_M_mistral-7B
|
| 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 |
+
# NXAIR_M_mistral-7B
|
| 18 |
+
|
| 19 |
+
This model is a fine-tuned version of [mistralai/Mistral-7B-v0.1](https://huggingface.co/mistralai/Mistral-7B-v0.1) on the None dataset.
|
| 20 |
+
It achieves the following results on the evaluation set:
|
| 21 |
+
- Loss: 0.8905
|
| 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.00025
|
| 41 |
+
- train_batch_size: 4
|
| 42 |
+
- eval_batch_size: 8
|
| 43 |
+
- seed: 42
|
| 44 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 45 |
+
- lr_scheduler_type: constant
|
| 46 |
+
- lr_scheduler_warmup_ratio: 0.03
|
| 47 |
+
- num_epochs: 15
|
| 48 |
+
|
| 49 |
+
### Training results
|
| 50 |
+
|
| 51 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
| 52 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
| 53 |
+
| 1.0223 | 0.39 | 100 | 1.0286 |
|
| 54 |
+
| 0.9037 | 0.78 | 200 | 0.8790 |
|
| 55 |
+
| 0.5836 | 1.16 | 300 | 0.7868 |
|
| 56 |
+
| 0.5867 | 1.55 | 400 | 0.7354 |
|
| 57 |
+
| 0.5663 | 1.94 | 500 | 0.7268 |
|
| 58 |
+
| 0.4228 | 2.33 | 600 | 0.7649 |
|
| 59 |
+
| 0.423 | 2.71 | 700 | 0.7254 |
|
| 60 |
+
| 0.3011 | 3.1 | 800 | 0.7822 |
|
| 61 |
+
| 0.3317 | 3.49 | 900 | 0.7891 |
|
| 62 |
+
| 0.3722 | 3.88 | 1000 | 0.8496 |
|
| 63 |
+
| 0.3005 | 4.26 | 1100 | 0.7813 |
|
| 64 |
+
| 0.3101 | 4.65 | 1200 | 0.7908 |
|
| 65 |
+
| 0.3549 | 5.04 | 1300 | 0.7937 |
|
| 66 |
+
| 0.3198 | 5.43 | 1400 | 0.7881 |
|
| 67 |
+
| 0.2999 | 5.81 | 1500 | 0.7738 |
|
| 68 |
+
| 0.2822 | 6.2 | 1600 | 0.8227 |
|
| 69 |
+
| 0.2977 | 6.59 | 1700 | 0.8299 |
|
| 70 |
+
| 0.3066 | 6.98 | 1800 | 0.8399 |
|
| 71 |
+
| 0.2704 | 7.36 | 1900 | 0.8435 |
|
| 72 |
+
| 0.2703 | 7.75 | 2000 | 0.8527 |
|
| 73 |
+
| 0.2281 | 8.14 | 2100 | 0.8745 |
|
| 74 |
+
| 0.2321 | 8.53 | 2200 | 0.8396 |
|
| 75 |
+
| 0.2528 | 8.91 | 2300 | 0.8342 |
|
| 76 |
+
| 0.2177 | 9.3 | 2400 | 0.8183 |
|
| 77 |
+
| 0.245 | 9.69 | 2500 | 0.8264 |
|
| 78 |
+
| 0.1965 | 10.08 | 2600 | 0.8772 |
|
| 79 |
+
| 0.2107 | 10.47 | 2700 | 0.8543 |
|
| 80 |
+
| 0.2178 | 10.85 | 2800 | 0.8353 |
|
| 81 |
+
| 0.2091 | 11.24 | 2900 | 0.8685 |
|
| 82 |
+
| 0.2253 | 11.63 | 3000 | 0.8220 |
|
| 83 |
+
| 0.2395 | 12.02 | 3100 | 0.8233 |
|
| 84 |
+
| 0.2216 | 12.4 | 3200 | 0.9099 |
|
| 85 |
+
| 0.2392 | 12.79 | 3300 | 0.8779 |
|
| 86 |
+
| 0.237 | 13.18 | 3400 | 0.9224 |
|
| 87 |
+
| 0.227 | 13.57 | 3500 | 0.8935 |
|
| 88 |
+
| 0.231 | 13.95 | 3600 | 0.9021 |
|
| 89 |
+
| 0.1922 | 14.34 | 3700 | 0.9564 |
|
| 90 |
+
| 0.211 | 14.73 | 3800 | 0.8905 |
|
| 91 |
+
|
| 92 |
+
|
| 93 |
+
### Framework versions
|
| 94 |
+
|
| 95 |
+
- PEFT 0.8.2
|
| 96 |
+
- Transformers 4.37.2
|
| 97 |
+
- Pytorch 2.2.0+cu121
|
| 98 |
+
- Datasets 2.17.0
|
| 99 |
+
- Tokenizers 0.15.2
|
adapter_config.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
"layers_pattern": null,
|
| 10 |
+
"layers_to_transform": null,
|
| 11 |
+
"loftq_config": {},
|
| 12 |
+
"lora_alpha": 16,
|
| 13 |
+
"lora_dropout": 0.05,
|
| 14 |
+
"megatron_config": null,
|
| 15 |
+
"megatron_core": "megatron.core",
|
| 16 |
+
"modules_to_save": null,
|
| 17 |
+
"peft_type": "LORA",
|
| 18 |
+
"r": 8,
|
| 19 |
+
"rank_pattern": {},
|
| 20 |
+
"revision": null,
|
| 21 |
+
"target_modules": [
|
| 22 |
+
"up_proj",
|
| 23 |
+
"lm_head",
|
| 24 |
+
"o_proj",
|
| 25 |
+
"gate_proj",
|
| 26 |
+
"k_proj",
|
| 27 |
+
"down_proj",
|
| 28 |
+
"q_proj",
|
| 29 |
+
"v_proj"
|
| 30 |
+
],
|
| 31 |
+
"task_type": "CAUSAL_LM",
|
| 32 |
+
"use_rslora": false
|
| 33 |
+
}
|
adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2612b7044682ec4c6266c8f6ef802169c08abed991d65d27fcb0a4f017fdc822
|
| 3 |
+
size 609389712
|
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,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
"clean_up_tokenization_spaces": false,
|
| 33 |
+
"eos_token": "</s>",
|
| 34 |
+
"legacy": true,
|
| 35 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 36 |
+
"pad_token": "</s>",
|
| 37 |
+
"sp_model_kwargs": {},
|
| 38 |
+
"spaces_between_special_tokens": false,
|
| 39 |
+
"tokenizer_class": "LlamaTokenizer",
|
| 40 |
+
"unk_token": "<unk>",
|
| 41 |
+
"use_default_system_prompt": false
|
| 42 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d28e2976893d061c8b2e630fcf076f901ed1602f7c777dc70a80a84dcc228623
|
| 3 |
+
size 4728
|