atadaco commited on
Commit
5be1b17
1 Parent(s): c9137f7

Model save

Browse files
README.md ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
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
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.3767
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: 4
39
+ - eval_batch_size: 8
40
+ - seed: 42
41
+ - distributed_type: multi-GPU
42
+ - num_devices: 8
43
+ - gradient_accumulation_steps: 128
44
+ - total_train_batch_size: 4096
45
+ - total_eval_batch_size: 64
46
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
47
+ - lr_scheduler_type: cosine
48
+ - lr_scheduler_warmup_ratio: 0.1
49
+ - num_epochs: 1
50
+
51
+ ### Training results
52
+
53
+ | Training Loss | Epoch | Step | Validation Loss |
54
+ |:-------------:|:-----:|:----:|:---------------:|
55
+ | 1.3968 | 0.67 | 34 | 1.3765 |
56
+
57
+
58
+ ### Framework versions
59
+
60
+ - Transformers 4.35.0
61
+ - Pytorch 2.1.0
62
+ - Datasets 2.14.6
63
+ - 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:686fe735e12e0e5fa27368d522ef669b24f050fbfe130f06eb06e1a6406cab11
3
+ size 109086672
all_results.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.67,
3
+ "eval_loss": 1.3766788244247437,
4
+ "eval_runtime": 913.5236,
5
+ "eval_samples": 23110,
6
+ "eval_samples_per_second": 25.298,
7
+ "eval_steps_per_second": 0.396,
8
+ "train_loss": 1.513783251537996,
9
+ "train_runtime": 28807.9926,
10
+ "train_samples": 207865,
11
+ "train_samples_per_second": 7.216,
12
+ "train_steps_per_second": 0.002
13
+ }
eval_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.67,
3
+ "eval_loss": 1.3766788244247437,
4
+ "eval_runtime": 913.5236,
5
+ "eval_samples": 23110,
6
+ "eval_samples_per_second": 25.298,
7
+ "eval_steps_per_second": 0.396
8
+ }
runs/Jan04_14-40-02_gappa02/events.out.tfevents.1704379275.gappa02.41801.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:36e73657ff0c7801e9c9c8ae42fec935856a24834046fa116101d77377b8982c
3
+ size 4255
runs/Jan04_14-52-50_gappa02/events.out.tfevents.1704380037.gappa02.42234.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:147f85e0c29163d9394c6d3093711956694e0c1da033add45dde89c35902d5b3
3
+ size 4255
runs/Jan04_14-55-25_gappa02/events.out.tfevents.1704380138.gappa02.42403.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7cec9ba6e4b3b66dd5f94a3ff578c925aa551c8596e49ddc4188d32fcafe2acf
3
+ size 4409
runs/Jan04_15-09-30_gappa02/events.out.tfevents.1704380985.gappa02.43065.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:74832fcfae377e5b2ba34f9228753869b7e8ff2f5c29f1b2ce05342d6b31ffc6
3
+ size 5947
runs/Jan04_15-09-30_gappa02/events.out.tfevents.1704410706.gappa02.43065.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:62c201a2b7b45e0758b9cf699f5c7622c3aca0a4fce4349525c730594dc69c26
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_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": false
41
+ }
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.67,
3
+ "train_loss": 1.513783251537996,
4
+ "train_runtime": 28807.9926,
5
+ "train_samples": 207865,
6
+ "train_samples_per_second": 7.216,
7
+ "train_steps_per_second": 0.002
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.6699507389162561,
5
+ "eval_steps": 500,
6
+ "global_step": 34,
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.02,
13
+ "learning_rate": 4.000000000000001e-06,
14
+ "loss": 1.6872,
15
+ "step": 1
16
+ },
17
+ {
18
+ "epoch": 0.1,
19
+ "learning_rate": 2e-05,
20
+ "loss": 1.6916,
21
+ "step": 5
22
+ },
23
+ {
24
+ "epoch": 0.2,
25
+ "learning_rate": 1.9396926207859085e-05,
26
+ "loss": 1.6413,
27
+ "step": 10
28
+ },
29
+ {
30
+ "epoch": 0.3,
31
+ "learning_rate": 1.766044443118978e-05,
32
+ "loss": 1.5492,
33
+ "step": 15
34
+ },
35
+ {
36
+ "epoch": 0.39,
37
+ "learning_rate": 1.5000000000000002e-05,
38
+ "loss": 1.472,
39
+ "step": 20
40
+ },
41
+ {
42
+ "epoch": 0.49,
43
+ "learning_rate": 1.1736481776669307e-05,
44
+ "loss": 1.4242,
45
+ "step": 25
46
+ },
47
+ {
48
+ "epoch": 0.59,
49
+ "learning_rate": 8.263518223330698e-06,
50
+ "loss": 1.3968,
51
+ "step": 30
52
+ },
53
+ {
54
+ "epoch": 0.67,
55
+ "eval_loss": 1.3765043020248413,
56
+ "eval_runtime": 912.4951,
57
+ "eval_samples_per_second": 25.326,
58
+ "eval_steps_per_second": 0.397,
59
+ "step": 34
60
+ },
61
+ {
62
+ "epoch": 0.67,
63
+ "step": 34,
64
+ "total_flos": 5.175876094263296e+16,
65
+ "train_loss": 1.513783251537996,
66
+ "train_runtime": 28807.9926,
67
+ "train_samples_per_second": 7.216,
68
+ "train_steps_per_second": 0.002
69
+ }
70
+ ],
71
+ "logging_steps": 5,
72
+ "max_steps": 50,
73
+ "num_train_epochs": 1,
74
+ "save_steps": 500,
75
+ "total_flos": 5.175876094263296e+16,
76
+ "trial_name": null,
77
+ "trial_params": null
78
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:16b9652995797ffa44fb2e0472c6601dc5a15ef11095f6374f19002508244feb
3
+ size 5624