xu3kev commited on
Commit
94aeed4
1 Parent(s): e85fff5

Upload folder using huggingface_hub

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/README.md +155 -0
  2. gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/adapter_config.json +34 -0
  3. gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/adapter_model.bin +3 -0
  4. gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-312/README.md +202 -0
  5. gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-312/adapter_config.json +34 -0
  6. gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-312/adapter_model.safetensors +3 -0
  7. gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-312/global_step312/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt +3 -0
  8. gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-312/global_step312/bf16_zero_pp_rank_1_mp_rank_00_optim_states.pt +3 -0
  9. gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-312/global_step312/bf16_zero_pp_rank_2_mp_rank_00_optim_states.pt +3 -0
  10. gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-312/global_step312/bf16_zero_pp_rank_3_mp_rank_00_optim_states.pt +3 -0
  11. gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-312/global_step312/bf16_zero_pp_rank_4_mp_rank_00_optim_states.pt +3 -0
  12. gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-312/global_step312/bf16_zero_pp_rank_5_mp_rank_00_optim_states.pt +3 -0
  13. gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-312/global_step312/bf16_zero_pp_rank_6_mp_rank_00_optim_states.pt +3 -0
  14. gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-312/global_step312/bf16_zero_pp_rank_7_mp_rank_00_optim_states.pt +3 -0
  15. gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-312/global_step312/mp_rank_00_model_states.pt +3 -0
  16. gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-312/latest +1 -0
  17. gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-312/rng_state_0.pth +3 -0
  18. gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-312/rng_state_1.pth +3 -0
  19. gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-312/rng_state_2.pth +3 -0
  20. gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-312/rng_state_3.pth +3 -0
  21. gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-312/rng_state_4.pth +3 -0
  22. gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-312/rng_state_5.pth +3 -0
  23. gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-312/rng_state_6.pth +3 -0
  24. gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-312/rng_state_7.pth +3 -0
  25. gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-312/scheduler.pt +3 -0
  26. gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-312/special_tokens_map.json +23 -0
  27. gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-312/tokenizer.json +0 -0
  28. gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-312/tokenizer_config.json +145 -0
  29. gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-312/trainer_state.json +2245 -0
  30. gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-312/training_args.bin +3 -0
  31. gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-312/zero_to_fp32.py +592 -0
  32. gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-624/README.md +202 -0
  33. gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-624/adapter_config.json +34 -0
  34. gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-624/adapter_model.safetensors +3 -0
  35. gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-624/global_step624/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt +3 -0
  36. gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-624/global_step624/bf16_zero_pp_rank_1_mp_rank_00_optim_states.pt +3 -0
  37. gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-624/global_step624/bf16_zero_pp_rank_2_mp_rank_00_optim_states.pt +3 -0
  38. gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-624/global_step624/bf16_zero_pp_rank_3_mp_rank_00_optim_states.pt +3 -0
  39. gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-624/global_step624/bf16_zero_pp_rank_4_mp_rank_00_optim_states.pt +3 -0
  40. gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-624/global_step624/bf16_zero_pp_rank_5_mp_rank_00_optim_states.pt +3 -0
  41. gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-624/global_step624/bf16_zero_pp_rank_6_mp_rank_00_optim_states.pt +3 -0
  42. gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-624/global_step624/bf16_zero_pp_rank_7_mp_rank_00_optim_states.pt +3 -0
  43. gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-624/global_step624/mp_rank_00_model_states.pt +3 -0
  44. gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-624/latest +1 -0
  45. gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-624/rng_state_0.pth +3 -0
  46. gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-624/rng_state_1.pth +3 -0
  47. gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-624/rng_state_2.pth +3 -0
  48. gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-624/rng_state_3.pth +3 -0
  49. gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-624/rng_state_4.pth +3 -0
  50. gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-624/rng_state_5.pth +3 -0
gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/README.md ADDED
@@ -0,0 +1,155 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ library_name: peft
4
+ tags:
5
+ - generated_from_trainer
6
+ base_model: deepseek-ai/deepseek-coder-7b-instruct-v1.5
7
+ model-index:
8
+ - name: lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ [<img src="https://raw.githubusercontent.com/OpenAccess-AI-Collective/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/>](https://github.com/OpenAccess-AI-Collective/axolotl)
16
+ <details><summary>See axolotl config</summary>
17
+
18
+ axolotl version: `0.4.0`
19
+ ```yaml
20
+ adapter: lora
21
+ base_model: deepseek-ai/deepseek-coder-7b-instruct-v1.5
22
+ bf16: auto
23
+ dataset_prepared_path: ./logo_ds_preprocess_list_gpt35
24
+ datasets:
25
+ - path: ../logo/fix_deepseek_synthetic_training_data_full.jsonl
26
+ type:
27
+ field_instruction: input
28
+ field_output: output
29
+ format: '### Instruction:
30
+
31
+ {input}
32
+
33
+ ### Response:
34
+
35
+ '
36
+ no_input_format: '{instruction}'
37
+ debug: null
38
+ deepspeed: ./deepspeed_configs/zero2.json
39
+ early_stopping_patience: null
40
+ eval_sample_packing: true
41
+ evals_per_epoch: 4
42
+ flash_attention: true
43
+ fp16: null
44
+ fsdp: null
45
+ fsdp_config: null
46
+ gradient_accumulation_steps: 1
47
+ gradient_checkpointing: true
48
+ group_by_length: false
49
+ is_llama_derived_model: true
50
+ learning_rate: 0.0002
51
+ load_in_4bit: false
52
+ load_in_8bit: true
53
+ local_rank: null
54
+ logging_steps: 1
55
+ lora_alpha: 512
56
+ lora_dropout: 0.05
57
+ lora_fan_in_fan_out: null
58
+ lora_model_dir: null
59
+ lora_r: 512
60
+ lora_target_linear: true
61
+ lr_scheduler: cosine
62
+ micro_batch_size: 8
63
+ model_type: AutoModelForCausalLM
64
+ num_epochs: 3
65
+ optimizer: adamw_bnb_8bit
66
+ output_dir: ./lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512
67
+ pad_to_sequence_len: true
68
+ resume_from_checkpoint: null
69
+ s2_attention: null
70
+ sample_packing: true
71
+ saves_per_epoch: 1
72
+ sequence_len: 1800
73
+ special_tokens:
74
+ bos_token: "<\uFF5Cbegin\u2581of\u2581sentence\uFF5C>"
75
+ eos_token: <|EOT|>
76
+ strict: true
77
+ tf32: false
78
+ tokenizer_type: AutoTokenizer
79
+ train_on_inputs: false
80
+ val_set_size: 0.05
81
+ wandb_entity: null
82
+ wandb_log_model: null
83
+ wandb_name: logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512
84
+ wandb_project: pbe-axo
85
+ wandb_watch: null
86
+ warmup_steps: 20
87
+ weight_decay: 0.0
88
+ xformers_attention: null
89
+
90
+ ```
91
+
92
+ </details><br>
93
+
94
+ # lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512
95
+
96
+ This model is a fine-tuned version of [deepseek-ai/deepseek-coder-7b-instruct-v1.5](https://huggingface.co/deepseek-ai/deepseek-coder-7b-instruct-v1.5) on the None dataset.
97
+ It achieves the following results on the evaluation set:
98
+ - Loss: 0.4023
99
+
100
+ ## Model description
101
+
102
+ More information needed
103
+
104
+ ## Intended uses & limitations
105
+
106
+ More information needed
107
+
108
+ ## Training and evaluation data
109
+
110
+ More information needed
111
+
112
+ ## Training procedure
113
+
114
+ ### Training hyperparameters
115
+
116
+ The following hyperparameters were used during training:
117
+ - learning_rate: 0.0002
118
+ - train_batch_size: 8
119
+ - eval_batch_size: 8
120
+ - seed: 42
121
+ - distributed_type: multi-GPU
122
+ - num_devices: 8
123
+ - total_train_batch_size: 64
124
+ - total_eval_batch_size: 64
125
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
126
+ - lr_scheduler_type: cosine
127
+ - lr_scheduler_warmup_steps: 20
128
+ - num_epochs: 3
129
+
130
+ ### Training results
131
+
132
+ | Training Loss | Epoch | Step | Validation Loss |
133
+ |:-------------:|:-----:|:----:|:---------------:|
134
+ | 2.3105 | 0.0 | 1 | 2.3643 |
135
+ | 0.463 | 0.25 | 78 | 0.4702 |
136
+ | 0.4169 | 0.5 | 156 | 0.4442 |
137
+ | 0.4411 | 0.75 | 234 | 0.4278 |
138
+ | 0.4635 | 1.0 | 312 | 0.4184 |
139
+ | 0.3626 | 1.23 | 390 | 0.4134 |
140
+ | 0.3622 | 1.48 | 468 | 0.4074 |
141
+ | 0.3903 | 1.73 | 546 | 0.4003 |
142
+ | 0.3737 | 1.98 | 624 | 0.3954 |
143
+ | 0.3169 | 2.21 | 702 | 0.4044 |
144
+ | 0.338 | 2.46 | 780 | 0.4030 |
145
+ | 0.3237 | 2.71 | 858 | 0.4022 |
146
+ | 0.2976 | 2.96 | 936 | 0.4023 |
147
+
148
+
149
+ ### Framework versions
150
+
151
+ - PEFT 0.10.0
152
+ - Transformers 4.40.0.dev0
153
+ - Pytorch 2.1.2+cu121
154
+ - Datasets 2.15.0
155
+ - Tokenizers 0.15.0
gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/adapter_config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "deepseek-ai/deepseek-coder-7b-instruct-v1.5",
5
+ "bias": "none",
6
+ "fan_in_fan_out": null,
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": {},
13
+ "lora_alpha": 512,
14
+ "lora_dropout": 0.05,
15
+ "megatron_config": null,
16
+ "megatron_core": "megatron.core",
17
+ "modules_to_save": null,
18
+ "peft_type": "LORA",
19
+ "r": 512,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": [
23
+ "down_proj",
24
+ "o_proj",
25
+ "k_proj",
26
+ "gate_proj",
27
+ "q_proj",
28
+ "up_proj",
29
+ "v_proj"
30
+ ],
31
+ "task_type": "CAUSAL_LM",
32
+ "use_dora": false,
33
+ "use_rslora": false
34
+ }
gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6c9391e113714f55840ca9846afb1fdc765a62cab6bde99c4dc4b5f1b94926b5
3
+ size 2398684858
gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-312/README.md ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: deepseek-ai/deepseek-coder-7b-instruct-v1.5
4
+ ---
5
+
6
+ # Model Card for Model ID
7
+
8
+ <!-- Provide a quick summary of what the model is/does. -->
9
+
10
+
11
+
12
+ ## Model Details
13
+
14
+ ### Model Description
15
+
16
+ <!-- Provide a longer summary of what this model is. -->
17
+
18
+
19
+
20
+ - **Developed by:** [More Information Needed]
21
+ - **Funded by [optional]:** [More Information Needed]
22
+ - **Shared by [optional]:** [More Information Needed]
23
+ - **Model type:** [More Information Needed]
24
+ - **Language(s) (NLP):** [More Information Needed]
25
+ - **License:** [More Information Needed]
26
+ - **Finetuned from model [optional]:** [More Information Needed]
27
+
28
+ ### Model Sources [optional]
29
+
30
+ <!-- Provide the basic links for the model. -->
31
+
32
+ - **Repository:** [More Information Needed]
33
+ - **Paper [optional]:** [More Information Needed]
34
+ - **Demo [optional]:** [More Information Needed]
35
+
36
+ ## Uses
37
+
38
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
+
40
+ ### Direct Use
41
+
42
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
+
44
+ [More Information Needed]
45
+
46
+ ### Downstream Use [optional]
47
+
48
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
49
+
50
+ [More Information Needed]
51
+
52
+ ### Out-of-Scope Use
53
+
54
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
+
56
+ [More Information Needed]
57
+
58
+ ## Bias, Risks, and Limitations
59
+
60
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
+
62
+ [More Information Needed]
63
+
64
+ ### Recommendations
65
+
66
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
67
+
68
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
69
+
70
+ ## How to Get Started with the Model
71
+
72
+ Use the code below to get started with the model.
73
+
74
+ [More Information Needed]
75
+
76
+ ## Training Details
77
+
78
+ ### Training Data
79
+
80
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
81
+
82
+ [More Information Needed]
83
+
84
+ ### Training Procedure
85
+
86
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
+
88
+ #### Preprocessing [optional]
89
+
90
+ [More Information Needed]
91
+
92
+
93
+ #### Training Hyperparameters
94
+
95
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
+
97
+ #### Speeds, Sizes, Times [optional]
98
+
99
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
100
+
101
+ [More Information Needed]
102
+
103
+ ## Evaluation
104
+
105
+ <!-- This section describes the evaluation protocols and provides the results. -->
106
+
107
+ ### Testing Data, Factors & Metrics
108
+
109
+ #### Testing Data
110
+
111
+ <!-- This should link to a Dataset Card if possible. -->
112
+
113
+ [More Information Needed]
114
+
115
+ #### Factors
116
+
117
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
118
+
119
+ [More Information Needed]
120
+
121
+ #### Metrics
122
+
123
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
124
+
125
+ [More Information Needed]
126
+
127
+ ### Results
128
+
129
+ [More Information Needed]
130
+
131
+ #### Summary
132
+
133
+
134
+
135
+ ## Model Examination [optional]
136
+
137
+ <!-- Relevant interpretability work for the model goes here -->
138
+
139
+ [More Information Needed]
140
+
141
+ ## Environmental Impact
142
+
143
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
144
+
145
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
146
+
147
+ - **Hardware Type:** [More Information Needed]
148
+ - **Hours used:** [More Information Needed]
149
+ - **Cloud Provider:** [More Information Needed]
150
+ - **Compute Region:** [More Information Needed]
151
+ - **Carbon Emitted:** [More Information Needed]
152
+
153
+ ## Technical Specifications [optional]
154
+
155
+ ### Model Architecture and Objective
156
+
157
+ [More Information Needed]
158
+
159
+ ### Compute Infrastructure
160
+
161
+ [More Information Needed]
162
+
163
+ #### Hardware
164
+
165
+ [More Information Needed]
166
+
167
+ #### Software
168
+
169
+ [More Information Needed]
170
+
171
+ ## Citation [optional]
172
+
173
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
174
+
175
+ **BibTeX:**
176
+
177
+ [More Information Needed]
178
+
179
+ **APA:**
180
+
181
+ [More Information Needed]
182
+
183
+ ## Glossary [optional]
184
+
185
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
186
+
187
+ [More Information Needed]
188
+
189
+ ## More Information [optional]
190
+
191
+ [More Information Needed]
192
+
193
+ ## Model Card Authors [optional]
194
+
195
+ [More Information Needed]
196
+
197
+ ## Model Card Contact
198
+
199
+ [More Information Needed]
200
+ ### Framework versions
201
+
202
+ - PEFT 0.10.0
gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-312/adapter_config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "deepseek-ai/deepseek-coder-7b-instruct-v1.5",
5
+ "bias": "none",
6
+ "fan_in_fan_out": null,
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": {},
13
+ "lora_alpha": 512,
14
+ "lora_dropout": 0.05,
15
+ "megatron_config": null,
16
+ "megatron_core": "megatron.core",
17
+ "modules_to_save": null,
18
+ "peft_type": "LORA",
19
+ "r": 512,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": [
23
+ "down_proj",
24
+ "o_proj",
25
+ "k_proj",
26
+ "gate_proj",
27
+ "q_proj",
28
+ "up_proj",
29
+ "v_proj"
30
+ ],
31
+ "task_type": "CAUSAL_LM",
32
+ "use_dora": false,
33
+ "use_rslora": false
34
+ }
gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-312/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:716c574becff74cb4a9b524097b1723504cdc803e2099c512d88c09b0a1209cd
3
+ size 2398675768
gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-312/global_step312/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:25a892e53e6c6938da1e3878b68ae837827a1487821217b46889a644e026cdb8
3
+ size 1798972176
gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-312/global_step312/bf16_zero_pp_rank_1_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:56ddd1bb52451447e750f45d9b963c0a88c6d7bd42c5bc66e76448ee0614309e
3
+ size 1798972240
gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-312/global_step312/bf16_zero_pp_rank_2_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0d1f3ceffa2a68a543c1cf5f504900e609ee3d35d1559d9291bac06f9b48c7c6
3
+ size 1798971920
gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-312/global_step312/bf16_zero_pp_rank_3_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c87e43c87e6c3ab20add4e154b1806e3862eb10d7c24b5c94887b9de051de8ba
3
+ size 1798971984
gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-312/global_step312/bf16_zero_pp_rank_4_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6c55dafd57a20a3ce36d731755f86f04765ced4bb113b1500e3cdf8c4db98c27
3
+ size 1798972176
gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-312/global_step312/bf16_zero_pp_rank_5_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4059cb0e3c1708ddf1bb9bc533f444c725677dff6a64658a30c67c1481be66e6
3
+ size 1798972304
gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-312/global_step312/bf16_zero_pp_rank_6_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2bd6a5808bcd572329de4cb48d2fd8f77f2ce32255f5817e0aeead37ceca7a34
3
+ size 1798971984
gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-312/global_step312/bf16_zero_pp_rank_7_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cf9074bf79bc672c21043cca82cd3f3a40661271d31131d94386cbe2769804b3
3
+ size 1798971984
gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-312/global_step312/mp_rank_00_model_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7c3bea00771be3fe322ce6eff1c26555547b8053a5b0158b839f8ea0137394d3
3
+ size 2404118652
gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-312/latest ADDED
@@ -0,0 +1 @@
 
 
1
+ global_step312
gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-312/rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3cb6b0a56ebfd3e529387176b87dc95f3435e985d46013dcda240f19e12af9dc
3
+ size 15984
gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-312/rng_state_1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:18f5f5ae0e8809069fd769581bbe72294aee8d8480fd5d18cd5c6be5639150f7
3
+ size 15984
gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-312/rng_state_2.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d914a5e85ba34aec8fd4e7f1c70d4aa8edbdbea0e9a7b289fbdb9517ab3f8ce7
3
+ size 15984
gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-312/rng_state_3.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a75b490bda2fd450516df8f4bd735a4b56b662bb58ee7ab8b78aaf9fa6aa78ae
3
+ size 15984
gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-312/rng_state_4.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1df45aba562b67cf559ef057553a7836a102daeef15b04ec73174a1660e3c020
3
+ size 15984
gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-312/rng_state_5.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c376cfcf4acdff6a3ef2b6d4470283a669a8a9911d50a160efb8b67a303502db
3
+ size 15984
gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-312/rng_state_6.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e9ff1e48738d290bd45eeffa75c20ed927a21908723bf24b95fa0065bee70ac7
3
+ size 15984
gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-312/rng_state_7.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fa4167e0c46f2ea4ad71cb302b95a22307f7ac801d9cab851f325bf6f3ae31ff
3
+ size 15984
gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-312/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f65fb92417951981728ad0abbb0606b68a14c918728e73808bdf03178106fcd4
3
+ size 1064
gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-312/special_tokens_map.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<|begin▁of▁sentence|>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<|EOT|>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "<|end▁of▁sentence|>",
18
+ "lstrip": false,
19
+ "normalized": true,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ }
23
+ }
gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-312/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-312/tokenizer_config.json ADDED
@@ -0,0 +1,145 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "added_tokens_decoder": {
5
+ "100000": {
6
+ "content": "<|begin▁of▁sentence|>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "100001": {
14
+ "content": "<|end▁of▁sentence|>",
15
+ "lstrip": false,
16
+ "normalized": true,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "100002": {
22
+ "content": "ø",
23
+ "lstrip": false,
24
+ "normalized": true,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": false
28
+ },
29
+ "100003": {
30
+ "content": "ö",
31
+ "lstrip": false,
32
+ "normalized": true,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": false
36
+ },
37
+ "100004": {
38
+ "content": "ú",
39
+ "lstrip": false,
40
+ "normalized": true,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": false
44
+ },
45
+ "100005": {
46
+ "content": "ÿ",
47
+ "lstrip": false,
48
+ "normalized": true,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": false
52
+ },
53
+ "100006": {
54
+ "content": "õ",
55
+ "lstrip": false,
56
+ "normalized": true,
57
+ "rstrip": false,
58
+ "single_word": false,
59
+ "special": false
60
+ },
61
+ "100007": {
62
+ "content": "÷",
63
+ "lstrip": false,
64
+ "normalized": true,
65
+ "rstrip": false,
66
+ "single_word": false,
67
+ "special": false
68
+ },
69
+ "100008": {
70
+ "content": "û",
71
+ "lstrip": false,
72
+ "normalized": true,
73
+ "rstrip": false,
74
+ "single_word": false,
75
+ "special": false
76
+ },
77
+ "100009": {
78
+ "content": "ý",
79
+ "lstrip": false,
80
+ "normalized": true,
81
+ "rstrip": false,
82
+ "single_word": false,
83
+ "special": false
84
+ },
85
+ "100010": {
86
+ "content": "À",
87
+ "lstrip": false,
88
+ "normalized": true,
89
+ "rstrip": false,
90
+ "single_word": false,
91
+ "special": false
92
+ },
93
+ "100011": {
94
+ "content": "ù",
95
+ "lstrip": false,
96
+ "normalized": true,
97
+ "rstrip": false,
98
+ "single_word": false,
99
+ "special": false
100
+ },
101
+ "100012": {
102
+ "content": "Á",
103
+ "lstrip": false,
104
+ "normalized": true,
105
+ "rstrip": false,
106
+ "single_word": false,
107
+ "special": false
108
+ },
109
+ "100013": {
110
+ "content": "þ",
111
+ "lstrip": false,
112
+ "normalized": true,
113
+ "rstrip": false,
114
+ "single_word": false,
115
+ "special": false
116
+ },
117
+ "100014": {
118
+ "content": "ü",
119
+ "lstrip": false,
120
+ "normalized": true,
121
+ "rstrip": false,
122
+ "single_word": false,
123
+ "special": false
124
+ },
125
+ "100015": {
126
+ "content": "<|EOT|>",
127
+ "lstrip": false,
128
+ "normalized": false,
129
+ "rstrip": false,
130
+ "single_word": false,
131
+ "special": true
132
+ }
133
+ },
134
+ "bos_token": "<|begin▁of▁sentence|>",
135
+ "chat_template": "{% if not add_generation_prompt is defined %}\n{% set add_generation_prompt = false %}\n{% endif %}\n{%- set ns = namespace(found=false) -%}\n{%- for message in messages -%}\n {%- if message['role'] == 'system' -%}\n {%- set ns.found = true -%}\n {%- endif -%}\n{%- endfor -%}\n{{bos_token}}{%- if not ns.found -%}\n{{'You are an AI programming assistant, utilizing the Deepseek Coder model, developed by Deepseek Company, and you only answer questions related to computer science. For politically sensitive questions, security and privacy issues, and other non-computer science questions, you will refuse to answer\\n'}}\n{%- endif %}\n{%- for message in messages %}\n {%- if message['role'] == 'system' %}\n{{ message['content'] }}\n {%- else %}\n {%- if message['role'] == 'user' %}\n{{'### Instruction:\\n' + message['content'] + '\\n'}}\n {%- else %}\n{{'### Response:\\n' + message['content'] + '\\n<|EOT|>\\n'}}\n {%- endif %}\n {%- endif %}\n{%- endfor %}\n{% if add_generation_prompt %}\n{{'### Response:'}}\n{% endif %}",
136
+ "clean_up_tokenization_spaces": false,
137
+ "eos_token": "<|EOT|>",
138
+ "legacy": true,
139
+ "model_max_length": 4096,
140
+ "pad_token": "<|end▁of▁sentence|>",
141
+ "sp_model_kwargs": {},
142
+ "tokenizer_class": "LlamaTokenizer",
143
+ "unk_token": null,
144
+ "use_default_system_prompt": false
145
+ }
gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-312/trainer_state.json ADDED
@@ -0,0 +1,2245 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 1.0,
5
+ "eval_steps": 78,
6
+ "global_step": 312,
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.0,
13
+ "grad_norm": 1.9576937530625236,
14
+ "learning_rate": 1e-05,
15
+ "loss": 2.3105,
16
+ "step": 1
17
+ },
18
+ {
19
+ "epoch": 0.0,
20
+ "eval_loss": 2.3642923831939697,
21
+ "eval_runtime": 31.3026,
22
+ "eval_samples_per_second": 50.667,
23
+ "eval_steps_per_second": 0.799,
24
+ "step": 1
25
+ },
26
+ {
27
+ "epoch": 0.01,
28
+ "grad_norm": 2.016756435109279,
29
+ "learning_rate": 2e-05,
30
+ "loss": 2.3822,
31
+ "step": 2
32
+ },
33
+ {
34
+ "epoch": 0.01,
35
+ "grad_norm": 1.7558182317986264,
36
+ "learning_rate": 3e-05,
37
+ "loss": 2.2765,
38
+ "step": 3
39
+ },
40
+ {
41
+ "epoch": 0.01,
42
+ "grad_norm": 1.4623363957636424,
43
+ "learning_rate": 4e-05,
44
+ "loss": 2.0812,
45
+ "step": 4
46
+ },
47
+ {
48
+ "epoch": 0.02,
49
+ "grad_norm": 1.134156633277105,
50
+ "learning_rate": 5e-05,
51
+ "loss": 1.798,
52
+ "step": 5
53
+ },
54
+ {
55
+ "epoch": 0.02,
56
+ "grad_norm": 0.7690432787697787,
57
+ "learning_rate": 6e-05,
58
+ "loss": 1.3743,
59
+ "step": 6
60
+ },
61
+ {
62
+ "epoch": 0.02,
63
+ "grad_norm": 0.886611999270118,
64
+ "learning_rate": 7e-05,
65
+ "loss": 1.2698,
66
+ "step": 7
67
+ },
68
+ {
69
+ "epoch": 0.03,
70
+ "grad_norm": 0.7973710180632572,
71
+ "learning_rate": 8e-05,
72
+ "loss": 0.9957,
73
+ "step": 8
74
+ },
75
+ {
76
+ "epoch": 0.03,
77
+ "grad_norm": 0.6695485757123936,
78
+ "learning_rate": 9e-05,
79
+ "loss": 0.8504,
80
+ "step": 9
81
+ },
82
+ {
83
+ "epoch": 0.03,
84
+ "grad_norm": 0.5684386784655082,
85
+ "learning_rate": 0.0001,
86
+ "loss": 0.7259,
87
+ "step": 10
88
+ },
89
+ {
90
+ "epoch": 0.04,
91
+ "grad_norm": 0.4504348217072197,
92
+ "learning_rate": 0.00011000000000000002,
93
+ "loss": 0.7077,
94
+ "step": 11
95
+ },
96
+ {
97
+ "epoch": 0.04,
98
+ "grad_norm": 0.36339319206682963,
99
+ "learning_rate": 0.00012,
100
+ "loss": 0.6921,
101
+ "step": 12
102
+ },
103
+ {
104
+ "epoch": 0.04,
105
+ "grad_norm": 0.3224158197143531,
106
+ "learning_rate": 0.00013000000000000002,
107
+ "loss": 0.5797,
108
+ "step": 13
109
+ },
110
+ {
111
+ "epoch": 0.04,
112
+ "grad_norm": 0.21382937684980174,
113
+ "learning_rate": 0.00014,
114
+ "loss": 0.5724,
115
+ "step": 14
116
+ },
117
+ {
118
+ "epoch": 0.05,
119
+ "grad_norm": 0.18630690263851857,
120
+ "learning_rate": 0.00015000000000000001,
121
+ "loss": 0.5883,
122
+ "step": 15
123
+ },
124
+ {
125
+ "epoch": 0.05,
126
+ "grad_norm": 0.18338477639373002,
127
+ "learning_rate": 0.00016,
128
+ "loss": 0.5608,
129
+ "step": 16
130
+ },
131
+ {
132
+ "epoch": 0.05,
133
+ "grad_norm": 0.17973298036275828,
134
+ "learning_rate": 0.00017,
135
+ "loss": 0.5204,
136
+ "step": 17
137
+ },
138
+ {
139
+ "epoch": 0.06,
140
+ "grad_norm": 0.14677483054602705,
141
+ "learning_rate": 0.00018,
142
+ "loss": 0.5816,
143
+ "step": 18
144
+ },
145
+ {
146
+ "epoch": 0.06,
147
+ "grad_norm": 0.20527755486363392,
148
+ "learning_rate": 0.00019,
149
+ "loss": 0.5549,
150
+ "step": 19
151
+ },
152
+ {
153
+ "epoch": 0.06,
154
+ "grad_norm": 0.22469508152984974,
155
+ "learning_rate": 0.0002,
156
+ "loss": 0.5259,
157
+ "step": 20
158
+ },
159
+ {
160
+ "epoch": 0.07,
161
+ "grad_norm": 0.13963615923703887,
162
+ "learning_rate": 0.00019999941186316965,
163
+ "loss": 0.5415,
164
+ "step": 21
165
+ },
166
+ {
167
+ "epoch": 0.07,
168
+ "grad_norm": 0.2487915230723844,
169
+ "learning_rate": 0.0001999976474595967,
170
+ "loss": 0.5296,
171
+ "step": 22
172
+ },
173
+ {
174
+ "epoch": 0.07,
175
+ "grad_norm": 0.15679778398631403,
176
+ "learning_rate": 0.00019999470681003533,
177
+ "loss": 0.5308,
178
+ "step": 23
179
+ },
180
+ {
181
+ "epoch": 0.08,
182
+ "grad_norm": 0.16274363749163362,
183
+ "learning_rate": 0.00019999058994907564,
184
+ "loss": 0.5488,
185
+ "step": 24
186
+ },
187
+ {
188
+ "epoch": 0.08,
189
+ "grad_norm": 0.11548554800287134,
190
+ "learning_rate": 0.00019998529692514318,
191
+ "loss": 0.523,
192
+ "step": 25
193
+ },
194
+ {
195
+ "epoch": 0.08,
196
+ "grad_norm": 0.1926387691379014,
197
+ "learning_rate": 0.00019997882780049847,
198
+ "loss": 0.5395,
199
+ "step": 26
200
+ },
201
+ {
202
+ "epoch": 0.09,
203
+ "grad_norm": 0.11478363802679677,
204
+ "learning_rate": 0.00019997118265123597,
205
+ "loss": 0.4966,
206
+ "step": 27
207
+ },
208
+ {
209
+ "epoch": 0.09,
210
+ "grad_norm": 0.12922130001001353,
211
+ "learning_rate": 0.0001999623615672837,
212
+ "loss": 0.495,
213
+ "step": 28
214
+ },
215
+ {
216
+ "epoch": 0.09,
217
+ "grad_norm": 0.154649765536972,
218
+ "learning_rate": 0.00019995236465240166,
219
+ "loss": 0.5528,
220
+ "step": 29
221
+ },
222
+ {
223
+ "epoch": 0.1,
224
+ "grad_norm": 0.1102239917890927,
225
+ "learning_rate": 0.00019994119202418098,
226
+ "loss": 0.5,
227
+ "step": 30
228
+ },
229
+ {
230
+ "epoch": 0.1,
231
+ "grad_norm": 0.12057481213954827,
232
+ "learning_rate": 0.00019992884381404228,
233
+ "loss": 0.5044,
234
+ "step": 31
235
+ },
236
+ {
237
+ "epoch": 0.1,
238
+ "grad_norm": 0.11845756760213995,
239
+ "learning_rate": 0.00019991532016723439,
240
+ "loss": 0.5072,
241
+ "step": 32
242
+ },
243
+ {
244
+ "epoch": 0.11,
245
+ "grad_norm": 0.1016045171681305,
246
+ "learning_rate": 0.0001999006212428323,
247
+ "loss": 0.5199,
248
+ "step": 33
249
+ },
250
+ {
251
+ "epoch": 0.11,
252
+ "grad_norm": 0.10165821205500736,
253
+ "learning_rate": 0.00019988474721373568,
254
+ "loss": 0.5061,
255
+ "step": 34
256
+ },
257
+ {
258
+ "epoch": 0.11,
259
+ "grad_norm": 0.09725718978705772,
260
+ "learning_rate": 0.00019986769826666652,
261
+ "loss": 0.5058,
262
+ "step": 35
263
+ },
264
+ {
265
+ "epoch": 0.12,
266
+ "grad_norm": 0.10013953937644998,
267
+ "learning_rate": 0.00019984947460216707,
268
+ "loss": 0.4662,
269
+ "step": 36
270
+ },
271
+ {
272
+ "epoch": 0.12,
273
+ "grad_norm": 0.09585472186577305,
274
+ "learning_rate": 0.00019983007643459755,
275
+ "loss": 0.5209,
276
+ "step": 37
277
+ },
278
+ {
279
+ "epoch": 0.12,
280
+ "grad_norm": 0.12160225588940578,
281
+ "learning_rate": 0.00019980950399213344,
282
+ "loss": 0.4799,
283
+ "step": 38
284
+ },
285
+ {
286
+ "epoch": 0.12,
287
+ "grad_norm": 0.08783461057350635,
288
+ "learning_rate": 0.00019978775751676298,
289
+ "loss": 0.4601,
290
+ "step": 39
291
+ },
292
+ {
293
+ "epoch": 0.13,
294
+ "grad_norm": 0.09361279898761421,
295
+ "learning_rate": 0.00019976483726428422,
296
+ "loss": 0.4839,
297
+ "step": 40
298
+ },
299
+ {
300
+ "epoch": 0.13,
301
+ "grad_norm": 0.10246186756638315,
302
+ "learning_rate": 0.0001997407435043021,
303
+ "loss": 0.4829,
304
+ "step": 41
305
+ },
306
+ {
307
+ "epoch": 0.13,
308
+ "grad_norm": 0.08699899980810057,
309
+ "learning_rate": 0.0001997154765202251,
310
+ "loss": 0.4858,
311
+ "step": 42
312
+ },
313
+ {
314
+ "epoch": 0.14,
315
+ "grad_norm": 0.0872056094840794,
316
+ "learning_rate": 0.0001996890366092622,
317
+ "loss": 0.4994,
318
+ "step": 43
319
+ },
320
+ {
321
+ "epoch": 0.14,
322
+ "grad_norm": 0.10404734980212342,
323
+ "learning_rate": 0.00019966142408241901,
324
+ "loss": 0.4821,
325
+ "step": 44
326
+ },
327
+ {
328
+ "epoch": 0.14,
329
+ "grad_norm": 0.10271882693772645,
330
+ "learning_rate": 0.00019963263926449444,
331
+ "loss": 0.5136,
332
+ "step": 45
333
+ },
334
+ {
335
+ "epoch": 0.15,
336
+ "grad_norm": 0.09615809933833842,
337
+ "learning_rate": 0.00019960268249407675,
338
+ "loss": 0.4806,
339
+ "step": 46
340
+ },
341
+ {
342
+ "epoch": 0.15,
343
+ "grad_norm": 0.10324244169737243,
344
+ "learning_rate": 0.0001995715541235395,
345
+ "loss": 0.5178,
346
+ "step": 47
347
+ },
348
+ {
349
+ "epoch": 0.15,
350
+ "grad_norm": 0.09144153708576061,
351
+ "learning_rate": 0.00019953925451903756,
352
+ "loss": 0.4906,
353
+ "step": 48
354
+ },
355
+ {
356
+ "epoch": 0.16,
357
+ "grad_norm": 0.08917919344270175,
358
+ "learning_rate": 0.0001995057840605026,
359
+ "loss": 0.4854,
360
+ "step": 49
361
+ },
362
+ {
363
+ "epoch": 0.16,
364
+ "grad_norm": 0.09554449870725211,
365
+ "learning_rate": 0.0001994711431416389,
366
+ "loss": 0.4939,
367
+ "step": 50
368
+ },
369
+ {
370
+ "epoch": 0.16,
371
+ "grad_norm": 0.09115002372736682,
372
+ "learning_rate": 0.00019943533216991842,
373
+ "loss": 0.4955,
374
+ "step": 51
375
+ },
376
+ {
377
+ "epoch": 0.17,
378
+ "grad_norm": 0.08353991501841487,
379
+ "learning_rate": 0.00019939835156657616,
380
+ "loss": 0.4942,
381
+ "step": 52
382
+ },
383
+ {
384
+ "epoch": 0.17,
385
+ "grad_norm": 0.10546903256978929,
386
+ "learning_rate": 0.00019936020176660523,
387
+ "loss": 0.5566,
388
+ "step": 53
389
+ },
390
+ {
391
+ "epoch": 0.17,
392
+ "grad_norm": 0.08497316721885892,
393
+ "learning_rate": 0.00019932088321875172,
394
+ "loss": 0.445,
395
+ "step": 54
396
+ },
397
+ {
398
+ "epoch": 0.18,
399
+ "grad_norm": 0.07851980705890292,
400
+ "learning_rate": 0.0001992803963855093,
401
+ "loss": 0.4611,
402
+ "step": 55
403
+ },
404
+ {
405
+ "epoch": 0.18,
406
+ "grad_norm": 0.08361298203943864,
407
+ "learning_rate": 0.00019923874174311394,
408
+ "loss": 0.4303,
409
+ "step": 56
410
+ },
411
+ {
412
+ "epoch": 0.18,
413
+ "grad_norm": 0.0841263746061434,
414
+ "learning_rate": 0.00019919591978153825,
415
+ "loss": 0.4946,
416
+ "step": 57
417
+ },
418
+ {
419
+ "epoch": 0.19,
420
+ "grad_norm": 0.0780879111467538,
421
+ "learning_rate": 0.0001991519310044857,
422
+ "loss": 0.4689,
423
+ "step": 58
424
+ },
425
+ {
426
+ "epoch": 0.19,
427
+ "grad_norm": 0.08732617645014529,
428
+ "learning_rate": 0.00019910677592938457,
429
+ "loss": 0.4918,
430
+ "step": 59
431
+ },
432
+ {
433
+ "epoch": 0.19,
434
+ "grad_norm": 0.08908129146664355,
435
+ "learning_rate": 0.00019906045508738228,
436
+ "loss": 0.4989,
437
+ "step": 60
438
+ },
439
+ {
440
+ "epoch": 0.2,
441
+ "grad_norm": 0.07378157682196985,
442
+ "learning_rate": 0.00019901296902333858,
443
+ "loss": 0.4405,
444
+ "step": 61
445
+ },
446
+ {
447
+ "epoch": 0.2,
448
+ "grad_norm": 0.08388050997830931,
449
+ "learning_rate": 0.0001989643182958196,
450
+ "loss": 0.4921,
451
+ "step": 62
452
+ },
453
+ {
454
+ "epoch": 0.2,
455
+ "grad_norm": 0.08494891432391286,
456
+ "learning_rate": 0.00019891450347709098,
457
+ "loss": 0.4749,
458
+ "step": 63
459
+ },
460
+ {
461
+ "epoch": 0.21,
462
+ "grad_norm": 0.08652999220189139,
463
+ "learning_rate": 0.00019886352515311134,
464
+ "loss": 0.5102,
465
+ "step": 64
466
+ },
467
+ {
468
+ "epoch": 0.21,
469
+ "grad_norm": 0.0758488450712337,
470
+ "learning_rate": 0.00019881138392352529,
471
+ "loss": 0.485,
472
+ "step": 65
473
+ },
474
+ {
475
+ "epoch": 0.21,
476
+ "grad_norm": 0.0807458785920033,
477
+ "learning_rate": 0.0001987580804016563,
478
+ "loss": 0.4539,
479
+ "step": 66
480
+ },
481
+ {
482
+ "epoch": 0.21,
483
+ "grad_norm": 0.0904952507784973,
484
+ "learning_rate": 0.00019870361521449978,
485
+ "loss": 0.5093,
486
+ "step": 67
487
+ },
488
+ {
489
+ "epoch": 0.22,
490
+ "grad_norm": 0.07874392972836033,
491
+ "learning_rate": 0.00019864798900271532,
492
+ "loss": 0.4985,
493
+ "step": 68
494
+ },
495
+ {
496
+ "epoch": 0.22,
497
+ "grad_norm": 0.08074850253327294,
498
+ "learning_rate": 0.0001985912024206194,
499
+ "loss": 0.4857,
500
+ "step": 69
501
+ },
502
+ {
503
+ "epoch": 0.22,
504
+ "grad_norm": 0.07702553592964846,
505
+ "learning_rate": 0.0001985332561361776,
506
+ "loss": 0.4848,
507
+ "step": 70
508
+ },
509
+ {
510
+ "epoch": 0.23,
511
+ "grad_norm": 0.07538964191843366,
512
+ "learning_rate": 0.00019847415083099686,
513
+ "loss": 0.463,
514
+ "step": 71
515
+ },
516
+ {
517
+ "epoch": 0.23,
518
+ "grad_norm": 0.07455910267208772,
519
+ "learning_rate": 0.00019841388720031727,
520
+ "loss": 0.4607,
521
+ "step": 72
522
+ },
523
+ {
524
+ "epoch": 0.23,
525
+ "grad_norm": 0.07568421209759528,
526
+ "learning_rate": 0.00019835246595300405,
527
+ "loss": 0.469,
528
+ "step": 73
529
+ },
530
+ {
531
+ "epoch": 0.24,
532
+ "grad_norm": 0.08283925051757123,
533
+ "learning_rate": 0.00019828988781153917,
534
+ "loss": 0.4798,
535
+ "step": 74
536
+ },
537
+ {
538
+ "epoch": 0.24,
539
+ "grad_norm": 0.07197018105379838,
540
+ "learning_rate": 0.0001982261535120128,
541
+ "loss": 0.4495,
542
+ "step": 75
543
+ },
544
+ {
545
+ "epoch": 0.24,
546
+ "grad_norm": 0.07588357960118751,
547
+ "learning_rate": 0.00019816126380411476,
548
+ "loss": 0.4933,
549
+ "step": 76
550
+ },
551
+ {
552
+ "epoch": 0.25,
553
+ "grad_norm": 0.07762197438469468,
554
+ "learning_rate": 0.00019809521945112559,
555
+ "loss": 0.4338,
556
+ "step": 77
557
+ },
558
+ {
559
+ "epoch": 0.25,
560
+ "grad_norm": 0.07429965528466595,
561
+ "learning_rate": 0.00019802802122990758,
562
+ "loss": 0.463,
563
+ "step": 78
564
+ },
565
+ {
566
+ "epoch": 0.25,
567
+ "eval_loss": 0.47018665075302124,
568
+ "eval_runtime": 31.4457,
569
+ "eval_samples_per_second": 50.436,
570
+ "eval_steps_per_second": 0.795,
571
+ "step": 78
572
+ },
573
+ {
574
+ "epoch": 0.25,
575
+ "grad_norm": 0.07607844932261384,
576
+ "learning_rate": 0.00019795966993089574,
577
+ "loss": 0.4543,
578
+ "step": 79
579
+ },
580
+ {
581
+ "epoch": 0.26,
582
+ "grad_norm": 0.081174945094011,
583
+ "learning_rate": 0.00019789016635808837,
584
+ "loss": 0.4915,
585
+ "step": 80
586
+ },
587
+ {
588
+ "epoch": 0.26,
589
+ "grad_norm": 0.07915337361027842,
590
+ "learning_rate": 0.0001978195113290377,
591
+ "loss": 0.474,
592
+ "step": 81
593
+ },
594
+ {
595
+ "epoch": 0.26,
596
+ "grad_norm": 0.0783187074092481,
597
+ "learning_rate": 0.00019774770567484022,
598
+ "loss": 0.4481,
599
+ "step": 82
600
+ },
601
+ {
602
+ "epoch": 0.27,
603
+ "grad_norm": 0.07880715046238167,
604
+ "learning_rate": 0.00019767475024012697,
605
+ "loss": 0.4341,
606
+ "step": 83
607
+ },
608
+ {
609
+ "epoch": 0.27,
610
+ "grad_norm": 0.0806976838276348,
611
+ "learning_rate": 0.00019760064588305345,
612
+ "loss": 0.4641,
613
+ "step": 84
614
+ },
615
+ {
616
+ "epoch": 0.27,
617
+ "grad_norm": 0.08758634506990264,
618
+ "learning_rate": 0.00019752539347528972,
619
+ "loss": 0.4768,
620
+ "step": 85
621
+ },
622
+ {
623
+ "epoch": 0.28,
624
+ "grad_norm": 0.08753532277842584,
625
+ "learning_rate": 0.00019744899390201006,
626
+ "loss": 0.4505,
627
+ "step": 86
628
+ },
629
+ {
630
+ "epoch": 0.28,
631
+ "grad_norm": 0.09777683442661952,
632
+ "learning_rate": 0.00019737144806188247,
633
+ "loss": 0.4938,
634
+ "step": 87
635
+ },
636
+ {
637
+ "epoch": 0.28,
638
+ "grad_norm": 0.10475365288705184,
639
+ "learning_rate": 0.0001972927568670583,
640
+ "loss": 0.4692,
641
+ "step": 88
642
+ },
643
+ {
644
+ "epoch": 0.29,
645
+ "grad_norm": 0.07697624292561879,
646
+ "learning_rate": 0.00019721292124316131,
647
+ "loss": 0.4646,
648
+ "step": 89
649
+ },
650
+ {
651
+ "epoch": 0.29,
652
+ "grad_norm": 0.0889139209733116,
653
+ "learning_rate": 0.00019713194212927696,
654
+ "loss": 0.4469,
655
+ "step": 90
656
+ },
657
+ {
658
+ "epoch": 0.29,
659
+ "grad_norm": 0.09311930282978383,
660
+ "learning_rate": 0.00019704982047794115,
661
+ "loss": 0.5151,
662
+ "step": 91
663
+ },
664
+ {
665
+ "epoch": 0.29,
666
+ "grad_norm": 0.08434147654476686,
667
+ "learning_rate": 0.00019696655725512933,
668
+ "loss": 0.4588,
669
+ "step": 92
670
+ },
671
+ {
672
+ "epoch": 0.3,
673
+ "grad_norm": 0.08609043947490852,
674
+ "learning_rate": 0.0001968821534402448,
675
+ "loss": 0.4506,
676
+ "step": 93
677
+ },
678
+ {
679
+ "epoch": 0.3,
680
+ "grad_norm": 0.08017126052043291,
681
+ "learning_rate": 0.00019679661002610743,
682
+ "loss": 0.4475,
683
+ "step": 94
684
+ },
685
+ {
686
+ "epoch": 0.3,
687
+ "grad_norm": 0.08937103886262696,
688
+ "learning_rate": 0.00019670992801894185,
689
+ "loss": 0.4323,
690
+ "step": 95
691
+ },
692
+ {
693
+ "epoch": 0.31,
694
+ "grad_norm": 0.08243440718087472,
695
+ "learning_rate": 0.00019662210843836574,
696
+ "loss": 0.4682,
697
+ "step": 96
698
+ },
699
+ {
700
+ "epoch": 0.31,
701
+ "grad_norm": 0.0822028482677556,
702
+ "learning_rate": 0.00019653315231737758,
703
+ "loss": 0.4632,
704
+ "step": 97
705
+ },
706
+ {
707
+ "epoch": 0.31,
708
+ "grad_norm": 0.08768647113231792,
709
+ "learning_rate": 0.0001964430607023449,
710
+ "loss": 0.4763,
711
+ "step": 98
712
+ },
713
+ {
714
+ "epoch": 0.32,
715
+ "grad_norm": 0.08310160386974857,
716
+ "learning_rate": 0.00019635183465299157,
717
+ "loss": 0.4738,
718
+ "step": 99
719
+ },
720
+ {
721
+ "epoch": 0.32,
722
+ "grad_norm": 0.08524529510828038,
723
+ "learning_rate": 0.00019625947524238563,
724
+ "loss": 0.5143,
725
+ "step": 100
726
+ },
727
+ {
728
+ "epoch": 0.32,
729
+ "grad_norm": 0.07981231231973578,
730
+ "learning_rate": 0.00019616598355692643,
731
+ "loss": 0.4595,
732
+ "step": 101
733
+ },
734
+ {
735
+ "epoch": 0.33,
736
+ "grad_norm": 0.07385816946714303,
737
+ "learning_rate": 0.00019607136069633212,
738
+ "loss": 0.4757,
739
+ "step": 102
740
+ },
741
+ {
742
+ "epoch": 0.33,
743
+ "grad_norm": 0.08330603210697045,
744
+ "learning_rate": 0.00019597560777362644,
745
+ "loss": 0.4642,
746
+ "step": 103
747
+ },
748
+ {
749
+ "epoch": 0.33,
750
+ "grad_norm": 0.07210743188564775,
751
+ "learning_rate": 0.0001958787259151258,
752
+ "loss": 0.453,
753
+ "step": 104
754
+ },
755
+ {
756
+ "epoch": 0.34,
757
+ "grad_norm": 0.07134818865047196,
758
+ "learning_rate": 0.00019578071626042602,
759
+ "loss": 0.3932,
760
+ "step": 105
761
+ },
762
+ {
763
+ "epoch": 0.34,
764
+ "grad_norm": 0.07922767957981888,
765
+ "learning_rate": 0.00019568157996238884,
766
+ "loss": 0.4912,
767
+ "step": 106
768
+ },
769
+ {
770
+ "epoch": 0.34,
771
+ "grad_norm": 0.08771064927922,
772
+ "learning_rate": 0.00019558131818712838,
773
+ "loss": 0.47,
774
+ "step": 107
775
+ },
776
+ {
777
+ "epoch": 0.35,
778
+ "grad_norm": 0.07855314418750606,
779
+ "learning_rate": 0.0001954799321139975,
780
+ "loss": 0.449,
781
+ "step": 108
782
+ },
783
+ {
784
+ "epoch": 0.35,
785
+ "grad_norm": 0.08846173699063252,
786
+ "learning_rate": 0.00019537742293557396,
787
+ "loss": 0.5129,
788
+ "step": 109
789
+ },
790
+ {
791
+ "epoch": 0.35,
792
+ "grad_norm": 0.08236891075291973,
793
+ "learning_rate": 0.00019527379185764612,
794
+ "loss": 0.4965,
795
+ "step": 110
796
+ },
797
+ {
798
+ "epoch": 0.36,
799
+ "grad_norm": 0.07795835842381585,
800
+ "learning_rate": 0.0001951690400991991,
801
+ "loss": 0.4558,
802
+ "step": 111
803
+ },
804
+ {
805
+ "epoch": 0.36,
806
+ "grad_norm": 0.08344617544927467,
807
+ "learning_rate": 0.00019506316889240027,
808
+ "loss": 0.4316,
809
+ "step": 112
810
+ },
811
+ {
812
+ "epoch": 0.36,
813
+ "grad_norm": 0.07540899421075185,
814
+ "learning_rate": 0.0001949561794825847,
815
+ "loss": 0.4509,
816
+ "step": 113
817
+ },
818
+ {
819
+ "epoch": 0.37,
820
+ "grad_norm": 0.07189761355465896,
821
+ "learning_rate": 0.00019484807312824067,
822
+ "loss": 0.4261,
823
+ "step": 114
824
+ },
825
+ {
826
+ "epoch": 0.37,
827
+ "grad_norm": 0.08219409571224609,
828
+ "learning_rate": 0.0001947388511009947,
829
+ "loss": 0.4259,
830
+ "step": 115
831
+ },
832
+ {
833
+ "epoch": 0.37,
834
+ "grad_norm": 0.07937686601645606,
835
+ "learning_rate": 0.0001946285146855968,
836
+ "loss": 0.466,
837
+ "step": 116
838
+ },
839
+ {
840
+ "epoch": 0.38,
841
+ "grad_norm": 0.08615291754393793,
842
+ "learning_rate": 0.00019451706517990513,
843
+ "loss": 0.4553,
844
+ "step": 117
845
+ },
846
+ {
847
+ "epoch": 0.38,
848
+ "grad_norm": 0.08779783383935659,
849
+ "learning_rate": 0.0001944045038948709,
850
+ "loss": 0.4468,
851
+ "step": 118
852
+ },
853
+ {
854
+ "epoch": 0.38,
855
+ "grad_norm": 0.08147943900072253,
856
+ "learning_rate": 0.00019429083215452276,
857
+ "loss": 0.4561,
858
+ "step": 119
859
+ },
860
+ {
861
+ "epoch": 0.38,
862
+ "grad_norm": 0.09099776866425152,
863
+ "learning_rate": 0.00019417605129595157,
864
+ "loss": 0.5018,
865
+ "step": 120
866
+ },
867
+ {
868
+ "epoch": 0.39,
869
+ "grad_norm": 0.08424197379690702,
870
+ "learning_rate": 0.0001940601626692943,
871
+ "loss": 0.4526,
872
+ "step": 121
873
+ },
874
+ {
875
+ "epoch": 0.39,
876
+ "grad_norm": 0.07866217295326207,
877
+ "learning_rate": 0.0001939431676377183,
878
+ "loss": 0.4321,
879
+ "step": 122
880
+ },
881
+ {
882
+ "epoch": 0.39,
883
+ "grad_norm": 0.08138284265704941,
884
+ "learning_rate": 0.00019382506757740532,
885
+ "loss": 0.4392,
886
+ "step": 123
887
+ },
888
+ {
889
+ "epoch": 0.4,
890
+ "grad_norm": 0.08763203993333732,
891
+ "learning_rate": 0.0001937058638775353,
892
+ "loss": 0.4718,
893
+ "step": 124
894
+ },
895
+ {
896
+ "epoch": 0.4,
897
+ "grad_norm": 0.07676395750806715,
898
+ "learning_rate": 0.00019358555794027,
899
+ "loss": 0.4303,
900
+ "step": 125
901
+ },
902
+ {
903
+ "epoch": 0.4,
904
+ "grad_norm": 0.08899095845003774,
905
+ "learning_rate": 0.00019346415118073632,
906
+ "loss": 0.4688,
907
+ "step": 126
908
+ },
909
+ {
910
+ "epoch": 0.41,
911
+ "grad_norm": 0.08985241039663144,
912
+ "learning_rate": 0.00019334164502701016,
913
+ "loss": 0.4502,
914
+ "step": 127
915
+ },
916
+ {
917
+ "epoch": 0.41,
918
+ "grad_norm": 0.08864463459153939,
919
+ "learning_rate": 0.00019321804092009906,
920
+ "loss": 0.4596,
921
+ "step": 128
922
+ },
923
+ {
924
+ "epoch": 0.41,
925
+ "grad_norm": 0.08426846372338173,
926
+ "learning_rate": 0.0001930933403139256,
927
+ "loss": 0.4321,
928
+ "step": 129
929
+ },
930
+ {
931
+ "epoch": 0.42,
932
+ "grad_norm": 0.07954390493054744,
933
+ "learning_rate": 0.00019296754467531014,
934
+ "loss": 0.4258,
935
+ "step": 130
936
+ },
937
+ {
938
+ "epoch": 0.42,
939
+ "grad_norm": 0.07712555497675415,
940
+ "learning_rate": 0.00019284065548395363,
941
+ "loss": 0.4458,
942
+ "step": 131
943
+ },
944
+ {
945
+ "epoch": 0.42,
946
+ "grad_norm": 0.09826199538529941,
947
+ "learning_rate": 0.00019271267423242024,
948
+ "loss": 0.4739,
949
+ "step": 132
950
+ },
951
+ {
952
+ "epoch": 0.43,
953
+ "grad_norm": 0.07937324926086349,
954
+ "learning_rate": 0.00019258360242611973,
955
+ "loss": 0.3958,
956
+ "step": 133
957
+ },
958
+ {
959
+ "epoch": 0.43,
960
+ "grad_norm": 0.09276594332492127,
961
+ "learning_rate": 0.00019245344158328972,
962
+ "loss": 0.4454,
963
+ "step": 134
964
+ },
965
+ {
966
+ "epoch": 0.43,
967
+ "grad_norm": 0.09469314851059352,
968
+ "learning_rate": 0.00019232219323497797,
969
+ "loss": 0.5012,
970
+ "step": 135
971
+ },
972
+ {
973
+ "epoch": 0.44,
974
+ "grad_norm": 0.08080639785303419,
975
+ "learning_rate": 0.0001921898589250242,
976
+ "loss": 0.4258,
977
+ "step": 136
978
+ },
979
+ {
980
+ "epoch": 0.44,
981
+ "grad_norm": 0.08107763850205266,
982
+ "learning_rate": 0.00019205644021004202,
983
+ "loss": 0.4365,
984
+ "step": 137
985
+ },
986
+ {
987
+ "epoch": 0.44,
988
+ "grad_norm": 0.09645480193078979,
989
+ "learning_rate": 0.0001919219386594007,
990
+ "loss": 0.4445,
991
+ "step": 138
992
+ },
993
+ {
994
+ "epoch": 0.45,
995
+ "grad_norm": 0.0984618243938996,
996
+ "learning_rate": 0.0001917863558552065,
997
+ "loss": 0.4519,
998
+ "step": 139
999
+ },
1000
+ {
1001
+ "epoch": 0.45,
1002
+ "grad_norm": 0.08810102921338284,
1003
+ "learning_rate": 0.00019164969339228422,
1004
+ "loss": 0.4275,
1005
+ "step": 140
1006
+ },
1007
+ {
1008
+ "epoch": 0.45,
1009
+ "grad_norm": 0.07209850008164273,
1010
+ "learning_rate": 0.0001915119528781585,
1011
+ "loss": 0.446,
1012
+ "step": 141
1013
+ },
1014
+ {
1015
+ "epoch": 0.46,
1016
+ "grad_norm": 0.08534362535649169,
1017
+ "learning_rate": 0.00019137313593303463,
1018
+ "loss": 0.419,
1019
+ "step": 142
1020
+ },
1021
+ {
1022
+ "epoch": 0.46,
1023
+ "grad_norm": 0.07931386455567475,
1024
+ "learning_rate": 0.00019123324418977982,
1025
+ "loss": 0.4683,
1026
+ "step": 143
1027
+ },
1028
+ {
1029
+ "epoch": 0.46,
1030
+ "grad_norm": 0.07920091476694083,
1031
+ "learning_rate": 0.00019109227929390378,
1032
+ "loss": 0.4641,
1033
+ "step": 144
1034
+ },
1035
+ {
1036
+ "epoch": 0.46,
1037
+ "grad_norm": 0.0945926732709944,
1038
+ "learning_rate": 0.0001909502429035395,
1039
+ "loss": 0.4951,
1040
+ "step": 145
1041
+ },
1042
+ {
1043
+ "epoch": 0.47,
1044
+ "grad_norm": 0.083724504222346,
1045
+ "learning_rate": 0.00019080713668942356,
1046
+ "loss": 0.4515,
1047
+ "step": 146
1048
+ },
1049
+ {
1050
+ "epoch": 0.47,
1051
+ "grad_norm": 0.08650794676325269,
1052
+ "learning_rate": 0.00019066296233487672,
1053
+ "loss": 0.5212,
1054
+ "step": 147
1055
+ },
1056
+ {
1057
+ "epoch": 0.47,
1058
+ "grad_norm": 0.07550774418373392,
1059
+ "learning_rate": 0.00019051772153578389,
1060
+ "loss": 0.4982,
1061
+ "step": 148
1062
+ },
1063
+ {
1064
+ "epoch": 0.48,
1065
+ "grad_norm": 0.07958449304767184,
1066
+ "learning_rate": 0.00019037141600057437,
1067
+ "loss": 0.4438,
1068
+ "step": 149
1069
+ },
1070
+ {
1071
+ "epoch": 0.48,
1072
+ "grad_norm": 0.07907660997330491,
1073
+ "learning_rate": 0.00019022404745020163,
1074
+ "loss": 0.4446,
1075
+ "step": 150
1076
+ },
1077
+ {
1078
+ "epoch": 0.48,
1079
+ "grad_norm": 0.08403460530824067,
1080
+ "learning_rate": 0.0001900756176181231,
1081
+ "loss": 0.4954,
1082
+ "step": 151
1083
+ },
1084
+ {
1085
+ "epoch": 0.49,
1086
+ "grad_norm": 0.07121713811670598,
1087
+ "learning_rate": 0.00018992612825027976,
1088
+ "loss": 0.4107,
1089
+ "step": 152
1090
+ },
1091
+ {
1092
+ "epoch": 0.49,
1093
+ "grad_norm": 0.08888402716413658,
1094
+ "learning_rate": 0.00018977558110507578,
1095
+ "loss": 0.4647,
1096
+ "step": 153
1097
+ },
1098
+ {
1099
+ "epoch": 0.49,
1100
+ "grad_norm": 0.07729783862955082,
1101
+ "learning_rate": 0.0001896239779533575,
1102
+ "loss": 0.4229,
1103
+ "step": 154
1104
+ },
1105
+ {
1106
+ "epoch": 0.5,
1107
+ "grad_norm": 0.08006550817418195,
1108
+ "learning_rate": 0.00018947132057839285,
1109
+ "loss": 0.4561,
1110
+ "step": 155
1111
+ },
1112
+ {
1113
+ "epoch": 0.5,
1114
+ "grad_norm": 0.06984953321391904,
1115
+ "learning_rate": 0.00018931761077585035,
1116
+ "loss": 0.4169,
1117
+ "step": 156
1118
+ },
1119
+ {
1120
+ "epoch": 0.5,
1121
+ "eval_loss": 0.444174200296402,
1122
+ "eval_runtime": 31.4712,
1123
+ "eval_samples_per_second": 50.395,
1124
+ "eval_steps_per_second": 0.794,
1125
+ "step": 156
1126
+ },
1127
+ {
1128
+ "epoch": 0.5,
1129
+ "grad_norm": 0.08018469116289545,
1130
+ "learning_rate": 0.00018916285035377794,
1131
+ "loss": 0.4503,
1132
+ "step": 157
1133
+ },
1134
+ {
1135
+ "epoch": 0.51,
1136
+ "grad_norm": 0.07472127890764482,
1137
+ "learning_rate": 0.00018900704113258165,
1138
+ "loss": 0.3947,
1139
+ "step": 158
1140
+ },
1141
+ {
1142
+ "epoch": 0.51,
1143
+ "grad_norm": 0.0821581012984107,
1144
+ "learning_rate": 0.00018885018494500436,
1145
+ "loss": 0.4651,
1146
+ "step": 159
1147
+ },
1148
+ {
1149
+ "epoch": 0.51,
1150
+ "grad_norm": 0.07947038098348047,
1151
+ "learning_rate": 0.00018869228363610404,
1152
+ "loss": 0.4341,
1153
+ "step": 160
1154
+ },
1155
+ {
1156
+ "epoch": 0.52,
1157
+ "grad_norm": 0.08140775754652937,
1158
+ "learning_rate": 0.00018853333906323225,
1159
+ "loss": 0.4415,
1160
+ "step": 161
1161
+ },
1162
+ {
1163
+ "epoch": 0.52,
1164
+ "grad_norm": 0.08765931951958895,
1165
+ "learning_rate": 0.00018837335309601213,
1166
+ "loss": 0.4357,
1167
+ "step": 162
1168
+ },
1169
+ {
1170
+ "epoch": 0.52,
1171
+ "grad_norm": 0.08442880892691382,
1172
+ "learning_rate": 0.0001882123276163164,
1173
+ "loss": 0.4609,
1174
+ "step": 163
1175
+ },
1176
+ {
1177
+ "epoch": 0.53,
1178
+ "grad_norm": 0.09715434319124053,
1179
+ "learning_rate": 0.00018805026451824546,
1180
+ "loss": 0.4562,
1181
+ "step": 164
1182
+ },
1183
+ {
1184
+ "epoch": 0.53,
1185
+ "grad_norm": 0.09347382736349209,
1186
+ "learning_rate": 0.0001878871657081048,
1187
+ "loss": 0.4737,
1188
+ "step": 165
1189
+ },
1190
+ {
1191
+ "epoch": 0.53,
1192
+ "grad_norm": 0.09710819476140052,
1193
+ "learning_rate": 0.00018772303310438275,
1194
+ "loss": 0.4093,
1195
+ "step": 166
1196
+ },
1197
+ {
1198
+ "epoch": 0.54,
1199
+ "grad_norm": 0.07891824166135025,
1200
+ "learning_rate": 0.00018755786863772792,
1201
+ "loss": 0.4532,
1202
+ "step": 167
1203
+ },
1204
+ {
1205
+ "epoch": 0.54,
1206
+ "grad_norm": 0.0844025513913066,
1207
+ "learning_rate": 0.00018739167425092644,
1208
+ "loss": 0.446,
1209
+ "step": 168
1210
+ },
1211
+ {
1212
+ "epoch": 0.54,
1213
+ "grad_norm": 0.09240034775723983,
1214
+ "learning_rate": 0.00018722445189887907,
1215
+ "loss": 0.4527,
1216
+ "step": 169
1217
+ },
1218
+ {
1219
+ "epoch": 0.54,
1220
+ "grad_norm": 0.07973241323378466,
1221
+ "learning_rate": 0.00018705620354857833,
1222
+ "loss": 0.409,
1223
+ "step": 170
1224
+ },
1225
+ {
1226
+ "epoch": 0.55,
1227
+ "grad_norm": 0.0762520514861058,
1228
+ "learning_rate": 0.00018688693117908521,
1229
+ "loss": 0.4785,
1230
+ "step": 171
1231
+ },
1232
+ {
1233
+ "epoch": 0.55,
1234
+ "grad_norm": 0.08262985236128,
1235
+ "learning_rate": 0.00018671663678150607,
1236
+ "loss": 0.4314,
1237
+ "step": 172
1238
+ },
1239
+ {
1240
+ "epoch": 0.55,
1241
+ "grad_norm": 0.081932544928875,
1242
+ "learning_rate": 0.00018654532235896898,
1243
+ "loss": 0.4347,
1244
+ "step": 173
1245
+ },
1246
+ {
1247
+ "epoch": 0.56,
1248
+ "grad_norm": 0.0954889996650435,
1249
+ "learning_rate": 0.0001863729899266004,
1250
+ "loss": 0.4523,
1251
+ "step": 174
1252
+ },
1253
+ {
1254
+ "epoch": 0.56,
1255
+ "grad_norm": 0.0933844173634654,
1256
+ "learning_rate": 0.00018619964151150137,
1257
+ "loss": 0.4385,
1258
+ "step": 175
1259
+ },
1260
+ {
1261
+ "epoch": 0.56,
1262
+ "grad_norm": 0.08100659598302466,
1263
+ "learning_rate": 0.0001860252791527236,
1264
+ "loss": 0.443,
1265
+ "step": 176
1266
+ },
1267
+ {
1268
+ "epoch": 0.57,
1269
+ "grad_norm": 0.08402731540674666,
1270
+ "learning_rate": 0.0001858499049012456,
1271
+ "loss": 0.4488,
1272
+ "step": 177
1273
+ },
1274
+ {
1275
+ "epoch": 0.57,
1276
+ "grad_norm": 0.0847646100119722,
1277
+ "learning_rate": 0.00018567352081994852,
1278
+ "loss": 0.4452,
1279
+ "step": 178
1280
+ },
1281
+ {
1282
+ "epoch": 0.57,
1283
+ "grad_norm": 0.07907581204553846,
1284
+ "learning_rate": 0.00018549612898359182,
1285
+ "loss": 0.451,
1286
+ "step": 179
1287
+ },
1288
+ {
1289
+ "epoch": 0.58,
1290
+ "grad_norm": 0.08637033720756092,
1291
+ "learning_rate": 0.00018531773147878895,
1292
+ "loss": 0.4425,
1293
+ "step": 180
1294
+ },
1295
+ {
1296
+ "epoch": 0.58,
1297
+ "grad_norm": 0.07860781076008888,
1298
+ "learning_rate": 0.0001851383304039828,
1299
+ "loss": 0.4223,
1300
+ "step": 181
1301
+ },
1302
+ {
1303
+ "epoch": 0.58,
1304
+ "grad_norm": 0.09230920690158759,
1305
+ "learning_rate": 0.0001849579278694209,
1306
+ "loss": 0.4305,
1307
+ "step": 182
1308
+ },
1309
+ {
1310
+ "epoch": 0.59,
1311
+ "grad_norm": 0.0741895536668344,
1312
+ "learning_rate": 0.0001847765259971308,
1313
+ "loss": 0.4202,
1314
+ "step": 183
1315
+ },
1316
+ {
1317
+ "epoch": 0.59,
1318
+ "grad_norm": 0.07790747997729928,
1319
+ "learning_rate": 0.00018459412692089494,
1320
+ "loss": 0.4416,
1321
+ "step": 184
1322
+ },
1323
+ {
1324
+ "epoch": 0.59,
1325
+ "grad_norm": 0.08468534726841428,
1326
+ "learning_rate": 0.0001844107327862256,
1327
+ "loss": 0.4544,
1328
+ "step": 185
1329
+ },
1330
+ {
1331
+ "epoch": 0.6,
1332
+ "grad_norm": 0.09269533885564803,
1333
+ "learning_rate": 0.0001842263457503397,
1334
+ "loss": 0.4579,
1335
+ "step": 186
1336
+ },
1337
+ {
1338
+ "epoch": 0.6,
1339
+ "grad_norm": 0.07202556081323952,
1340
+ "learning_rate": 0.00018404096798213334,
1341
+ "loss": 0.4232,
1342
+ "step": 187
1343
+ },
1344
+ {
1345
+ "epoch": 0.6,
1346
+ "grad_norm": 0.08525241804626488,
1347
+ "learning_rate": 0.00018385460166215638,
1348
+ "loss": 0.4141,
1349
+ "step": 188
1350
+ },
1351
+ {
1352
+ "epoch": 0.61,
1353
+ "grad_norm": 0.08924354777300852,
1354
+ "learning_rate": 0.00018366724898258676,
1355
+ "loss": 0.4529,
1356
+ "step": 189
1357
+ },
1358
+ {
1359
+ "epoch": 0.61,
1360
+ "grad_norm": 0.08099522477717064,
1361
+ "learning_rate": 0.00018347891214720477,
1362
+ "loss": 0.4703,
1363
+ "step": 190
1364
+ },
1365
+ {
1366
+ "epoch": 0.61,
1367
+ "grad_norm": 0.08207966306854911,
1368
+ "learning_rate": 0.0001832895933713669,
1369
+ "loss": 0.4221,
1370
+ "step": 191
1371
+ },
1372
+ {
1373
+ "epoch": 0.62,
1374
+ "grad_norm": 0.08833974423720233,
1375
+ "learning_rate": 0.00018309929488198012,
1376
+ "loss": 0.47,
1377
+ "step": 192
1378
+ },
1379
+ {
1380
+ "epoch": 0.62,
1381
+ "grad_norm": 0.0825533317998992,
1382
+ "learning_rate": 0.0001829080189174754,
1383
+ "loss": 0.4427,
1384
+ "step": 193
1385
+ },
1386
+ {
1387
+ "epoch": 0.62,
1388
+ "grad_norm": 0.08037569999241694,
1389
+ "learning_rate": 0.00018271576772778154,
1390
+ "loss": 0.4419,
1391
+ "step": 194
1392
+ },
1393
+ {
1394
+ "epoch": 0.62,
1395
+ "grad_norm": 0.08639200811474251,
1396
+ "learning_rate": 0.00018252254357429862,
1397
+ "loss": 0.4246,
1398
+ "step": 195
1399
+ },
1400
+ {
1401
+ "epoch": 0.63,
1402
+ "grad_norm": 0.07267641895058494,
1403
+ "learning_rate": 0.00018232834872987147,
1404
+ "loss": 0.3956,
1405
+ "step": 196
1406
+ },
1407
+ {
1408
+ "epoch": 0.63,
1409
+ "grad_norm": 0.08610579960197104,
1410
+ "learning_rate": 0.00018213318547876298,
1411
+ "loss": 0.4414,
1412
+ "step": 197
1413
+ },
1414
+ {
1415
+ "epoch": 0.63,
1416
+ "grad_norm": 0.09186840821155946,
1417
+ "learning_rate": 0.00018193705611662696,
1418
+ "loss": 0.4177,
1419
+ "step": 198
1420
+ },
1421
+ {
1422
+ "epoch": 0.64,
1423
+ "grad_norm": 0.08706736973820678,
1424
+ "learning_rate": 0.00018173996295048147,
1425
+ "loss": 0.4789,
1426
+ "step": 199
1427
+ },
1428
+ {
1429
+ "epoch": 0.64,
1430
+ "grad_norm": 0.07334594688469492,
1431
+ "learning_rate": 0.0001815419082986815,
1432
+ "loss": 0.4271,
1433
+ "step": 200
1434
+ },
1435
+ {
1436
+ "epoch": 0.64,
1437
+ "grad_norm": 0.08342217915939124,
1438
+ "learning_rate": 0.00018134289449089184,
1439
+ "loss": 0.4307,
1440
+ "step": 201
1441
+ },
1442
+ {
1443
+ "epoch": 0.65,
1444
+ "grad_norm": 0.09389735105911007,
1445
+ "learning_rate": 0.00018114292386805936,
1446
+ "loss": 0.5084,
1447
+ "step": 202
1448
+ },
1449
+ {
1450
+ "epoch": 0.65,
1451
+ "grad_norm": 0.09006740885148933,
1452
+ "learning_rate": 0.0001809419987823859,
1453
+ "loss": 0.4056,
1454
+ "step": 203
1455
+ },
1456
+ {
1457
+ "epoch": 0.65,
1458
+ "grad_norm": 0.07121816467150913,
1459
+ "learning_rate": 0.00018074012159730032,
1460
+ "loss": 0.4277,
1461
+ "step": 204
1462
+ },
1463
+ {
1464
+ "epoch": 0.66,
1465
+ "grad_norm": 0.08235101026308798,
1466
+ "learning_rate": 0.00018053729468743077,
1467
+ "loss": 0.3862,
1468
+ "step": 205
1469
+ },
1470
+ {
1471
+ "epoch": 0.66,
1472
+ "grad_norm": 0.0847711800807384,
1473
+ "learning_rate": 0.00018033352043857675,
1474
+ "loss": 0.4318,
1475
+ "step": 206
1476
+ },
1477
+ {
1478
+ "epoch": 0.66,
1479
+ "grad_norm": 0.08426668159343044,
1480
+ "learning_rate": 0.0001801288012476811,
1481
+ "loss": 0.4086,
1482
+ "step": 207
1483
+ },
1484
+ {
1485
+ "epoch": 0.67,
1486
+ "grad_norm": 0.08251689590670132,
1487
+ "learning_rate": 0.00017992313952280172,
1488
+ "loss": 0.4286,
1489
+ "step": 208
1490
+ },
1491
+ {
1492
+ "epoch": 0.67,
1493
+ "grad_norm": 0.07765075868537137,
1494
+ "learning_rate": 0.00017971653768308332,
1495
+ "loss": 0.438,
1496
+ "step": 209
1497
+ },
1498
+ {
1499
+ "epoch": 0.67,
1500
+ "grad_norm": 0.07334563579113847,
1501
+ "learning_rate": 0.00017950899815872892,
1502
+ "loss": 0.4018,
1503
+ "step": 210
1504
+ },
1505
+ {
1506
+ "epoch": 0.68,
1507
+ "grad_norm": 0.08055566369309557,
1508
+ "learning_rate": 0.0001793005233909713,
1509
+ "loss": 0.4234,
1510
+ "step": 211
1511
+ },
1512
+ {
1513
+ "epoch": 0.68,
1514
+ "grad_norm": 0.07958008993094648,
1515
+ "learning_rate": 0.00017909111583204422,
1516
+ "loss": 0.44,
1517
+ "step": 212
1518
+ },
1519
+ {
1520
+ "epoch": 0.68,
1521
+ "grad_norm": 0.09280699072968741,
1522
+ "learning_rate": 0.0001788807779451536,
1523
+ "loss": 0.4227,
1524
+ "step": 213
1525
+ },
1526
+ {
1527
+ "epoch": 0.69,
1528
+ "grad_norm": 0.07693169121037356,
1529
+ "learning_rate": 0.0001786695122044487,
1530
+ "loss": 0.4478,
1531
+ "step": 214
1532
+ },
1533
+ {
1534
+ "epoch": 0.69,
1535
+ "grad_norm": 0.07950835942157759,
1536
+ "learning_rate": 0.00017845732109499275,
1537
+ "loss": 0.4127,
1538
+ "step": 215
1539
+ },
1540
+ {
1541
+ "epoch": 0.69,
1542
+ "grad_norm": 0.0825838707194437,
1543
+ "learning_rate": 0.0001782442071127338,
1544
+ "loss": 0.3989,
1545
+ "step": 216
1546
+ },
1547
+ {
1548
+ "epoch": 0.7,
1549
+ "grad_norm": 0.0820192714301344,
1550
+ "learning_rate": 0.00017803017276447558,
1551
+ "loss": 0.4117,
1552
+ "step": 217
1553
+ },
1554
+ {
1555
+ "epoch": 0.7,
1556
+ "grad_norm": 0.08266323600913242,
1557
+ "learning_rate": 0.0001778152205678477,
1558
+ "loss": 0.4115,
1559
+ "step": 218
1560
+ },
1561
+ {
1562
+ "epoch": 0.7,
1563
+ "grad_norm": 0.09014685440524756,
1564
+ "learning_rate": 0.00017759935305127628,
1565
+ "loss": 0.4213,
1566
+ "step": 219
1567
+ },
1568
+ {
1569
+ "epoch": 0.71,
1570
+ "grad_norm": 0.08003172169631632,
1571
+ "learning_rate": 0.00017738257275395404,
1572
+ "loss": 0.4492,
1573
+ "step": 220
1574
+ },
1575
+ {
1576
+ "epoch": 0.71,
1577
+ "grad_norm": 0.08382716268554129,
1578
+ "learning_rate": 0.0001771648822258105,
1579
+ "loss": 0.4239,
1580
+ "step": 221
1581
+ },
1582
+ {
1583
+ "epoch": 0.71,
1584
+ "grad_norm": 0.08458564896753232,
1585
+ "learning_rate": 0.00017694628402748202,
1586
+ "loss": 0.422,
1587
+ "step": 222
1588
+ },
1589
+ {
1590
+ "epoch": 0.71,
1591
+ "grad_norm": 0.09196661919825705,
1592
+ "learning_rate": 0.00017672678073028163,
1593
+ "loss": 0.471,
1594
+ "step": 223
1595
+ },
1596
+ {
1597
+ "epoch": 0.72,
1598
+ "grad_norm": 0.07698737002145145,
1599
+ "learning_rate": 0.0001765063749161688,
1600
+ "loss": 0.4132,
1601
+ "step": 224
1602
+ },
1603
+ {
1604
+ "epoch": 0.72,
1605
+ "grad_norm": 0.07467731807448537,
1606
+ "learning_rate": 0.00017628506917771906,
1607
+ "loss": 0.479,
1608
+ "step": 225
1609
+ },
1610
+ {
1611
+ "epoch": 0.72,
1612
+ "grad_norm": 0.08077943554506183,
1613
+ "learning_rate": 0.00017606286611809353,
1614
+ "loss": 0.4248,
1615
+ "step": 226
1616
+ },
1617
+ {
1618
+ "epoch": 0.73,
1619
+ "grad_norm": 0.06992980003731436,
1620
+ "learning_rate": 0.0001758397683510083,
1621
+ "loss": 0.4315,
1622
+ "step": 227
1623
+ },
1624
+ {
1625
+ "epoch": 0.73,
1626
+ "grad_norm": 0.08372536073946843,
1627
+ "learning_rate": 0.00017561577850070355,
1628
+ "loss": 0.4449,
1629
+ "step": 228
1630
+ },
1631
+ {
1632
+ "epoch": 0.73,
1633
+ "grad_norm": 0.07728684058389318,
1634
+ "learning_rate": 0.00017539089920191298,
1635
+ "loss": 0.4102,
1636
+ "step": 229
1637
+ },
1638
+ {
1639
+ "epoch": 0.74,
1640
+ "grad_norm": 0.07595500885479803,
1641
+ "learning_rate": 0.00017516513309983253,
1642
+ "loss": 0.4138,
1643
+ "step": 230
1644
+ },
1645
+ {
1646
+ "epoch": 0.74,
1647
+ "grad_norm": 0.08896190709649075,
1648
+ "learning_rate": 0.0001749384828500894,
1649
+ "loss": 0.461,
1650
+ "step": 231
1651
+ },
1652
+ {
1653
+ "epoch": 0.74,
1654
+ "grad_norm": 0.07539184697796432,
1655
+ "learning_rate": 0.00017471095111871074,
1656
+ "loss": 0.4117,
1657
+ "step": 232
1658
+ },
1659
+ {
1660
+ "epoch": 0.75,
1661
+ "grad_norm": 0.08363633341284239,
1662
+ "learning_rate": 0.00017448254058209244,
1663
+ "loss": 0.4711,
1664
+ "step": 233
1665
+ },
1666
+ {
1667
+ "epoch": 0.75,
1668
+ "grad_norm": 0.08326685819573444,
1669
+ "learning_rate": 0.0001742532539269674,
1670
+ "loss": 0.4411,
1671
+ "step": 234
1672
+ },
1673
+ {
1674
+ "epoch": 0.75,
1675
+ "eval_loss": 0.4278123378753662,
1676
+ "eval_runtime": 31.4949,
1677
+ "eval_samples_per_second": 50.357,
1678
+ "eval_steps_per_second": 0.794,
1679
+ "step": 234
1680
+ },
1681
+ {
1682
+ "epoch": 0.75,
1683
+ "grad_norm": 0.07732973043941553,
1684
+ "learning_rate": 0.00017402309385037423,
1685
+ "loss": 0.4379,
1686
+ "step": 235
1687
+ },
1688
+ {
1689
+ "epoch": 0.76,
1690
+ "grad_norm": 0.0774523597417446,
1691
+ "learning_rate": 0.00017379206305962526,
1692
+ "loss": 0.447,
1693
+ "step": 236
1694
+ },
1695
+ {
1696
+ "epoch": 0.76,
1697
+ "grad_norm": 0.08401116509418527,
1698
+ "learning_rate": 0.0001735601642722748,
1699
+ "loss": 0.4567,
1700
+ "step": 237
1701
+ },
1702
+ {
1703
+ "epoch": 0.76,
1704
+ "grad_norm": 0.07735698013628362,
1705
+ "learning_rate": 0.00017332740021608722,
1706
+ "loss": 0.4197,
1707
+ "step": 238
1708
+ },
1709
+ {
1710
+ "epoch": 0.77,
1711
+ "grad_norm": 0.07680567518283475,
1712
+ "learning_rate": 0.00017309377362900486,
1713
+ "loss": 0.4098,
1714
+ "step": 239
1715
+ },
1716
+ {
1717
+ "epoch": 0.77,
1718
+ "grad_norm": 0.08122692422363423,
1719
+ "learning_rate": 0.00017285928725911562,
1720
+ "loss": 0.4149,
1721
+ "step": 240
1722
+ },
1723
+ {
1724
+ "epoch": 0.77,
1725
+ "grad_norm": 0.08681701750052026,
1726
+ "learning_rate": 0.00017262394386462101,
1727
+ "loss": 0.4695,
1728
+ "step": 241
1729
+ },
1730
+ {
1731
+ "epoch": 0.78,
1732
+ "grad_norm": 0.07626703932302029,
1733
+ "learning_rate": 0.00017238774621380337,
1734
+ "loss": 0.4493,
1735
+ "step": 242
1736
+ },
1737
+ {
1738
+ "epoch": 0.78,
1739
+ "grad_norm": 0.07783076190751023,
1740
+ "learning_rate": 0.0001721506970849934,
1741
+ "loss": 0.4519,
1742
+ "step": 243
1743
+ },
1744
+ {
1745
+ "epoch": 0.78,
1746
+ "grad_norm": 0.07851126371673435,
1747
+ "learning_rate": 0.00017191279926653761,
1748
+ "loss": 0.4646,
1749
+ "step": 244
1750
+ },
1751
+ {
1752
+ "epoch": 0.79,
1753
+ "grad_norm": 0.07985898889121004,
1754
+ "learning_rate": 0.00017167405555676535,
1755
+ "loss": 0.4265,
1756
+ "step": 245
1757
+ },
1758
+ {
1759
+ "epoch": 0.79,
1760
+ "grad_norm": 0.0782899694335972,
1761
+ "learning_rate": 0.00017143446876395602,
1762
+ "loss": 0.4414,
1763
+ "step": 246
1764
+ },
1765
+ {
1766
+ "epoch": 0.79,
1767
+ "grad_norm": 0.0804512588231197,
1768
+ "learning_rate": 0.00017119404170630594,
1769
+ "loss": 0.4404,
1770
+ "step": 247
1771
+ },
1772
+ {
1773
+ "epoch": 0.79,
1774
+ "grad_norm": 0.07731729751082467,
1775
+ "learning_rate": 0.00017095277721189528,
1776
+ "loss": 0.4417,
1777
+ "step": 248
1778
+ },
1779
+ {
1780
+ "epoch": 0.8,
1781
+ "grad_norm": 0.07168689530432704,
1782
+ "learning_rate": 0.00017071067811865476,
1783
+ "loss": 0.4382,
1784
+ "step": 249
1785
+ },
1786
+ {
1787
+ "epoch": 0.8,
1788
+ "grad_norm": 0.07902533484598116,
1789
+ "learning_rate": 0.00017046774727433222,
1790
+ "loss": 0.4088,
1791
+ "step": 250
1792
+ },
1793
+ {
1794
+ "epoch": 0.8,
1795
+ "grad_norm": 0.08232481685887245,
1796
+ "learning_rate": 0.00017022398753645916,
1797
+ "loss": 0.3865,
1798
+ "step": 251
1799
+ },
1800
+ {
1801
+ "epoch": 0.81,
1802
+ "grad_norm": 0.08632426307204455,
1803
+ "learning_rate": 0.00016997940177231722,
1804
+ "loss": 0.4382,
1805
+ "step": 252
1806
+ },
1807
+ {
1808
+ "epoch": 0.81,
1809
+ "grad_norm": 0.07388797256773258,
1810
+ "learning_rate": 0.0001697339928589043,
1811
+ "loss": 0.3799,
1812
+ "step": 253
1813
+ },
1814
+ {
1815
+ "epoch": 0.81,
1816
+ "grad_norm": 0.08898666754826341,
1817
+ "learning_rate": 0.00016948776368290084,
1818
+ "loss": 0.4228,
1819
+ "step": 254
1820
+ },
1821
+ {
1822
+ "epoch": 0.82,
1823
+ "grad_norm": 0.07930751762003878,
1824
+ "learning_rate": 0.00016924071714063575,
1825
+ "loss": 0.4405,
1826
+ "step": 255
1827
+ },
1828
+ {
1829
+ "epoch": 0.82,
1830
+ "grad_norm": 0.08451897393194631,
1831
+ "learning_rate": 0.00016899285613805246,
1832
+ "loss": 0.4201,
1833
+ "step": 256
1834
+ },
1835
+ {
1836
+ "epoch": 0.82,
1837
+ "grad_norm": 0.07509156290441986,
1838
+ "learning_rate": 0.00016874418359067464,
1839
+ "loss": 0.4236,
1840
+ "step": 257
1841
+ },
1842
+ {
1843
+ "epoch": 0.83,
1844
+ "grad_norm": 0.07423524924140647,
1845
+ "learning_rate": 0.00016849470242357196,
1846
+ "loss": 0.4207,
1847
+ "step": 258
1848
+ },
1849
+ {
1850
+ "epoch": 0.83,
1851
+ "grad_norm": 0.09131652369207922,
1852
+ "learning_rate": 0.00016824441557132568,
1853
+ "loss": 0.4244,
1854
+ "step": 259
1855
+ },
1856
+ {
1857
+ "epoch": 0.83,
1858
+ "grad_norm": 0.07200307125773978,
1859
+ "learning_rate": 0.00016799332597799413,
1860
+ "loss": 0.3969,
1861
+ "step": 260
1862
+ },
1863
+ {
1864
+ "epoch": 0.84,
1865
+ "grad_norm": 0.08850588028575115,
1866
+ "learning_rate": 0.00016774143659707808,
1867
+ "loss": 0.4083,
1868
+ "step": 261
1869
+ },
1870
+ {
1871
+ "epoch": 0.84,
1872
+ "grad_norm": 0.08952226340711347,
1873
+ "learning_rate": 0.00016748875039148593,
1874
+ "loss": 0.4044,
1875
+ "step": 262
1876
+ },
1877
+ {
1878
+ "epoch": 0.84,
1879
+ "grad_norm": 0.07625949844917335,
1880
+ "learning_rate": 0.000167235270333499,
1881
+ "loss": 0.4374,
1882
+ "step": 263
1883
+ },
1884
+ {
1885
+ "epoch": 0.85,
1886
+ "grad_norm": 0.08512481964665687,
1887
+ "learning_rate": 0.0001669809994047364,
1888
+ "loss": 0.4179,
1889
+ "step": 264
1890
+ },
1891
+ {
1892
+ "epoch": 0.85,
1893
+ "grad_norm": 0.08624448187165956,
1894
+ "learning_rate": 0.00016672594059612017,
1895
+ "loss": 0.4061,
1896
+ "step": 265
1897
+ },
1898
+ {
1899
+ "epoch": 0.85,
1900
+ "grad_norm": 0.08247703101102852,
1901
+ "learning_rate": 0.0001664700969078398,
1902
+ "loss": 0.4499,
1903
+ "step": 266
1904
+ },
1905
+ {
1906
+ "epoch": 0.86,
1907
+ "grad_norm": 0.07862715865198186,
1908
+ "learning_rate": 0.00016621347134931729,
1909
+ "loss": 0.4077,
1910
+ "step": 267
1911
+ },
1912
+ {
1913
+ "epoch": 0.86,
1914
+ "grad_norm": 0.07218201414128739,
1915
+ "learning_rate": 0.00016595606693917142,
1916
+ "loss": 0.4434,
1917
+ "step": 268
1918
+ },
1919
+ {
1920
+ "epoch": 0.86,
1921
+ "grad_norm": 0.07572789587568578,
1922
+ "learning_rate": 0.00016569788670518253,
1923
+ "loss": 0.4311,
1924
+ "step": 269
1925
+ },
1926
+ {
1927
+ "epoch": 0.87,
1928
+ "grad_norm": 0.0834144142579703,
1929
+ "learning_rate": 0.00016543893368425666,
1930
+ "loss": 0.4366,
1931
+ "step": 270
1932
+ },
1933
+ {
1934
+ "epoch": 0.87,
1935
+ "grad_norm": 0.08935819944784767,
1936
+ "learning_rate": 0.00016517921092239,
1937
+ "loss": 0.5029,
1938
+ "step": 271
1939
+ },
1940
+ {
1941
+ "epoch": 0.87,
1942
+ "grad_norm": 0.07069431389655506,
1943
+ "learning_rate": 0.00016491872147463306,
1944
+ "loss": 0.4222,
1945
+ "step": 272
1946
+ },
1947
+ {
1948
+ "epoch": 0.88,
1949
+ "grad_norm": 0.07615580144655403,
1950
+ "learning_rate": 0.00016465746840505448,
1951
+ "loss": 0.4575,
1952
+ "step": 273
1953
+ },
1954
+ {
1955
+ "epoch": 0.88,
1956
+ "grad_norm": 0.07585167832031271,
1957
+ "learning_rate": 0.00016439545478670543,
1958
+ "loss": 0.4108,
1959
+ "step": 274
1960
+ },
1961
+ {
1962
+ "epoch": 0.88,
1963
+ "grad_norm": 0.07823962802576302,
1964
+ "learning_rate": 0.000164132683701583,
1965
+ "loss": 0.4073,
1966
+ "step": 275
1967
+ },
1968
+ {
1969
+ "epoch": 0.88,
1970
+ "grad_norm": 0.0739491453502392,
1971
+ "learning_rate": 0.00016386915824059427,
1972
+ "loss": 0.3972,
1973
+ "step": 276
1974
+ },
1975
+ {
1976
+ "epoch": 0.89,
1977
+ "grad_norm": 0.08405357936143208,
1978
+ "learning_rate": 0.00016360488150351984,
1979
+ "loss": 0.4515,
1980
+ "step": 277
1981
+ },
1982
+ {
1983
+ "epoch": 0.89,
1984
+ "grad_norm": 0.07695511244129288,
1985
+ "learning_rate": 0.00016333985659897735,
1986
+ "loss": 0.4279,
1987
+ "step": 278
1988
+ },
1989
+ {
1990
+ "epoch": 0.89,
1991
+ "grad_norm": 0.06470217776094543,
1992
+ "learning_rate": 0.00016307408664438495,
1993
+ "loss": 0.4116,
1994
+ "step": 279
1995
+ },
1996
+ {
1997
+ "epoch": 0.9,
1998
+ "grad_norm": 0.07308502501504789,
1999
+ "learning_rate": 0.00016280757476592466,
2000
+ "loss": 0.4341,
2001
+ "step": 280
2002
+ },
2003
+ {
2004
+ "epoch": 0.9,
2005
+ "grad_norm": 0.06951503390440086,
2006
+ "learning_rate": 0.0001625403240985054,
2007
+ "loss": 0.4487,
2008
+ "step": 281
2009
+ },
2010
+ {
2011
+ "epoch": 0.9,
2012
+ "grad_norm": 0.0692451278626476,
2013
+ "learning_rate": 0.0001622723377857265,
2014
+ "loss": 0.3826,
2015
+ "step": 282
2016
+ },
2017
+ {
2018
+ "epoch": 0.91,
2019
+ "grad_norm": 0.07045628495573776,
2020
+ "learning_rate": 0.0001620036189798403,
2021
+ "loss": 0.4205,
2022
+ "step": 283
2023
+ },
2024
+ {
2025
+ "epoch": 0.91,
2026
+ "grad_norm": 0.0817507962133775,
2027
+ "learning_rate": 0.00016173417084171536,
2028
+ "loss": 0.4058,
2029
+ "step": 284
2030
+ },
2031
+ {
2032
+ "epoch": 0.91,
2033
+ "grad_norm": 0.08274224378072262,
2034
+ "learning_rate": 0.00016146399654079914,
2035
+ "loss": 0.4158,
2036
+ "step": 285
2037
+ },
2038
+ {
2039
+ "epoch": 0.92,
2040
+ "grad_norm": 0.08104189231717747,
2041
+ "learning_rate": 0.00016119309925508078,
2042
+ "loss": 0.4582,
2043
+ "step": 286
2044
+ },
2045
+ {
2046
+ "epoch": 0.92,
2047
+ "grad_norm": 0.07690391237677474,
2048
+ "learning_rate": 0.00016092148217105372,
2049
+ "loss": 0.4225,
2050
+ "step": 287
2051
+ },
2052
+ {
2053
+ "epoch": 0.92,
2054
+ "grad_norm": 0.07890029013664841,
2055
+ "learning_rate": 0.0001606491484836782,
2056
+ "loss": 0.3967,
2057
+ "step": 288
2058
+ },
2059
+ {
2060
+ "epoch": 0.93,
2061
+ "grad_norm": 0.0731319870015359,
2062
+ "learning_rate": 0.00016037610139634358,
2063
+ "loss": 0.4572,
2064
+ "step": 289
2065
+ },
2066
+ {
2067
+ "epoch": 0.93,
2068
+ "grad_norm": 0.07566883804698676,
2069
+ "learning_rate": 0.00016010234412083086,
2070
+ "loss": 0.4124,
2071
+ "step": 290
2072
+ },
2073
+ {
2074
+ "epoch": 0.93,
2075
+ "grad_norm": 0.07670361507960137,
2076
+ "learning_rate": 0.0001598278798772748,
2077
+ "loss": 0.4405,
2078
+ "step": 291
2079
+ },
2080
+ {
2081
+ "epoch": 0.94,
2082
+ "grad_norm": 0.07969549982736794,
2083
+ "learning_rate": 0.00015955271189412598,
2084
+ "loss": 0.4223,
2085
+ "step": 292
2086
+ },
2087
+ {
2088
+ "epoch": 0.94,
2089
+ "grad_norm": 0.08620664325730339,
2090
+ "learning_rate": 0.0001592768434081129,
2091
+ "loss": 0.4107,
2092
+ "step": 293
2093
+ },
2094
+ {
2095
+ "epoch": 0.94,
2096
+ "grad_norm": 0.07814855518482838,
2097
+ "learning_rate": 0.00015900027766420393,
2098
+ "loss": 0.4256,
2099
+ "step": 294
2100
+ },
2101
+ {
2102
+ "epoch": 0.95,
2103
+ "grad_norm": 0.07265880949372827,
2104
+ "learning_rate": 0.00015872301791556903,
2105
+ "loss": 0.3877,
2106
+ "step": 295
2107
+ },
2108
+ {
2109
+ "epoch": 0.95,
2110
+ "grad_norm": 0.07164568406361997,
2111
+ "learning_rate": 0.00015844506742354164,
2112
+ "loss": 0.433,
2113
+ "step": 296
2114
+ },
2115
+ {
2116
+ "epoch": 0.95,
2117
+ "grad_norm": 0.08097386064452165,
2118
+ "learning_rate": 0.00015816642945758012,
2119
+ "loss": 0.4352,
2120
+ "step": 297
2121
+ },
2122
+ {
2123
+ "epoch": 0.96,
2124
+ "grad_norm": 0.07039809315446639,
2125
+ "learning_rate": 0.00015788710729522953,
2126
+ "loss": 0.4151,
2127
+ "step": 298
2128
+ },
2129
+ {
2130
+ "epoch": 0.96,
2131
+ "grad_norm": 0.07923887250236342,
2132
+ "learning_rate": 0.00015760710422208288,
2133
+ "loss": 0.3972,
2134
+ "step": 299
2135
+ },
2136
+ {
2137
+ "epoch": 0.96,
2138
+ "grad_norm": 0.08013977027306368,
2139
+ "learning_rate": 0.00015732642353174259,
2140
+ "loss": 0.4095,
2141
+ "step": 300
2142
+ },
2143
+ {
2144
+ "epoch": 0.96,
2145
+ "grad_norm": 0.07082003627582258,
2146
+ "learning_rate": 0.00015704506852578165,
2147
+ "loss": 0.3764,
2148
+ "step": 301
2149
+ },
2150
+ {
2151
+ "epoch": 0.97,
2152
+ "grad_norm": 0.07635025387900074,
2153
+ "learning_rate": 0.0001567630425137049,
2154
+ "loss": 0.4163,
2155
+ "step": 302
2156
+ },
2157
+ {
2158
+ "epoch": 0.97,
2159
+ "grad_norm": 0.08691670113747935,
2160
+ "learning_rate": 0.00015648034881291003,
2161
+ "loss": 0.3652,
2162
+ "step": 303
2163
+ },
2164
+ {
2165
+ "epoch": 0.97,
2166
+ "grad_norm": 0.07557246139809001,
2167
+ "learning_rate": 0.00015619699074864864,
2168
+ "loss": 0.3532,
2169
+ "step": 304
2170
+ },
2171
+ {
2172
+ "epoch": 0.98,
2173
+ "grad_norm": 0.07500478833529528,
2174
+ "learning_rate": 0.00015591297165398692,
2175
+ "loss": 0.4134,
2176
+ "step": 305
2177
+ },
2178
+ {
2179
+ "epoch": 0.98,
2180
+ "grad_norm": 0.07338624139290303,
2181
+ "learning_rate": 0.00015562829486976673,
2182
+ "loss": 0.3828,
2183
+ "step": 306
2184
+ },
2185
+ {
2186
+ "epoch": 0.98,
2187
+ "grad_norm": 0.0694479071810134,
2188
+ "learning_rate": 0.0001553429637445661,
2189
+ "loss": 0.3887,
2190
+ "step": 307
2191
+ },
2192
+ {
2193
+ "epoch": 0.99,
2194
+ "grad_norm": 0.0776950089538383,
2195
+ "learning_rate": 0.00015505698163465986,
2196
+ "loss": 0.4357,
2197
+ "step": 308
2198
+ },
2199
+ {
2200
+ "epoch": 0.99,
2201
+ "grad_norm": 0.08048431664884834,
2202
+ "learning_rate": 0.00015477035190398025,
2203
+ "loss": 0.432,
2204
+ "step": 309
2205
+ },
2206
+ {
2207
+ "epoch": 0.99,
2208
+ "grad_norm": 0.07227807968656443,
2209
+ "learning_rate": 0.00015448307792407734,
2210
+ "loss": 0.4162,
2211
+ "step": 310
2212
+ },
2213
+ {
2214
+ "epoch": 1.0,
2215
+ "grad_norm": 0.07990637247600575,
2216
+ "learning_rate": 0.00015419516307407926,
2217
+ "loss": 0.4125,
2218
+ "step": 311
2219
+ },
2220
+ {
2221
+ "epoch": 1.0,
2222
+ "grad_norm": 0.08651130022810746,
2223
+ "learning_rate": 0.00015390661074065256,
2224
+ "loss": 0.4635,
2225
+ "step": 312
2226
+ },
2227
+ {
2228
+ "epoch": 1.0,
2229
+ "eval_loss": 0.4184270203113556,
2230
+ "eval_runtime": 31.4969,
2231
+ "eval_samples_per_second": 50.354,
2232
+ "eval_steps_per_second": 0.794,
2233
+ "step": 312
2234
+ }
2235
+ ],
2236
+ "logging_steps": 1,
2237
+ "max_steps": 936,
2238
+ "num_input_tokens_seen": 0,
2239
+ "num_train_epochs": 3,
2240
+ "save_steps": 312,
2241
+ "total_flos": 1.710030783541936e+18,
2242
+ "train_batch_size": 8,
2243
+ "trial_name": null,
2244
+ "trial_params": null
2245
+ }
gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-312/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2d8fe0bec3fa9e308a5b0239a6b4df1c5e176531974524394ff41602527a177b
3
+ size 7224
gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-312/zero_to_fp32.py ADDED
@@ -0,0 +1,592 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python
2
+
3
+ # Copyright (c) Microsoft Corporation.
4
+ # SPDX-License-Identifier: Apache-2.0
5
+
6
+ # DeepSpeed Team
7
+
8
+ # This script extracts fp32 consolidated weights from a zero 1, 2 and 3 DeepSpeed checkpoints. It gets
9
+ # copied into the top level checkpoint dir, so the user can easily do the conversion at any point in
10
+ # the future. Once extracted, the weights don't require DeepSpeed and can be used in any
11
+ # application.
12
+ #
13
+ # example: python zero_to_fp32.py . pytorch_model.bin
14
+
15
+ import argparse
16
+ import torch
17
+ import glob
18
+ import math
19
+ import os
20
+ import re
21
+ from collections import OrderedDict
22
+ from dataclasses import dataclass
23
+
24
+ # while this script doesn't use deepspeed to recover data, since the checkpoints are pickled with
25
+ # DeepSpeed data structures it has to be available in the current python environment.
26
+ from deepspeed.utils import logger
27
+ from deepspeed.checkpoint.constants import (DS_VERSION, OPTIMIZER_STATE_DICT, SINGLE_PARTITION_OF_FP32_GROUPS,
28
+ FP32_FLAT_GROUPS, ZERO_STAGE, PARTITION_COUNT, PARAM_SHAPES, BUFFER_NAMES,
29
+ FROZEN_PARAM_SHAPES, FROZEN_PARAM_FRAGMENTS)
30
+
31
+
32
+ @dataclass
33
+ class zero_model_state:
34
+ buffers: dict()
35
+ param_shapes: dict()
36
+ shared_params: list
37
+ ds_version: int
38
+ frozen_param_shapes: dict()
39
+ frozen_param_fragments: dict()
40
+
41
+
42
+ debug = 0
43
+
44
+ # load to cpu
45
+ device = torch.device('cpu')
46
+
47
+
48
+ def atoi(text):
49
+ return int(text) if text.isdigit() else text
50
+
51
+
52
+ def natural_keys(text):
53
+ '''
54
+ alist.sort(key=natural_keys) sorts in human order
55
+ http://nedbatchelder.com/blog/200712/human_sorting.html
56
+ (See Toothy's implementation in the comments)
57
+ '''
58
+ return [atoi(c) for c in re.split(r'(\d+)', text)]
59
+
60
+
61
+ def get_model_state_file(checkpoint_dir, zero_stage):
62
+ if not os.path.isdir(checkpoint_dir):
63
+ raise FileNotFoundError(f"Directory '{checkpoint_dir}' doesn't exist")
64
+
65
+ # there should be only one file
66
+ if zero_stage <= 2:
67
+ file = os.path.join(checkpoint_dir, "mp_rank_00_model_states.pt")
68
+ elif zero_stage == 3:
69
+ file = os.path.join(checkpoint_dir, "zero_pp_rank_0_mp_rank_00_model_states.pt")
70
+
71
+ if not os.path.exists(file):
72
+ raise FileNotFoundError(f"can't find model states file at '{file}'")
73
+
74
+ return file
75
+
76
+
77
+ def get_checkpoint_files(checkpoint_dir, glob_pattern):
78
+ # XXX: need to test that this simple glob rule works for multi-node setup too
79
+ ckpt_files = sorted(glob.glob(os.path.join(checkpoint_dir, glob_pattern)), key=natural_keys)
80
+
81
+ if len(ckpt_files) == 0:
82
+ raise FileNotFoundError(f"can't find {glob_pattern} files in directory '{checkpoint_dir}'")
83
+
84
+ return ckpt_files
85
+
86
+
87
+ def get_optim_files(checkpoint_dir):
88
+ return get_checkpoint_files(checkpoint_dir, "*_optim_states.pt")
89
+
90
+
91
+ def get_model_state_files(checkpoint_dir):
92
+ return get_checkpoint_files(checkpoint_dir, "*_model_states.pt")
93
+
94
+
95
+ def parse_model_states(files):
96
+ zero_model_states = []
97
+ for file in files:
98
+ state_dict = torch.load(file, map_location=device)
99
+
100
+ if BUFFER_NAMES not in state_dict:
101
+ raise ValueError(f"{file} is not a model state checkpoint")
102
+ buffer_names = state_dict[BUFFER_NAMES]
103
+ if debug:
104
+ print("Found buffers:", buffer_names)
105
+
106
+ # recover just the buffers while restoring them to fp32 if they were saved in fp16
107
+ buffers = {k: v.float() for k, v in state_dict["module"].items() if k in buffer_names}
108
+ param_shapes = state_dict[PARAM_SHAPES]
109
+
110
+ # collect parameters that are included in param_shapes
111
+ param_names = []
112
+ for s in param_shapes:
113
+ for name in s.keys():
114
+ param_names.append(name)
115
+
116
+ # update with frozen parameters
117
+ frozen_param_shapes = state_dict.get(FROZEN_PARAM_SHAPES, None)
118
+ if frozen_param_shapes is not None:
119
+ if debug:
120
+ print(f"Found frozen_param_shapes: {frozen_param_shapes}")
121
+ param_names += list(frozen_param_shapes.keys())
122
+
123
+ # handle shared params
124
+ shared_params = [[k, v] for k, v in state_dict["shared_params"].items()]
125
+
126
+ ds_version = state_dict.get(DS_VERSION, None)
127
+
128
+ frozen_param_fragments = state_dict.get(FROZEN_PARAM_FRAGMENTS, None)
129
+
130
+ z_model_state = zero_model_state(buffers=buffers,
131
+ param_shapes=param_shapes,
132
+ shared_params=shared_params,
133
+ ds_version=ds_version,
134
+ frozen_param_shapes=frozen_param_shapes,
135
+ frozen_param_fragments=frozen_param_fragments)
136
+ zero_model_states.append(z_model_state)
137
+
138
+ return zero_model_states
139
+
140
+
141
+ def parse_optim_states(files, ds_checkpoint_dir):
142
+
143
+ total_files = len(files)
144
+ state_dicts = []
145
+ for f in files:
146
+ state_dict = torch.load(f, map_location=device)
147
+ # immediately discard the potentially huge 2 optimizer states as we only care for fp32 master weights
148
+ # and also handle the case where it was already removed by another helper script
149
+ state_dict["optimizer_state_dict"].pop("optimizer_state_dict", None)
150
+ state_dicts.append(state_dict)
151
+
152
+ if not ZERO_STAGE in state_dicts[0][OPTIMIZER_STATE_DICT]:
153
+ raise ValueError(f"{files[0]} is not a zero checkpoint")
154
+ zero_stage = state_dicts[0][OPTIMIZER_STATE_DICT][ZERO_STAGE]
155
+ world_size = state_dicts[0][OPTIMIZER_STATE_DICT][PARTITION_COUNT]
156
+
157
+ # For ZeRO-2 each param group can have different partition_count as data parallelism for expert
158
+ # parameters can be different from data parallelism for non-expert parameters. So we can just
159
+ # use the max of the partition_count to get the dp world_size.
160
+
161
+ if type(world_size) is list:
162
+ world_size = max(world_size)
163
+
164
+ if world_size != total_files:
165
+ raise ValueError(
166
+ f"Expected {world_size} of '*_optim_states.pt' under '{ds_checkpoint_dir}' but found {total_files} files. "
167
+ "Possibly due to an overwrite of an old checkpoint, or a checkpoint didn't get saved by one or more processes."
168
+ )
169
+
170
+ # the groups are named differently in each stage
171
+ if zero_stage <= 2:
172
+ fp32_groups_key = SINGLE_PARTITION_OF_FP32_GROUPS
173
+ elif zero_stage == 3:
174
+ fp32_groups_key = FP32_FLAT_GROUPS
175
+ else:
176
+ raise ValueError(f"unknown zero stage {zero_stage}")
177
+
178
+ if zero_stage <= 2:
179
+ fp32_flat_groups = [state_dicts[i][OPTIMIZER_STATE_DICT][fp32_groups_key] for i in range(len(state_dicts))]
180
+ elif zero_stage == 3:
181
+ # if there is more than one param group, there will be multiple flattened tensors - one
182
+ # flattened tensor per group - for simplicity merge them into a single tensor
183
+ #
184
+ # XXX: could make the script more memory efficient for when there are multiple groups - it
185
+ # will require matching the sub-lists of param_shapes for each param group flattened tensor
186
+
187
+ fp32_flat_groups = [
188
+ torch.cat(state_dicts[i][OPTIMIZER_STATE_DICT][fp32_groups_key], 0) for i in range(len(state_dicts))
189
+ ]
190
+
191
+ return zero_stage, world_size, fp32_flat_groups
192
+
193
+
194
+ def _get_fp32_state_dict_from_zero_checkpoint(ds_checkpoint_dir):
195
+ """
196
+ Returns fp32 state_dict reconstructed from ds checkpoint
197
+
198
+ Args:
199
+ - ``ds_checkpoint_dir``: path to the deepspeed checkpoint folder (where the optimizer files are)
200
+
201
+ """
202
+ print(f"Processing zero checkpoint '{ds_checkpoint_dir}'")
203
+
204
+ optim_files = get_optim_files(ds_checkpoint_dir)
205
+ zero_stage, world_size, fp32_flat_groups = parse_optim_states(optim_files, ds_checkpoint_dir)
206
+ print(f"Detected checkpoint of type zero stage {zero_stage}, world_size: {world_size}")
207
+
208
+ model_files = get_model_state_files(ds_checkpoint_dir)
209
+
210
+ zero_model_states = parse_model_states(model_files)
211
+ print(f'Parsing checkpoint created by deepspeed=={zero_model_states[0].ds_version}')
212
+
213
+ if zero_stage <= 2:
214
+ return _get_fp32_state_dict_from_zero2_checkpoint(world_size, fp32_flat_groups, zero_model_states)
215
+ elif zero_stage == 3:
216
+ return _get_fp32_state_dict_from_zero3_checkpoint(world_size, fp32_flat_groups, zero_model_states)
217
+
218
+
219
+ def _zero2_merge_frozen_params(state_dict, zero_model_states):
220
+ if zero_model_states[0].frozen_param_shapes is None or len(zero_model_states[0].frozen_param_shapes) == 0:
221
+ return
222
+
223
+ frozen_param_shapes = zero_model_states[0].frozen_param_shapes
224
+ frozen_param_fragments = zero_model_states[0].frozen_param_fragments
225
+
226
+ if debug:
227
+ num_elem = sum(s.numel() for s in frozen_param_shapes.values())
228
+ print(f'rank 0: {FROZEN_PARAM_SHAPES}.numel = {num_elem}')
229
+
230
+ wanted_params = len(frozen_param_shapes)
231
+ wanted_numel = sum(s.numel() for s in frozen_param_shapes.values())
232
+ avail_numel = sum([p.numel() for p in frozen_param_fragments.values()])
233
+ print(f'Frozen params: Have {avail_numel} numels to process.')
234
+ print(f'Frozen params: Need {wanted_numel} numels in {wanted_params} params')
235
+
236
+ total_params = 0
237
+ total_numel = 0
238
+ for name, shape in frozen_param_shapes.items():
239
+ total_params += 1
240
+ unpartitioned_numel = shape.numel()
241
+ total_numel += unpartitioned_numel
242
+
243
+ state_dict[name] = frozen_param_fragments[name]
244
+
245
+ if debug:
246
+ print(f"{name} full shape: {shape} unpartitioned numel {unpartitioned_numel} ")
247
+
248
+ print(f"Reconstructed Frozen fp32 state dict with {total_params} params {total_numel} elements")
249
+
250
+
251
+ def _has_callable(obj, fn):
252
+ attr = getattr(obj, fn, None)
253
+ return callable(attr)
254
+
255
+
256
+ def _zero2_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states):
257
+ param_shapes = zero_model_states[0].param_shapes
258
+
259
+ # Reconstruction protocol:
260
+ #
261
+ # XXX: document this
262
+
263
+ if debug:
264
+ for i in range(world_size):
265
+ for j in range(len(fp32_flat_groups[0])):
266
+ print(f"{FP32_FLAT_GROUPS}[{i}][{j}].shape={fp32_flat_groups[i][j].shape}")
267
+
268
+ # XXX: memory usage doubles here (zero2)
269
+ num_param_groups = len(fp32_flat_groups[0])
270
+ merged_single_partition_of_fp32_groups = []
271
+ for i in range(num_param_groups):
272
+ merged_partitions = [sd[i] for sd in fp32_flat_groups]
273
+ full_single_fp32_vector = torch.cat(merged_partitions, 0)
274
+ merged_single_partition_of_fp32_groups.append(full_single_fp32_vector)
275
+ avail_numel = sum(
276
+ [full_single_fp32_vector.numel() for full_single_fp32_vector in merged_single_partition_of_fp32_groups])
277
+
278
+ if debug:
279
+ wanted_params = sum([len(shapes) for shapes in param_shapes])
280
+ wanted_numel = sum([sum(shape.numel() for shape in shapes.values()) for shapes in param_shapes])
281
+ # not asserting if there is a mismatch due to possible padding
282
+ print(f"Have {avail_numel} numels to process.")
283
+ print(f"Need {wanted_numel} numels in {wanted_params} params.")
284
+
285
+ # params
286
+ # XXX: for huge models that can't fit into the host's RAM we will have to recode this to support
287
+ # out-of-core computing solution
288
+ total_numel = 0
289
+ total_params = 0
290
+ for shapes, full_single_fp32_vector in zip(param_shapes, merged_single_partition_of_fp32_groups):
291
+ offset = 0
292
+ avail_numel = full_single_fp32_vector.numel()
293
+ for name, shape in shapes.items():
294
+
295
+ unpartitioned_numel = shape.numel() if _has_callable(shape, 'numel') else math.prod(shape)
296
+ total_numel += unpartitioned_numel
297
+ total_params += 1
298
+
299
+ if debug:
300
+ print(f"{name} full shape: {shape} unpartitioned numel {unpartitioned_numel} ")
301
+ state_dict[name] = full_single_fp32_vector.narrow(0, offset, unpartitioned_numel).view(shape)
302
+ offset += unpartitioned_numel
303
+
304
+ # Z2 started to align to 2*world_size to improve nccl performance. Therefore both offset and
305
+ # avail_numel can differ by anywhere between 0..2*world_size. Due to two unrelated complex
306
+ # paddings performed in the code it's almost impossible to predict the exact numbers w/o the
307
+ # live optimizer object, so we are checking that the numbers are within the right range
308
+ align_to = 2 * world_size
309
+
310
+ def zero2_align(x):
311
+ return align_to * math.ceil(x / align_to)
312
+
313
+ if debug:
314
+ print(f"original offset={offset}, avail_numel={avail_numel}")
315
+
316
+ offset = zero2_align(offset)
317
+ avail_numel = zero2_align(avail_numel)
318
+
319
+ if debug:
320
+ print(f"aligned offset={offset}, avail_numel={avail_numel}")
321
+
322
+ # Sanity check
323
+ if offset != avail_numel:
324
+ raise ValueError(f"consumed {offset} numels out of {avail_numel} - something is wrong")
325
+
326
+ print(f"Reconstructed fp32 state dict with {total_params} params {total_numel} elements")
327
+
328
+
329
+ def _get_fp32_state_dict_from_zero2_checkpoint(world_size, fp32_flat_groups, zero_model_states):
330
+ state_dict = OrderedDict()
331
+
332
+ # buffers
333
+ buffers = zero_model_states[0].buffers
334
+ state_dict.update(buffers)
335
+ if debug:
336
+ print(f"added {len(buffers)} buffers")
337
+
338
+ _zero2_merge_frozen_params(state_dict, zero_model_states)
339
+
340
+ _zero2_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states)
341
+
342
+ # recover shared parameters
343
+ for pair in zero_model_states[0].shared_params:
344
+ if pair[1] in state_dict:
345
+ state_dict[pair[0]] = state_dict[pair[1]]
346
+
347
+ return state_dict
348
+
349
+
350
+ def zero3_partitioned_param_info(unpartitioned_numel, world_size):
351
+ remainder = unpartitioned_numel % world_size
352
+ padding_numel = (world_size - remainder) if remainder else 0
353
+ partitioned_numel = math.ceil(unpartitioned_numel / world_size)
354
+ return partitioned_numel, padding_numel
355
+
356
+
357
+ def _zero3_merge_frozen_params(state_dict, world_size, zero_model_states):
358
+ if zero_model_states[0].frozen_param_shapes is None or len(zero_model_states[0].frozen_param_shapes) == 0:
359
+ return
360
+
361
+ if debug:
362
+ for i in range(world_size):
363
+ num_elem = sum(s.numel() for s in zero_model_states[i].frozen_param_fragments.values())
364
+ print(f'rank {i}: {FROZEN_PARAM_SHAPES}.numel = {num_elem}')
365
+
366
+ frozen_param_shapes = zero_model_states[0].frozen_param_shapes
367
+ wanted_params = len(frozen_param_shapes)
368
+ wanted_numel = sum(s.numel() for s in frozen_param_shapes.values())
369
+ avail_numel = sum([p.numel() for p in zero_model_states[0].frozen_param_fragments.values()]) * world_size
370
+ print(f'Frozen params: Have {avail_numel} numels to process.')
371
+ print(f'Frozen params: Need {wanted_numel} numels in {wanted_params} params')
372
+
373
+ total_params = 0
374
+ total_numel = 0
375
+ for name, shape in zero_model_states[0].frozen_param_shapes.items():
376
+ total_params += 1
377
+ unpartitioned_numel = shape.numel()
378
+ total_numel += unpartitioned_numel
379
+
380
+ param_frags = tuple(model_state.frozen_param_fragments[name] for model_state in zero_model_states)
381
+ state_dict[name] = torch.cat(param_frags, 0).narrow(0, 0, unpartitioned_numel).view(shape)
382
+
383
+ partitioned_numel, partitioned_padding_numel = zero3_partitioned_param_info(unpartitioned_numel, world_size)
384
+
385
+ if debug:
386
+ print(
387
+ f"Frozen params: {total_params} {name} full shape: {shape} partition0 numel={partitioned_numel} partitioned_padding_numel={partitioned_padding_numel}"
388
+ )
389
+
390
+ print(f"Reconstructed Frozen fp32 state dict with {total_params} params {total_numel} elements")
391
+
392
+
393
+ def _zero3_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states):
394
+ param_shapes = zero_model_states[0].param_shapes
395
+ avail_numel = fp32_flat_groups[0].numel() * world_size
396
+ # Reconstruction protocol: For zero3 we need to zip the partitions together at boundary of each
397
+ # param, re-consolidating each param, while dealing with padding if any
398
+
399
+ # merge list of dicts, preserving order
400
+ param_shapes = {k: v for d in param_shapes for k, v in d.items()}
401
+
402
+ if debug:
403
+ for i in range(world_size):
404
+ print(f"{FP32_FLAT_GROUPS}[{i}].shape={fp32_flat_groups[i].shape}")
405
+
406
+ wanted_params = len(param_shapes)
407
+ wanted_numel = sum(shape.numel() for shape in param_shapes.values())
408
+ # not asserting if there is a mismatch due to possible padding
409
+ avail_numel = fp32_flat_groups[0].numel() * world_size
410
+ print(f"Trainable params: Have {avail_numel} numels to process.")
411
+ print(f"Trainable params: Need {wanted_numel} numels in {wanted_params} params.")
412
+
413
+ # params
414
+ # XXX: for huge models that can't fit into the host's RAM we will have to recode this to support
415
+ # out-of-core computing solution
416
+ offset = 0
417
+ total_numel = 0
418
+ total_params = 0
419
+ for name, shape in param_shapes.items():
420
+
421
+ unpartitioned_numel = shape.numel()
422
+ total_numel += unpartitioned_numel
423
+ total_params += 1
424
+
425
+ partitioned_numel, partitioned_padding_numel = zero3_partitioned_param_info(unpartitioned_numel, world_size)
426
+
427
+ if debug:
428
+ print(
429
+ f"Trainable params: {total_params} {name} full shape: {shape} partition0 numel={partitioned_numel} partitioned_padding_numel={partitioned_padding_numel}"
430
+ )
431
+
432
+ # XXX: memory usage doubles here
433
+ state_dict[name] = torch.cat(
434
+ tuple(fp32_flat_groups[i].narrow(0, offset, partitioned_numel) for i in range(world_size)),
435
+ 0).narrow(0, 0, unpartitioned_numel).view(shape)
436
+ offset += partitioned_numel
437
+
438
+ offset *= world_size
439
+
440
+ # Sanity check
441
+ if offset != avail_numel:
442
+ raise ValueError(f"consumed {offset} numels out of {avail_numel} - something is wrong")
443
+
444
+ print(f"Reconstructed Trainable fp32 state dict with {total_params} params {total_numel} elements")
445
+
446
+
447
+ def _get_fp32_state_dict_from_zero3_checkpoint(world_size, fp32_flat_groups, zero_model_states):
448
+ state_dict = OrderedDict()
449
+
450
+ # buffers
451
+ buffers = zero_model_states[0].buffers
452
+ state_dict.update(buffers)
453
+ if debug:
454
+ print(f"added {len(buffers)} buffers")
455
+
456
+ _zero3_merge_frozen_params(state_dict, world_size, zero_model_states)
457
+
458
+ _zero3_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states)
459
+
460
+ # recover shared parameters
461
+ for pair in zero_model_states[0].shared_params:
462
+ if pair[1] in state_dict:
463
+ state_dict[pair[0]] = state_dict[pair[1]]
464
+
465
+ return state_dict
466
+
467
+
468
+ def get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir, tag=None):
469
+ """
470
+ Convert ZeRO 2 or 3 checkpoint into a single fp32 consolidated state_dict that can be loaded with
471
+ ``load_state_dict()`` and used for training without DeepSpeed or shared with others, for example
472
+ via a model hub.
473
+
474
+ Args:
475
+ - ``checkpoint_dir``: path to the desired checkpoint folder
476
+ - ``tag``: checkpoint tag used as a unique identifier for checkpoint. If not provided will attempt to load tag in 'latest' file. e.g., ``global_step14``
477
+
478
+ Returns:
479
+ - pytorch ``state_dict``
480
+
481
+ Note: this approach may not work if your application doesn't have sufficient free CPU memory and
482
+ you may need to use the offline approach using the ``zero_to_fp32.py`` script that is saved with
483
+ the checkpoint.
484
+
485
+ A typical usage might be ::
486
+
487
+ from deepspeed.utils.zero_to_fp32 import get_fp32_state_dict_from_zero_checkpoint
488
+ # do the training and checkpoint saving
489
+ state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir) # already on cpu
490
+ model = model.cpu() # move to cpu
491
+ model.load_state_dict(state_dict)
492
+ # submit to model hub or save the model to share with others
493
+
494
+ In this example the ``model`` will no longer be usable in the deepspeed context of the same
495
+ application. i.e. you will need to re-initialize the deepspeed engine, since
496
+ ``model.load_state_dict(state_dict)`` will remove all the deepspeed magic from it.
497
+
498
+ If you want it all done for you, use ``load_state_dict_from_zero_checkpoint`` instead.
499
+
500
+ """
501
+ if tag is None:
502
+ latest_path = os.path.join(checkpoint_dir, 'latest')
503
+ if os.path.isfile(latest_path):
504
+ with open(latest_path, 'r') as fd:
505
+ tag = fd.read().strip()
506
+ else:
507
+ raise ValueError(f"Unable to find 'latest' file at {latest_path}")
508
+
509
+ ds_checkpoint_dir = os.path.join(checkpoint_dir, tag)
510
+
511
+ if not os.path.isdir(ds_checkpoint_dir):
512
+ raise FileNotFoundError(f"Directory '{ds_checkpoint_dir}' doesn't exist")
513
+
514
+ return _get_fp32_state_dict_from_zero_checkpoint(ds_checkpoint_dir)
515
+
516
+
517
+ def convert_zero_checkpoint_to_fp32_state_dict(checkpoint_dir, output_file, tag=None):
518
+ """
519
+ Convert ZeRO 2 or 3 checkpoint into a single fp32 consolidated ``state_dict`` file that can be
520
+ loaded with ``torch.load(file)`` + ``load_state_dict()`` and used for training without DeepSpeed.
521
+
522
+ Args:
523
+ - ``checkpoint_dir``: path to the desired checkpoint folder. (one that contains the tag-folder, like ``global_step14``)
524
+ - ``output_file``: path to the pytorch fp32 state_dict output file (e.g. path/pytorch_model.bin)
525
+ - ``tag``: checkpoint tag used as a unique identifier for checkpoint. If not provided will attempt to load tag in the file named ``latest`` in the checkpoint folder, e.g., ``global_step14``
526
+ """
527
+
528
+ state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir, tag)
529
+ print(f"Saving fp32 state dict to {output_file}")
530
+ torch.save(state_dict, output_file)
531
+
532
+
533
+ def load_state_dict_from_zero_checkpoint(model, checkpoint_dir, tag=None):
534
+ """
535
+ 1. Put the provided model to cpu
536
+ 2. Convert ZeRO 2 or 3 checkpoint into a single fp32 consolidated ``state_dict``
537
+ 3. Load it into the provided model
538
+
539
+ Args:
540
+ - ``model``: the model object to update
541
+ - ``checkpoint_dir``: path to the desired checkpoint folder. (one that contains the tag-folder, like ``global_step14``)
542
+ - ``tag``: checkpoint tag used as a unique identifier for checkpoint. If not provided will attempt to load tag in the file named ``latest`` in the checkpoint folder, e.g., ``global_step14``
543
+
544
+ Returns:
545
+ - ``model`: modified model
546
+
547
+ Make sure you have plenty of CPU memory available before you call this function. If you don't
548
+ have enough use the ``zero_to_fp32.py`` utility to do the conversion. You will find it
549
+ conveniently placed for you in the checkpoint folder.
550
+
551
+ A typical usage might be ::
552
+
553
+ from deepspeed.utils.zero_to_fp32 import load_state_dict_from_zero_checkpoint
554
+ model = load_state_dict_from_zero_checkpoint(trainer.model, checkpoint_dir)
555
+ # submit to model hub or save the model to share with others
556
+
557
+ Note, that once this was run, the ``model`` will no longer be usable in the deepspeed context
558
+ of the same application. i.e. you will need to re-initialize the deepspeed engine, since
559
+ ``model.load_state_dict(state_dict)`` will remove all the deepspeed magic from it.
560
+
561
+ """
562
+ logger.info(f"Extracting fp32 weights")
563
+ state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir, tag)
564
+
565
+ logger.info(f"Overwriting model with fp32 weights")
566
+ model = model.cpu()
567
+ model.load_state_dict(state_dict, strict=False)
568
+
569
+ return model
570
+
571
+
572
+ if __name__ == "__main__":
573
+
574
+ parser = argparse.ArgumentParser()
575
+ parser.add_argument("checkpoint_dir",
576
+ type=str,
577
+ help="path to the desired checkpoint folder, e.g., path/checkpoint-12")
578
+ parser.add_argument(
579
+ "output_file",
580
+ type=str,
581
+ help="path to the pytorch fp32 state_dict output file (e.g. path/checkpoint-12/pytorch_model.bin)")
582
+ parser.add_argument("-t",
583
+ "--tag",
584
+ type=str,
585
+ default=None,
586
+ help="checkpoint tag used as a unique identifier for checkpoint. e.g., global_step1")
587
+ parser.add_argument("-d", "--debug", action='store_true', help="enable debug")
588
+ args = parser.parse_args()
589
+
590
+ debug = args.debug
591
+
592
+ convert_zero_checkpoint_to_fp32_state_dict(args.checkpoint_dir, args.output_file, tag=args.tag)
gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-624/README.md ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: deepseek-ai/deepseek-coder-7b-instruct-v1.5
4
+ ---
5
+
6
+ # Model Card for Model ID
7
+
8
+ <!-- Provide a quick summary of what the model is/does. -->
9
+
10
+
11
+
12
+ ## Model Details
13
+
14
+ ### Model Description
15
+
16
+ <!-- Provide a longer summary of what this model is. -->
17
+
18
+
19
+
20
+ - **Developed by:** [More Information Needed]
21
+ - **Funded by [optional]:** [More Information Needed]
22
+ - **Shared by [optional]:** [More Information Needed]
23
+ - **Model type:** [More Information Needed]
24
+ - **Language(s) (NLP):** [More Information Needed]
25
+ - **License:** [More Information Needed]
26
+ - **Finetuned from model [optional]:** [More Information Needed]
27
+
28
+ ### Model Sources [optional]
29
+
30
+ <!-- Provide the basic links for the model. -->
31
+
32
+ - **Repository:** [More Information Needed]
33
+ - **Paper [optional]:** [More Information Needed]
34
+ - **Demo [optional]:** [More Information Needed]
35
+
36
+ ## Uses
37
+
38
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
+
40
+ ### Direct Use
41
+
42
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
+
44
+ [More Information Needed]
45
+
46
+ ### Downstream Use [optional]
47
+
48
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
49
+
50
+ [More Information Needed]
51
+
52
+ ### Out-of-Scope Use
53
+
54
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
+
56
+ [More Information Needed]
57
+
58
+ ## Bias, Risks, and Limitations
59
+
60
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
+
62
+ [More Information Needed]
63
+
64
+ ### Recommendations
65
+
66
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
67
+
68
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
69
+
70
+ ## How to Get Started with the Model
71
+
72
+ Use the code below to get started with the model.
73
+
74
+ [More Information Needed]
75
+
76
+ ## Training Details
77
+
78
+ ### Training Data
79
+
80
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
81
+
82
+ [More Information Needed]
83
+
84
+ ### Training Procedure
85
+
86
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
+
88
+ #### Preprocessing [optional]
89
+
90
+ [More Information Needed]
91
+
92
+
93
+ #### Training Hyperparameters
94
+
95
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
+
97
+ #### Speeds, Sizes, Times [optional]
98
+
99
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
100
+
101
+ [More Information Needed]
102
+
103
+ ## Evaluation
104
+
105
+ <!-- This section describes the evaluation protocols and provides the results. -->
106
+
107
+ ### Testing Data, Factors & Metrics
108
+
109
+ #### Testing Data
110
+
111
+ <!-- This should link to a Dataset Card if possible. -->
112
+
113
+ [More Information Needed]
114
+
115
+ #### Factors
116
+
117
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
118
+
119
+ [More Information Needed]
120
+
121
+ #### Metrics
122
+
123
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
124
+
125
+ [More Information Needed]
126
+
127
+ ### Results
128
+
129
+ [More Information Needed]
130
+
131
+ #### Summary
132
+
133
+
134
+
135
+ ## Model Examination [optional]
136
+
137
+ <!-- Relevant interpretability work for the model goes here -->
138
+
139
+ [More Information Needed]
140
+
141
+ ## Environmental Impact
142
+
143
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
144
+
145
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
146
+
147
+ - **Hardware Type:** [More Information Needed]
148
+ - **Hours used:** [More Information Needed]
149
+ - **Cloud Provider:** [More Information Needed]
150
+ - **Compute Region:** [More Information Needed]
151
+ - **Carbon Emitted:** [More Information Needed]
152
+
153
+ ## Technical Specifications [optional]
154
+
155
+ ### Model Architecture and Objective
156
+
157
+ [More Information Needed]
158
+
159
+ ### Compute Infrastructure
160
+
161
+ [More Information Needed]
162
+
163
+ #### Hardware
164
+
165
+ [More Information Needed]
166
+
167
+ #### Software
168
+
169
+ [More Information Needed]
170
+
171
+ ## Citation [optional]
172
+
173
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
174
+
175
+ **BibTeX:**
176
+
177
+ [More Information Needed]
178
+
179
+ **APA:**
180
+
181
+ [More Information Needed]
182
+
183
+ ## Glossary [optional]
184
+
185
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
186
+
187
+ [More Information Needed]
188
+
189
+ ## More Information [optional]
190
+
191
+ [More Information Needed]
192
+
193
+ ## Model Card Authors [optional]
194
+
195
+ [More Information Needed]
196
+
197
+ ## Model Card Contact
198
+
199
+ [More Information Needed]
200
+ ### Framework versions
201
+
202
+ - PEFT 0.10.0
gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-624/adapter_config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "deepseek-ai/deepseek-coder-7b-instruct-v1.5",
5
+ "bias": "none",
6
+ "fan_in_fan_out": null,
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": {},
13
+ "lora_alpha": 512,
14
+ "lora_dropout": 0.05,
15
+ "megatron_config": null,
16
+ "megatron_core": "megatron.core",
17
+ "modules_to_save": null,
18
+ "peft_type": "LORA",
19
+ "r": 512,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": [
23
+ "down_proj",
24
+ "o_proj",
25
+ "k_proj",
26
+ "gate_proj",
27
+ "q_proj",
28
+ "up_proj",
29
+ "v_proj"
30
+ ],
31
+ "task_type": "CAUSAL_LM",
32
+ "use_dora": false,
33
+ "use_rslora": false
34
+ }
gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-624/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7b52c4854668a55d8cc2c6aa71a440ce0926223fb05f64294e0c0044d5a7c836
3
+ size 2398675768
gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-624/global_step624/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:32d2913f033838c21a6f0098d5c7ae9d536f77647c78fc1b38ad7503cfd0a012
3
+ size 1798972176
gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-624/global_step624/bf16_zero_pp_rank_1_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8a1592cb146601527644053cdab036a88c4337d13c5ebd455b88a1f476465cd9
3
+ size 1798972240
gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-624/global_step624/bf16_zero_pp_rank_2_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6210fc7d36beaf49a0bd7480493abdc8c149dbf91bf044544ff49fcf24a3d91d
3
+ size 1798971920
gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-624/global_step624/bf16_zero_pp_rank_3_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5d6a7762c3492bfa69d5d42a578df857bc8a211bbe8736a22891304036f39014
3
+ size 1798971984
gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-624/global_step624/bf16_zero_pp_rank_4_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:26b06be1cc80de73441fdb5bcf59b41ab13e68aee869de9faf0ea6d141cc0190
3
+ size 1798972176
gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-624/global_step624/bf16_zero_pp_rank_5_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ecd10f91a9a0348cb0985d09838bc7c1176b5bd2320619a6794e77916ff2585e
3
+ size 1798972304
gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-624/global_step624/bf16_zero_pp_rank_6_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9bf77b1920febcfc37f9c3ed83681b19025223cf8c92ac014972b69cecb08ecc
3
+ size 1798971984
gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-624/global_step624/bf16_zero_pp_rank_7_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:68915a39a20fa5d700c6789b157b0c8d6689db454f6c3a04558baa69ee62341f
3
+ size 1798971984
gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-624/global_step624/mp_rank_00_model_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eecec415b3bf0028006c85e58ccc0aeec2fb8f36aa95b1fb828895c878f716f8
3
+ size 2404118652
gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-624/latest ADDED
@@ -0,0 +1 @@
 
 
1
+ global_step624
gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-624/rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:72d467815d5e3bfffe7fd81b6697bbf1331694456ec414840ec9c86bcebbbdbc
3
+ size 15984
gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-624/rng_state_1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:737467e4a90863916f7dd9e0395f790a439531000203646ec30133f66afcbdfd
3
+ size 15984
gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-624/rng_state_2.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:230b501b509142e969c189ebe87af044aaf932109e77ce36e778c3c689ec8d25
3
+ size 15984
gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-624/rng_state_3.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:30f878db7861e8203196d028b538f12d17f4938099d9f5745a288566ba1cb6d6
3
+ size 15984
gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-624/rng_state_4.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:73969d1bf277faa85ad35b2d3db7075d2e64d1609c275304776a1d5f4342fa40
3
+ size 15984
gcp_models/lora-logo_fix_full_deepseek7b_ds33i_lr_0.0002_alpha_512_r_512/checkpoint-624/rng_state_5.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7d7e3f8b4b4714f07668dab2cfe254174fcd43506a2392dcb3ab5d3fcee93bb5
3
+ size 15984