mavihsrr commited on
Commit
34c0fb9
1 Parent(s): de48b31

Upload 11 files

Browse files

main model added, fine tuned on medical dataset

README.md CHANGED
@@ -1,3 +1,59 @@
1
  ---
2
- license: mit
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: other
3
+ library_name: peft
4
+ tags:
5
+ - llama-factory
6
+ - lora
7
+ - generated_from_trainer
8
+ base_model: google/gemma-2b
9
+ model-index:
10
+ - name: train_2024-02-24-21-21-49
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
+ # train_2024-02-24-21-21-49
18
+
19
+ This model is a fine-tuned version of [google/gemma-2b](https://huggingface.co/google/gemma-2b) on the med_data dataset.
20
+
21
+ ## Model description
22
+
23
+ More information needed
24
+
25
+ ## Intended uses & limitations
26
+
27
+ More information needed
28
+
29
+ ## Training and evaluation data
30
+
31
+ More information needed
32
+
33
+ ## Training procedure
34
+
35
+ ### Training hyperparameters
36
+
37
+ The following hyperparameters were used during training:
38
+ - learning_rate: 0.0002
39
+ - train_batch_size: 1
40
+ - eval_batch_size: 8
41
+ - seed: 42
42
+ - gradient_accumulation_steps: 4
43
+ - total_train_batch_size: 4
44
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
+ - lr_scheduler_type: cosine
46
+ - num_epochs: 1.0
47
+ - mixed_precision_training: Native AMP
48
+
49
+ ### Training results
50
+
51
+
52
+
53
+ ### Framework versions
54
+
55
+ - PEFT 0.8.2
56
+ - Transformers 4.38.1
57
+ - Pytorch 2.1.0+cu121
58
+ - Datasets 2.17.1
59
+ - Tokenizers 0.15.2
adapter_config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "google/gemma-2b",
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.1,
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
+ "q_proj",
23
+ "v_proj"
24
+ ],
25
+ "task_type": "CAUSAL_LM",
26
+ "use_rslora": false
27
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fde4160bd78f8eeb144f8693048b354d32026a57a7ae926cbe00a7ae53de0cc6
3
+ size 3695848
all_results.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "train_loss": 2.622329357147217,
4
+ "train_runtime": 354.2831,
5
+ "train_samples_per_second": 2.823,
6
+ "train_steps_per_second": 0.706
7
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<bos>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<eos>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "<pad>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "<unk>",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
+ }
tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:61a7b147390c64585d6c3543dd6fc636906c9af3865a5548f27f31aee1d4c8e2
3
+ size 4241003
tokenizer_config.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "added_tokens_decoder": {
5
+ "0": {
6
+ "content": "<pad>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "1": {
14
+ "content": "<eos>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "2": {
22
+ "content": "<bos>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "3": {
30
+ "content": "<unk>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ }
37
+ },
38
+ "bos_token": "<bos>",
39
+ "clean_up_tokenization_spaces": false,
40
+ "eos_token": "<eos>",
41
+ "legacy": null,
42
+ "model_max_length": 1000000000000000019884624838656,
43
+ "pad_token": "<pad>",
44
+ "padding_side": "right",
45
+ "sp_model_kwargs": {},
46
+ "spaces_between_special_tokens": false,
47
+ "split_special_tokens": false,
48
+ "tokenizer_class": "GemmaTokenizer",
49
+ "unk_token": "<unk>",
50
+ "use_default_system_prompt": false
51
+ }
train_results.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "train_loss": 2.622329357147217,
4
+ "train_runtime": 354.2831,
5
+ "train_samples_per_second": 2.823,
6
+ "train_steps_per_second": 0.706
7
+ }
trainer_log.jsonl ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"current_steps": 5, "total_steps": 250, "loss": 5.4501, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 0.00019987369566060176, "epoch": 0.02, "percentage": 2.0, "elapsed_time": "0:00:06", "remaining_time": "0:05:30"}
2
+ {"current_steps": 10, "total_steps": 250, "loss": 4.9761, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 0.00019949510169813003, "epoch": 0.04, "percentage": 4.0, "elapsed_time": "0:00:12", "remaining_time": "0:05:04"}
3
+ {"current_steps": 15, "total_steps": 250, "loss": 4.0797, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 0.0001986685944207868, "epoch": 0.06, "percentage": 6.0, "elapsed_time": "0:00:19", "remaining_time": "0:05:07"}
4
+ {"current_steps": 20, "total_steps": 250, "loss": 2.9864, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 0.00019745268727865774, "epoch": 0.08, "percentage": 8.0, "elapsed_time": "0:00:27", "remaining_time": "0:05:13"}
5
+ {"current_steps": 25, "total_steps": 250, "loss": 2.8715, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 0.0001958521789017376, "epoch": 0.1, "percentage": 10.0, "elapsed_time": "0:00:35", "remaining_time": "0:05:16"}
6
+ {"current_steps": 30, "total_steps": 250, "loss": 2.4938, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 0.00019387338576538744, "epoch": 0.12, "percentage": 12.0, "elapsed_time": "0:00:42", "remaining_time": "0:05:13"}
7
+ {"current_steps": 35, "total_steps": 250, "loss": 2.4925, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 0.00019152411726209176, "epoch": 0.14, "percentage": 14.0, "elapsed_time": "0:00:50", "remaining_time": "0:05:11"}
8
+ {"current_steps": 40, "total_steps": 250, "loss": 2.5641, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 0.0001899405251566371, "epoch": 0.16, "percentage": 16.0, "elapsed_time": "0:00:58", "remaining_time": "0:05:08"}
9
+ {"current_steps": 45, "total_steps": 250, "loss": 2.8727, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 0.0001870183754669526, "epoch": 0.18, "percentage": 18.0, "elapsed_time": "0:01:07", "remaining_time": "0:05:06"}
10
+ {"current_steps": 50, "total_steps": 250, "loss": 2.9301, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 0.0001837528040042142, "epoch": 0.2, "percentage": 20.0, "elapsed_time": "0:01:14", "remaining_time": "0:04:56"}
11
+ {"current_steps": 55, "total_steps": 250, "loss": 2.5419, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 0.00018015669848708767, "epoch": 0.22, "percentage": 22.0, "elapsed_time": "0:01:21", "remaining_time": "0:04:47"}
12
+ {"current_steps": 60, "total_steps": 250, "loss": 2.5677, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 0.0001762442511011448, "epoch": 0.24, "percentage": 24.0, "elapsed_time": "0:01:27", "remaining_time": "0:04:37"}
13
+ {"current_steps": 65, "total_steps": 250, "loss": 2.5559, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 0.0001720309024887907, "epoch": 0.26, "percentage": 26.0, "elapsed_time": "0:01:36", "remaining_time": "0:04:33"}
14
+ {"current_steps": 70, "total_steps": 250, "loss": 2.5763, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 0.00016753328081210245, "epoch": 0.28, "percentage": 28.0, "elapsed_time": "0:01:43", "remaining_time": "0:04:25"}
15
+ {"current_steps": 75, "total_steps": 250, "loss": 2.4963, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 0.00016276913612907007, "epoch": 0.3, "percentage": 30.0, "elapsed_time": "0:01:50", "remaining_time": "0:04:18"}
16
+ {"current_steps": 80, "total_steps": 250, "loss": 2.5602, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 0.00015775727034222675, "epoch": 0.32, "percentage": 32.0, "elapsed_time": "0:01:57", "remaining_time": "0:04:09"}
17
+ {"current_steps": 85, "total_steps": 250, "loss": 2.6872, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 0.0001525174629961296, "epoch": 0.34, "percentage": 34.0, "elapsed_time": "0:02:03", "remaining_time": "0:03:59"}
18
+ {"current_steps": 90, "total_steps": 250, "loss": 2.4969, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 0.0001470703932165333, "epoch": 0.36, "percentage": 36.0, "elapsed_time": "0:02:09", "remaining_time": "0:03:50"}
19
+ {"current_steps": 95, "total_steps": 250, "loss": 2.4725, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 0.00014143755809932845, "epoch": 0.38, "percentage": 38.0, "elapsed_time": "0:02:17", "remaining_time": "0:03:44"}
20
+ {"current_steps": 100, "total_steps": 250, "loss": 2.3662, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 0.00013564118787132506, "epoch": 0.4, "percentage": 40.0, "elapsed_time": "0:02:23", "remaining_time": "0:03:35"}
21
+ {"current_steps": 105, "total_steps": 250, "loss": 2.3748, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 0.0001297041581577035, "epoch": 0.42, "percentage": 42.0, "elapsed_time": "0:02:33", "remaining_time": "0:03:31"}
22
+ {"current_steps": 110, "total_steps": 250, "loss": 2.4374, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 0.00012364989970237248, "epoch": 0.44, "percentage": 44.0, "elapsed_time": "0:02:39", "remaining_time": "0:03:23"}
23
+ {"current_steps": 115, "total_steps": 250, "loss": 2.2459, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 0.00011750230589752762, "epoch": 0.46, "percentage": 46.0, "elapsed_time": "0:02:47", "remaining_time": "0:03:16"}
24
+ {"current_steps": 120, "total_steps": 250, "loss": 2.6068, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 0.00011128563848734816, "epoch": 0.48, "percentage": 48.0, "elapsed_time": "0:02:53", "remaining_time": "0:03:08"}
25
+ {"current_steps": 125, "total_steps": 250, "loss": 2.6697, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 0.00010502443181797697, "epoch": 0.5, "percentage": 50.0, "elapsed_time": "0:03:00", "remaining_time": "0:03:00"}
26
+ {"current_steps": 130, "total_steps": 250, "loss": 2.1541, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 9.874339601166473e-05, "epoch": 0.52, "percentage": 52.0, "elapsed_time": "0:03:08", "remaining_time": "0:02:53"}
27
+ {"current_steps": 135, "total_steps": 250, "loss": 2.5094, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 9.246731944720675e-05, "epoch": 0.54, "percentage": 54.0, "elapsed_time": "0:03:14", "remaining_time": "0:02:45"}
28
+ {"current_steps": 140, "total_steps": 250, "loss": 2.693, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 8.62209709315362e-05, "epoch": 0.56, "percentage": 56.0, "elapsed_time": "0:03:22", "remaining_time": "0:02:39"}
29
+ {"current_steps": 145, "total_steps": 250, "loss": 2.4028, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 8.002900194855932e-05, "epoch": 0.58, "percentage": 58.0, "elapsed_time": "0:03:29", "remaining_time": "0:02:31"}
30
+ {"current_steps": 150, "total_steps": 250, "loss": 2.5198, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 7.391584937101033e-05, "epoch": 0.6, "percentage": 60.0, "elapsed_time": "0:03:36", "remaining_time": "0:02:24"}
31
+ {"current_steps": 155, "total_steps": 250, "loss": 2.3054, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 6.790563901927907e-05, "epoch": 0.62, "percentage": 62.0, "elapsed_time": "0:03:42", "remaining_time": "0:02:16"}
32
+ {"current_steps": 160, "total_steps": 250, "loss": 2.3357, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 6.20220904478199e-05, "epoch": 0.64, "percentage": 64.0, "elapsed_time": "0:03:49", "remaining_time": "0:02:09"}
33
+ {"current_steps": 165, "total_steps": 250, "loss": 2.1626, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 5.6288423334906735e-05, "epoch": 0.66, "percentage": 66.0, "elapsed_time": "0:03:56", "remaining_time": "0:02:01"}
34
+ {"current_steps": 170, "total_steps": 250, "loss": 2.398, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 5.072726584517086e-05, "epoch": 0.68, "percentage": 68.0, "elapsed_time": "0:04:03", "remaining_time": "0:01:54"}
35
+ {"current_steps": 175, "total_steps": 250, "loss": 2.4083, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 4.5360565326573104e-05, "epoch": 0.7, "percentage": 70.0, "elapsed_time": "0:04:11", "remaining_time": "0:01:47"}
36
+ {"current_steps": 180, "total_steps": 250, "loss": 2.3016, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 4.020950169424815e-05, "epoch": 0.72, "percentage": 72.0, "elapsed_time": "0:04:17", "remaining_time": "0:01:40"}
37
+ {"current_steps": 185, "total_steps": 250, "loss": 2.1456, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 3.52944038430556e-05, "epoch": 0.74, "percentage": 74.0, "elapsed_time": "0:04:25", "remaining_time": "0:01:33"}
38
+ {"current_steps": 190, "total_steps": 250, "loss": 2.3501, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 3.063466941871952e-05, "epoch": 0.76, "percentage": 76.0, "elapsed_time": "0:04:31", "remaining_time": "0:01:25"}
39
+ {"current_steps": 195, "total_steps": 250, "loss": 2.4699, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 2.624868826418262e-05, "epoch": 0.78, "percentage": 78.0, "elapsed_time": "0:04:37", "remaining_time": "0:01:18"}
40
+ {"current_steps": 200, "total_steps": 250, "loss": 2.5444, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 2.2153769843297667e-05, "epoch": 0.8, "percentage": 80.0, "elapsed_time": "0:04:43", "remaining_time": "0:01:10"}
41
+ {"current_steps": 205, "total_steps": 250, "loss": 2.3116, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 1.8366074928281607e-05, "epoch": 0.82, "percentage": 82.0, "elapsed_time": "0:04:52", "remaining_time": "0:01:04"}
42
+ {"current_steps": 210, "total_steps": 250, "loss": 2.5006, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 1.4900551820530828e-05, "epoch": 0.84, "percentage": 84.0, "elapsed_time": "0:04:59", "remaining_time": "0:00:57"}
43
+ {"current_steps": 215, "total_steps": 250, "loss": 2.2932, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 1.1770877356504683e-05, "epoch": 0.86, "percentage": 86.0, "elapsed_time": "0:05:05", "remaining_time": "0:00:49"}
44
+ {"current_steps": 220, "total_steps": 250, "loss": 2.22, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 8.989402931500434e-06, "epoch": 0.88, "percentage": 88.0, "elapsed_time": "0:05:12", "remaining_time": "0:00:42"}
45
+ {"current_steps": 225, "total_steps": 250, "loss": 2.4223, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 6.5671057543387985e-06, "epoch": 0.9, "percentage": 90.0, "elapsed_time": "0:05:18", "remaining_time": "0:00:35"}
46
+ {"current_steps": 230, "total_steps": 250, "loss": 2.294, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 4.513545525335705e-06, "epoch": 0.92, "percentage": 92.0, "elapsed_time": "0:05:26", "remaining_time": "0:00:28"}
47
+ {"current_steps": 235, "total_steps": 250, "loss": 2.2694, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 2.836826708532603e-06, "epoch": 0.94, "percentage": 94.0, "elapsed_time": "0:05:33", "remaining_time": "0:00:21"}
48
+ {"current_steps": 240, "total_steps": 250, "loss": 2.4213, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 1.543566547079467e-06, "epoch": 0.96, "percentage": 96.0, "elapsed_time": "0:05:41", "remaining_time": "0:00:14"}
49
+ {"current_steps": 245, "total_steps": 250, "loss": 2.6469, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 6.388689479991605e-07, "epoch": 0.98, "percentage": 98.0, "elapsed_time": "0:05:48", "remaining_time": "0:00:07"}
50
+ {"current_steps": 250, "total_steps": 250, "loss": 2.6638, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 1.2630433939825327e-07, "epoch": 1.0, "percentage": 100.0, "elapsed_time": "0:05:54", "remaining_time": "0:00:00"}
51
+ {"current_steps": 250, "total_steps": 250, "loss": null, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": null, "epoch": 1.0, "percentage": 100.0, "elapsed_time": "0:05:54", "remaining_time": "0:00:00"}
trainer_state.json ADDED
@@ -0,0 +1,380 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 1.0,
5
+ "eval_steps": 500,
6
+ "global_step": 250,
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
+ "grad_norm": 5.3643364906311035,
14
+ "learning_rate": 0.00019987369566060176,
15
+ "loss": 5.4501,
16
+ "step": 5
17
+ },
18
+ {
19
+ "epoch": 0.04,
20
+ "grad_norm": 7.935824394226074,
21
+ "learning_rate": 0.00019949510169813003,
22
+ "loss": 4.9761,
23
+ "step": 10
24
+ },
25
+ {
26
+ "epoch": 0.06,
27
+ "grad_norm": 6.881031036376953,
28
+ "learning_rate": 0.0001986685944207868,
29
+ "loss": 4.0797,
30
+ "step": 15
31
+ },
32
+ {
33
+ "epoch": 0.08,
34
+ "grad_norm": 6.994723320007324,
35
+ "learning_rate": 0.00019745268727865774,
36
+ "loss": 2.9864,
37
+ "step": 20
38
+ },
39
+ {
40
+ "epoch": 0.1,
41
+ "grad_norm": 1.695618748664856,
42
+ "learning_rate": 0.0001958521789017376,
43
+ "loss": 2.8715,
44
+ "step": 25
45
+ },
46
+ {
47
+ "epoch": 0.12,
48
+ "grad_norm": 5.028966903686523,
49
+ "learning_rate": 0.00019387338576538744,
50
+ "loss": 2.4938,
51
+ "step": 30
52
+ },
53
+ {
54
+ "epoch": 0.14,
55
+ "grad_norm": 3.31644344329834,
56
+ "learning_rate": 0.00019152411726209176,
57
+ "loss": 2.4925,
58
+ "step": 35
59
+ },
60
+ {
61
+ "epoch": 0.16,
62
+ "grad_norm": 10.450948715209961,
63
+ "learning_rate": 0.0001899405251566371,
64
+ "loss": 2.5641,
65
+ "step": 40
66
+ },
67
+ {
68
+ "epoch": 0.18,
69
+ "grad_norm": 2.144054412841797,
70
+ "learning_rate": 0.0001870183754669526,
71
+ "loss": 2.8727,
72
+ "step": 45
73
+ },
74
+ {
75
+ "epoch": 0.2,
76
+ "grad_norm": 92.50595092773438,
77
+ "learning_rate": 0.0001837528040042142,
78
+ "loss": 2.9301,
79
+ "step": 50
80
+ },
81
+ {
82
+ "epoch": 0.22,
83
+ "grad_norm": 26.027944564819336,
84
+ "learning_rate": 0.00018015669848708767,
85
+ "loss": 2.5419,
86
+ "step": 55
87
+ },
88
+ {
89
+ "epoch": 0.24,
90
+ "grad_norm": 12.144055366516113,
91
+ "learning_rate": 0.0001762442511011448,
92
+ "loss": 2.5677,
93
+ "step": 60
94
+ },
95
+ {
96
+ "epoch": 0.26,
97
+ "grad_norm": 12.395885467529297,
98
+ "learning_rate": 0.0001720309024887907,
99
+ "loss": 2.5559,
100
+ "step": 65
101
+ },
102
+ {
103
+ "epoch": 0.28,
104
+ "grad_norm": 3.1185450553894043,
105
+ "learning_rate": 0.00016753328081210245,
106
+ "loss": 2.5763,
107
+ "step": 70
108
+ },
109
+ {
110
+ "epoch": 0.3,
111
+ "grad_norm": 5.239765167236328,
112
+ "learning_rate": 0.00016276913612907007,
113
+ "loss": 2.4963,
114
+ "step": 75
115
+ },
116
+ {
117
+ "epoch": 0.32,
118
+ "grad_norm": 6.314518451690674,
119
+ "learning_rate": 0.00015775727034222675,
120
+ "loss": 2.5602,
121
+ "step": 80
122
+ },
123
+ {
124
+ "epoch": 0.34,
125
+ "grad_norm": 2.354008674621582,
126
+ "learning_rate": 0.0001525174629961296,
127
+ "loss": 2.6872,
128
+ "step": 85
129
+ },
130
+ {
131
+ "epoch": 0.36,
132
+ "grad_norm": 1.4496679306030273,
133
+ "learning_rate": 0.0001470703932165333,
134
+ "loss": 2.4969,
135
+ "step": 90
136
+ },
137
+ {
138
+ "epoch": 0.38,
139
+ "grad_norm": 9.645381927490234,
140
+ "learning_rate": 0.00014143755809932845,
141
+ "loss": 2.4725,
142
+ "step": 95
143
+ },
144
+ {
145
+ "epoch": 0.4,
146
+ "grad_norm": 1.5071710348129272,
147
+ "learning_rate": 0.00013564118787132506,
148
+ "loss": 2.3662,
149
+ "step": 100
150
+ },
151
+ {
152
+ "epoch": 0.42,
153
+ "grad_norm": 3.7371649742126465,
154
+ "learning_rate": 0.0001297041581577035,
155
+ "loss": 2.3748,
156
+ "step": 105
157
+ },
158
+ {
159
+ "epoch": 0.44,
160
+ "grad_norm": 3.71077823638916,
161
+ "learning_rate": 0.00012364989970237248,
162
+ "loss": 2.4374,
163
+ "step": 110
164
+ },
165
+ {
166
+ "epoch": 0.46,
167
+ "grad_norm": 1.1883786916732788,
168
+ "learning_rate": 0.00011750230589752762,
169
+ "loss": 2.2459,
170
+ "step": 115
171
+ },
172
+ {
173
+ "epoch": 0.48,
174
+ "grad_norm": 2.8230981826782227,
175
+ "learning_rate": 0.00011128563848734816,
176
+ "loss": 2.6068,
177
+ "step": 120
178
+ },
179
+ {
180
+ "epoch": 0.5,
181
+ "grad_norm": 6.169120788574219,
182
+ "learning_rate": 0.00010502443181797697,
183
+ "loss": 2.6697,
184
+ "step": 125
185
+ },
186
+ {
187
+ "epoch": 0.52,
188
+ "grad_norm": 1.7131496667861938,
189
+ "learning_rate": 9.874339601166473e-05,
190
+ "loss": 2.1541,
191
+ "step": 130
192
+ },
193
+ {
194
+ "epoch": 0.54,
195
+ "grad_norm": 2.3437445163726807,
196
+ "learning_rate": 9.246731944720675e-05,
197
+ "loss": 2.5094,
198
+ "step": 135
199
+ },
200
+ {
201
+ "epoch": 0.56,
202
+ "grad_norm": 1.0078409910202026,
203
+ "learning_rate": 8.62209709315362e-05,
204
+ "loss": 2.693,
205
+ "step": 140
206
+ },
207
+ {
208
+ "epoch": 0.58,
209
+ "grad_norm": 0.9157446026802063,
210
+ "learning_rate": 8.002900194855932e-05,
211
+ "loss": 2.4028,
212
+ "step": 145
213
+ },
214
+ {
215
+ "epoch": 0.6,
216
+ "grad_norm": 6.016546249389648,
217
+ "learning_rate": 7.391584937101033e-05,
218
+ "loss": 2.5198,
219
+ "step": 150
220
+ },
221
+ {
222
+ "epoch": 0.62,
223
+ "grad_norm": 2.6909899711608887,
224
+ "learning_rate": 6.790563901927907e-05,
225
+ "loss": 2.3054,
226
+ "step": 155
227
+ },
228
+ {
229
+ "epoch": 0.64,
230
+ "grad_norm": 3.064624071121216,
231
+ "learning_rate": 6.20220904478199e-05,
232
+ "loss": 2.3357,
233
+ "step": 160
234
+ },
235
+ {
236
+ "epoch": 0.66,
237
+ "grad_norm": 1.098503589630127,
238
+ "learning_rate": 5.6288423334906735e-05,
239
+ "loss": 2.1626,
240
+ "step": 165
241
+ },
242
+ {
243
+ "epoch": 0.68,
244
+ "grad_norm": 0.9467936158180237,
245
+ "learning_rate": 5.072726584517086e-05,
246
+ "loss": 2.398,
247
+ "step": 170
248
+ },
249
+ {
250
+ "epoch": 0.7,
251
+ "grad_norm": 2.01023006439209,
252
+ "learning_rate": 4.5360565326573104e-05,
253
+ "loss": 2.4083,
254
+ "step": 175
255
+ },
256
+ {
257
+ "epoch": 0.72,
258
+ "grad_norm": 1.5574626922607422,
259
+ "learning_rate": 4.020950169424815e-05,
260
+ "loss": 2.3016,
261
+ "step": 180
262
+ },
263
+ {
264
+ "epoch": 0.74,
265
+ "grad_norm": 1.4903650283813477,
266
+ "learning_rate": 3.52944038430556e-05,
267
+ "loss": 2.1456,
268
+ "step": 185
269
+ },
270
+ {
271
+ "epoch": 0.76,
272
+ "grad_norm": 2.6484365463256836,
273
+ "learning_rate": 3.063466941871952e-05,
274
+ "loss": 2.3501,
275
+ "step": 190
276
+ },
277
+ {
278
+ "epoch": 0.78,
279
+ "grad_norm": 1.781996488571167,
280
+ "learning_rate": 2.624868826418262e-05,
281
+ "loss": 2.4699,
282
+ "step": 195
283
+ },
284
+ {
285
+ "epoch": 0.8,
286
+ "grad_norm": 1.1791914701461792,
287
+ "learning_rate": 2.2153769843297667e-05,
288
+ "loss": 2.5444,
289
+ "step": 200
290
+ },
291
+ {
292
+ "epoch": 0.82,
293
+ "grad_norm": 9.811576843261719,
294
+ "learning_rate": 1.8366074928281607e-05,
295
+ "loss": 2.3116,
296
+ "step": 205
297
+ },
298
+ {
299
+ "epoch": 0.84,
300
+ "grad_norm": 1.9491240978240967,
301
+ "learning_rate": 1.4900551820530828e-05,
302
+ "loss": 2.5006,
303
+ "step": 210
304
+ },
305
+ {
306
+ "epoch": 0.86,
307
+ "grad_norm": 8.290270805358887,
308
+ "learning_rate": 1.1770877356504683e-05,
309
+ "loss": 2.2932,
310
+ "step": 215
311
+ },
312
+ {
313
+ "epoch": 0.88,
314
+ "grad_norm": 1.6194989681243896,
315
+ "learning_rate": 8.989402931500434e-06,
316
+ "loss": 2.22,
317
+ "step": 220
318
+ },
319
+ {
320
+ "epoch": 0.9,
321
+ "grad_norm": 2.6504359245300293,
322
+ "learning_rate": 6.5671057543387985e-06,
323
+ "loss": 2.4223,
324
+ "step": 225
325
+ },
326
+ {
327
+ "epoch": 0.92,
328
+ "grad_norm": 2.504225969314575,
329
+ "learning_rate": 4.513545525335705e-06,
330
+ "loss": 2.294,
331
+ "step": 230
332
+ },
333
+ {
334
+ "epoch": 0.94,
335
+ "grad_norm": 2.893841505050659,
336
+ "learning_rate": 2.836826708532603e-06,
337
+ "loss": 2.2694,
338
+ "step": 235
339
+ },
340
+ {
341
+ "epoch": 0.96,
342
+ "grad_norm": 1.2419345378875732,
343
+ "learning_rate": 1.543566547079467e-06,
344
+ "loss": 2.4213,
345
+ "step": 240
346
+ },
347
+ {
348
+ "epoch": 0.98,
349
+ "grad_norm": 2.36327862739563,
350
+ "learning_rate": 6.388689479991605e-07,
351
+ "loss": 2.6469,
352
+ "step": 245
353
+ },
354
+ {
355
+ "epoch": 1.0,
356
+ "grad_norm": 2.0228891372680664,
357
+ "learning_rate": 1.2630433939825327e-07,
358
+ "loss": 2.6638,
359
+ "step": 250
360
+ },
361
+ {
362
+ "epoch": 1.0,
363
+ "step": 250,
364
+ "total_flos": 2336253085188096.0,
365
+ "train_loss": 2.622329357147217,
366
+ "train_runtime": 354.2831,
367
+ "train_samples_per_second": 2.823,
368
+ "train_steps_per_second": 0.706
369
+ }
370
+ ],
371
+ "logging_steps": 5,
372
+ "max_steps": 250,
373
+ "num_input_tokens_seen": 0,
374
+ "num_train_epochs": 1,
375
+ "save_steps": 100,
376
+ "total_flos": 2336253085188096.0,
377
+ "train_batch_size": 1,
378
+ "trial_name": null,
379
+ "trial_params": null
380
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4cad26088ff5145bf175c8fc166066abf770feea65c808da9d3fd34fe72d8c66
3
+ size 5048