Model save
Browse files- README.md +60 -0
- adapter_config.json +25 -0
- adapter_model.safetensors +3 -0
- all_results.json +13 -0
- eval_results.json +8 -0
- runs/Dec04_22-14-59_ip-172-16-34-242.ec2.internal/events.out.tfevents.1701728198.ip-172-16-34-242.ec2.internal.22241.0 +3 -0
- runs/Dec04_22-19-15_ip-172-16-34-242.ec2.internal/events.out.tfevents.1701728404.ip-172-16-34-242.ec2.internal.25553.0 +3 -0
- runs/Dec04_22-30-49_ip-172-16-34-242.ec2.internal/events.out.tfevents.1701729073.ip-172-16-34-242.ec2.internal.2110.0 +3 -0
- runs/Dec04_23-26-34_ip-172-16-34-242.ec2.internal/events.out.tfevents.1701732422.ip-172-16-34-242.ec2.internal.12124.0 +3 -0
- runs/Dec04_23-29-20_ip-172-16-34-242.ec2.internal/events.out.tfevents.1701732619.ip-172-16-34-242.ec2.internal.14525.0 +3 -0
- runs/Dec04_23-31-45_ip-172-16-34-242.ec2.internal/events.out.tfevents.1701732772.ip-172-16-34-242.ec2.internal.16364.0 +3 -0
- runs/Dec05_03-45-03_ip-172-16-34-242.ec2.internal/events.out.tfevents.1701747951.ip-172-16-34-242.ec2.internal.13906.0 +3 -0
- runs/Dec05_03-45-03_ip-172-16-34-242.ec2.internal/events.out.tfevents.1701750102.ip-172-16-34-242.ec2.internal.13906.1 +3 -0
- special_tokens_map.json +24 -0
- tokenizer.json +0 -0
- tokenizer.model +3 -0
- tokenizer_config.json +41 -0
- train_results.json +8 -0
- trainer_state.json +48 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: mistralai/Mistral-7B-v0.1
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
model-index:
|
7 |
+
- name: zephyr-7b-sft-lora-2
|
8 |
+
results: []
|
9 |
+
---
|
10 |
+
|
11 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
12 |
+
should probably proofread and complete it, then remove this comment. -->
|
13 |
+
|
14 |
+
# zephyr-7b-sft-lora-2
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [mistralai/Mistral-7B-v0.1](https://huggingface.co/mistralai/Mistral-7B-v0.1) on an unknown dataset.
|
17 |
+
It achieves the following results on the evaluation set:
|
18 |
+
- Loss: 1.1389
|
19 |
+
|
20 |
+
## Model description
|
21 |
+
|
22 |
+
More information needed
|
23 |
+
|
24 |
+
## Intended uses & limitations
|
25 |
+
|
26 |
+
More information needed
|
27 |
+
|
28 |
+
## Training and evaluation data
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Training procedure
|
33 |
+
|
34 |
+
### Training hyperparameters
|
35 |
+
|
36 |
+
The following hyperparameters were used during training:
|
37 |
+
- learning_rate: 2e-05
|
38 |
+
- train_batch_size: 1
|
39 |
+
- eval_batch_size: 4
|
40 |
+
- seed: 42
|
41 |
+
- distributed_type: multi-GPU
|
42 |
+
- gradient_accumulation_steps: 128
|
43 |
+
- total_train_batch_size: 128
|
44 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
45 |
+
- lr_scheduler_type: cosine
|
46 |
+
- num_epochs: 1
|
47 |
+
|
48 |
+
### Training results
|
49 |
+
|
50 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
51 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
52 |
+
| 1.1562 | 0.64 | 5 | 1.1389 |
|
53 |
+
|
54 |
+
|
55 |
+
### Framework versions
|
56 |
+
|
57 |
+
- Transformers 4.35.0
|
58 |
+
- Pytorch 2.0.1+cu118
|
59 |
+
- Datasets 2.14.6
|
60 |
+
- Tokenizers 0.14.1
|
adapter_config.json
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"lora_alpha": 16,
|
12 |
+
"lora_dropout": 0.1,
|
13 |
+
"modules_to_save": null,
|
14 |
+
"peft_type": "LORA",
|
15 |
+
"r": 64,
|
16 |
+
"rank_pattern": {},
|
17 |
+
"revision": null,
|
18 |
+
"target_modules": [
|
19 |
+
"q_proj",
|
20 |
+
"o_proj",
|
21 |
+
"k_proj",
|
22 |
+
"v_proj"
|
23 |
+
],
|
24 |
+
"task_type": "CAUSAL_LM"
|
25 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8d8c80ba3b66729b331ae64dc153a52ffce045e7478f2801be352880627543c3
|
3 |
+
size 218138576
|
all_results.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 0.64,
|
3 |
+
"eval_loss": 1.1389139890670776,
|
4 |
+
"eval_runtime": 100.325,
|
5 |
+
"eval_samples": 200,
|
6 |
+
"eval_samples_per_second": 1.994,
|
7 |
+
"eval_steps_per_second": 0.498,
|
8 |
+
"train_loss": 1.1949972957372665,
|
9 |
+
"train_runtime": 2050.1238,
|
10 |
+
"train_samples": 1000,
|
11 |
+
"train_samples_per_second": 0.488,
|
12 |
+
"train_steps_per_second": 0.003
|
13 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 0.64,
|
3 |
+
"eval_loss": 1.1389139890670776,
|
4 |
+
"eval_runtime": 100.325,
|
5 |
+
"eval_samples": 200,
|
6 |
+
"eval_samples_per_second": 1.994,
|
7 |
+
"eval_steps_per_second": 0.498
|
8 |
+
}
|
runs/Dec04_22-14-59_ip-172-16-34-242.ec2.internal/events.out.tfevents.1701728198.ip-172-16-34-242.ec2.internal.22241.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:44f8dedcd1c7a416a6e5c27c6b5cbacc5b93d7dc1efc916fefce473fdcd023d1
|
3 |
+
size 4667
|
runs/Dec04_22-19-15_ip-172-16-34-242.ec2.internal/events.out.tfevents.1701728404.ip-172-16-34-242.ec2.internal.25553.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3ec23016eb0923855d620dcc219b38933f95b4e2ca6b1dec2045f08cf65299cb
|
3 |
+
size 4821
|
runs/Dec04_22-30-49_ip-172-16-34-242.ec2.internal/events.out.tfevents.1701729073.ip-172-16-34-242.ec2.internal.2110.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cd68e096dcf0a74644409cef924c904b7188326166fc16a63035d227a1ee3136
|
3 |
+
size 4821
|
runs/Dec04_23-26-34_ip-172-16-34-242.ec2.internal/events.out.tfevents.1701732422.ip-172-16-34-242.ec2.internal.12124.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a71819f40752a7d50f2adadc3d84a54744c22d6656df20ae0c500e808e0a6002
|
3 |
+
size 4667
|
runs/Dec04_23-29-20_ip-172-16-34-242.ec2.internal/events.out.tfevents.1701732619.ip-172-16-34-242.ec2.internal.14525.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e0b5ef6cc7f3c90735f39796991b81750eb66768866466aa4bc533988e420fe4
|
3 |
+
size 4667
|
runs/Dec04_23-31-45_ip-172-16-34-242.ec2.internal/events.out.tfevents.1701732772.ip-172-16-34-242.ec2.internal.16364.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a300de4c09195291087447206c30a075186ecfc7638a1fe271513756b758004f
|
3 |
+
size 4923
|
runs/Dec05_03-45-03_ip-172-16-34-242.ec2.internal/events.out.tfevents.1701747951.ip-172-16-34-242.ec2.internal.13906.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6b2b3704293b2a60e338d8c3d60674d9c2119a97c14bb57ab537077040e0b757
|
3 |
+
size 5589
|
runs/Dec05_03-45-03_ip-172-16-34-242.ec2.internal/events.out.tfevents.1701750102.ip-172-16-34-242.ec2.internal.13906.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:02f335cd8c4293429783b61294bb86f2a818042ba649419343c6dff4a92724d7
|
3 |
+
size 354
|
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,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "<unk>",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"1": {
|
12 |
+
"content": "<s>",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"2": {
|
20 |
+
"content": "</s>",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
}
|
27 |
+
},
|
28 |
+
"additional_special_tokens": [],
|
29 |
+
"bos_token": "<s>",
|
30 |
+
"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 %}",
|
31 |
+
"clean_up_tokenization_spaces": false,
|
32 |
+
"eos_token": "</s>",
|
33 |
+
"legacy": true,
|
34 |
+
"model_max_length": 2048,
|
35 |
+
"pad_token": "</s>",
|
36 |
+
"sp_model_kwargs": {},
|
37 |
+
"spaces_between_special_tokens": false,
|
38 |
+
"tokenizer_class": "LlamaTokenizer",
|
39 |
+
"unk_token": "<unk>",
|
40 |
+
"use_default_system_prompt": true
|
41 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 0.64,
|
3 |
+
"train_loss": 1.1949972957372665,
|
4 |
+
"train_runtime": 2050.1238,
|
5 |
+
"train_samples": 1000,
|
6 |
+
"train_samples_per_second": 0.488,
|
7 |
+
"train_steps_per_second": 0.003
|
8 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 0.64,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 5,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 0.13,
|
13 |
+
"learning_rate": 1.900968867902419e-05,
|
14 |
+
"loss": 1.1633,
|
15 |
+
"step": 1
|
16 |
+
},
|
17 |
+
{
|
18 |
+
"epoch": 0.64,
|
19 |
+
"learning_rate": 3.7651019814126656e-06,
|
20 |
+
"loss": 1.1562,
|
21 |
+
"step": 5
|
22 |
+
},
|
23 |
+
{
|
24 |
+
"epoch": 0.64,
|
25 |
+
"eval_loss": 1.1389280557632446,
|
26 |
+
"eval_runtime": 100.6563,
|
27 |
+
"eval_samples_per_second": 1.987,
|
28 |
+
"eval_steps_per_second": 0.497,
|
29 |
+
"step": 5
|
30 |
+
},
|
31 |
+
{
|
32 |
+
"epoch": 0.64,
|
33 |
+
"step": 5,
|
34 |
+
"total_flos": 5.80221862412288e+16,
|
35 |
+
"train_loss": 1.1949972957372665,
|
36 |
+
"train_runtime": 2050.1238,
|
37 |
+
"train_samples_per_second": 0.488,
|
38 |
+
"train_steps_per_second": 0.003
|
39 |
+
}
|
40 |
+
],
|
41 |
+
"logging_steps": 5,
|
42 |
+
"max_steps": 7,
|
43 |
+
"num_train_epochs": 1,
|
44 |
+
"save_steps": 500,
|
45 |
+
"total_flos": 5.80221862412288e+16,
|
46 |
+
"trial_name": null,
|
47 |
+
"trial_params": null
|
48 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:55a4c3802cadac89be6e3b5d6ca8f4bce2daf75bc21d9644ae1695f8f3cfa2db
|
3 |
+
size 4219
|