End of training
Browse files- README.md +18 -15
- adapter_config.json +5 -2
- adapter_model.safetensors +2 -2
- runs/May11_11-01-13_8d69fa7a2964/events.out.tfevents.1715425434.8d69fa7a2964.34.0 +3 -0
- runs/May11_11-10-54_8d69fa7a2964/events.out.tfevents.1715425872.8d69fa7a2964.34.1 +3 -0
- runs/May11_11-10-54_8d69fa7a2964/events.out.tfevents.1715426041.8d69fa7a2964.34.2 +3 -0
- runs/May11_11-10-54_8d69fa7a2964/events.out.tfevents.1715427563.8d69fa7a2964.34.3 +3 -0
- runs/May11_11-46-51_8d69fa7a2964/events.out.tfevents.1715428484.8d69fa7a2964.34.4 +3 -0
- special_tokens_map.json +3 -3
- tokenizer.json +0 -0
- tokenizer.model +3 -0
- tokenizer_config.json +6 -12
- training_args.bin +2 -2
README.md
CHANGED
|
@@ -1,10 +1,11 @@
|
|
| 1 |
---
|
|
|
|
| 2 |
library_name: peft
|
| 3 |
tags:
|
| 4 |
- trl
|
| 5 |
- sft
|
| 6 |
- generated_from_trainer
|
| 7 |
-
base_model:
|
| 8 |
model-index:
|
| 9 |
- name: results
|
| 10 |
results: []
|
|
@@ -13,9 +14,15 @@ model-index:
|
|
| 13 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 14 |
should probably proofread and complete it, then remove this comment. -->
|
| 15 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
# results
|
| 17 |
|
| 18 |
-
This model is a fine-tuned version of [
|
| 19 |
|
| 20 |
## Model description
|
| 21 |
|
|
@@ -36,24 +43,20 @@ More information needed
|
|
| 36 |
The following hyperparameters were used during training:
|
| 37 |
- learning_rate: 2e-05
|
| 38 |
- train_batch_size: 4
|
| 39 |
-
- eval_batch_size:
|
| 40 |
- seed: 42
|
| 41 |
-
- gradient_accumulation_steps:
|
| 42 |
-
- total_train_batch_size:
|
| 43 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 44 |
- lr_scheduler_type: constant
|
| 45 |
- lr_scheduler_warmup_ratio: 0.03
|
| 46 |
-
- training_steps:
|
| 47 |
- mixed_precision_training: Native AMP
|
| 48 |
|
| 49 |
-
### Training results
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
### Framework versions
|
| 54 |
|
| 55 |
-
- PEFT 0.
|
| 56 |
-
- Transformers 4.
|
| 57 |
-
- Pytorch 2.1.
|
| 58 |
-
- Datasets 2.
|
| 59 |
-
- Tokenizers 0.
|
|
|
|
| 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.2
|
| 9 |
model-index:
|
| 10 |
- name: results
|
| 11 |
results: []
|
|
|
|
| 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 |
+
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/agam_/huggingface/runs/9nsrefgc)
|
| 18 |
+
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/agam_/huggingface/runs/9nsrefgc)
|
| 19 |
+
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/agam_/huggingface/runs/9nsrefgc)
|
| 20 |
+
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/agam_/huggingface/runs/9nsrefgc)
|
| 21 |
+
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/agam_/huggingface/runs/9nsrefgc)
|
| 22 |
+
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/agam_/huggingface/runs/9nsrefgc)
|
| 23 |
# results
|
| 24 |
|
| 25 |
+
This model is a fine-tuned version of [mistralai/Mistral-7B-Instruct-v0.2](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.2) on an unknown dataset.
|
| 26 |
|
| 27 |
## Model description
|
| 28 |
|
|
|
|
| 43 |
The following hyperparameters were used during training:
|
| 44 |
- learning_rate: 2e-05
|
| 45 |
- train_batch_size: 4
|
| 46 |
+
- eval_batch_size: 16
|
| 47 |
- seed: 42
|
| 48 |
+
- gradient_accumulation_steps: 8
|
| 49 |
+
- total_train_batch_size: 32
|
| 50 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 51 |
- lr_scheduler_type: constant
|
| 52 |
- lr_scheduler_warmup_ratio: 0.03
|
| 53 |
+
- training_steps: 10
|
| 54 |
- mixed_precision_training: Native AMP
|
| 55 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 56 |
### Framework versions
|
| 57 |
|
| 58 |
+
- PEFT 0.10.1.dev0
|
| 59 |
+
- Transformers 4.41.0.dev0
|
| 60 |
+
- Pytorch 2.1.2
|
| 61 |
+
- Datasets 2.19.1
|
| 62 |
+
- Tokenizers 0.19.1
|
adapter_config.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
| 1 |
{
|
| 2 |
"alpha_pattern": {},
|
| 3 |
"auto_mapping": null,
|
| 4 |
-
"base_model_name_or_path": "
|
| 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": {},
|
|
@@ -22,5 +23,7 @@
|
|
| 22 |
"v_proj",
|
| 23 |
"q_proj"
|
| 24 |
],
|
| 25 |
-
"task_type": "CAUSAL_LM"
|
|
|
|
|
|
|
| 26 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"alpha_pattern": {},
|
| 3 |
"auto_mapping": null,
|
| 4 |
+
"base_model_name_or_path": "mistralai/Mistral-7B-Instruct-v0.2",
|
| 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": {},
|
|
|
|
| 23 |
"v_proj",
|
| 24 |
"q_proj"
|
| 25 |
],
|
| 26 |
+
"task_type": "CAUSAL_LM",
|
| 27 |
+
"use_dora": false,
|
| 28 |
+
"use_rslora": false
|
| 29 |
}
|
adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dcb7f102f69ee992b3c25a5242755478457a8e195561ae06cab9a5b9f185f5d2
|
| 3 |
+
size 109069176
|
runs/May11_11-01-13_8d69fa7a2964/events.out.tfevents.1715425434.8d69fa7a2964.34.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:380e36bdd45c5f0b74e560b8b8acc33fb66a5bf20dee4e3006151c6dd6d53812
|
| 3 |
+
size 5298
|
runs/May11_11-10-54_8d69fa7a2964/events.out.tfevents.1715425872.8d69fa7a2964.34.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1a86e7cdbbad690da25f98b97a4fecdee6430d388ba59077b8abbf0501ca9758
|
| 3 |
+
size 10508
|
runs/May11_11-10-54_8d69fa7a2964/events.out.tfevents.1715426041.8d69fa7a2964.34.2
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fb093edd1b002681571ec4d8aebefd7ccdd7e496d0cbdd5162f93fa3220eaef5
|
| 3 |
+
size 5298
|
runs/May11_11-10-54_8d69fa7a2964/events.out.tfevents.1715427563.8d69fa7a2964.34.3
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3ce4d3d97ae0ff682d7d16ee17a533e32121c3050d329e81cced93f06776e6a5
|
| 3 |
+
size 10508
|
runs/May11_11-46-51_8d69fa7a2964/events.out.tfevents.1715428484.8d69fa7a2964.34.4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7cdd92b0ad98e8ff3851e1ed49697d3e2a2d54026032474b924a707e8516a115
|
| 3 |
+
size 5502
|
special_tokens_map.json
CHANGED
|
@@ -2,14 +2,14 @@
|
|
| 2 |
"bos_token": {
|
| 3 |
"content": "<s>",
|
| 4 |
"lstrip": false,
|
| 5 |
-
"normalized":
|
| 6 |
"rstrip": false,
|
| 7 |
"single_word": false
|
| 8 |
},
|
| 9 |
"eos_token": {
|
| 10 |
"content": "</s>",
|
| 11 |
"lstrip": false,
|
| 12 |
-
"normalized":
|
| 13 |
"rstrip": false,
|
| 14 |
"single_word": false
|
| 15 |
},
|
|
@@ -17,7 +17,7 @@
|
|
| 17 |
"unk_token": {
|
| 18 |
"content": "<unk>",
|
| 19 |
"lstrip": false,
|
| 20 |
-
"normalized":
|
| 21 |
"rstrip": false,
|
| 22 |
"single_word": false
|
| 23 |
}
|
|
|
|
| 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 |
},
|
|
|
|
| 17 |
"unk_token": {
|
| 18 |
"content": "<unk>",
|
| 19 |
"lstrip": false,
|
| 20 |
+
"normalized": false,
|
| 21 |
"rstrip": false,
|
| 22 |
"single_word": false
|
| 23 |
}
|
tokenizer.json
CHANGED
|
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
CHANGED
|
@@ -5,7 +5,7 @@
|
|
| 5 |
"0": {
|
| 6 |
"content": "<unk>",
|
| 7 |
"lstrip": false,
|
| 8 |
-
"normalized":
|
| 9 |
"rstrip": false,
|
| 10 |
"single_word": false,
|
| 11 |
"special": true
|
|
@@ -13,7 +13,7 @@
|
|
| 13 |
"1": {
|
| 14 |
"content": "<s>",
|
| 15 |
"lstrip": false,
|
| 16 |
-
"normalized":
|
| 17 |
"rstrip": false,
|
| 18 |
"single_word": false,
|
| 19 |
"special": true
|
|
@@ -21,27 +21,21 @@
|
|
| 21 |
"2": {
|
| 22 |
"content": "</s>",
|
| 23 |
"lstrip": false,
|
| 24 |
-
"normalized":
|
| 25 |
"rstrip": false,
|
| 26 |
"single_word": false,
|
| 27 |
"special": true
|
| 28 |
-
},
|
| 29 |
-
"32000": {
|
| 30 |
-
"content": "<pad>",
|
| 31 |
-
"lstrip": false,
|
| 32 |
-
"normalized": true,
|
| 33 |
-
"rstrip": false,
|
| 34 |
-
"single_word": false,
|
| 35 |
-
"special": false
|
| 36 |
}
|
| 37 |
},
|
|
|
|
| 38 |
"bos_token": "<s>",
|
|
|
|
| 39 |
"clean_up_tokenization_spaces": false,
|
| 40 |
"eos_token": "</s>",
|
| 41 |
-
"legacy": false,
|
| 42 |
"model_max_length": 1000000000000000019884624838656,
|
| 43 |
"pad_token": "</s>",
|
| 44 |
"sp_model_kwargs": {},
|
|
|
|
| 45 |
"tokenizer_class": "LlamaTokenizer",
|
| 46 |
"unk_token": "<unk>",
|
| 47 |
"use_default_system_prompt": false
|
|
|
|
| 5 |
"0": {
|
| 6 |
"content": "<unk>",
|
| 7 |
"lstrip": false,
|
| 8 |
+
"normalized": false,
|
| 9 |
"rstrip": false,
|
| 10 |
"single_word": false,
|
| 11 |
"special": true
|
|
|
|
| 13 |
"1": {
|
| 14 |
"content": "<s>",
|
| 15 |
"lstrip": false,
|
| 16 |
+
"normalized": false,
|
| 17 |
"rstrip": false,
|
| 18 |
"single_word": false,
|
| 19 |
"special": true
|
|
|
|
| 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 |
"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
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5f85484e7286d0f101924d3f181cf9f86b12c8253ae87b989a8c26995d14a090
|
| 3 |
+
size 5112
|