4b scale-up control SFT checkpoint 24
Browse files- .gitattributes +1 -0
- sft_4epoch/control/checkpoint-24/chat_template.jinja +47 -0
- sft_4epoch/control/checkpoint-24/config.json +111 -0
- sft_4epoch/control/checkpoint-24/generation_config.json +13 -0
- sft_4epoch/control/checkpoint-24/model.safetensors +3 -0
- sft_4epoch/control/checkpoint-24/optimizer.bin +3 -0
- sft_4epoch/control/checkpoint-24/preprocessor_config.json +29 -0
- sft_4epoch/control/checkpoint-24/processor_config.json +4 -0
- sft_4epoch/control/checkpoint-24/pytorch_model_fsdp.bin +3 -0
- sft_4epoch/control/checkpoint-24/rng_state_0.pth +3 -0
- sft_4epoch/control/checkpoint-24/rng_state_1.pth +3 -0
- sft_4epoch/control/checkpoint-24/scheduler.pt +3 -0
- sft_4epoch/control/checkpoint-24/tokenizer.json +3 -0
- sft_4epoch/control/checkpoint-24/tokenizer_config.json +26 -0
- sft_4epoch/control/checkpoint-24/tokens_state.json +1 -0
- sft_4epoch/control/checkpoint-24/trainer_state.json +370 -0
- sft_4epoch/control/checkpoint-24/training_args.bin +3 -0
.gitattributes
CHANGED
|
@@ -65,3 +65,4 @@ sft_4epoch/coin/checkpoint-36/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
|
| 65 |
sft_4epoch/coin/checkpoint-48/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 66 |
sft_4epoch/control/checkpoint-4/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 67 |
sft_4epoch/control/checkpoint-12/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 65 |
sft_4epoch/coin/checkpoint-48/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 66 |
sft_4epoch/control/checkpoint-4/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 67 |
sft_4epoch/control/checkpoint-12/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 68 |
+
sft_4epoch/control/checkpoint-24/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
sft_4epoch/control/checkpoint-24/chat_template.jinja
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{{ bos_token }}
|
| 2 |
+
{%- if messages[0]['role'] == 'system' -%}
|
| 3 |
+
{%- if messages[0]['content'] is string -%}
|
| 4 |
+
{%- set first_user_prefix = messages[0]['content'] + '
|
| 5 |
+
|
| 6 |
+
' -%}
|
| 7 |
+
{%- else -%}
|
| 8 |
+
{%- set first_user_prefix = messages[0]['content'][0]['text'] + '
|
| 9 |
+
|
| 10 |
+
' -%}
|
| 11 |
+
{%- endif -%}
|
| 12 |
+
{%- set loop_messages = messages[1:] -%}
|
| 13 |
+
{%- else -%}
|
| 14 |
+
{%- set first_user_prefix = "" -%}
|
| 15 |
+
{%- set loop_messages = messages -%}
|
| 16 |
+
{%- endif -%}
|
| 17 |
+
{%- for message in loop_messages -%}
|
| 18 |
+
{%- if (message['role'] == 'user') != (loop.index0 % 2 == 0) -%}
|
| 19 |
+
{{ raise_exception("Conversation roles must alternate user/assistant/user/assistant/...") }}
|
| 20 |
+
{%- endif -%}
|
| 21 |
+
{%- if (message['role'] == 'assistant') -%}
|
| 22 |
+
{%- set role = "model" -%}
|
| 23 |
+
{%- else -%}
|
| 24 |
+
{%- set role = message['role'] -%}
|
| 25 |
+
{%- endif -%}
|
| 26 |
+
{{ '<start_of_turn>' + role + '
|
| 27 |
+
' + (first_user_prefix if loop.first else "") }}
|
| 28 |
+
{%- if message['content'] is string -%}
|
| 29 |
+
{{ message['content'] | trim }}
|
| 30 |
+
{%- elif message['content'] is iterable -%}
|
| 31 |
+
{%- for item in message['content'] -%}
|
| 32 |
+
{%- if item['type'] == 'image' -%}
|
| 33 |
+
{{ '<start_of_image>' }}
|
| 34 |
+
{%- elif item['type'] == 'text' -%}
|
| 35 |
+
{{ item['text'] | trim }}
|
| 36 |
+
{%- endif -%}
|
| 37 |
+
{%- endfor -%}
|
| 38 |
+
{%- else -%}
|
| 39 |
+
{{ raise_exception("Invalid content type") }}
|
| 40 |
+
{%- endif -%}
|
| 41 |
+
{{ '<end_of_turn>
|
| 42 |
+
' }}
|
| 43 |
+
{%- endfor -%}
|
| 44 |
+
{%- if add_generation_prompt -%}
|
| 45 |
+
{{'<start_of_turn>model
|
| 46 |
+
'}}
|
| 47 |
+
{%- endif -%}
|
sft_4epoch/control/checkpoint-24/config.json
ADDED
|
@@ -0,0 +1,111 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Gemma3ForConditionalGeneration"
|
| 4 |
+
],
|
| 5 |
+
"boi_token_index": 255999,
|
| 6 |
+
"bos_token_id": 2,
|
| 7 |
+
"dtype": "bfloat16",
|
| 8 |
+
"eoi_token_index": 256000,
|
| 9 |
+
"eos_token_id": 1,
|
| 10 |
+
"image_token_index": 262144,
|
| 11 |
+
"initializer_range": 0.02,
|
| 12 |
+
"mm_tokens_per_image": 256,
|
| 13 |
+
"model_type": "gemma3",
|
| 14 |
+
"pad_token_id": 0,
|
| 15 |
+
"text_config": {
|
| 16 |
+
"_sliding_window_pattern": 6,
|
| 17 |
+
"attention_bias": false,
|
| 18 |
+
"attention_dropout": 0.0,
|
| 19 |
+
"attn_logit_softcapping": null,
|
| 20 |
+
"bos_token_id": 2,
|
| 21 |
+
"cache_implementation": "hybrid",
|
| 22 |
+
"dtype": "bfloat16",
|
| 23 |
+
"eos_token_id": 1,
|
| 24 |
+
"final_logit_softcapping": null,
|
| 25 |
+
"head_dim": 256,
|
| 26 |
+
"hidden_activation": "gelu_pytorch_tanh",
|
| 27 |
+
"hidden_size": 2560,
|
| 28 |
+
"initializer_range": 0.02,
|
| 29 |
+
"intermediate_size": 10240,
|
| 30 |
+
"layer_types": [
|
| 31 |
+
"sliding_attention",
|
| 32 |
+
"sliding_attention",
|
| 33 |
+
"sliding_attention",
|
| 34 |
+
"sliding_attention",
|
| 35 |
+
"sliding_attention",
|
| 36 |
+
"full_attention",
|
| 37 |
+
"sliding_attention",
|
| 38 |
+
"sliding_attention",
|
| 39 |
+
"sliding_attention",
|
| 40 |
+
"sliding_attention",
|
| 41 |
+
"sliding_attention",
|
| 42 |
+
"full_attention",
|
| 43 |
+
"sliding_attention",
|
| 44 |
+
"sliding_attention",
|
| 45 |
+
"sliding_attention",
|
| 46 |
+
"sliding_attention",
|
| 47 |
+
"sliding_attention",
|
| 48 |
+
"full_attention",
|
| 49 |
+
"sliding_attention",
|
| 50 |
+
"sliding_attention",
|
| 51 |
+
"sliding_attention",
|
| 52 |
+
"sliding_attention",
|
| 53 |
+
"sliding_attention",
|
| 54 |
+
"full_attention",
|
| 55 |
+
"sliding_attention",
|
| 56 |
+
"sliding_attention",
|
| 57 |
+
"sliding_attention",
|
| 58 |
+
"sliding_attention",
|
| 59 |
+
"sliding_attention",
|
| 60 |
+
"full_attention",
|
| 61 |
+
"sliding_attention",
|
| 62 |
+
"sliding_attention",
|
| 63 |
+
"sliding_attention",
|
| 64 |
+
"sliding_attention"
|
| 65 |
+
],
|
| 66 |
+
"max_position_embeddings": 131072,
|
| 67 |
+
"model_type": "gemma3_text",
|
| 68 |
+
"num_attention_heads": 8,
|
| 69 |
+
"num_hidden_layers": 34,
|
| 70 |
+
"num_key_value_heads": 4,
|
| 71 |
+
"pad_token_id": 0,
|
| 72 |
+
"query_pre_attn_scalar": 256,
|
| 73 |
+
"rms_norm_eps": 1e-06,
|
| 74 |
+
"rope_parameters": {
|
| 75 |
+
"full_attention": {
|
| 76 |
+
"factor": 8.0,
|
| 77 |
+
"rope_theta": 1000000.0,
|
| 78 |
+
"rope_type": "linear"
|
| 79 |
+
},
|
| 80 |
+
"sliding_attention": {
|
| 81 |
+
"rope_theta": 10000.0,
|
| 82 |
+
"rope_type": "default"
|
| 83 |
+
}
|
| 84 |
+
},
|
| 85 |
+
"sliding_window": 1024,
|
| 86 |
+
"sliding_window_pattern": 6,
|
| 87 |
+
"tie_word_embeddings": true,
|
| 88 |
+
"use_bidirectional_attention": false,
|
| 89 |
+
"use_cache": false,
|
| 90 |
+
"vocab_size": 262208
|
| 91 |
+
},
|
| 92 |
+
"tie_word_embeddings": true,
|
| 93 |
+
"transformers_version": "5.9.0",
|
| 94 |
+
"unsloth_fixed": true,
|
| 95 |
+
"use_cache": false,
|
| 96 |
+
"vision_config": {
|
| 97 |
+
"attention_dropout": 0.0,
|
| 98 |
+
"dtype": "bfloat16",
|
| 99 |
+
"hidden_act": "gelu_pytorch_tanh",
|
| 100 |
+
"hidden_size": 1152,
|
| 101 |
+
"image_size": 896,
|
| 102 |
+
"intermediate_size": 4304,
|
| 103 |
+
"layer_norm_eps": 1e-06,
|
| 104 |
+
"model_type": "siglip_vision_model",
|
| 105 |
+
"num_attention_heads": 16,
|
| 106 |
+
"num_channels": 3,
|
| 107 |
+
"num_hidden_layers": 27,
|
| 108 |
+
"patch_size": 14,
|
| 109 |
+
"vision_use_head": false
|
| 110 |
+
}
|
| 111 |
+
}
|
sft_4epoch/control/checkpoint-24/generation_config.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token_id": 2,
|
| 3 |
+
"cache_implementation": "hybrid",
|
| 4 |
+
"do_sample": true,
|
| 5 |
+
"eos_token_id": [
|
| 6 |
+
1,
|
| 7 |
+
106
|
| 8 |
+
],
|
| 9 |
+
"pad_token_id": 0,
|
| 10 |
+
"top_k": 64,
|
| 11 |
+
"top_p": 0.95,
|
| 12 |
+
"transformers_version": "5.9.0"
|
| 13 |
+
}
|
sft_4epoch/control/checkpoint-24/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:932fba8e81d3cf12d93e8b7269d8576615e328361c732da168f5f8ad95496d4e
|
| 3 |
+
size 9942783064
|
sft_4epoch/control/checkpoint-24/optimizer.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a67c77aa24d1d07512f4cc3b6e8ecf3235201d418390d6c3b2bb561d0cfb1375
|
| 3 |
+
size 15521485995
|
sft_4epoch/control/checkpoint-24/preprocessor_config.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"do_convert_rgb": null,
|
| 3 |
+
"do_normalize": true,
|
| 4 |
+
"do_pan_and_scan": null,
|
| 5 |
+
"do_rescale": true,
|
| 6 |
+
"do_resize": true,
|
| 7 |
+
"image_mean": [
|
| 8 |
+
0.5,
|
| 9 |
+
0.5,
|
| 10 |
+
0.5
|
| 11 |
+
],
|
| 12 |
+
"image_processor_type": "Gemma3ImageProcessor",
|
| 13 |
+
"image_seq_length": 256,
|
| 14 |
+
"image_std": [
|
| 15 |
+
0.5,
|
| 16 |
+
0.5,
|
| 17 |
+
0.5
|
| 18 |
+
],
|
| 19 |
+
"pan_and_scan_max_num_crops": null,
|
| 20 |
+
"pan_and_scan_min_crop_size": null,
|
| 21 |
+
"pan_and_scan_min_ratio_to_activate": null,
|
| 22 |
+
"processor_class": "Gemma3Processor",
|
| 23 |
+
"resample": 2,
|
| 24 |
+
"rescale_factor": 0.00392156862745098,
|
| 25 |
+
"size": {
|
| 26 |
+
"height": 896,
|
| 27 |
+
"width": 896
|
| 28 |
+
}
|
| 29 |
+
}
|
sft_4epoch/control/checkpoint-24/processor_config.json
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"image_seq_length": 256,
|
| 3 |
+
"processor_class": "Gemma3Processor"
|
| 4 |
+
}
|
sft_4epoch/control/checkpoint-24/pytorch_model_fsdp.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bd96def3cd06bcb395c33fb209a0f430b18708b6a9eebb398edfef4c8148a48f
|
| 3 |
+
size 9942970813
|
sft_4epoch/control/checkpoint-24/rng_state_0.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d6ae654ed628e46a69a3185a2008a760ecb6fa76a6ed8ea36091fbf51572a9dc
|
| 3 |
+
size 14917
|
sft_4epoch/control/checkpoint-24/rng_state_1.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aca90864f21237f3b2ef7719c284655f031e849a610ff91881a6d9e258037405
|
| 3 |
+
size 14917
|
sft_4epoch/control/checkpoint-24/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1d24e137b06922fa817025df14ac04337841170e4ed53ac76c25690766986415
|
| 3 |
+
size 1465
|
sft_4epoch/control/checkpoint-24/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:daab2354f8a74e70d70b4d1f804939b68a8c9624dd06cb7858e52dd8970e9726
|
| 3 |
+
size 33384567
|
sft_4epoch/control/checkpoint-24/tokenizer_config.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"backend": "tokenizers",
|
| 3 |
+
"boi_token": "<start_of_image>",
|
| 4 |
+
"bos_token": "<bos>",
|
| 5 |
+
"clean_up_tokenization_spaces": false,
|
| 6 |
+
"eoi_token": "<end_of_image>",
|
| 7 |
+
"eos_token": "<eos>",
|
| 8 |
+
"image_token": "<image_soft_token>",
|
| 9 |
+
"is_local": true,
|
| 10 |
+
"local_files_only": false,
|
| 11 |
+
"mask_token": "<mask>",
|
| 12 |
+
"model_max_length": 131072,
|
| 13 |
+
"model_specific_special_tokens": {
|
| 14 |
+
"boi_token": "<start_of_image>",
|
| 15 |
+
"eoi_token": "<end_of_image>",
|
| 16 |
+
"image_token": "<image_soft_token>"
|
| 17 |
+
},
|
| 18 |
+
"pad_token": "<pad>",
|
| 19 |
+
"padding_side": "left",
|
| 20 |
+
"processor_class": "Gemma3Processor",
|
| 21 |
+
"sp_model_kwargs": null,
|
| 22 |
+
"spaces_between_special_tokens": false,
|
| 23 |
+
"tokenizer_class": "GemmaTokenizer",
|
| 24 |
+
"unk_token": "<unk>",
|
| 25 |
+
"use_default_system_prompt": false
|
| 26 |
+
}
|
sft_4epoch/control/checkpoint-24/tokens_state.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"total": 50331648, "trainable": 31368300}
|
sft_4epoch/control/checkpoint-24/trainer_state.json
ADDED
|
@@ -0,0 +1,370 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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| 2 |
+
"best_global_step": null,
|
| 3 |
+
"best_metric": null,
|
| 4 |
+
"best_model_checkpoint": null,
|
| 5 |
+
"epoch": 0.042666666666666665,
|
| 6 |
+
"eval_steps": 500,
|
| 7 |
+
"global_step": 24,
|
| 8 |
+
"is_hyper_param_search": false,
|
| 9 |
+
"is_local_process_zero": true,
|
| 10 |
+
"is_world_process_zero": true,
|
| 11 |
+
"log_history": [
|
| 12 |
+
{
|
| 13 |
+
"epoch": 0.0017777777777777779,
|
| 14 |
+
"grad_norm": 2.875,
|
| 15 |
+
"learning_rate": 0.0,
|
| 16 |
+
"loss": 1.09912109375,
|
| 17 |
+
"memory/device_reserved (GiB)": 40.7,
|
| 18 |
+
"memory/max_active (GiB)": 34.07,
|
| 19 |
+
"memory/max_allocated (GiB)": 34.07,
|
| 20 |
+
"ppl": 3.00153,
|
| 21 |
+
"step": 1,
|
| 22 |
+
"tokens/total": 2097152,
|
| 23 |
+
"tokens/train_per_sec_per_gpu": 631.15,
|
| 24 |
+
"tokens/trainable": 1319329
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"epoch": 0.0035555555555555557,
|
| 28 |
+
"grad_norm": 2.890625,
|
| 29 |
+
"learning_rate": 3.3333333333333333e-06,
|
| 30 |
+
"loss": 1.0859375,
|
| 31 |
+
"memory/device_reserved (GiB)": 47.77,
|
| 32 |
+
"memory/max_active (GiB)": 41.3,
|
| 33 |
+
"memory/max_allocated (GiB)": 41.3,
|
| 34 |
+
"ppl": 2.96222,
|
| 35 |
+
"step": 2,
|
| 36 |
+
"tokens/total": 4194304,
|
| 37 |
+
"tokens/train_per_sec_per_gpu": 616.0,
|
| 38 |
+
"tokens/trainable": 2628278
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
"epoch": 0.005333333333333333,
|
| 42 |
+
"grad_norm": 2.578125,
|
| 43 |
+
"learning_rate": 6.666666666666667e-06,
|
| 44 |
+
"loss": 1.0758056640625,
|
| 45 |
+
"memory/device_reserved (GiB)": 47.77,
|
| 46 |
+
"memory/max_active (GiB)": 41.3,
|
| 47 |
+
"memory/max_allocated (GiB)": 41.3,
|
| 48 |
+
"ppl": 2.93235,
|
| 49 |
+
"step": 3,
|
| 50 |
+
"tokens/total": 6291456,
|
| 51 |
+
"tokens/train_per_sec_per_gpu": 655.05,
|
| 52 |
+
"tokens/trainable": 3948806
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"epoch": 0.0071111111111111115,
|
| 56 |
+
"grad_norm": 1.71875,
|
| 57 |
+
"learning_rate": 1e-05,
|
| 58 |
+
"loss": 1.0162353515625,
|
| 59 |
+
"memory/device_reserved (GiB)": 47.77,
|
| 60 |
+
"memory/max_active (GiB)": 41.3,
|
| 61 |
+
"memory/max_allocated (GiB)": 41.3,
|
| 62 |
+
"ppl": 2.76277,
|
| 63 |
+
"step": 4,
|
| 64 |
+
"tokens/total": 8388608,
|
| 65 |
+
"tokens/train_per_sec_per_gpu": 598.59,
|
| 66 |
+
"tokens/trainable": 5229996
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"epoch": 0.008888888888888889,
|
| 70 |
+
"grad_norm": 2.203125,
|
| 71 |
+
"learning_rate": 9.98903822616921e-06,
|
| 72 |
+
"loss": 1.031494140625,
|
| 73 |
+
"memory/device_reserved (GiB)": 47.8,
|
| 74 |
+
"memory/max_active (GiB)": 41.3,
|
| 75 |
+
"memory/max_allocated (GiB)": 41.3,
|
| 76 |
+
"ppl": 2.80525,
|
| 77 |
+
"step": 5,
|
| 78 |
+
"tokens/total": 10485760,
|
| 79 |
+
"tokens/train_per_sec_per_gpu": 684.59,
|
| 80 |
+
"tokens/trainable": 6541073
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"epoch": 0.010666666666666666,
|
| 84 |
+
"grad_norm": 1.84375,
|
| 85 |
+
"learning_rate": 9.956206309337067e-06,
|
| 86 |
+
"loss": 1.009765625,
|
| 87 |
+
"memory/device_reserved (GiB)": 47.82,
|
| 88 |
+
"memory/max_active (GiB)": 41.3,
|
| 89 |
+
"memory/max_allocated (GiB)": 41.3,
|
| 90 |
+
"ppl": 2.74496,
|
| 91 |
+
"step": 6,
|
| 92 |
+
"tokens/total": 12582912,
|
| 93 |
+
"tokens/train_per_sec_per_gpu": 634.42,
|
| 94 |
+
"tokens/trainable": 7870413
|
| 95 |
+
},
|
| 96 |
+
{
|
| 97 |
+
"epoch": 0.012444444444444444,
|
| 98 |
+
"grad_norm": 1.234375,
|
| 99 |
+
"learning_rate": 9.901664203302126e-06,
|
| 100 |
+
"loss": 0.948486328125,
|
| 101 |
+
"memory/device_reserved (GiB)": 47.82,
|
| 102 |
+
"memory/max_active (GiB)": 41.3,
|
| 103 |
+
"memory/max_allocated (GiB)": 41.3,
|
| 104 |
+
"ppl": 2.5818,
|
| 105 |
+
"step": 7,
|
| 106 |
+
"tokens/total": 14680064,
|
| 107 |
+
"tokens/train_per_sec_per_gpu": 634.71,
|
| 108 |
+
"tokens/trainable": 9189777
|
| 109 |
+
},
|
| 110 |
+
{
|
| 111 |
+
"epoch": 0.014222222222222223,
|
| 112 |
+
"grad_norm": 1.0,
|
| 113 |
+
"learning_rate": 9.825677631722436e-06,
|
| 114 |
+
"loss": 0.9532470703125,
|
| 115 |
+
"memory/device_reserved (GiB)": 47.82,
|
| 116 |
+
"memory/max_active (GiB)": 41.3,
|
| 117 |
+
"memory/max_allocated (GiB)": 41.3,
|
| 118 |
+
"ppl": 2.59412,
|
| 119 |
+
"step": 8,
|
| 120 |
+
"tokens/total": 16777216,
|
| 121 |
+
"tokens/train_per_sec_per_gpu": 619.22,
|
| 122 |
+
"tokens/trainable": 10479490
|
| 123 |
+
},
|
| 124 |
+
{
|
| 125 |
+
"epoch": 0.016,
|
| 126 |
+
"grad_norm": 0.8359375,
|
| 127 |
+
"learning_rate": 9.728616793536588e-06,
|
| 128 |
+
"loss": 0.944091796875,
|
| 129 |
+
"memory/device_reserved (GiB)": 47.82,
|
| 130 |
+
"memory/max_active (GiB)": 41.3,
|
| 131 |
+
"memory/max_allocated (GiB)": 41.3,
|
| 132 |
+
"ppl": 2.57048,
|
| 133 |
+
"step": 9,
|
| 134 |
+
"tokens/total": 18874368,
|
| 135 |
+
"tokens/train_per_sec_per_gpu": 652.49,
|
| 136 |
+
"tokens/trainable": 11784999
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"epoch": 0.017777777777777778,
|
| 140 |
+
"grad_norm": 0.74609375,
|
| 141 |
+
"learning_rate": 9.610954559391704e-06,
|
| 142 |
+
"loss": 0.956298828125,
|
| 143 |
+
"memory/device_reserved (GiB)": 47.82,
|
| 144 |
+
"memory/max_active (GiB)": 41.3,
|
| 145 |
+
"memory/max_allocated (GiB)": 41.3,
|
| 146 |
+
"ppl": 2.60205,
|
| 147 |
+
"step": 10,
|
| 148 |
+
"tokens/total": 20971520,
|
| 149 |
+
"tokens/train_per_sec_per_gpu": 600.6,
|
| 150 |
+
"tokens/trainable": 13094236
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"epoch": 0.019555555555555555,
|
| 154 |
+
"grad_norm": 0.7890625,
|
| 155 |
+
"learning_rate": 9.473264167865172e-06,
|
| 156 |
+
"loss": 0.9410400390625,
|
| 157 |
+
"memory/device_reserved (GiB)": 47.82,
|
| 158 |
+
"memory/max_active (GiB)": 41.3,
|
| 159 |
+
"memory/max_allocated (GiB)": 41.3,
|
| 160 |
+
"ppl": 2.56265,
|
| 161 |
+
"step": 11,
|
| 162 |
+
"tokens/total": 23068672,
|
| 163 |
+
"tokens/train_per_sec_per_gpu": 610.15,
|
| 164 |
+
"tokens/trainable": 14404718
|
| 165 |
+
},
|
| 166 |
+
{
|
| 167 |
+
"epoch": 0.021333333333333333,
|
| 168 |
+
"grad_norm": 0.58203125,
|
| 169 |
+
"learning_rate": 9.316216432703918e-06,
|
| 170 |
+
"loss": 0.8973388671875,
|
| 171 |
+
"memory/device_reserved (GiB)": 47.82,
|
| 172 |
+
"memory/max_active (GiB)": 41.3,
|
| 173 |
+
"memory/max_allocated (GiB)": 41.3,
|
| 174 |
+
"ppl": 2.45307,
|
| 175 |
+
"step": 12,
|
| 176 |
+
"tokens/total": 25165824,
|
| 177 |
+
"tokens/train_per_sec_per_gpu": 667.59,
|
| 178 |
+
"tokens/trainable": 15735257
|
| 179 |
+
},
|
| 180 |
+
{
|
| 181 |
+
"epoch": 0.02311111111111111,
|
| 182 |
+
"grad_norm": 0.6953125,
|
| 183 |
+
"learning_rate": 9.140576474687263e-06,
|
| 184 |
+
"loss": 0.9390869140625,
|
| 185 |
+
"memory/device_reserved (GiB)": 47.82,
|
| 186 |
+
"memory/max_active (GiB)": 41.3,
|
| 187 |
+
"memory/max_allocated (GiB)": 41.3,
|
| 188 |
+
"ppl": 2.55765,
|
| 189 |
+
"step": 13,
|
| 190 |
+
"tokens/total": 27262976,
|
| 191 |
+
"tokens/train_per_sec_per_gpu": 634.35,
|
| 192 |
+
"tokens/trainable": 17038230
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"epoch": 0.024888888888888887,
|
| 196 |
+
"grad_norm": 0.55859375,
|
| 197 |
+
"learning_rate": 8.947199994035402e-06,
|
| 198 |
+
"loss": 0.9205322265625,
|
| 199 |
+
"memory/device_reserved (GiB)": 47.82,
|
| 200 |
+
"memory/max_active (GiB)": 41.3,
|
| 201 |
+
"memory/max_allocated (GiB)": 41.3,
|
| 202 |
+
"ppl": 2.51063,
|
| 203 |
+
"step": 14,
|
| 204 |
+
"tokens/total": 29360128,
|
| 205 |
+
"tokens/train_per_sec_per_gpu": 705.07,
|
| 206 |
+
"tokens/trainable": 18338536
|
| 207 |
+
},
|
| 208 |
+
{
|
| 209 |
+
"epoch": 0.02666666666666667,
|
| 210 |
+
"grad_norm": 0.54296875,
|
| 211 |
+
"learning_rate": 8.737029101523931e-06,
|
| 212 |
+
"loss": 0.9287109375,
|
| 213 |
+
"memory/device_reserved (GiB)": 47.82,
|
| 214 |
+
"memory/max_active (GiB)": 41.3,
|
| 215 |
+
"memory/max_allocated (GiB)": 41.3,
|
| 216 |
+
"ppl": 2.53124,
|
| 217 |
+
"step": 15,
|
| 218 |
+
"tokens/total": 31457280,
|
| 219 |
+
"tokens/train_per_sec_per_gpu": 587.61,
|
| 220 |
+
"tokens/trainable": 19638784
|
| 221 |
+
},
|
| 222 |
+
{
|
| 223 |
+
"epoch": 0.028444444444444446,
|
| 224 |
+
"grad_norm": 0.51171875,
|
| 225 |
+
"learning_rate": 8.511087728614863e-06,
|
| 226 |
+
"loss": 0.9176025390625,
|
| 227 |
+
"memory/device_reserved (GiB)": 47.82,
|
| 228 |
+
"memory/max_active (GiB)": 41.3,
|
| 229 |
+
"memory/max_allocated (GiB)": 41.3,
|
| 230 |
+
"ppl": 2.50328,
|
| 231 |
+
"step": 16,
|
| 232 |
+
"tokens/total": 33554432,
|
| 233 |
+
"tokens/train_per_sec_per_gpu": 625.82,
|
| 234 |
+
"tokens/trainable": 20962100
|
| 235 |
+
},
|
| 236 |
+
{
|
| 237 |
+
"epoch": 0.030222222222222223,
|
| 238 |
+
"grad_norm": 0.6875,
|
| 239 |
+
"learning_rate": 8.270476638965463e-06,
|
| 240 |
+
"loss": 0.9228515625,
|
| 241 |
+
"memory/device_reserved (GiB)": 47.82,
|
| 242 |
+
"memory/max_active (GiB)": 41.3,
|
| 243 |
+
"memory/max_allocated (GiB)": 41.3,
|
| 244 |
+
"ppl": 2.51646,
|
| 245 |
+
"step": 17,
|
| 246 |
+
"tokens/total": 35651584,
|
| 247 |
+
"tokens/train_per_sec_per_gpu": 647.29,
|
| 248 |
+
"tokens/trainable": 22244548
|
| 249 |
+
},
|
| 250 |
+
{
|
| 251 |
+
"epoch": 0.032,
|
| 252 |
+
"grad_norm": 0.47265625,
|
| 253 |
+
"learning_rate": 8.016368065618361e-06,
|
| 254 |
+
"loss": 0.9234619140625,
|
| 255 |
+
"memory/device_reserved (GiB)": 47.82,
|
| 256 |
+
"memory/max_active (GiB)": 41.3,
|
| 257 |
+
"memory/max_allocated (GiB)": 41.3,
|
| 258 |
+
"ppl": 2.51799,
|
| 259 |
+
"step": 18,
|
| 260 |
+
"tokens/total": 37748736,
|
| 261 |
+
"tokens/train_per_sec_per_gpu": 633.36,
|
| 262 |
+
"tokens/trainable": 23550208
|
| 263 |
+
},
|
| 264 |
+
{
|
| 265 |
+
"epoch": 0.033777777777777775,
|
| 266 |
+
"grad_norm": 0.455078125,
|
| 267 |
+
"learning_rate": 7.75e-06,
|
| 268 |
+
"loss": 0.9197998046875,
|
| 269 |
+
"memory/device_reserved (GiB)": 47.82,
|
| 270 |
+
"memory/max_active (GiB)": 41.3,
|
| 271 |
+
"memory/max_allocated (GiB)": 41.3,
|
| 272 |
+
"ppl": 2.50879,
|
| 273 |
+
"step": 19,
|
| 274 |
+
"tokens/total": 39845888,
|
| 275 |
+
"tokens/train_per_sec_per_gpu": 655.15,
|
| 276 |
+
"tokens/trainable": 24856052
|
| 277 |
+
},
|
| 278 |
+
{
|
| 279 |
+
"epoch": 0.035555555555555556,
|
| 280 |
+
"grad_norm": 0.443359375,
|
| 281 |
+
"learning_rate": 7.472670160550849e-06,
|
| 282 |
+
"loss": 0.933349609375,
|
| 283 |
+
"memory/device_reserved (GiB)": 47.82,
|
| 284 |
+
"memory/max_active (GiB)": 41.3,
|
| 285 |
+
"memory/max_allocated (GiB)": 41.3,
|
| 286 |
+
"ppl": 2.54301,
|
| 287 |
+
"step": 20,
|
| 288 |
+
"tokens/total": 41943040,
|
| 289 |
+
"tokens/train_per_sec_per_gpu": 614.04,
|
| 290 |
+
"tokens/trainable": 26140298
|
| 291 |
+
},
|
| 292 |
+
{
|
| 293 |
+
"epoch": 0.037333333333333336,
|
| 294 |
+
"grad_norm": 0.455078125,
|
| 295 |
+
"learning_rate": 7.185729670371605e-06,
|
| 296 |
+
"loss": 0.9356689453125,
|
| 297 |
+
"memory/device_reserved (GiB)": 47.82,
|
| 298 |
+
"memory/max_active (GiB)": 41.3,
|
| 299 |
+
"memory/max_allocated (GiB)": 41.3,
|
| 300 |
+
"ppl": 2.54892,
|
| 301 |
+
"step": 21,
|
| 302 |
+
"tokens/total": 44040192,
|
| 303 |
+
"tokens/train_per_sec_per_gpu": 627.31,
|
| 304 |
+
"tokens/trainable": 27452072
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"epoch": 0.03911111111111111,
|
| 308 |
+
"grad_norm": 0.46484375,
|
| 309 |
+
"learning_rate": 6.890576474687264e-06,
|
| 310 |
+
"loss": 0.937255859375,
|
| 311 |
+
"memory/device_reserved (GiB)": 47.82,
|
| 312 |
+
"memory/max_active (GiB)": 41.3,
|
| 313 |
+
"memory/max_allocated (GiB)": 41.3,
|
| 314 |
+
"ppl": 2.55297,
|
| 315 |
+
"step": 22,
|
| 316 |
+
"tokens/total": 46137344,
|
| 317 |
+
"tokens/train_per_sec_per_gpu": 640.26,
|
| 318 |
+
"tokens/trainable": 28743186
|
| 319 |
+
},
|
| 320 |
+
{
|
| 321 |
+
"epoch": 0.04088888888888889,
|
| 322 |
+
"grad_norm": 0.4140625,
|
| 323 |
+
"learning_rate": 6.588648530198505e-06,
|
| 324 |
+
"loss": 0.900146484375,
|
| 325 |
+
"memory/device_reserved (GiB)": 47.82,
|
| 326 |
+
"memory/max_active (GiB)": 41.3,
|
| 327 |
+
"memory/max_allocated (GiB)": 41.3,
|
| 328 |
+
"ppl": 2.45996,
|
| 329 |
+
"step": 23,
|
| 330 |
+
"tokens/total": 48234496,
|
| 331 |
+
"tokens/train_per_sec_per_gpu": 595.44,
|
| 332 |
+
"tokens/trainable": 30066808
|
| 333 |
+
},
|
| 334 |
+
{
|
| 335 |
+
"epoch": 0.042666666666666665,
|
| 336 |
+
"grad_norm": 0.4921875,
|
| 337 |
+
"learning_rate": 6.281416799501188e-06,
|
| 338 |
+
"loss": 0.9246826171875,
|
| 339 |
+
"memory/device_reserved (GiB)": 47.82,
|
| 340 |
+
"memory/max_active (GiB)": 41.3,
|
| 341 |
+
"memory/max_allocated (GiB)": 41.3,
|
| 342 |
+
"ppl": 2.52107,
|
| 343 |
+
"step": 24,
|
| 344 |
+
"tokens/total": 50331648,
|
| 345 |
+
"tokens/train_per_sec_per_gpu": 595.01,
|
| 346 |
+
"tokens/trainable": 31368300
|
| 347 |
+
}
|
| 348 |
+
],
|
| 349 |
+
"logging_steps": 1,
|
| 350 |
+
"max_steps": 48,
|
| 351 |
+
"num_input_tokens_seen": 0,
|
| 352 |
+
"num_train_epochs": 1,
|
| 353 |
+
"save_steps": 500,
|
| 354 |
+
"stateful_callbacks": {
|
| 355 |
+
"TrainerControl": {
|
| 356 |
+
"args": {
|
| 357 |
+
"should_epoch_stop": false,
|
| 358 |
+
"should_evaluate": false,
|
| 359 |
+
"should_log": false,
|
| 360 |
+
"should_save": true,
|
| 361 |
+
"should_training_stop": false
|
| 362 |
+
},
|
| 363 |
+
"attributes": {}
|
| 364 |
+
}
|
| 365 |
+
},
|
| 366 |
+
"total_flos": 1.0944440817627955e+18,
|
| 367 |
+
"train_batch_size": 8,
|
| 368 |
+
"trial_name": null,
|
| 369 |
+
"trial_params": null
|
| 370 |
+
}
|
sft_4epoch/control/checkpoint-24/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:86036685f74c9b56ba03469e3541a7e7b5fb88833612f5f84a8c12343ddc38b4
|
| 3 |
+
size 8913
|