Nivedita28/deepseekmedical
Browse files- README.md +57 -0
- adapter_config.json +37 -0
- adapter_model.safetensors +3 -0
- all_results.json +8 -0
- config.json +29 -0
- generation_config.json +9 -0
- model.safetensors +3 -0
- special_tokens_map.json +17 -0
- tokenizer.json +0 -0
- tokenizer_config.json +194 -0
- train_results.json +8 -0
- trainer_state.json +203 -0
- training_args.bin +3 -0
README.md
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B
|
| 3 |
+
library_name: peft
|
| 4 |
+
license: mit
|
| 5 |
+
tags:
|
| 6 |
+
- trl
|
| 7 |
+
- sft
|
| 8 |
+
- finetuned
|
| 9 |
+
- generated_from_trainer
|
| 10 |
+
model-index:
|
| 11 |
+
- name: outputs
|
| 12 |
+
results: []
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 16 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 17 |
+
|
| 18 |
+
# outputs
|
| 19 |
+
|
| 20 |
+
This model is a fine-tuned version of [deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B](https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B) on an unknown dataset.
|
| 21 |
+
|
| 22 |
+
## Model description
|
| 23 |
+
|
| 24 |
+
More information needed
|
| 25 |
+
|
| 26 |
+
## Intended uses & limitations
|
| 27 |
+
|
| 28 |
+
More information needed
|
| 29 |
+
|
| 30 |
+
## Training and evaluation data
|
| 31 |
+
|
| 32 |
+
More information needed
|
| 33 |
+
|
| 34 |
+
## Training procedure
|
| 35 |
+
|
| 36 |
+
### Training hyperparameters
|
| 37 |
+
|
| 38 |
+
The following hyperparameters were used during training:
|
| 39 |
+
- learning_rate: 0.0001
|
| 40 |
+
- train_batch_size: 5
|
| 41 |
+
- eval_batch_size: 16
|
| 42 |
+
- seed: 3407
|
| 43 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 44 |
+
- lr_scheduler_type: linear
|
| 45 |
+
- num_epochs: 3
|
| 46 |
+
|
| 47 |
+
### Training results
|
| 48 |
+
|
| 49 |
+
|
| 50 |
+
|
| 51 |
+
### Framework versions
|
| 52 |
+
|
| 53 |
+
- PEFT 0.12.0
|
| 54 |
+
- Transformers 4.44.2
|
| 55 |
+
- Pytorch 2.4.0+cu121
|
| 56 |
+
- Datasets 3.0.0
|
| 57 |
+
- Tokenizers 0.19.1
|
adapter_config.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alpha_pattern": {},
|
| 3 |
+
"auto_mapping": {
|
| 4 |
+
"base_model_class": "Qwen2ForCausalLM",
|
| 5 |
+
"parent_library": "transformers.models.qwen2.modeling_qwen2"
|
| 6 |
+
},
|
| 7 |
+
"base_model_name_or_path": "deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B",
|
| 8 |
+
"bias": "none",
|
| 9 |
+
"fan_in_fan_out": false,
|
| 10 |
+
"inference_mode": true,
|
| 11 |
+
"init_lora_weights": true,
|
| 12 |
+
"layer_replication": null,
|
| 13 |
+
"layers_pattern": null,
|
| 14 |
+
"layers_to_transform": null,
|
| 15 |
+
"loftq_config": {},
|
| 16 |
+
"lora_alpha": 16,
|
| 17 |
+
"lora_dropout": 0,
|
| 18 |
+
"megatron_config": null,
|
| 19 |
+
"megatron_core": "megatron.core",
|
| 20 |
+
"modules_to_save": null,
|
| 21 |
+
"peft_type": "LORA",
|
| 22 |
+
"r": 16,
|
| 23 |
+
"rank_pattern": {},
|
| 24 |
+
"revision": null,
|
| 25 |
+
"target_modules": [
|
| 26 |
+
"k_proj",
|
| 27 |
+
"down_proj",
|
| 28 |
+
"q_proj",
|
| 29 |
+
"o_proj",
|
| 30 |
+
"gate_proj",
|
| 31 |
+
"v_proj",
|
| 32 |
+
"up_proj"
|
| 33 |
+
],
|
| 34 |
+
"task_type": null,
|
| 35 |
+
"use_dora": false,
|
| 36 |
+
"use_rslora": false
|
| 37 |
+
}
|
adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:60d95b10b6e140a9626a7058d5038528f2ff80148dc4569b881db56052046509
|
| 3 |
+
size 40
|
all_results.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"epoch": 3.0,
|
| 3 |
+
"total_flos": 1.842821417926656e+16,
|
| 4 |
+
"train_loss": 0.37092622672207654,
|
| 5 |
+
"train_runtime": 190.7397,
|
| 6 |
+
"train_samples_per_second": 5.033,
|
| 7 |
+
"train_steps_per_second": 1.007
|
| 8 |
+
}
|
config.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"Qwen2ForCausalLM"
|
| 5 |
+
],
|
| 6 |
+
"attention_dropout": 0.0,
|
| 7 |
+
"bos_token_id": 151643,
|
| 8 |
+
"eos_token_id": 151643,
|
| 9 |
+
"hidden_act": "silu",
|
| 10 |
+
"hidden_size": 1536,
|
| 11 |
+
"initializer_range": 0.02,
|
| 12 |
+
"intermediate_size": 8960,
|
| 13 |
+
"max_position_embeddings": 131072,
|
| 14 |
+
"max_window_layers": 21,
|
| 15 |
+
"model_type": "qwen2",
|
| 16 |
+
"num_attention_heads": 12,
|
| 17 |
+
"num_hidden_layers": 28,
|
| 18 |
+
"num_key_value_heads": 2,
|
| 19 |
+
"rms_norm_eps": 1e-06,
|
| 20 |
+
"rope_theta": 10000,
|
| 21 |
+
"sliding_window": null,
|
| 22 |
+
"tie_word_embeddings": false,
|
| 23 |
+
"torch_dtype": "bfloat16",
|
| 24 |
+
"transformers_version": "4.44.2",
|
| 25 |
+
"use_cache": false,
|
| 26 |
+
"use_mrope": false,
|
| 27 |
+
"use_sliding_window": false,
|
| 28 |
+
"vocab_size": 151936
|
| 29 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"bos_token_id": 151646,
|
| 4 |
+
"do_sample": true,
|
| 5 |
+
"eos_token_id": 151643,
|
| 6 |
+
"temperature": 0.6,
|
| 7 |
+
"top_p": 0.95,
|
| 8 |
+
"transformers_version": "4.44.2"
|
| 9 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e8dd6742316c796595513bbdedee22b2939a3cd37c4f2fe068b0465af5d9a0d0
|
| 3 |
+
size 3554214752
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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": "<|end▁of▁sentence|>",
|
| 11 |
+
"lstrip": false,
|
| 12 |
+
"normalized": false,
|
| 13 |
+
"rstrip": false,
|
| 14 |
+
"single_word": false
|
| 15 |
+
},
|
| 16 |
+
"pad_token": "<|end▁of▁sentence|>"
|
| 17 |
+
}
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,194 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
+
"add_prefix_space": null,
|
| 5 |
+
"added_tokens_decoder": {
|
| 6 |
+
"151643": {
|
| 7 |
+
"content": "<|end▁of▁sentence|>",
|
| 8 |
+
"lstrip": false,
|
| 9 |
+
"normalized": false,
|
| 10 |
+
"rstrip": false,
|
| 11 |
+
"single_word": false,
|
| 12 |
+
"special": true
|
| 13 |
+
},
|
| 14 |
+
"151644": {
|
| 15 |
+
"content": "<|User|>",
|
| 16 |
+
"lstrip": false,
|
| 17 |
+
"normalized": false,
|
| 18 |
+
"rstrip": false,
|
| 19 |
+
"single_word": false,
|
| 20 |
+
"special": false
|
| 21 |
+
},
|
| 22 |
+
"151645": {
|
| 23 |
+
"content": "<|Assistant|>",
|
| 24 |
+
"lstrip": false,
|
| 25 |
+
"normalized": false,
|
| 26 |
+
"rstrip": false,
|
| 27 |
+
"single_word": false,
|
| 28 |
+
"special": false
|
| 29 |
+
},
|
| 30 |
+
"151646": {
|
| 31 |
+
"content": "<|begin▁of▁sentence|>",
|
| 32 |
+
"lstrip": false,
|
| 33 |
+
"normalized": false,
|
| 34 |
+
"rstrip": false,
|
| 35 |
+
"single_word": false,
|
| 36 |
+
"special": true
|
| 37 |
+
},
|
| 38 |
+
"151647": {
|
| 39 |
+
"content": "<|EOT|>",
|
| 40 |
+
"lstrip": false,
|
| 41 |
+
"normalized": false,
|
| 42 |
+
"rstrip": false,
|
| 43 |
+
"single_word": false,
|
| 44 |
+
"special": false
|
| 45 |
+
},
|
| 46 |
+
"151648": {
|
| 47 |
+
"content": "<think>",
|
| 48 |
+
"lstrip": false,
|
| 49 |
+
"normalized": false,
|
| 50 |
+
"rstrip": false,
|
| 51 |
+
"single_word": false,
|
| 52 |
+
"special": false
|
| 53 |
+
},
|
| 54 |
+
"151649": {
|
| 55 |
+
"content": "</think>",
|
| 56 |
+
"lstrip": false,
|
| 57 |
+
"normalized": false,
|
| 58 |
+
"rstrip": false,
|
| 59 |
+
"single_word": false,
|
| 60 |
+
"special": false
|
| 61 |
+
},
|
| 62 |
+
"151650": {
|
| 63 |
+
"content": "<|quad_start|>",
|
| 64 |
+
"lstrip": false,
|
| 65 |
+
"normalized": false,
|
| 66 |
+
"rstrip": false,
|
| 67 |
+
"single_word": false,
|
| 68 |
+
"special": true
|
| 69 |
+
},
|
| 70 |
+
"151651": {
|
| 71 |
+
"content": "<|quad_end|>",
|
| 72 |
+
"lstrip": false,
|
| 73 |
+
"normalized": false,
|
| 74 |
+
"rstrip": false,
|
| 75 |
+
"single_word": false,
|
| 76 |
+
"special": true
|
| 77 |
+
},
|
| 78 |
+
"151652": {
|
| 79 |
+
"content": "<|vision_start|>",
|
| 80 |
+
"lstrip": false,
|
| 81 |
+
"normalized": false,
|
| 82 |
+
"rstrip": false,
|
| 83 |
+
"single_word": false,
|
| 84 |
+
"special": true
|
| 85 |
+
},
|
| 86 |
+
"151653": {
|
| 87 |
+
"content": "<|vision_end|>",
|
| 88 |
+
"lstrip": false,
|
| 89 |
+
"normalized": false,
|
| 90 |
+
"rstrip": false,
|
| 91 |
+
"single_word": false,
|
| 92 |
+
"special": true
|
| 93 |
+
},
|
| 94 |
+
"151654": {
|
| 95 |
+
"content": "<|vision_pad|>",
|
| 96 |
+
"lstrip": false,
|
| 97 |
+
"normalized": false,
|
| 98 |
+
"rstrip": false,
|
| 99 |
+
"single_word": false,
|
| 100 |
+
"special": true
|
| 101 |
+
},
|
| 102 |
+
"151655": {
|
| 103 |
+
"content": "<|image_pad|>",
|
| 104 |
+
"lstrip": false,
|
| 105 |
+
"normalized": false,
|
| 106 |
+
"rstrip": false,
|
| 107 |
+
"single_word": false,
|
| 108 |
+
"special": true
|
| 109 |
+
},
|
| 110 |
+
"151656": {
|
| 111 |
+
"content": "<|video_pad|>",
|
| 112 |
+
"lstrip": false,
|
| 113 |
+
"normalized": false,
|
| 114 |
+
"rstrip": false,
|
| 115 |
+
"single_word": false,
|
| 116 |
+
"special": true
|
| 117 |
+
},
|
| 118 |
+
"151657": {
|
| 119 |
+
"content": "<tool_call>",
|
| 120 |
+
"lstrip": false,
|
| 121 |
+
"normalized": false,
|
| 122 |
+
"rstrip": false,
|
| 123 |
+
"single_word": false,
|
| 124 |
+
"special": false
|
| 125 |
+
},
|
| 126 |
+
"151658": {
|
| 127 |
+
"content": "</tool_call>",
|
| 128 |
+
"lstrip": false,
|
| 129 |
+
"normalized": false,
|
| 130 |
+
"rstrip": false,
|
| 131 |
+
"single_word": false,
|
| 132 |
+
"special": false
|
| 133 |
+
},
|
| 134 |
+
"151659": {
|
| 135 |
+
"content": "<|fim_prefix|>",
|
| 136 |
+
"lstrip": false,
|
| 137 |
+
"normalized": false,
|
| 138 |
+
"rstrip": false,
|
| 139 |
+
"single_word": false,
|
| 140 |
+
"special": false
|
| 141 |
+
},
|
| 142 |
+
"151660": {
|
| 143 |
+
"content": "<|fim_middle|>",
|
| 144 |
+
"lstrip": false,
|
| 145 |
+
"normalized": false,
|
| 146 |
+
"rstrip": false,
|
| 147 |
+
"single_word": false,
|
| 148 |
+
"special": false
|
| 149 |
+
},
|
| 150 |
+
"151661": {
|
| 151 |
+
"content": "<|fim_suffix|>",
|
| 152 |
+
"lstrip": false,
|
| 153 |
+
"normalized": false,
|
| 154 |
+
"rstrip": false,
|
| 155 |
+
"single_word": false,
|
| 156 |
+
"special": false
|
| 157 |
+
},
|
| 158 |
+
"151662": {
|
| 159 |
+
"content": "<|fim_pad|>",
|
| 160 |
+
"lstrip": false,
|
| 161 |
+
"normalized": false,
|
| 162 |
+
"rstrip": false,
|
| 163 |
+
"single_word": false,
|
| 164 |
+
"special": false
|
| 165 |
+
},
|
| 166 |
+
"151663": {
|
| 167 |
+
"content": "<|repo_name|>",
|
| 168 |
+
"lstrip": false,
|
| 169 |
+
"normalized": false,
|
| 170 |
+
"rstrip": false,
|
| 171 |
+
"single_word": false,
|
| 172 |
+
"special": false
|
| 173 |
+
},
|
| 174 |
+
"151664": {
|
| 175 |
+
"content": "<|file_sep|>",
|
| 176 |
+
"lstrip": false,
|
| 177 |
+
"normalized": false,
|
| 178 |
+
"rstrip": false,
|
| 179 |
+
"single_word": false,
|
| 180 |
+
"special": false
|
| 181 |
+
}
|
| 182 |
+
},
|
| 183 |
+
"bos_token": "<|begin▁of▁sentence|>",
|
| 184 |
+
"chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% set ns = namespace(is_first=false, is_tool=false, is_output_first=true, system_prompt='') %}{%- for message in messages %}{%- if message['role'] == 'system' %}{% set ns.system_prompt = message['content'] %}{%- endif %}{%- endfor %}{{bos_token}}{{ns.system_prompt}}{%- for message in messages %}{%- if message['role'] == 'user' %}{%- set ns.is_tool = false -%}{{'<|User|>' + message['content']}}{%- endif %}{%- if message['role'] == 'assistant' and message['content'] is none %}{%- set ns.is_tool = false -%}{%- for tool in message['tool_calls']%}{%- if not ns.is_first %}{{'<|Assistant|><|tool▁calls▁begin|><|tool▁call▁begin��>' + tool['type'] + '<|tool▁sep|>' + tool['function']['name'] + '\\n' + '```json' + '\\n' + tool['function']['arguments'] + '\\n' + '```' + '<|tool▁call▁end|>'}}{%- set ns.is_first = true -%}{%- else %}{{'\\n' + '<|tool▁call▁begin|>' + tool['type'] + '<|tool▁sep|>' + tool['function']['name'] + '\\n' + '```json' + '\\n' + tool['function']['arguments'] + '\\n' + '```' + '<|tool▁call▁end|>'}}{{'<|tool▁calls▁end|><|end▁of▁sentence|>'}}{%- endif %}{%- endfor %}{%- endif %}{%- if message['role'] == 'assistant' and message['content'] is not none %}{%- if ns.is_tool %}{{'<|tool▁outputs▁end|>' + message['content'] + '<|end▁of▁sentence|>'}}{%- set ns.is_tool = false -%}{%- else %}{% set content = message['content'] %}{% if '</think>' in content %}{% set content = content.split('</think>')[-1] %}{% endif %}{{'<|Assistant|>' + content + '<|end▁of▁sentence|>'}}{%- endif %}{%- endif %}{%- if message['role'] == 'tool' %}{%- set ns.is_tool = true -%}{%- if ns.is_output_first %}{{'<|tool▁outputs▁begin|><|tool▁output▁begin|>' + message['content'] + '<|tool▁output▁end|>'}}{%- set ns.is_output_first = false %}{%- else %}{{'\\n<|tool▁output▁begin|>' + message['content'] + '<|tool▁output▁end|>'}}{%- endif %}{%- endif %}{%- endfor -%}{% if ns.is_tool %}{{'<|tool▁outputs▁end|>'}}{% endif %}{% if add_generation_prompt and not ns.is_tool %}{{'<|Assistant|><think>\\n'}}{% endif %}",
|
| 185 |
+
"clean_up_tokenization_spaces": false,
|
| 186 |
+
"eos_token": "<|end▁of▁sentence|>",
|
| 187 |
+
"legacy": true,
|
| 188 |
+
"model_max_length": 2048,
|
| 189 |
+
"pad_token": "<|end▁of▁sentence|>",
|
| 190 |
+
"sp_model_kwargs": {},
|
| 191 |
+
"tokenizer_class": "LlamaTokenizer",
|
| 192 |
+
"unk_token": null,
|
| 193 |
+
"use_default_system_prompt": false
|
| 194 |
+
}
|
train_results.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"epoch": 3.0,
|
| 3 |
+
"total_flos": 1.842821417926656e+16,
|
| 4 |
+
"train_loss": 0.37092622672207654,
|
| 5 |
+
"train_runtime": 190.7397,
|
| 6 |
+
"train_samples_per_second": 5.033,
|
| 7 |
+
"train_steps_per_second": 1.007
|
| 8 |
+
}
|
trainer_state.json
ADDED
|
@@ -0,0 +1,203 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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"global_step": 192,
|
| 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.15625,
|
| 13 |
+
"grad_norm": 0.10847697407007217,
|
| 14 |
+
"learning_rate": 9.479166666666666e-05,
|
| 15 |
+
"loss": 5.5359,
|
| 16 |
+
"step": 10
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"epoch": 0.3125,
|
| 20 |
+
"grad_norm": 0.0398186556994915,
|
| 21 |
+
"learning_rate": 8.958333333333335e-05,
|
| 22 |
+
"loss": 0.1263,
|
| 23 |
+
"step": 20
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"epoch": 0.46875,
|
| 27 |
+
"grad_norm": 0.03957119584083557,
|
| 28 |
+
"learning_rate": 8.4375e-05,
|
| 29 |
+
"loss": 0.1074,
|
| 30 |
+
"step": 30
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"epoch": 0.625,
|
| 34 |
+
"grad_norm": 0.027517227455973625,
|
| 35 |
+
"learning_rate": 7.916666666666666e-05,
|
| 36 |
+
"loss": 0.0965,
|
| 37 |
+
"step": 40
|
| 38 |
+
},
|
| 39 |
+
{
|
| 40 |
+
"epoch": 0.78125,
|
| 41 |
+
"grad_norm": 0.02527707628905773,
|
| 42 |
+
"learning_rate": 7.395833333333335e-05,
|
| 43 |
+
"loss": 0.0884,
|
| 44 |
+
"step": 50
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"epoch": 0.9375,
|
| 48 |
+
"grad_norm": 0.02493639849126339,
|
| 49 |
+
"learning_rate": 6.875e-05,
|
| 50 |
+
"loss": 0.0884,
|
| 51 |
+
"step": 60
|
| 52 |
+
},
|
| 53 |
+
{
|
| 54 |
+
"epoch": 1.0,
|
| 55 |
+
"eval_runtime": 6.6509,
|
| 56 |
+
"eval_samples_per_second": 12.028,
|
| 57 |
+
"eval_steps_per_second": 0.752,
|
| 58 |
+
"step": 64
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"epoch": 1.09375,
|
| 62 |
+
"grad_norm": 0.02615288645029068,
|
| 63 |
+
"learning_rate": 6.354166666666666e-05,
|
| 64 |
+
"loss": 0.08,
|
| 65 |
+
"step": 70
|
| 66 |
+
},
|
| 67 |
+
{
|
| 68 |
+
"epoch": 1.25,
|
| 69 |
+
"grad_norm": 0.027330700308084488,
|
| 70 |
+
"learning_rate": 5.833333333333334e-05,
|
| 71 |
+
"loss": 0.0891,
|
| 72 |
+
"step": 80
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"epoch": 1.40625,
|
| 76 |
+
"grad_norm": 0.028688812628388405,
|
| 77 |
+
"learning_rate": 5.3125000000000004e-05,
|
| 78 |
+
"loss": 0.0947,
|
| 79 |
+
"step": 90
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"epoch": 1.5625,
|
| 83 |
+
"grad_norm": 0.030911659821867943,
|
| 84 |
+
"learning_rate": 4.791666666666667e-05,
|
| 85 |
+
"loss": 0.0803,
|
| 86 |
+
"step": 100
|
| 87 |
+
},
|
| 88 |
+
{
|
| 89 |
+
"epoch": 1.71875,
|
| 90 |
+
"grad_norm": 0.028372356668114662,
|
| 91 |
+
"learning_rate": 4.270833333333333e-05,
|
| 92 |
+
"loss": 0.0791,
|
| 93 |
+
"step": 110
|
| 94 |
+
},
|
| 95 |
+
{
|
| 96 |
+
"epoch": 1.875,
|
| 97 |
+
"grad_norm": 0.022600064054131508,
|
| 98 |
+
"learning_rate": 3.7500000000000003e-05,
|
| 99 |
+
"loss": 0.078,
|
| 100 |
+
"step": 120
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"epoch": 2.0,
|
| 104 |
+
"eval_runtime": 5.3296,
|
| 105 |
+
"eval_samples_per_second": 15.011,
|
| 106 |
+
"eval_steps_per_second": 0.938,
|
| 107 |
+
"step": 128
|
| 108 |
+
},
|
| 109 |
+
{
|
| 110 |
+
"epoch": 2.03125,
|
| 111 |
+
"grad_norm": 0.02555151842534542,
|
| 112 |
+
"learning_rate": 3.229166666666667e-05,
|
| 113 |
+
"loss": 0.0811,
|
| 114 |
+
"step": 130
|
| 115 |
+
},
|
| 116 |
+
{
|
| 117 |
+
"epoch": 2.1875,
|
| 118 |
+
"grad_norm": 0.028641177341341972,
|
| 119 |
+
"learning_rate": 2.7083333333333332e-05,
|
| 120 |
+
"loss": 0.0809,
|
| 121 |
+
"step": 140
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
"epoch": 2.34375,
|
| 125 |
+
"grad_norm": 0.023602696135640144,
|
| 126 |
+
"learning_rate": 2.1875e-05,
|
| 127 |
+
"loss": 0.0738,
|
| 128 |
+
"step": 150
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"epoch": 2.34375,
|
| 132 |
+
"eval_runtime": 5.3233,
|
| 133 |
+
"eval_samples_per_second": 15.028,
|
| 134 |
+
"eval_steps_per_second": 0.939,
|
| 135 |
+
"step": 150
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"epoch": 2.5,
|
| 139 |
+
"grad_norm": 0.026037951931357384,
|
| 140 |
+
"learning_rate": 1.6666666666666667e-05,
|
| 141 |
+
"loss": 0.0775,
|
| 142 |
+
"step": 160
|
| 143 |
+
},
|
| 144 |
+
{
|
| 145 |
+
"epoch": 2.65625,
|
| 146 |
+
"grad_norm": 0.027666736394166946,
|
| 147 |
+
"learning_rate": 1.1458333333333333e-05,
|
| 148 |
+
"loss": 0.0829,
|
| 149 |
+
"step": 170
|
| 150 |
+
},
|
| 151 |
+
{
|
| 152 |
+
"epoch": 2.8125,
|
| 153 |
+
"grad_norm": 0.025325452908873558,
|
| 154 |
+
"learning_rate": 6.25e-06,
|
| 155 |
+
"loss": 0.0802,
|
| 156 |
+
"step": 180
|
| 157 |
+
},
|
| 158 |
+
{
|
| 159 |
+
"epoch": 2.96875,
|
| 160 |
+
"grad_norm": 0.02601686492562294,
|
| 161 |
+
"learning_rate": 1.0416666666666667e-06,
|
| 162 |
+
"loss": 0.0858,
|
| 163 |
+
"step": 190
|
| 164 |
+
},
|
| 165 |
+
{
|
| 166 |
+
"epoch": 3.0,
|
| 167 |
+
"eval_runtime": 5.3306,
|
| 168 |
+
"eval_samples_per_second": 15.008,
|
| 169 |
+
"eval_steps_per_second": 0.938,
|
| 170 |
+
"step": 192
|
| 171 |
+
},
|
| 172 |
+
{
|
| 173 |
+
"epoch": 3.0,
|
| 174 |
+
"step": 192,
|
| 175 |
+
"total_flos": 1.842821417926656e+16,
|
| 176 |
+
"train_loss": 0.37092622672207654,
|
| 177 |
+
"train_runtime": 190.7397,
|
| 178 |
+
"train_samples_per_second": 5.033,
|
| 179 |
+
"train_steps_per_second": 1.007
|
| 180 |
+
}
|
| 181 |
+
],
|
| 182 |
+
"logging_steps": 10,
|
| 183 |
+
"max_steps": 192,
|
| 184 |
+
"num_input_tokens_seen": 0,
|
| 185 |
+
"num_train_epochs": 3,
|
| 186 |
+
"save_steps": 500,
|
| 187 |
+
"stateful_callbacks": {
|
| 188 |
+
"TrainerControl": {
|
| 189 |
+
"args": {
|
| 190 |
+
"should_epoch_stop": false,
|
| 191 |
+
"should_evaluate": false,
|
| 192 |
+
"should_log": false,
|
| 193 |
+
"should_save": true,
|
| 194 |
+
"should_training_stop": true
|
| 195 |
+
},
|
| 196 |
+
"attributes": {}
|
| 197 |
+
}
|
| 198 |
+
},
|
| 199 |
+
"total_flos": 1.842821417926656e+16,
|
| 200 |
+
"train_batch_size": 5,
|
| 201 |
+
"trial_name": null,
|
| 202 |
+
"trial_params": null
|
| 203 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d54ce947218fd70f81e3e7c2d88f7e082fcc501ccbe553663dabd3839b514bde
|
| 3 |
+
size 5432
|