Ber Zoidberg commited on
Commit
104eaa6
·
1 Parent(s): f4e67e4

Model save

Browse files
README.md ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: NousResearch/Yarn-Mistral-7b-128k
4
+ tags:
5
+ - generated_from_trainer
6
+ model-index:
7
+ - name: unraveled-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
+ # unraveled-7b-sft-lora
15
+
16
+ This model is a fine-tuned version of [NousResearch/Yarn-Mistral-7b-128k](https://huggingface.co/NousResearch/Yarn-Mistral-7b-128k) on an unknown dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - Loss: 1.0261
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: 4
43
+ - gradient_accumulation_steps: 128
44
+ - total_train_batch_size: 2048
45
+ - total_eval_batch_size: 32
46
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
47
+ - lr_scheduler_type: cosine
48
+ - num_epochs: 1
49
+
50
+ ### Training results
51
+
52
+ | Training Loss | Epoch | Step | Validation Loss |
53
+ |:-------------:|:-----:|:----:|:---------------:|
54
+ | 1.0242 | 0.67 | 68 | 1.0262 |
55
+
56
+
57
+ ### Framework versions
58
+
59
+ - Transformers 4.35.0
60
+ - Pytorch 2.1.0+cu118
61
+ - Datasets 2.14.6
62
+ - 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": "NousResearch/Yarn-Mistral-7b-128k",
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
+ "v_proj",
21
+ "k_proj",
22
+ "o_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:0f75c85c37063822f4fa842f7fe820f90c17337a8ce180d27f56aaeed095c43f
3
+ size 218138576
all_results.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.67,
3
+ "eval_loss": 1.026082992553711,
4
+ "eval_runtime": 316.4775,
5
+ "eval_samples": 23110,
6
+ "eval_samples_per_second": 73.023,
7
+ "eval_steps_per_second": 2.285,
8
+ "train_loss": 1.052605555338018,
9
+ "train_runtime": 9462.872,
10
+ "train_samples": 207865,
11
+ "train_samples_per_second": 21.966,
12
+ "train_steps_per_second": 0.011
13
+ }
eval_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.67,
3
+ "eval_loss": 1.026082992553711,
4
+ "eval_runtime": 316.4775,
5
+ "eval_samples": 23110,
6
+ "eval_samples_per_second": 73.023,
7
+ "eval_steps_per_second": 2.285
8
+ }
runs/Nov22_06-20-04_401fa5a8015d/events.out.tfevents.1700634336.401fa5a8015d.8816.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6e454bb072fa7531eff96504e50ee55150477f74ae89f52c4044d51d7e33d230
3
+ size 4821
runs/Nov22_06-30-36_401fa5a8015d/events.out.tfevents.1700634659.401fa5a8015d.9073.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a2498af96eef3a5c80051c584689dd8ed2b1de297259178bb9bfc00b11bba760
3
+ size 7437
runs/Nov22_06-30-36_401fa5a8015d/events.out.tfevents.1700644438.401fa5a8015d.9073.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:82a7f4f1ca9e9c81f6115fbb55b0c446ab49a9b014e8624406cfc9cc3c417651
3
+ size 354
special_tokens_map.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<unk>",
4
+ "<s>",
5
+ "</s>"
6
+ ],
7
+ "bos_token": {
8
+ "content": "<s>",
9
+ "lstrip": false,
10
+ "normalized": false,
11
+ "rstrip": false,
12
+ "single_word": false
13
+ },
14
+ "eos_token": {
15
+ "content": "</s>",
16
+ "lstrip": false,
17
+ "normalized": false,
18
+ "rstrip": false,
19
+ "single_word": false
20
+ },
21
+ "pad_token": "</s>",
22
+ "unk_token": {
23
+ "content": "<unk>",
24
+ "lstrip": false,
25
+ "normalized": false,
26
+ "rstrip": false,
27
+ "single_word": false
28
+ }
29
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "<unk>",
30
+ "<s>",
31
+ "</s>"
32
+ ],
33
+ "bos_token": "<s>",
34
+ "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 %}",
35
+ "clean_up_tokenization_spaces": false,
36
+ "eos_token": "</s>",
37
+ "legacy": true,
38
+ "model_max_length": 2048,
39
+ "pad_token": "</s>",
40
+ "sp_model_kwargs": {},
41
+ "spaces_between_special_tokens": false,
42
+ "tokenizer_class": "LlamaTokenizer",
43
+ "unk_token": "<unk>",
44
+ "use_default_system_prompt": true
45
+ }
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.67,
3
+ "train_loss": 1.052605555338018,
4
+ "train_runtime": 9462.872,
5
+ "train_samples": 207865,
6
+ "train_samples_per_second": 21.966,
7
+ "train_steps_per_second": 0.011
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,120 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.6699507389162561,
5
+ "eval_steps": 500,
6
+ "global_step": 68,
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.01,
13
+ "learning_rate": 1.999516282291988e-05,
14
+ "loss": 1.1236,
15
+ "step": 1
16
+ },
17
+ {
18
+ "epoch": 0.05,
19
+ "learning_rate": 1.987930439740757e-05,
20
+ "loss": 1.1227,
21
+ "step": 5
22
+ },
23
+ {
24
+ "epoch": 0.1,
25
+ "learning_rate": 1.95201310753273e-05,
26
+ "loss": 1.0994,
27
+ "step": 10
28
+ },
29
+ {
30
+ "epoch": 0.15,
31
+ "learning_rate": 1.8931150161867917e-05,
32
+ "loss": 1.0843,
33
+ "step": 15
34
+ },
35
+ {
36
+ "epoch": 0.2,
37
+ "learning_rate": 1.8126579138282502e-05,
38
+ "loss": 1.0675,
39
+ "step": 20
40
+ },
41
+ {
42
+ "epoch": 0.25,
43
+ "learning_rate": 1.7125839641475074e-05,
44
+ "loss": 1.0559,
45
+ "step": 25
46
+ },
47
+ {
48
+ "epoch": 0.3,
49
+ "learning_rate": 1.595308864276666e-05,
50
+ "loss": 1.05,
51
+ "step": 30
52
+ },
53
+ {
54
+ "epoch": 0.34,
55
+ "learning_rate": 1.4636635319853274e-05,
56
+ "loss": 1.0419,
57
+ "step": 35
58
+ },
59
+ {
60
+ "epoch": 0.39,
61
+ "learning_rate": 1.3208257698153677e-05,
62
+ "loss": 1.0277,
63
+ "step": 40
64
+ },
65
+ {
66
+ "epoch": 0.44,
67
+ "learning_rate": 1.1702435557223988e-05,
68
+ "loss": 1.0291,
69
+ "step": 45
70
+ },
71
+ {
72
+ "epoch": 0.49,
73
+ "learning_rate": 1.0155518119203511e-05,
74
+ "loss": 1.029,
75
+ "step": 50
76
+ },
77
+ {
78
+ "epoch": 0.54,
79
+ "learning_rate": 8.604846610560771e-06,
80
+ "loss": 1.0268,
81
+ "step": 55
82
+ },
83
+ {
84
+ "epoch": 0.59,
85
+ "learning_rate": 7.0878528777274814e-06,
86
+ "loss": 1.0272,
87
+ "step": 60
88
+ },
89
+ {
90
+ "epoch": 0.64,
91
+ "learning_rate": 5.64115581524629e-06,
92
+ "loss": 1.0242,
93
+ "step": 65
94
+ },
95
+ {
96
+ "epoch": 0.67,
97
+ "eval_loss": 1.0261898040771484,
98
+ "eval_runtime": 315.7522,
99
+ "eval_samples_per_second": 73.19,
100
+ "eval_steps_per_second": 2.29,
101
+ "step": 68
102
+ },
103
+ {
104
+ "epoch": 0.67,
105
+ "step": 68,
106
+ "total_flos": 1.2276051069330522e+19,
107
+ "train_loss": 1.052605555338018,
108
+ "train_runtime": 9462.872,
109
+ "train_samples_per_second": 21.966,
110
+ "train_steps_per_second": 0.011
111
+ }
112
+ ],
113
+ "logging_steps": 5,
114
+ "max_steps": 101,
115
+ "num_train_epochs": 1,
116
+ "save_steps": 500,
117
+ "total_flos": 1.2276051069330522e+19,
118
+ "trial_name": null,
119
+ "trial_params": null
120
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f11774ef931c1d471de51b199f3d3f1b1b493fa10399f570ef52f22f113abb4d
3
+ size 4664