Text Generation
Transformers
Safetensors
qwen2
llama-factory
Generated from Trainer
conversational
text-generation-inference
Instructions to use adpretko/train-riscv-O2_epoch1and2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use adpretko/train-riscv-O2_epoch1and2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="adpretko/train-riscv-O2_epoch1and2") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("adpretko/train-riscv-O2_epoch1and2") model = AutoModelForCausalLM.from_pretrained("adpretko/train-riscv-O2_epoch1and2") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use adpretko/train-riscv-O2_epoch1and2 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "adpretko/train-riscv-O2_epoch1and2" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "adpretko/train-riscv-O2_epoch1and2", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/adpretko/train-riscv-O2_epoch1and2
- SGLang
How to use adpretko/train-riscv-O2_epoch1and2 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "adpretko/train-riscv-O2_epoch1and2" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "adpretko/train-riscv-O2_epoch1and2", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "adpretko/train-riscv-O2_epoch1and2" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "adpretko/train-riscv-O2_epoch1and2", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use adpretko/train-riscv-O2_epoch1and2 with Docker Model Runner:
docker model run hf.co/adpretko/train-riscv-O2_epoch1and2
Upload fine-tuned riscv-O2 model
Browse files- .gitattributes +1 -0
- README.md +59 -0
- checkpoint-3800/added_tokens.json +24 -0
- checkpoint-3800/chat_template.jinja +54 -0
- checkpoint-3800/config.json +58 -0
- checkpoint-3800/generation_config.json +14 -0
- checkpoint-3800/global_step3799/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt +3 -0
- checkpoint-3800/global_step3799/bf16_zero_pp_rank_1_mp_rank_00_optim_states.pt +3 -0
- checkpoint-3800/global_step3799/bf16_zero_pp_rank_2_mp_rank_00_optim_states.pt +3 -0
- checkpoint-3800/global_step3799/bf16_zero_pp_rank_3_mp_rank_00_optim_states.pt +3 -0
- checkpoint-3800/global_step3799/bf16_zero_pp_rank_4_mp_rank_00_optim_states.pt +3 -0
- checkpoint-3800/global_step3799/bf16_zero_pp_rank_5_mp_rank_00_optim_states.pt +3 -0
- checkpoint-3800/global_step3799/bf16_zero_pp_rank_6_mp_rank_00_optim_states.pt +3 -0
- checkpoint-3800/global_step3799/bf16_zero_pp_rank_7_mp_rank_00_optim_states.pt +3 -0
- checkpoint-3800/global_step3799/mp_rank_00_model_states.pt +3 -0
- checkpoint-3800/latest +1 -0
- checkpoint-3800/merges.txt +0 -0
- checkpoint-3800/model.safetensors +3 -0
- checkpoint-3800/rng_state_0.pth +3 -0
- checkpoint-3800/rng_state_1.pth +3 -0
- checkpoint-3800/rng_state_2.pth +3 -0
- checkpoint-3800/rng_state_3.pth +3 -0
- checkpoint-3800/rng_state_4.pth +3 -0
- checkpoint-3800/rng_state_5.pth +3 -0
- checkpoint-3800/rng_state_6.pth +3 -0
- checkpoint-3800/rng_state_7.pth +3 -0
- checkpoint-3800/scheduler.pt +3 -0
- checkpoint-3800/special_tokens_map.json +31 -0
- checkpoint-3800/tokenizer.json +3 -0
- checkpoint-3800/tokenizer_config.json +208 -0
- checkpoint-3800/trainer_state.json +2694 -0
- checkpoint-3800/training_args.bin +3 -0
- checkpoint-3800/vocab.json +0 -0
- checkpoint-3800/zero_to_fp32.py +760 -0
- generation_config.json +14 -0
- model.safetensors +1 -1
- trainer_log.jsonl +9 -0
.gitattributes
CHANGED
|
@@ -34,3 +34,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
checkpoint-3800/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
base_model: Qwen/Qwen2.5-1.5B-Instruct
|
| 4 |
+
tags:
|
| 5 |
+
- llama-factory
|
| 6 |
+
- generated_from_trainer
|
| 7 |
+
model-index:
|
| 8 |
+
- name: train-riscv-O2_epoch1and2
|
| 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 |
+
# train-riscv-O2_epoch1and2
|
| 16 |
+
|
| 17 |
+
This model is a fine-tuned version of [saves/train-riscv-O2_epoch1and2/checkpoint-2800](https://huggingface.co/saves/train-riscv-O2_epoch1and2/checkpoint-2800) on the None dataset.
|
| 18 |
+
|
| 19 |
+
## Model description
|
| 20 |
+
|
| 21 |
+
More information needed
|
| 22 |
+
|
| 23 |
+
## Intended uses & limitations
|
| 24 |
+
|
| 25 |
+
More information needed
|
| 26 |
+
|
| 27 |
+
## Training and evaluation data
|
| 28 |
+
|
| 29 |
+
More information needed
|
| 30 |
+
|
| 31 |
+
## Training procedure
|
| 32 |
+
|
| 33 |
+
### Training hyperparameters
|
| 34 |
+
|
| 35 |
+
The following hyperparameters were used during training:
|
| 36 |
+
- learning_rate: 2e-05
|
| 37 |
+
- train_batch_size: 8
|
| 38 |
+
- eval_batch_size: 8
|
| 39 |
+
- seed: 42
|
| 40 |
+
- distributed_type: multi-GPU
|
| 41 |
+
- num_devices: 8
|
| 42 |
+
- gradient_accumulation_steps: 8
|
| 43 |
+
- total_train_batch_size: 512
|
| 44 |
+
- total_eval_batch_size: 64
|
| 45 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 46 |
+
- lr_scheduler_type: cosine
|
| 47 |
+
- lr_scheduler_warmup_ratio: 0.1
|
| 48 |
+
- num_epochs: 2.0
|
| 49 |
+
|
| 50 |
+
### Training results
|
| 51 |
+
|
| 52 |
+
|
| 53 |
+
|
| 54 |
+
### Framework versions
|
| 55 |
+
|
| 56 |
+
- Transformers 4.55.0
|
| 57 |
+
- Pytorch 2.8.0+rocm6.3
|
| 58 |
+
- Datasets 3.6.0
|
| 59 |
+
- Tokenizers 0.21.1
|
checkpoint-3800/added_tokens.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"</tool_call>": 151658,
|
| 3 |
+
"<tool_call>": 151657,
|
| 4 |
+
"<|box_end|>": 151649,
|
| 5 |
+
"<|box_start|>": 151648,
|
| 6 |
+
"<|endoftext|>": 151643,
|
| 7 |
+
"<|file_sep|>": 151664,
|
| 8 |
+
"<|fim_middle|>": 151660,
|
| 9 |
+
"<|fim_pad|>": 151662,
|
| 10 |
+
"<|fim_prefix|>": 151659,
|
| 11 |
+
"<|fim_suffix|>": 151661,
|
| 12 |
+
"<|im_end|>": 151645,
|
| 13 |
+
"<|im_start|>": 151644,
|
| 14 |
+
"<|image_pad|>": 151655,
|
| 15 |
+
"<|object_ref_end|>": 151647,
|
| 16 |
+
"<|object_ref_start|>": 151646,
|
| 17 |
+
"<|quad_end|>": 151651,
|
| 18 |
+
"<|quad_start|>": 151650,
|
| 19 |
+
"<|repo_name|>": 151663,
|
| 20 |
+
"<|video_pad|>": 151656,
|
| 21 |
+
"<|vision_end|>": 151653,
|
| 22 |
+
"<|vision_pad|>": 151654,
|
| 23 |
+
"<|vision_start|>": 151652
|
| 24 |
+
}
|
checkpoint-3800/chat_template.jinja
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- if tools %}
|
| 2 |
+
{{- '<|im_start|>system\n' }}
|
| 3 |
+
{%- if messages[0]['role'] == 'system' %}
|
| 4 |
+
{{- messages[0]['content'] }}
|
| 5 |
+
{%- else %}
|
| 6 |
+
{{- 'You are Qwen, created by Alibaba Cloud. You are a helpful assistant.' }}
|
| 7 |
+
{%- endif %}
|
| 8 |
+
{{- "\n\n# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
|
| 9 |
+
{%- for tool in tools %}
|
| 10 |
+
{{- "\n" }}
|
| 11 |
+
{{- tool | tojson }}
|
| 12 |
+
{%- endfor %}
|
| 13 |
+
{{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
|
| 14 |
+
{%- else %}
|
| 15 |
+
{%- if messages[0]['role'] == 'system' %}
|
| 16 |
+
{{- '<|im_start|>system\n' + messages[0]['content'] + '<|im_end|>\n' }}
|
| 17 |
+
{%- else %}
|
| 18 |
+
{{- '<|im_start|>system\nYou are Qwen, created by Alibaba Cloud. You are a helpful assistant.<|im_end|>\n' }}
|
| 19 |
+
{%- endif %}
|
| 20 |
+
{%- endif %}
|
| 21 |
+
{%- for message in messages %}
|
| 22 |
+
{%- if (message.role == "user") or (message.role == "system" and not loop.first) or (message.role == "assistant" and not message.tool_calls) %}
|
| 23 |
+
{{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
|
| 24 |
+
{%- elif message.role == "assistant" %}
|
| 25 |
+
{{- '<|im_start|>' + message.role }}
|
| 26 |
+
{%- if message.content %}
|
| 27 |
+
{{- '\n' + message.content }}
|
| 28 |
+
{%- endif %}
|
| 29 |
+
{%- for tool_call in message.tool_calls %}
|
| 30 |
+
{%- if tool_call.function is defined %}
|
| 31 |
+
{%- set tool_call = tool_call.function %}
|
| 32 |
+
{%- endif %}
|
| 33 |
+
{{- '\n<tool_call>\n{"name": "' }}
|
| 34 |
+
{{- tool_call.name }}
|
| 35 |
+
{{- '", "arguments": ' }}
|
| 36 |
+
{{- tool_call.arguments | tojson }}
|
| 37 |
+
{{- '}\n</tool_call>' }}
|
| 38 |
+
{%- endfor %}
|
| 39 |
+
{{- '<|im_end|>\n' }}
|
| 40 |
+
{%- elif message.role == "tool" %}
|
| 41 |
+
{%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != "tool") %}
|
| 42 |
+
{{- '<|im_start|>user' }}
|
| 43 |
+
{%- endif %}
|
| 44 |
+
{{- '\n<tool_response>\n' }}
|
| 45 |
+
{{- message.content }}
|
| 46 |
+
{{- '\n</tool_response>' }}
|
| 47 |
+
{%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
|
| 48 |
+
{{- '<|im_end|>\n' }}
|
| 49 |
+
{%- endif %}
|
| 50 |
+
{%- endif %}
|
| 51 |
+
{%- endfor %}
|
| 52 |
+
{%- if add_generation_prompt %}
|
| 53 |
+
{{- '<|im_start|>assistant\n' }}
|
| 54 |
+
{%- endif %}
|
checkpoint-3800/config.json
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Qwen2ForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_dropout": 0.0,
|
| 6 |
+
"bos_token_id": 151643,
|
| 7 |
+
"eos_token_id": 151645,
|
| 8 |
+
"hidden_act": "silu",
|
| 9 |
+
"hidden_size": 1536,
|
| 10 |
+
"initializer_range": 0.02,
|
| 11 |
+
"intermediate_size": 8960,
|
| 12 |
+
"layer_types": [
|
| 13 |
+
"full_attention",
|
| 14 |
+
"full_attention",
|
| 15 |
+
"full_attention",
|
| 16 |
+
"full_attention",
|
| 17 |
+
"full_attention",
|
| 18 |
+
"full_attention",
|
| 19 |
+
"full_attention",
|
| 20 |
+
"full_attention",
|
| 21 |
+
"full_attention",
|
| 22 |
+
"full_attention",
|
| 23 |
+
"full_attention",
|
| 24 |
+
"full_attention",
|
| 25 |
+
"full_attention",
|
| 26 |
+
"full_attention",
|
| 27 |
+
"full_attention",
|
| 28 |
+
"full_attention",
|
| 29 |
+
"full_attention",
|
| 30 |
+
"full_attention",
|
| 31 |
+
"full_attention",
|
| 32 |
+
"full_attention",
|
| 33 |
+
"full_attention",
|
| 34 |
+
"full_attention",
|
| 35 |
+
"full_attention",
|
| 36 |
+
"full_attention",
|
| 37 |
+
"full_attention",
|
| 38 |
+
"full_attention",
|
| 39 |
+
"full_attention",
|
| 40 |
+
"full_attention"
|
| 41 |
+
],
|
| 42 |
+
"max_position_embeddings": 32768,
|
| 43 |
+
"max_window_layers": 21,
|
| 44 |
+
"model_type": "qwen2",
|
| 45 |
+
"num_attention_heads": 12,
|
| 46 |
+
"num_hidden_layers": 28,
|
| 47 |
+
"num_key_value_heads": 2,
|
| 48 |
+
"rms_norm_eps": 1e-06,
|
| 49 |
+
"rope_scaling": null,
|
| 50 |
+
"rope_theta": 1000000.0,
|
| 51 |
+
"sliding_window": null,
|
| 52 |
+
"tie_word_embeddings": true,
|
| 53 |
+
"torch_dtype": "bfloat16",
|
| 54 |
+
"transformers_version": "4.55.0",
|
| 55 |
+
"use_cache": false,
|
| 56 |
+
"use_sliding_window": false,
|
| 57 |
+
"vocab_size": 151936
|
| 58 |
+
}
|
checkpoint-3800/generation_config.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token_id": 151643,
|
| 3 |
+
"do_sample": true,
|
| 4 |
+
"eos_token_id": [
|
| 5 |
+
151645,
|
| 6 |
+
151643
|
| 7 |
+
],
|
| 8 |
+
"pad_token_id": 151643,
|
| 9 |
+
"repetition_penalty": 1.1,
|
| 10 |
+
"temperature": 0.7,
|
| 11 |
+
"top_k": 20,
|
| 12 |
+
"top_p": 0.8,
|
| 13 |
+
"transformers_version": "4.55.0"
|
| 14 |
+
}
|
checkpoint-3800/global_step3799/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:73aa60ee27ca8fdaa7c035ac068fe58235cabccc7b127e759a7c664e6a782dde
|
| 3 |
+
size 2315578373
|
checkpoint-3800/global_step3799/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:7fa0dbc2d9a725a5645aa751f4a79de0f9df5d0d6274002340fb8bc0043352c2
|
| 3 |
+
size 2315580229
|
checkpoint-3800/global_step3799/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:3ab0fa72eb491d80b3a0dc3159a24909a4ae7c908260f683643794e90f1f60af
|
| 3 |
+
size 2315580485
|
checkpoint-3800/global_step3799/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:a0e3e6646a2a54768db511a4873904ebbe2abf5f607aa31b0ff479436e2be6ab
|
| 3 |
+
size 2315580485
|
checkpoint-3800/global_step3799/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:c9178dd494a4512e2fd1840b28f33a835485802c723efc54c63488010d337dee
|
| 3 |
+
size 2315580485
|
checkpoint-3800/global_step3799/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:4aaa5f086465e9c2d514bad0240dc1660045970c8b19fa087bea0d80b581957d
|
| 3 |
+
size 2315580485
|
checkpoint-3800/global_step3799/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:628a7b341047bf3052dd6ca65aa979fcbbab4b84807a1a29986947e3e8a3b0fc
|
| 3 |
+
size 2315580613
|
checkpoint-3800/global_step3799/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:7bbcb8d1e4c44b92046e4d83ecd26dcc86086f407b012d4149b21a9274b3ad81
|
| 3 |
+
size 2315580357
|
checkpoint-3800/global_step3799/mp_rank_00_model_states.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6fd4b56bb2d10b8cbabf31d7dcdace8c920ac000a0a8f7b82484d25621d70bbe
|
| 3 |
+
size 3087519461
|
checkpoint-3800/latest
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
global_step3799
|
checkpoint-3800/merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
checkpoint-3800/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1b5efb4b71ab5f052dbf8615c5024a2e44383c8a3c81433fbbf5f0a65110a795
|
| 3 |
+
size 3554214752
|
checkpoint-3800/rng_state_0.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b0418786c564bb001fc5f4215375b1a99ed3ea3f30771057e1d8682214a0108f
|
| 3 |
+
size 16389
|
checkpoint-3800/rng_state_1.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:35deaabe10396919e53b2274736981b26bc690165c8839845f178b355a6a7588
|
| 3 |
+
size 16389
|
checkpoint-3800/rng_state_2.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1c5deee061a76a9e05b4634f5abad786b4042e744cc4c156a2ab76dc3c94fcac
|
| 3 |
+
size 16389
|
checkpoint-3800/rng_state_3.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:13579f7ca365ea6f9cef83929c34833cd97f9b5764a434989b4e3e2db87dce56
|
| 3 |
+
size 16389
|
checkpoint-3800/rng_state_4.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:073d0b1d7e2e3930e5c29fc418e6246462ab2a00396c3a86e1448d373503f1b2
|
| 3 |
+
size 16389
|
checkpoint-3800/rng_state_5.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7c60731015889939e665a308a0933ac6c327734a4699cf5615217db0cfaf03ca
|
| 3 |
+
size 16389
|
checkpoint-3800/rng_state_6.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:416648e7a35618f28d73625751a8fc2ad066533414d19f6fc0c39932429023fc
|
| 3 |
+
size 16389
|
checkpoint-3800/rng_state_7.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:619b5c49446c94dca2b233ad17098e42f7d58a945c2eced1aa23e50469a75431
|
| 3 |
+
size 16389
|
checkpoint-3800/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:340752ce40761cf7bbd35a29594a7a48c8e621c1da71a043752000d166648fa0
|
| 3 |
+
size 1465
|
checkpoint-3800/special_tokens_map.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"additional_special_tokens": [
|
| 3 |
+
"<|im_start|>",
|
| 4 |
+
"<|im_end|>",
|
| 5 |
+
"<|object_ref_start|>",
|
| 6 |
+
"<|object_ref_end|>",
|
| 7 |
+
"<|box_start|>",
|
| 8 |
+
"<|box_end|>",
|
| 9 |
+
"<|quad_start|>",
|
| 10 |
+
"<|quad_end|>",
|
| 11 |
+
"<|vision_start|>",
|
| 12 |
+
"<|vision_end|>",
|
| 13 |
+
"<|vision_pad|>",
|
| 14 |
+
"<|image_pad|>",
|
| 15 |
+
"<|video_pad|>"
|
| 16 |
+
],
|
| 17 |
+
"eos_token": {
|
| 18 |
+
"content": "<|im_end|>",
|
| 19 |
+
"lstrip": false,
|
| 20 |
+
"normalized": false,
|
| 21 |
+
"rstrip": false,
|
| 22 |
+
"single_word": false
|
| 23 |
+
},
|
| 24 |
+
"pad_token": {
|
| 25 |
+
"content": "<|endoftext|>",
|
| 26 |
+
"lstrip": false,
|
| 27 |
+
"normalized": false,
|
| 28 |
+
"rstrip": false,
|
| 29 |
+
"single_word": false
|
| 30 |
+
}
|
| 31 |
+
}
|
checkpoint-3800/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9c5ae00e602b8860cbd784ba82a8aa14e8feecec692e7076590d014d7b7fdafa
|
| 3 |
+
size 11421896
|
checkpoint-3800/tokenizer_config.json
ADDED
|
@@ -0,0 +1,208 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_bos_token": false,
|
| 3 |
+
"add_prefix_space": false,
|
| 4 |
+
"added_tokens_decoder": {
|
| 5 |
+
"151643": {
|
| 6 |
+
"content": "<|endoftext|>",
|
| 7 |
+
"lstrip": false,
|
| 8 |
+
"normalized": false,
|
| 9 |
+
"rstrip": false,
|
| 10 |
+
"single_word": false,
|
| 11 |
+
"special": true
|
| 12 |
+
},
|
| 13 |
+
"151644": {
|
| 14 |
+
"content": "<|im_start|>",
|
| 15 |
+
"lstrip": false,
|
| 16 |
+
"normalized": false,
|
| 17 |
+
"rstrip": false,
|
| 18 |
+
"single_word": false,
|
| 19 |
+
"special": true
|
| 20 |
+
},
|
| 21 |
+
"151645": {
|
| 22 |
+
"content": "<|im_end|>",
|
| 23 |
+
"lstrip": false,
|
| 24 |
+
"normalized": false,
|
| 25 |
+
"rstrip": false,
|
| 26 |
+
"single_word": false,
|
| 27 |
+
"special": true
|
| 28 |
+
},
|
| 29 |
+
"151646": {
|
| 30 |
+
"content": "<|object_ref_start|>",
|
| 31 |
+
"lstrip": false,
|
| 32 |
+
"normalized": false,
|
| 33 |
+
"rstrip": false,
|
| 34 |
+
"single_word": false,
|
| 35 |
+
"special": true
|
| 36 |
+
},
|
| 37 |
+
"151647": {
|
| 38 |
+
"content": "<|object_ref_end|>",
|
| 39 |
+
"lstrip": false,
|
| 40 |
+
"normalized": false,
|
| 41 |
+
"rstrip": false,
|
| 42 |
+
"single_word": false,
|
| 43 |
+
"special": true
|
| 44 |
+
},
|
| 45 |
+
"151648": {
|
| 46 |
+
"content": "<|box_start|>",
|
| 47 |
+
"lstrip": false,
|
| 48 |
+
"normalized": false,
|
| 49 |
+
"rstrip": false,
|
| 50 |
+
"single_word": false,
|
| 51 |
+
"special": true
|
| 52 |
+
},
|
| 53 |
+
"151649": {
|
| 54 |
+
"content": "<|box_end|>",
|
| 55 |
+
"lstrip": false,
|
| 56 |
+
"normalized": false,
|
| 57 |
+
"rstrip": false,
|
| 58 |
+
"single_word": false,
|
| 59 |
+
"special": true
|
| 60 |
+
},
|
| 61 |
+
"151650": {
|
| 62 |
+
"content": "<|quad_start|>",
|
| 63 |
+
"lstrip": false,
|
| 64 |
+
"normalized": false,
|
| 65 |
+
"rstrip": false,
|
| 66 |
+
"single_word": false,
|
| 67 |
+
"special": true
|
| 68 |
+
},
|
| 69 |
+
"151651": {
|
| 70 |
+
"content": "<|quad_end|>",
|
| 71 |
+
"lstrip": false,
|
| 72 |
+
"normalized": false,
|
| 73 |
+
"rstrip": false,
|
| 74 |
+
"single_word": false,
|
| 75 |
+
"special": true
|
| 76 |
+
},
|
| 77 |
+
"151652": {
|
| 78 |
+
"content": "<|vision_start|>",
|
| 79 |
+
"lstrip": false,
|
| 80 |
+
"normalized": false,
|
| 81 |
+
"rstrip": false,
|
| 82 |
+
"single_word": false,
|
| 83 |
+
"special": true
|
| 84 |
+
},
|
| 85 |
+
"151653": {
|
| 86 |
+
"content": "<|vision_end|>",
|
| 87 |
+
"lstrip": false,
|
| 88 |
+
"normalized": false,
|
| 89 |
+
"rstrip": false,
|
| 90 |
+
"single_word": false,
|
| 91 |
+
"special": true
|
| 92 |
+
},
|
| 93 |
+
"151654": {
|
| 94 |
+
"content": "<|vision_pad|>",
|
| 95 |
+
"lstrip": false,
|
| 96 |
+
"normalized": false,
|
| 97 |
+
"rstrip": false,
|
| 98 |
+
"single_word": false,
|
| 99 |
+
"special": true
|
| 100 |
+
},
|
| 101 |
+
"151655": {
|
| 102 |
+
"content": "<|image_pad|>",
|
| 103 |
+
"lstrip": false,
|
| 104 |
+
"normalized": false,
|
| 105 |
+
"rstrip": false,
|
| 106 |
+
"single_word": false,
|
| 107 |
+
"special": true
|
| 108 |
+
},
|
| 109 |
+
"151656": {
|
| 110 |
+
"content": "<|video_pad|>",
|
| 111 |
+
"lstrip": false,
|
| 112 |
+
"normalized": false,
|
| 113 |
+
"rstrip": false,
|
| 114 |
+
"single_word": false,
|
| 115 |
+
"special": true
|
| 116 |
+
},
|
| 117 |
+
"151657": {
|
| 118 |
+
"content": "<tool_call>",
|
| 119 |
+
"lstrip": false,
|
| 120 |
+
"normalized": false,
|
| 121 |
+
"rstrip": false,
|
| 122 |
+
"single_word": false,
|
| 123 |
+
"special": false
|
| 124 |
+
},
|
| 125 |
+
"151658": {
|
| 126 |
+
"content": "</tool_call>",
|
| 127 |
+
"lstrip": false,
|
| 128 |
+
"normalized": false,
|
| 129 |
+
"rstrip": false,
|
| 130 |
+
"single_word": false,
|
| 131 |
+
"special": false
|
| 132 |
+
},
|
| 133 |
+
"151659": {
|
| 134 |
+
"content": "<|fim_prefix|>",
|
| 135 |
+
"lstrip": false,
|
| 136 |
+
"normalized": false,
|
| 137 |
+
"rstrip": false,
|
| 138 |
+
"single_word": false,
|
| 139 |
+
"special": false
|
| 140 |
+
},
|
| 141 |
+
"151660": {
|
| 142 |
+
"content": "<|fim_middle|>",
|
| 143 |
+
"lstrip": false,
|
| 144 |
+
"normalized": false,
|
| 145 |
+
"rstrip": false,
|
| 146 |
+
"single_word": false,
|
| 147 |
+
"special": false
|
| 148 |
+
},
|
| 149 |
+
"151661": {
|
| 150 |
+
"content": "<|fim_suffix|>",
|
| 151 |
+
"lstrip": false,
|
| 152 |
+
"normalized": false,
|
| 153 |
+
"rstrip": false,
|
| 154 |
+
"single_word": false,
|
| 155 |
+
"special": false
|
| 156 |
+
},
|
| 157 |
+
"151662": {
|
| 158 |
+
"content": "<|fim_pad|>",
|
| 159 |
+
"lstrip": false,
|
| 160 |
+
"normalized": false,
|
| 161 |
+
"rstrip": false,
|
| 162 |
+
"single_word": false,
|
| 163 |
+
"special": false
|
| 164 |
+
},
|
| 165 |
+
"151663": {
|
| 166 |
+
"content": "<|repo_name|>",
|
| 167 |
+
"lstrip": false,
|
| 168 |
+
"normalized": false,
|
| 169 |
+
"rstrip": false,
|
| 170 |
+
"single_word": false,
|
| 171 |
+
"special": false
|
| 172 |
+
},
|
| 173 |
+
"151664": {
|
| 174 |
+
"content": "<|file_sep|>",
|
| 175 |
+
"lstrip": false,
|
| 176 |
+
"normalized": false,
|
| 177 |
+
"rstrip": false,
|
| 178 |
+
"single_word": false,
|
| 179 |
+
"special": false
|
| 180 |
+
}
|
| 181 |
+
},
|
| 182 |
+
"additional_special_tokens": [
|
| 183 |
+
"<|im_start|>",
|
| 184 |
+
"<|im_end|>",
|
| 185 |
+
"<|object_ref_start|>",
|
| 186 |
+
"<|object_ref_end|>",
|
| 187 |
+
"<|box_start|>",
|
| 188 |
+
"<|box_end|>",
|
| 189 |
+
"<|quad_start|>",
|
| 190 |
+
"<|quad_end|>",
|
| 191 |
+
"<|vision_start|>",
|
| 192 |
+
"<|vision_end|>",
|
| 193 |
+
"<|vision_pad|>",
|
| 194 |
+
"<|image_pad|>",
|
| 195 |
+
"<|video_pad|>"
|
| 196 |
+
],
|
| 197 |
+
"bos_token": null,
|
| 198 |
+
"clean_up_tokenization_spaces": false,
|
| 199 |
+
"eos_token": "<|im_end|>",
|
| 200 |
+
"errors": "replace",
|
| 201 |
+
"extra_special_tokens": {},
|
| 202 |
+
"model_max_length": 131072,
|
| 203 |
+
"pad_token": "<|endoftext|>",
|
| 204 |
+
"padding_side": "right",
|
| 205 |
+
"split_special_tokens": false,
|
| 206 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 207 |
+
"unk_token": null
|
| 208 |
+
}
|
checkpoint-3800/trainer_state.json
ADDED
|
@@ -0,0 +1,2694 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": null,
|
| 3 |
+
"best_metric": null,
|
| 4 |
+
"best_model_checkpoint": null,
|
| 5 |
+
"epoch": 1.9558615364817913,
|
| 6 |
+
"eval_steps": 500,
|
| 7 |
+
"global_step": 3800,
|
| 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.0051473426843392095,
|
| 14 |
+
"grad_norm": 5.310028553009033,
|
| 15 |
+
"learning_rate": 4.6272493573264783e-07,
|
| 16 |
+
"loss": 0.5767,
|
| 17 |
+
"step": 10
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"epoch": 0.010294685368678419,
|
| 21 |
+
"grad_norm": 3.2451159954071045,
|
| 22 |
+
"learning_rate": 9.768637532133676e-07,
|
| 23 |
+
"loss": 0.5436,
|
| 24 |
+
"step": 20
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"epoch": 0.01544202805301763,
|
| 28 |
+
"grad_norm": 2.6238412857055664,
|
| 29 |
+
"learning_rate": 1.4910025706940876e-06,
|
| 30 |
+
"loss": 0.4248,
|
| 31 |
+
"step": 30
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"epoch": 0.020589370737356838,
|
| 35 |
+
"grad_norm": 1.1435836553573608,
|
| 36 |
+
"learning_rate": 2.0051413881748076e-06,
|
| 37 |
+
"loss": 0.2565,
|
| 38 |
+
"step": 40
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
"epoch": 0.02573671342169605,
|
| 42 |
+
"grad_norm": 0.6369749307632446,
|
| 43 |
+
"learning_rate": 2.519280205655527e-06,
|
| 44 |
+
"loss": 0.1546,
|
| 45 |
+
"step": 50
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"epoch": 0.03088405610603526,
|
| 49 |
+
"grad_norm": 0.31389811635017395,
|
| 50 |
+
"learning_rate": 3.033419023136247e-06,
|
| 51 |
+
"loss": 0.1188,
|
| 52 |
+
"step": 60
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"epoch": 0.036031398790374466,
|
| 56 |
+
"grad_norm": 0.23692786693572998,
|
| 57 |
+
"learning_rate": 3.547557840616967e-06,
|
| 58 |
+
"loss": 0.1005,
|
| 59 |
+
"step": 70
|
| 60 |
+
},
|
| 61 |
+
{
|
| 62 |
+
"epoch": 0.041178741474713676,
|
| 63 |
+
"grad_norm": 0.17490938305854797,
|
| 64 |
+
"learning_rate": 4.0616966580976866e-06,
|
| 65 |
+
"loss": 0.0885,
|
| 66 |
+
"step": 80
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"epoch": 0.04632608415905289,
|
| 70 |
+
"grad_norm": 0.16715744137763977,
|
| 71 |
+
"learning_rate": 4.575835475578407e-06,
|
| 72 |
+
"loss": 0.078,
|
| 73 |
+
"step": 90
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"epoch": 0.0514734268433921,
|
| 77 |
+
"grad_norm": 0.168691024184227,
|
| 78 |
+
"learning_rate": 5.0899742930591265e-06,
|
| 79 |
+
"loss": 0.0728,
|
| 80 |
+
"step": 100
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"epoch": 0.05662076952773131,
|
| 84 |
+
"grad_norm": 0.1685110628604889,
|
| 85 |
+
"learning_rate": 5.604113110539846e-06,
|
| 86 |
+
"loss": 0.0652,
|
| 87 |
+
"step": 110
|
| 88 |
+
},
|
| 89 |
+
{
|
| 90 |
+
"epoch": 0.06176811221207052,
|
| 91 |
+
"grad_norm": 0.14894704520702362,
|
| 92 |
+
"learning_rate": 6.1182519280205664e-06,
|
| 93 |
+
"loss": 0.0611,
|
| 94 |
+
"step": 120
|
| 95 |
+
},
|
| 96 |
+
{
|
| 97 |
+
"epoch": 0.06691545489640972,
|
| 98 |
+
"grad_norm": 0.17869767546653748,
|
| 99 |
+
"learning_rate": 6.632390745501286e-06,
|
| 100 |
+
"loss": 0.0578,
|
| 101 |
+
"step": 130
|
| 102 |
+
},
|
| 103 |
+
{
|
| 104 |
+
"epoch": 0.07206279758074893,
|
| 105 |
+
"grad_norm": 0.2117505520582199,
|
| 106 |
+
"learning_rate": 7.1465295629820055e-06,
|
| 107 |
+
"loss": 0.0565,
|
| 108 |
+
"step": 140
|
| 109 |
+
},
|
| 110 |
+
{
|
| 111 |
+
"epoch": 0.07721014026508814,
|
| 112 |
+
"grad_norm": 0.2170065939426422,
|
| 113 |
+
"learning_rate": 7.660668380462726e-06,
|
| 114 |
+
"loss": 0.0518,
|
| 115 |
+
"step": 150
|
| 116 |
+
},
|
| 117 |
+
{
|
| 118 |
+
"epoch": 0.08235748294942735,
|
| 119 |
+
"grad_norm": 0.20486794412136078,
|
| 120 |
+
"learning_rate": 8.174807197943445e-06,
|
| 121 |
+
"loss": 0.0506,
|
| 122 |
+
"step": 160
|
| 123 |
+
},
|
| 124 |
+
{
|
| 125 |
+
"epoch": 0.08750482563376656,
|
| 126 |
+
"grad_norm": 0.1600036472082138,
|
| 127 |
+
"learning_rate": 8.688946015424165e-06,
|
| 128 |
+
"loss": 0.0505,
|
| 129 |
+
"step": 170
|
| 130 |
+
},
|
| 131 |
+
{
|
| 132 |
+
"epoch": 0.09265216831810578,
|
| 133 |
+
"grad_norm": 0.18623106181621552,
|
| 134 |
+
"learning_rate": 9.203084832904885e-06,
|
| 135 |
+
"loss": 0.0454,
|
| 136 |
+
"step": 180
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"epoch": 0.097799511002445,
|
| 140 |
+
"grad_norm": 0.16273102164268494,
|
| 141 |
+
"learning_rate": 9.717223650385606e-06,
|
| 142 |
+
"loss": 0.0443,
|
| 143 |
+
"step": 190
|
| 144 |
+
},
|
| 145 |
+
{
|
| 146 |
+
"epoch": 0.1029468536867842,
|
| 147 |
+
"grad_norm": 0.2154380977153778,
|
| 148 |
+
"learning_rate": 1.0231362467866324e-05,
|
| 149 |
+
"loss": 0.0421,
|
| 150 |
+
"step": 200
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"epoch": 0.10809419637112341,
|
| 154 |
+
"grad_norm": 0.15672603249549866,
|
| 155 |
+
"learning_rate": 1.0745501285347045e-05,
|
| 156 |
+
"loss": 0.0413,
|
| 157 |
+
"step": 210
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"epoch": 0.11324153905546262,
|
| 161 |
+
"grad_norm": 0.16729186475276947,
|
| 162 |
+
"learning_rate": 1.1259640102827764e-05,
|
| 163 |
+
"loss": 0.04,
|
| 164 |
+
"step": 220
|
| 165 |
+
},
|
| 166 |
+
{
|
| 167 |
+
"epoch": 0.11838888173980183,
|
| 168 |
+
"grad_norm": 0.17069196701049805,
|
| 169 |
+
"learning_rate": 1.1773778920308486e-05,
|
| 170 |
+
"loss": 0.04,
|
| 171 |
+
"step": 230
|
| 172 |
+
},
|
| 173 |
+
{
|
| 174 |
+
"epoch": 0.12353622442414104,
|
| 175 |
+
"grad_norm": 0.18878957629203796,
|
| 176 |
+
"learning_rate": 1.2287917737789203e-05,
|
| 177 |
+
"loss": 0.0379,
|
| 178 |
+
"step": 240
|
| 179 |
+
},
|
| 180 |
+
{
|
| 181 |
+
"epoch": 0.12868356710848025,
|
| 182 |
+
"grad_norm": 0.17584006488323212,
|
| 183 |
+
"learning_rate": 1.2802056555269925e-05,
|
| 184 |
+
"loss": 0.0361,
|
| 185 |
+
"step": 250
|
| 186 |
+
},
|
| 187 |
+
{
|
| 188 |
+
"epoch": 0.13383090979281945,
|
| 189 |
+
"grad_norm": 0.19568656384944916,
|
| 190 |
+
"learning_rate": 1.3316195372750644e-05,
|
| 191 |
+
"loss": 0.0348,
|
| 192 |
+
"step": 260
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"epoch": 0.13897825247715867,
|
| 196 |
+
"grad_norm": 0.17687125504016876,
|
| 197 |
+
"learning_rate": 1.3830334190231362e-05,
|
| 198 |
+
"loss": 0.0344,
|
| 199 |
+
"step": 270
|
| 200 |
+
},
|
| 201 |
+
{
|
| 202 |
+
"epoch": 0.14412559516149787,
|
| 203 |
+
"grad_norm": 0.18790054321289062,
|
| 204 |
+
"learning_rate": 1.4344473007712083e-05,
|
| 205 |
+
"loss": 0.0334,
|
| 206 |
+
"step": 280
|
| 207 |
+
},
|
| 208 |
+
{
|
| 209 |
+
"epoch": 0.1492729378458371,
|
| 210 |
+
"grad_norm": 0.174034982919693,
|
| 211 |
+
"learning_rate": 1.4858611825192803e-05,
|
| 212 |
+
"loss": 0.0343,
|
| 213 |
+
"step": 290
|
| 214 |
+
},
|
| 215 |
+
{
|
| 216 |
+
"epoch": 0.15442028053017628,
|
| 217 |
+
"grad_norm": 0.17310510575771332,
|
| 218 |
+
"learning_rate": 1.5372750642673522e-05,
|
| 219 |
+
"loss": 0.033,
|
| 220 |
+
"step": 300
|
| 221 |
+
},
|
| 222 |
+
{
|
| 223 |
+
"epoch": 0.1595676232145155,
|
| 224 |
+
"grad_norm": 0.16747431457042694,
|
| 225 |
+
"learning_rate": 1.5886889460154242e-05,
|
| 226 |
+
"loss": 0.0321,
|
| 227 |
+
"step": 310
|
| 228 |
+
},
|
| 229 |
+
{
|
| 230 |
+
"epoch": 0.1647149658988547,
|
| 231 |
+
"grad_norm": 0.19836604595184326,
|
| 232 |
+
"learning_rate": 1.640102827763496e-05,
|
| 233 |
+
"loss": 0.0321,
|
| 234 |
+
"step": 320
|
| 235 |
+
},
|
| 236 |
+
{
|
| 237 |
+
"epoch": 0.16986230858319393,
|
| 238 |
+
"grad_norm": 0.16714957356452942,
|
| 239 |
+
"learning_rate": 1.6915167095115684e-05,
|
| 240 |
+
"loss": 0.0314,
|
| 241 |
+
"step": 330
|
| 242 |
+
},
|
| 243 |
+
{
|
| 244 |
+
"epoch": 0.17500965126753312,
|
| 245 |
+
"grad_norm": 0.15047457814216614,
|
| 246 |
+
"learning_rate": 1.74293059125964e-05,
|
| 247 |
+
"loss": 0.03,
|
| 248 |
+
"step": 340
|
| 249 |
+
},
|
| 250 |
+
{
|
| 251 |
+
"epoch": 0.18015699395187235,
|
| 252 |
+
"grad_norm": 0.153594508767128,
|
| 253 |
+
"learning_rate": 1.7943444730077123e-05,
|
| 254 |
+
"loss": 0.0307,
|
| 255 |
+
"step": 350
|
| 256 |
+
},
|
| 257 |
+
{
|
| 258 |
+
"epoch": 0.18530433663621157,
|
| 259 |
+
"grad_norm": 0.11620394140481949,
|
| 260 |
+
"learning_rate": 1.8457583547557843e-05,
|
| 261 |
+
"loss": 0.0288,
|
| 262 |
+
"step": 360
|
| 263 |
+
},
|
| 264 |
+
{
|
| 265 |
+
"epoch": 0.19045167932055077,
|
| 266 |
+
"grad_norm": 0.19321905076503754,
|
| 267 |
+
"learning_rate": 1.8971722365038563e-05,
|
| 268 |
+
"loss": 0.0295,
|
| 269 |
+
"step": 370
|
| 270 |
+
},
|
| 271 |
+
{
|
| 272 |
+
"epoch": 0.19559902200489,
|
| 273 |
+
"grad_norm": 0.15826652944087982,
|
| 274 |
+
"learning_rate": 1.9485861182519282e-05,
|
| 275 |
+
"loss": 0.0288,
|
| 276 |
+
"step": 380
|
| 277 |
+
},
|
| 278 |
+
{
|
| 279 |
+
"epoch": 0.20074636468922918,
|
| 280 |
+
"grad_norm": 0.1474819928407669,
|
| 281 |
+
"learning_rate": 2e-05,
|
| 282 |
+
"loss": 0.0287,
|
| 283 |
+
"step": 390
|
| 284 |
+
},
|
| 285 |
+
{
|
| 286 |
+
"epoch": 0.2058937073735684,
|
| 287 |
+
"grad_norm": 0.15279045701026917,
|
| 288 |
+
"learning_rate": 1.999959647024453e-05,
|
| 289 |
+
"loss": 0.0286,
|
| 290 |
+
"step": 400
|
| 291 |
+
},
|
| 292 |
+
{
|
| 293 |
+
"epoch": 0.2110410500579076,
|
| 294 |
+
"grad_norm": 0.1290847510099411,
|
| 295 |
+
"learning_rate": 1.999838591354537e-05,
|
| 296 |
+
"loss": 0.0269,
|
| 297 |
+
"step": 410
|
| 298 |
+
},
|
| 299 |
+
{
|
| 300 |
+
"epoch": 0.21618839274224683,
|
| 301 |
+
"grad_norm": 0.14468011260032654,
|
| 302 |
+
"learning_rate": 1.9996368427601652e-05,
|
| 303 |
+
"loss": 0.0272,
|
| 304 |
+
"step": 420
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"epoch": 0.22133573542658602,
|
| 308 |
+
"grad_norm": 0.15097224712371826,
|
| 309 |
+
"learning_rate": 1.9993544175236498e-05,
|
| 310 |
+
"loss": 0.0263,
|
| 311 |
+
"step": 430
|
| 312 |
+
},
|
| 313 |
+
{
|
| 314 |
+
"epoch": 0.22648307811092525,
|
| 315 |
+
"grad_norm": 0.14941558241844177,
|
| 316 |
+
"learning_rate": 1.998991338438388e-05,
|
| 317 |
+
"loss": 0.0265,
|
| 318 |
+
"step": 440
|
| 319 |
+
},
|
| 320 |
+
{
|
| 321 |
+
"epoch": 0.23163042079526444,
|
| 322 |
+
"grad_norm": 0.12265824526548386,
|
| 323 |
+
"learning_rate": 1.9985476348070224e-05,
|
| 324 |
+
"loss": 0.0253,
|
| 325 |
+
"step": 450
|
| 326 |
+
},
|
| 327 |
+
{
|
| 328 |
+
"epoch": 0.23677776347960366,
|
| 329 |
+
"grad_norm": 0.13813571631908417,
|
| 330 |
+
"learning_rate": 1.9980233424390773e-05,
|
| 331 |
+
"loss": 0.0259,
|
| 332 |
+
"step": 460
|
| 333 |
+
},
|
| 334 |
+
{
|
| 335 |
+
"epoch": 0.24192510616394286,
|
| 336 |
+
"grad_norm": 0.13315853476524353,
|
| 337 |
+
"learning_rate": 1.9974185036480664e-05,
|
| 338 |
+
"loss": 0.025,
|
| 339 |
+
"step": 470
|
| 340 |
+
},
|
| 341 |
+
{
|
| 342 |
+
"epoch": 0.24707244884828208,
|
| 343 |
+
"grad_norm": 0.10484486818313599,
|
| 344 |
+
"learning_rate": 1.9967331672480798e-05,
|
| 345 |
+
"loss": 0.0253,
|
| 346 |
+
"step": 480
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"epoch": 0.2522197915326213,
|
| 350 |
+
"grad_norm": 0.10516864061355591,
|
| 351 |
+
"learning_rate": 1.995967388549843e-05,
|
| 352 |
+
"loss": 0.0236,
|
| 353 |
+
"step": 490
|
| 354 |
+
},
|
| 355 |
+
{
|
| 356 |
+
"epoch": 0.2573671342169605,
|
| 357 |
+
"grad_norm": 0.13143527507781982,
|
| 358 |
+
"learning_rate": 1.9951212293562547e-05,
|
| 359 |
+
"loss": 0.0247,
|
| 360 |
+
"step": 500
|
| 361 |
+
},
|
| 362 |
+
{
|
| 363 |
+
"epoch": 0.2625144769012997,
|
| 364 |
+
"grad_norm": 0.11734788864850998,
|
| 365 |
+
"learning_rate": 1.994194757957397e-05,
|
| 366 |
+
"loss": 0.0239,
|
| 367 |
+
"step": 510
|
| 368 |
+
},
|
| 369 |
+
{
|
| 370 |
+
"epoch": 0.2676618195856389,
|
| 371 |
+
"grad_norm": 0.10932901501655579,
|
| 372 |
+
"learning_rate": 1.9931880491250263e-05,
|
| 373 |
+
"loss": 0.0237,
|
| 374 |
+
"step": 520
|
| 375 |
+
},
|
| 376 |
+
{
|
| 377 |
+
"epoch": 0.27280916226997814,
|
| 378 |
+
"grad_norm": 0.10849976539611816,
|
| 379 |
+
"learning_rate": 1.992101184106535e-05,
|
| 380 |
+
"loss": 0.0238,
|
| 381 |
+
"step": 530
|
| 382 |
+
},
|
| 383 |
+
{
|
| 384 |
+
"epoch": 0.27795650495431734,
|
| 385 |
+
"grad_norm": 0.10729847103357315,
|
| 386 |
+
"learning_rate": 1.990934250618399e-05,
|
| 387 |
+
"loss": 0.0247,
|
| 388 |
+
"step": 540
|
| 389 |
+
},
|
| 390 |
+
{
|
| 391 |
+
"epoch": 0.28310384763865654,
|
| 392 |
+
"grad_norm": 0.10003025084733963,
|
| 393 |
+
"learning_rate": 1.989687342839095e-05,
|
| 394 |
+
"loss": 0.0226,
|
| 395 |
+
"step": 550
|
| 396 |
+
},
|
| 397 |
+
{
|
| 398 |
+
"epoch": 0.28825119032299573,
|
| 399 |
+
"grad_norm": 0.1534651517868042,
|
| 400 |
+
"learning_rate": 1.9883605614015014e-05,
|
| 401 |
+
"loss": 0.0231,
|
| 402 |
+
"step": 560
|
| 403 |
+
},
|
| 404 |
+
{
|
| 405 |
+
"epoch": 0.293398533007335,
|
| 406 |
+
"grad_norm": 0.11108533293008804,
|
| 407 |
+
"learning_rate": 1.986954013384776e-05,
|
| 408 |
+
"loss": 0.0223,
|
| 409 |
+
"step": 570
|
| 410 |
+
},
|
| 411 |
+
{
|
| 412 |
+
"epoch": 0.2985458756916742,
|
| 413 |
+
"grad_norm": 0.11034880578517914,
|
| 414 |
+
"learning_rate": 1.9854678123057144e-05,
|
| 415 |
+
"loss": 0.0231,
|
| 416 |
+
"step": 580
|
| 417 |
+
},
|
| 418 |
+
{
|
| 419 |
+
"epoch": 0.3036932183760134,
|
| 420 |
+
"grad_norm": 0.1124214380979538,
|
| 421 |
+
"learning_rate": 1.9839020781095873e-05,
|
| 422 |
+
"loss": 0.0218,
|
| 423 |
+
"step": 590
|
| 424 |
+
},
|
| 425 |
+
{
|
| 426 |
+
"epoch": 0.30884056106035257,
|
| 427 |
+
"grad_norm": 0.10357758402824402,
|
| 428 |
+
"learning_rate": 1.9822569371604637e-05,
|
| 429 |
+
"loss": 0.0223,
|
| 430 |
+
"step": 600
|
| 431 |
+
},
|
| 432 |
+
{
|
| 433 |
+
"epoch": 0.3139879037446918,
|
| 434 |
+
"grad_norm": 0.10687187314033508,
|
| 435 |
+
"learning_rate": 1.9805325222310072e-05,
|
| 436 |
+
"loss": 0.0207,
|
| 437 |
+
"step": 610
|
| 438 |
+
},
|
| 439 |
+
{
|
| 440 |
+
"epoch": 0.319135246429031,
|
| 441 |
+
"grad_norm": 0.11198052763938904,
|
| 442 |
+
"learning_rate": 1.9787289724917657e-05,
|
| 443 |
+
"loss": 0.0217,
|
| 444 |
+
"step": 620
|
| 445 |
+
},
|
| 446 |
+
{
|
| 447 |
+
"epoch": 0.3242825891133702,
|
| 448 |
+
"grad_norm": 0.10764071345329285,
|
| 449 |
+
"learning_rate": 1.9768464334999352e-05,
|
| 450 |
+
"loss": 0.0203,
|
| 451 |
+
"step": 630
|
| 452 |
+
},
|
| 453 |
+
{
|
| 454 |
+
"epoch": 0.3294299317977094,
|
| 455 |
+
"grad_norm": 0.11469001322984695,
|
| 456 |
+
"learning_rate": 1.974885057187617e-05,
|
| 457 |
+
"loss": 0.0209,
|
| 458 |
+
"step": 640
|
| 459 |
+
},
|
| 460 |
+
{
|
| 461 |
+
"epoch": 0.33457727448204866,
|
| 462 |
+
"grad_norm": 0.10319452732801437,
|
| 463 |
+
"learning_rate": 1.9728450018495506e-05,
|
| 464 |
+
"loss": 0.0211,
|
| 465 |
+
"step": 650
|
| 466 |
+
},
|
| 467 |
+
{
|
| 468 |
+
"epoch": 0.33972461716638785,
|
| 469 |
+
"grad_norm": 0.1113303154706955,
|
| 470 |
+
"learning_rate": 1.9707264321303427e-05,
|
| 471 |
+
"loss": 0.021,
|
| 472 |
+
"step": 660
|
| 473 |
+
},
|
| 474 |
+
{
|
| 475 |
+
"epoch": 0.34487195985072705,
|
| 476 |
+
"grad_norm": 0.10461831837892532,
|
| 477 |
+
"learning_rate": 1.9685295190111777e-05,
|
| 478 |
+
"loss": 0.0204,
|
| 479 |
+
"step": 670
|
| 480 |
+
},
|
| 481 |
+
{
|
| 482 |
+
"epoch": 0.35001930253506625,
|
| 483 |
+
"grad_norm": 0.11531244963407516,
|
| 484 |
+
"learning_rate": 1.9662544397960182e-05,
|
| 485 |
+
"loss": 0.0202,
|
| 486 |
+
"step": 680
|
| 487 |
+
},
|
| 488 |
+
{
|
| 489 |
+
"epoch": 0.3551666452194055,
|
| 490 |
+
"grad_norm": 0.09318046271800995,
|
| 491 |
+
"learning_rate": 1.9639013780972958e-05,
|
| 492 |
+
"loss": 0.0205,
|
| 493 |
+
"step": 690
|
| 494 |
+
},
|
| 495 |
+
{
|
| 496 |
+
"epoch": 0.3603139879037447,
|
| 497 |
+
"grad_norm": 0.10880846530199051,
|
| 498 |
+
"learning_rate": 1.961470523821093e-05,
|
| 499 |
+
"loss": 0.0206,
|
| 500 |
+
"step": 700
|
| 501 |
+
},
|
| 502 |
+
{
|
| 503 |
+
"epoch": 0.3654613305880839,
|
| 504 |
+
"grad_norm": 0.1059744656085968,
|
| 505 |
+
"learning_rate": 1.9589620731518166e-05,
|
| 506 |
+
"loss": 0.02,
|
| 507 |
+
"step": 710
|
| 508 |
+
},
|
| 509 |
+
{
|
| 510 |
+
"epoch": 0.37060867327242314,
|
| 511 |
+
"grad_norm": 0.09044791013002396,
|
| 512 |
+
"learning_rate": 1.956376228536363e-05,
|
| 513 |
+
"loss": 0.0197,
|
| 514 |
+
"step": 720
|
| 515 |
+
},
|
| 516 |
+
{
|
| 517 |
+
"epoch": 0.37575601595676233,
|
| 518 |
+
"grad_norm": 0.08193252235651016,
|
| 519 |
+
"learning_rate": 1.953713198667782e-05,
|
| 520 |
+
"loss": 0.0203,
|
| 521 |
+
"step": 730
|
| 522 |
+
},
|
| 523 |
+
{
|
| 524 |
+
"epoch": 0.38090335864110153,
|
| 525 |
+
"grad_norm": 0.10840420424938202,
|
| 526 |
+
"learning_rate": 1.950973198468431e-05,
|
| 527 |
+
"loss": 0.0196,
|
| 528 |
+
"step": 740
|
| 529 |
+
},
|
| 530 |
+
{
|
| 531 |
+
"epoch": 0.3860507013254407,
|
| 532 |
+
"grad_norm": 0.10423741489648819,
|
| 533 |
+
"learning_rate": 1.9481564490726327e-05,
|
| 534 |
+
"loss": 0.0202,
|
| 535 |
+
"step": 750
|
| 536 |
+
},
|
| 537 |
+
{
|
| 538 |
+
"epoch": 0.39119804400978,
|
| 539 |
+
"grad_norm": 0.09768087416887283,
|
| 540 |
+
"learning_rate": 1.9452631778088262e-05,
|
| 541 |
+
"loss": 0.0192,
|
| 542 |
+
"step": 760
|
| 543 |
+
},
|
| 544 |
+
{
|
| 545 |
+
"epoch": 0.3963453866941192,
|
| 546 |
+
"grad_norm": 0.09175275266170502,
|
| 547 |
+
"learning_rate": 1.94229361818122e-05,
|
| 548 |
+
"loss": 0.0193,
|
| 549 |
+
"step": 770
|
| 550 |
+
},
|
| 551 |
+
{
|
| 552 |
+
"epoch": 0.40149272937845837,
|
| 553 |
+
"grad_norm": 0.10638079047203064,
|
| 554 |
+
"learning_rate": 1.9392480098509488e-05,
|
| 555 |
+
"loss": 0.0193,
|
| 556 |
+
"step": 780
|
| 557 |
+
},
|
| 558 |
+
{
|
| 559 |
+
"epoch": 0.40664007206279756,
|
| 560 |
+
"grad_norm": 0.0991005077958107,
|
| 561 |
+
"learning_rate": 1.9361265986167292e-05,
|
| 562 |
+
"loss": 0.0195,
|
| 563 |
+
"step": 790
|
| 564 |
+
},
|
| 565 |
+
{
|
| 566 |
+
"epoch": 0.4117874147471368,
|
| 567 |
+
"grad_norm": 0.09562570601701736,
|
| 568 |
+
"learning_rate": 1.9329296363950237e-05,
|
| 569 |
+
"loss": 0.0192,
|
| 570 |
+
"step": 800
|
| 571 |
+
},
|
| 572 |
+
{
|
| 573 |
+
"epoch": 0.416934757431476,
|
| 574 |
+
"grad_norm": 0.08249165862798691,
|
| 575 |
+
"learning_rate": 1.929657381199709e-05,
|
| 576 |
+
"loss": 0.0194,
|
| 577 |
+
"step": 810
|
| 578 |
+
},
|
| 579 |
+
{
|
| 580 |
+
"epoch": 0.4220821001158152,
|
| 581 |
+
"grad_norm": 0.08570217341184616,
|
| 582 |
+
"learning_rate": 1.9263100971212533e-05,
|
| 583 |
+
"loss": 0.0195,
|
| 584 |
+
"step": 820
|
| 585 |
+
},
|
| 586 |
+
{
|
| 587 |
+
"epoch": 0.4272294428001544,
|
| 588 |
+
"grad_norm": 0.09742734581232071,
|
| 589 |
+
"learning_rate": 1.922888054305401e-05,
|
| 590 |
+
"loss": 0.0192,
|
| 591 |
+
"step": 830
|
| 592 |
+
},
|
| 593 |
+
{
|
| 594 |
+
"epoch": 0.43237678548449365,
|
| 595 |
+
"grad_norm": 0.0958111509680748,
|
| 596 |
+
"learning_rate": 1.9193915289313726e-05,
|
| 597 |
+
"loss": 0.0186,
|
| 598 |
+
"step": 840
|
| 599 |
+
},
|
| 600 |
+
{
|
| 601 |
+
"epoch": 0.43752412816883285,
|
| 602 |
+
"grad_norm": 0.10406336188316345,
|
| 603 |
+
"learning_rate": 1.9158208031895738e-05,
|
| 604 |
+
"loss": 0.0182,
|
| 605 |
+
"step": 850
|
| 606 |
+
},
|
| 607 |
+
{
|
| 608 |
+
"epoch": 0.44267147085317204,
|
| 609 |
+
"grad_norm": 0.09037433564662933,
|
| 610 |
+
"learning_rate": 1.9121761652588217e-05,
|
| 611 |
+
"loss": 0.0188,
|
| 612 |
+
"step": 860
|
| 613 |
+
},
|
| 614 |
+
{
|
| 615 |
+
"epoch": 0.44781881353751124,
|
| 616 |
+
"grad_norm": 0.09204918146133423,
|
| 617 |
+
"learning_rate": 1.9084579092830873e-05,
|
| 618 |
+
"loss": 0.0182,
|
| 619 |
+
"step": 870
|
| 620 |
+
},
|
| 621 |
+
{
|
| 622 |
+
"epoch": 0.4529661562218505,
|
| 623 |
+
"grad_norm": 0.07945096492767334,
|
| 624 |
+
"learning_rate": 1.904666335347755e-05,
|
| 625 |
+
"loss": 0.017,
|
| 626 |
+
"step": 880
|
| 627 |
+
},
|
| 628 |
+
{
|
| 629 |
+
"epoch": 0.4581134989061897,
|
| 630 |
+
"grad_norm": 2.817049980163574,
|
| 631 |
+
"learning_rate": 1.900801749455406e-05,
|
| 632 |
+
"loss": 0.0223,
|
| 633 |
+
"step": 890
|
| 634 |
+
},
|
| 635 |
+
{
|
| 636 |
+
"epoch": 0.4632608415905289,
|
| 637 |
+
"grad_norm": 1.0506891012191772,
|
| 638 |
+
"learning_rate": 1.8968644635011192e-05,
|
| 639 |
+
"loss": 0.0434,
|
| 640 |
+
"step": 900
|
| 641 |
+
},
|
| 642 |
+
{
|
| 643 |
+
"epoch": 0.4684081842748681,
|
| 644 |
+
"grad_norm": 0.23307710886001587,
|
| 645 |
+
"learning_rate": 1.8928547952473037e-05,
|
| 646 |
+
"loss": 0.0308,
|
| 647 |
+
"step": 910
|
| 648 |
+
},
|
| 649 |
+
{
|
| 650 |
+
"epoch": 0.47355552695920733,
|
| 651 |
+
"grad_norm": 0.11467685550451279,
|
| 652 |
+
"learning_rate": 1.8887730682980484e-05,
|
| 653 |
+
"loss": 0.0234,
|
| 654 |
+
"step": 920
|
| 655 |
+
},
|
| 656 |
+
{
|
| 657 |
+
"epoch": 0.4787028696435465,
|
| 658 |
+
"grad_norm": 0.11315492540597916,
|
| 659 |
+
"learning_rate": 1.8846196120730095e-05,
|
| 660 |
+
"loss": 0.0222,
|
| 661 |
+
"step": 930
|
| 662 |
+
},
|
| 663 |
+
{
|
| 664 |
+
"epoch": 0.4838502123278857,
|
| 665 |
+
"grad_norm": 0.08601980656385422,
|
| 666 |
+
"learning_rate": 1.8803947617808217e-05,
|
| 667 |
+
"loss": 0.0219,
|
| 668 |
+
"step": 940
|
| 669 |
+
},
|
| 670 |
+
{
|
| 671 |
+
"epoch": 0.4889975550122249,
|
| 672 |
+
"grad_norm": 0.08733567595481873,
|
| 673 |
+
"learning_rate": 1.8760988583920457e-05,
|
| 674 |
+
"loss": 0.0197,
|
| 675 |
+
"step": 950
|
| 676 |
+
},
|
| 677 |
+
{
|
| 678 |
+
"epoch": 0.49414489769656417,
|
| 679 |
+
"grad_norm": 0.0972953736782074,
|
| 680 |
+
"learning_rate": 1.8717322486116513e-05,
|
| 681 |
+
"loss": 0.019,
|
| 682 |
+
"step": 960
|
| 683 |
+
},
|
| 684 |
+
{
|
| 685 |
+
"epoch": 0.49929224038090336,
|
| 686 |
+
"grad_norm": 0.08496998995542526,
|
| 687 |
+
"learning_rate": 1.867295284851033e-05,
|
| 688 |
+
"loss": 0.0186,
|
| 689 |
+
"step": 970
|
| 690 |
+
},
|
| 691 |
+
{
|
| 692 |
+
"epoch": 0.5044395830652426,
|
| 693 |
+
"grad_norm": 0.09595049172639847,
|
| 694 |
+
"learning_rate": 1.8627883251995712e-05,
|
| 695 |
+
"loss": 0.019,
|
| 696 |
+
"step": 980
|
| 697 |
+
},
|
| 698 |
+
{
|
| 699 |
+
"epoch": 0.5095869257495818,
|
| 700 |
+
"grad_norm": 0.10503372550010681,
|
| 701 |
+
"learning_rate": 1.858211733395731e-05,
|
| 702 |
+
"loss": 0.0175,
|
| 703 |
+
"step": 990
|
| 704 |
+
},
|
| 705 |
+
{
|
| 706 |
+
"epoch": 0.514734268433921,
|
| 707 |
+
"grad_norm": 0.07223546504974365,
|
| 708 |
+
"learning_rate": 1.8535658787977076e-05,
|
| 709 |
+
"loss": 0.0187,
|
| 710 |
+
"step": 1000
|
| 711 |
+
},
|
| 712 |
+
{
|
| 713 |
+
"epoch": 0.5198816111182601,
|
| 714 |
+
"grad_norm": 0.07786504924297333,
|
| 715 |
+
"learning_rate": 1.848851136353614e-05,
|
| 716 |
+
"loss": 0.0176,
|
| 717 |
+
"step": 1010
|
| 718 |
+
},
|
| 719 |
+
{
|
| 720 |
+
"epoch": 0.5250289538025994,
|
| 721 |
+
"grad_norm": 0.08368386328220367,
|
| 722 |
+
"learning_rate": 1.8440678865712237e-05,
|
| 723 |
+
"loss": 0.0171,
|
| 724 |
+
"step": 1020
|
| 725 |
+
},
|
| 726 |
+
{
|
| 727 |
+
"epoch": 0.5301762964869386,
|
| 728 |
+
"grad_norm": 0.08910104632377625,
|
| 729 |
+
"learning_rate": 1.8392165154872596e-05,
|
| 730 |
+
"loss": 0.0173,
|
| 731 |
+
"step": 1030
|
| 732 |
+
},
|
| 733 |
+
{
|
| 734 |
+
"epoch": 0.5353236391712778,
|
| 735 |
+
"grad_norm": 0.07958846539258957,
|
| 736 |
+
"learning_rate": 1.8342974146362397e-05,
|
| 737 |
+
"loss": 0.0171,
|
| 738 |
+
"step": 1040
|
| 739 |
+
},
|
| 740 |
+
{
|
| 741 |
+
"epoch": 0.540470981855617,
|
| 742 |
+
"grad_norm": 0.08344627916812897,
|
| 743 |
+
"learning_rate": 1.8293109810188756e-05,
|
| 744 |
+
"loss": 0.0179,
|
| 745 |
+
"step": 1050
|
| 746 |
+
},
|
| 747 |
+
{
|
| 748 |
+
"epoch": 0.5456183245399563,
|
| 749 |
+
"grad_norm": 0.09093711525201797,
|
| 750 |
+
"learning_rate": 1.8242576170700356e-05,
|
| 751 |
+
"loss": 0.0182,
|
| 752 |
+
"step": 1060
|
| 753 |
+
},
|
| 754 |
+
{
|
| 755 |
+
"epoch": 0.5507656672242954,
|
| 756 |
+
"grad_norm": 0.07439770549535751,
|
| 757 |
+
"learning_rate": 1.8191377306262635e-05,
|
| 758 |
+
"loss": 0.0177,
|
| 759 |
+
"step": 1070
|
| 760 |
+
},
|
| 761 |
+
{
|
| 762 |
+
"epoch": 0.5559130099086347,
|
| 763 |
+
"grad_norm": 0.07276415079832077,
|
| 764 |
+
"learning_rate": 1.813951734892864e-05,
|
| 765 |
+
"loss": 0.017,
|
| 766 |
+
"step": 1080
|
| 767 |
+
},
|
| 768 |
+
{
|
| 769 |
+
"epoch": 0.5610603525929739,
|
| 770 |
+
"grad_norm": 0.07302267104387283,
|
| 771 |
+
"learning_rate": 1.808700048410555e-05,
|
| 772 |
+
"loss": 0.0173,
|
| 773 |
+
"step": 1090
|
| 774 |
+
},
|
| 775 |
+
{
|
| 776 |
+
"epoch": 0.5662076952773131,
|
| 777 |
+
"grad_norm": 0.07959124445915222,
|
| 778 |
+
"learning_rate": 1.80338309502169e-05,
|
| 779 |
+
"loss": 0.0171,
|
| 780 |
+
"step": 1100
|
| 781 |
+
},
|
| 782 |
+
{
|
| 783 |
+
"epoch": 0.5713550379616523,
|
| 784 |
+
"grad_norm": 0.07042378187179565,
|
| 785 |
+
"learning_rate": 1.798001303836048e-05,
|
| 786 |
+
"loss": 0.0177,
|
| 787 |
+
"step": 1110
|
| 788 |
+
},
|
| 789 |
+
{
|
| 790 |
+
"epoch": 0.5765023806459915,
|
| 791 |
+
"grad_norm": 0.07214156538248062,
|
| 792 |
+
"learning_rate": 1.792555109196205e-05,
|
| 793 |
+
"loss": 0.0176,
|
| 794 |
+
"step": 1120
|
| 795 |
+
},
|
| 796 |
+
{
|
| 797 |
+
"epoch": 0.5816497233303307,
|
| 798 |
+
"grad_norm": 0.08310863375663757,
|
| 799 |
+
"learning_rate": 1.7870449506424802e-05,
|
| 800 |
+
"loss": 0.0168,
|
| 801 |
+
"step": 1130
|
| 802 |
+
},
|
| 803 |
+
{
|
| 804 |
+
"epoch": 0.58679706601467,
|
| 805 |
+
"grad_norm": 0.07772408425807953,
|
| 806 |
+
"learning_rate": 1.7814712728774602e-05,
|
| 807 |
+
"loss": 0.0161,
|
| 808 |
+
"step": 1140
|
| 809 |
+
},
|
| 810 |
+
{
|
| 811 |
+
"epoch": 0.5919444086990091,
|
| 812 |
+
"grad_norm": 0.07578866183757782,
|
| 813 |
+
"learning_rate": 1.7758345257301097e-05,
|
| 814 |
+
"loss": 0.0163,
|
| 815 |
+
"step": 1150
|
| 816 |
+
},
|
| 817 |
+
{
|
| 818 |
+
"epoch": 0.5970917513833484,
|
| 819 |
+
"grad_norm": 0.07637569308280945,
|
| 820 |
+
"learning_rate": 1.770135164119468e-05,
|
| 821 |
+
"loss": 0.017,
|
| 822 |
+
"step": 1160
|
| 823 |
+
},
|
| 824 |
+
{
|
| 825 |
+
"epoch": 0.6022390940676876,
|
| 826 |
+
"grad_norm": 0.07771653681993484,
|
| 827 |
+
"learning_rate": 1.7643736480179353e-05,
|
| 828 |
+
"loss": 0.0161,
|
| 829 |
+
"step": 1170
|
| 830 |
+
},
|
| 831 |
+
{
|
| 832 |
+
"epoch": 0.6073864367520267,
|
| 833 |
+
"grad_norm": 0.07540572434663773,
|
| 834 |
+
"learning_rate": 1.7585504424141483e-05,
|
| 835 |
+
"loss": 0.0162,
|
| 836 |
+
"step": 1180
|
| 837 |
+
},
|
| 838 |
+
{
|
| 839 |
+
"epoch": 0.612533779436366,
|
| 840 |
+
"grad_norm": 0.08060440421104431,
|
| 841 |
+
"learning_rate": 1.752666017275453e-05,
|
| 842 |
+
"loss": 0.0167,
|
| 843 |
+
"step": 1190
|
| 844 |
+
},
|
| 845 |
+
{
|
| 846 |
+
"epoch": 0.6176811221207051,
|
| 847 |
+
"grad_norm": 0.08262394368648529,
|
| 848 |
+
"learning_rate": 1.7467208475099777e-05,
|
| 849 |
+
"loss": 0.0164,
|
| 850 |
+
"step": 1200
|
| 851 |
+
},
|
| 852 |
+
{
|
| 853 |
+
"epoch": 0.6228284648050444,
|
| 854 |
+
"grad_norm": 0.09898388385772705,
|
| 855 |
+
"learning_rate": 1.740715412928302e-05,
|
| 856 |
+
"loss": 0.0161,
|
| 857 |
+
"step": 1210
|
| 858 |
+
},
|
| 859 |
+
{
|
| 860 |
+
"epoch": 0.6279758074893836,
|
| 861 |
+
"grad_norm": 0.08121711760759354,
|
| 862 |
+
"learning_rate": 1.734650198204736e-05,
|
| 863 |
+
"loss": 0.0158,
|
| 864 |
+
"step": 1220
|
| 865 |
+
},
|
| 866 |
+
{
|
| 867 |
+
"epoch": 0.6331231501737228,
|
| 868 |
+
"grad_norm": 0.08025297522544861,
|
| 869 |
+
"learning_rate": 1.7285256928382024e-05,
|
| 870 |
+
"loss": 0.0156,
|
| 871 |
+
"step": 1230
|
| 872 |
+
},
|
| 873 |
+
{
|
| 874 |
+
"epoch": 0.638270492858062,
|
| 875 |
+
"grad_norm": 0.07479096949100494,
|
| 876 |
+
"learning_rate": 1.7223423911127315e-05,
|
| 877 |
+
"loss": 0.0176,
|
| 878 |
+
"step": 1240
|
| 879 |
+
},
|
| 880 |
+
{
|
| 881 |
+
"epoch": 0.6434178355424013,
|
| 882 |
+
"grad_norm": 0.08772420138120651,
|
| 883 |
+
"learning_rate": 1.7161007920575705e-05,
|
| 884 |
+
"loss": 0.0156,
|
| 885 |
+
"step": 1250
|
| 886 |
+
},
|
| 887 |
+
{
|
| 888 |
+
"epoch": 0.6485651782267404,
|
| 889 |
+
"grad_norm": 0.07971519976854324,
|
| 890 |
+
"learning_rate": 1.709801399406907e-05,
|
| 891 |
+
"loss": 0.0154,
|
| 892 |
+
"step": 1260
|
| 893 |
+
},
|
| 894 |
+
{
|
| 895 |
+
"epoch": 0.6537125209110797,
|
| 896 |
+
"grad_norm": 0.07564999163150787,
|
| 897 |
+
"learning_rate": 1.7034447215592168e-05,
|
| 898 |
+
"loss": 0.0154,
|
| 899 |
+
"step": 1270
|
| 900 |
+
},
|
| 901 |
+
{
|
| 902 |
+
"epoch": 0.6588598635954188,
|
| 903 |
+
"grad_norm": 0.07267491519451141,
|
| 904 |
+
"learning_rate": 1.6970312715362304e-05,
|
| 905 |
+
"loss": 0.0159,
|
| 906 |
+
"step": 1280
|
| 907 |
+
},
|
| 908 |
+
{
|
| 909 |
+
"epoch": 0.6640072062797581,
|
| 910 |
+
"grad_norm": 0.07202299684286118,
|
| 911 |
+
"learning_rate": 1.6905615669415326e-05,
|
| 912 |
+
"loss": 0.0164,
|
| 913 |
+
"step": 1290
|
| 914 |
+
},
|
| 915 |
+
{
|
| 916 |
+
"epoch": 0.6691545489640973,
|
| 917 |
+
"grad_norm": 0.07982448488473892,
|
| 918 |
+
"learning_rate": 1.684036129918786e-05,
|
| 919 |
+
"loss": 0.0155,
|
| 920 |
+
"step": 1300
|
| 921 |
+
},
|
| 922 |
+
{
|
| 923 |
+
"epoch": 0.6743018916484365,
|
| 924 |
+
"grad_norm": 0.07582129538059235,
|
| 925 |
+
"learning_rate": 1.6774554871095918e-05,
|
| 926 |
+
"loss": 0.0153,
|
| 927 |
+
"step": 1310
|
| 928 |
+
},
|
| 929 |
+
{
|
| 930 |
+
"epoch": 0.6794492343327757,
|
| 931 |
+
"grad_norm": 0.08038461208343506,
|
| 932 |
+
"learning_rate": 1.6708201696109857e-05,
|
| 933 |
+
"loss": 0.0158,
|
| 934 |
+
"step": 1320
|
| 935 |
+
},
|
| 936 |
+
{
|
| 937 |
+
"epoch": 0.684596577017115,
|
| 938 |
+
"grad_norm": 0.07446227967739105,
|
| 939 |
+
"learning_rate": 1.6641307129325785e-05,
|
| 940 |
+
"loss": 0.0164,
|
| 941 |
+
"step": 1330
|
| 942 |
+
},
|
| 943 |
+
{
|
| 944 |
+
"epoch": 0.6897439197014541,
|
| 945 |
+
"grad_norm": 0.0867164209485054,
|
| 946 |
+
"learning_rate": 1.657387656953333e-05,
|
| 947 |
+
"loss": 0.016,
|
| 948 |
+
"step": 1340
|
| 949 |
+
},
|
| 950 |
+
{
|
| 951 |
+
"epoch": 0.6948912623857934,
|
| 952 |
+
"grad_norm": 0.07672440260648727,
|
| 953 |
+
"learning_rate": 1.6505915458779958e-05,
|
| 954 |
+
"loss": 0.0153,
|
| 955 |
+
"step": 1350
|
| 956 |
+
},
|
| 957 |
+
{
|
| 958 |
+
"epoch": 0.7000386050701325,
|
| 959 |
+
"grad_norm": 0.07314340770244598,
|
| 960 |
+
"learning_rate": 1.6437429281931744e-05,
|
| 961 |
+
"loss": 0.0145,
|
| 962 |
+
"step": 1360
|
| 963 |
+
},
|
| 964 |
+
{
|
| 965 |
+
"epoch": 0.7051859477544717,
|
| 966 |
+
"grad_norm": 0.07686632126569748,
|
| 967 |
+
"learning_rate": 1.636842356623073e-05,
|
| 968 |
+
"loss": 0.0152,
|
| 969 |
+
"step": 1370
|
| 970 |
+
},
|
| 971 |
+
{
|
| 972 |
+
"epoch": 0.710333290438811,
|
| 973 |
+
"grad_norm": 0.07814227044582367,
|
| 974 |
+
"learning_rate": 1.6298903880848836e-05,
|
| 975 |
+
"loss": 0.0155,
|
| 976 |
+
"step": 1380
|
| 977 |
+
},
|
| 978 |
+
{
|
| 979 |
+
"epoch": 0.7154806331231501,
|
| 980 |
+
"grad_norm": 0.07057350873947144,
|
| 981 |
+
"learning_rate": 1.6228875836438386e-05,
|
| 982 |
+
"loss": 0.0152,
|
| 983 |
+
"step": 1390
|
| 984 |
+
},
|
| 985 |
+
{
|
| 986 |
+
"epoch": 0.7206279758074894,
|
| 987 |
+
"grad_norm": 0.06801946461200714,
|
| 988 |
+
"learning_rate": 1.615834508467931e-05,
|
| 989 |
+
"loss": 0.0148,
|
| 990 |
+
"step": 1400
|
| 991 |
+
},
|
| 992 |
+
{
|
| 993 |
+
"epoch": 0.7257753184918286,
|
| 994 |
+
"grad_norm": 0.08162187039852142,
|
| 995 |
+
"learning_rate": 1.608731731782301e-05,
|
| 996 |
+
"loss": 0.0156,
|
| 997 |
+
"step": 1410
|
| 998 |
+
},
|
| 999 |
+
{
|
| 1000 |
+
"epoch": 0.7309226611761678,
|
| 1001 |
+
"grad_norm": 0.09547685086727142,
|
| 1002 |
+
"learning_rate": 1.6015798268232964e-05,
|
| 1003 |
+
"loss": 0.0158,
|
| 1004 |
+
"step": 1420
|
| 1005 |
+
},
|
| 1006 |
+
{
|
| 1007 |
+
"epoch": 0.736070003860507,
|
| 1008 |
+
"grad_norm": 0.07891667634248734,
|
| 1009 |
+
"learning_rate": 1.5943793707922086e-05,
|
| 1010 |
+
"loss": 0.0144,
|
| 1011 |
+
"step": 1430
|
| 1012 |
+
},
|
| 1013 |
+
{
|
| 1014 |
+
"epoch": 0.7412173465448463,
|
| 1015 |
+
"grad_norm": 0.07318150252103806,
|
| 1016 |
+
"learning_rate": 1.5871309448086903e-05,
|
| 1017 |
+
"loss": 0.0158,
|
| 1018 |
+
"step": 1440
|
| 1019 |
+
},
|
| 1020 |
+
{
|
| 1021 |
+
"epoch": 0.7463646892291854,
|
| 1022 |
+
"grad_norm": 0.06992822885513306,
|
| 1023 |
+
"learning_rate": 1.5798351338638548e-05,
|
| 1024 |
+
"loss": 0.0148,
|
| 1025 |
+
"step": 1450
|
| 1026 |
+
},
|
| 1027 |
+
{
|
| 1028 |
+
"epoch": 0.7515120319135247,
|
| 1029 |
+
"grad_norm": 0.0747927725315094,
|
| 1030 |
+
"learning_rate": 1.5724925267730625e-05,
|
| 1031 |
+
"loss": 0.0156,
|
| 1032 |
+
"step": 1460
|
| 1033 |
+
},
|
| 1034 |
+
{
|
| 1035 |
+
"epoch": 0.7566593745978638,
|
| 1036 |
+
"grad_norm": 0.06734950840473175,
|
| 1037 |
+
"learning_rate": 1.5651037161284032e-05,
|
| 1038 |
+
"loss": 0.0155,
|
| 1039 |
+
"step": 1470
|
| 1040 |
+
},
|
| 1041 |
+
{
|
| 1042 |
+
"epoch": 0.7618067172822031,
|
| 1043 |
+
"grad_norm": 0.06667228043079376,
|
| 1044 |
+
"learning_rate": 1.5576692982508665e-05,
|
| 1045 |
+
"loss": 0.0149,
|
| 1046 |
+
"step": 1480
|
| 1047 |
+
},
|
| 1048 |
+
{
|
| 1049 |
+
"epoch": 0.7669540599665423,
|
| 1050 |
+
"grad_norm": 0.07065103948116302,
|
| 1051 |
+
"learning_rate": 1.550189873142219e-05,
|
| 1052 |
+
"loss": 0.0149,
|
| 1053 |
+
"step": 1490
|
| 1054 |
+
},
|
| 1055 |
+
{
|
| 1056 |
+
"epoch": 0.7721014026508815,
|
| 1057 |
+
"grad_norm": 0.07318428158760071,
|
| 1058 |
+
"learning_rate": 1.542666044436577e-05,
|
| 1059 |
+
"loss": 0.0147,
|
| 1060 |
+
"step": 1500
|
| 1061 |
+
},
|
| 1062 |
+
{
|
| 1063 |
+
"epoch": 0.7772487453352207,
|
| 1064 |
+
"grad_norm": 0.06767120212316513,
|
| 1065 |
+
"learning_rate": 1.5350984193516917e-05,
|
| 1066 |
+
"loss": 0.0152,
|
| 1067 |
+
"step": 1510
|
| 1068 |
+
},
|
| 1069 |
+
{
|
| 1070 |
+
"epoch": 0.78239608801956,
|
| 1071 |
+
"grad_norm": 0.08945749700069427,
|
| 1072 |
+
"learning_rate": 1.5274876086399444e-05,
|
| 1073 |
+
"loss": 0.0147,
|
| 1074 |
+
"step": 1520
|
| 1075 |
+
},
|
| 1076 |
+
{
|
| 1077 |
+
"epoch": 0.7875434307038991,
|
| 1078 |
+
"grad_norm": 0.07100491225719452,
|
| 1079 |
+
"learning_rate": 1.5198342265390511e-05,
|
| 1080 |
+
"loss": 0.0144,
|
| 1081 |
+
"step": 1530
|
| 1082 |
+
},
|
| 1083 |
+
{
|
| 1084 |
+
"epoch": 0.7926907733882383,
|
| 1085 |
+
"grad_norm": 0.06846942007541656,
|
| 1086 |
+
"learning_rate": 1.512138890722494e-05,
|
| 1087 |
+
"loss": 0.0148,
|
| 1088 |
+
"step": 1540
|
| 1089 |
+
},
|
| 1090 |
+
{
|
| 1091 |
+
"epoch": 0.7978381160725775,
|
| 1092 |
+
"grad_norm": 0.07432665675878525,
|
| 1093 |
+
"learning_rate": 1.5044022222496684e-05,
|
| 1094 |
+
"loss": 0.0153,
|
| 1095 |
+
"step": 1550
|
| 1096 |
+
},
|
| 1097 |
+
{
|
| 1098 |
+
"epoch": 0.8029854587569167,
|
| 1099 |
+
"grad_norm": 0.06611491739749908,
|
| 1100 |
+
"learning_rate": 1.4966248455157622e-05,
|
| 1101 |
+
"loss": 0.0143,
|
| 1102 |
+
"step": 1560
|
| 1103 |
+
},
|
| 1104 |
+
{
|
| 1105 |
+
"epoch": 0.808132801441256,
|
| 1106 |
+
"grad_norm": 0.07415001094341278,
|
| 1107 |
+
"learning_rate": 1.4888073882013616e-05,
|
| 1108 |
+
"loss": 0.0143,
|
| 1109 |
+
"step": 1570
|
| 1110 |
+
},
|
| 1111 |
+
{
|
| 1112 |
+
"epoch": 0.8132801441255951,
|
| 1113 |
+
"grad_norm": 0.06780339032411575,
|
| 1114 |
+
"learning_rate": 1.480950481221795e-05,
|
| 1115 |
+
"loss": 0.0145,
|
| 1116 |
+
"step": 1580
|
| 1117 |
+
},
|
| 1118 |
+
{
|
| 1119 |
+
"epoch": 0.8184274868099344,
|
| 1120 |
+
"grad_norm": 0.07141536474227905,
|
| 1121 |
+
"learning_rate": 1.4730547586762114e-05,
|
| 1122 |
+
"loss": 0.0139,
|
| 1123 |
+
"step": 1590
|
| 1124 |
+
},
|
| 1125 |
+
{
|
| 1126 |
+
"epoch": 0.8235748294942736,
|
| 1127 |
+
"grad_norm": 0.07404403388500214,
|
| 1128 |
+
"learning_rate": 1.4651208577964099e-05,
|
| 1129 |
+
"loss": 0.0149,
|
| 1130 |
+
"step": 1600
|
| 1131 |
+
},
|
| 1132 |
+
{
|
| 1133 |
+
"epoch": 0.8287221721786128,
|
| 1134 |
+
"grad_norm": 0.07202573120594025,
|
| 1135 |
+
"learning_rate": 1.4571494188954058e-05,
|
| 1136 |
+
"loss": 0.0149,
|
| 1137 |
+
"step": 1610
|
| 1138 |
+
},
|
| 1139 |
+
{
|
| 1140 |
+
"epoch": 0.833869514862952,
|
| 1141 |
+
"grad_norm": 0.055626142770051956,
|
| 1142 |
+
"learning_rate": 1.4491410853157577e-05,
|
| 1143 |
+
"loss": 0.014,
|
| 1144 |
+
"step": 1620
|
| 1145 |
+
},
|
| 1146 |
+
{
|
| 1147 |
+
"epoch": 0.8390168575472912,
|
| 1148 |
+
"grad_norm": 0.06371673196554184,
|
| 1149 |
+
"learning_rate": 1.4410965033776439e-05,
|
| 1150 |
+
"loss": 0.0146,
|
| 1151 |
+
"step": 1630
|
| 1152 |
+
},
|
| 1153 |
+
{
|
| 1154 |
+
"epoch": 0.8441642002316304,
|
| 1155 |
+
"grad_norm": 0.0604044534265995,
|
| 1156 |
+
"learning_rate": 1.4330163223267005e-05,
|
| 1157 |
+
"loss": 0.0147,
|
| 1158 |
+
"step": 1640
|
| 1159 |
+
},
|
| 1160 |
+
{
|
| 1161 |
+
"epoch": 0.8493115429159697,
|
| 1162 |
+
"grad_norm": 0.07098476588726044,
|
| 1163 |
+
"learning_rate": 1.4249011942816245e-05,
|
| 1164 |
+
"loss": 0.0148,
|
| 1165 |
+
"step": 1650
|
| 1166 |
+
},
|
| 1167 |
+
{
|
| 1168 |
+
"epoch": 0.8544588856003088,
|
| 1169 |
+
"grad_norm": 0.06837648898363113,
|
| 1170 |
+
"learning_rate": 1.416751774181543e-05,
|
| 1171 |
+
"loss": 0.0144,
|
| 1172 |
+
"step": 1660
|
| 1173 |
+
},
|
| 1174 |
+
{
|
| 1175 |
+
"epoch": 0.859606228284648,
|
| 1176 |
+
"grad_norm": 0.06875620782375336,
|
| 1177 |
+
"learning_rate": 1.4085687197331559e-05,
|
| 1178 |
+
"loss": 0.0143,
|
| 1179 |
+
"step": 1670
|
| 1180 |
+
},
|
| 1181 |
+
{
|
| 1182 |
+
"epoch": 0.8647535709689873,
|
| 1183 |
+
"grad_norm": 0.0676610991358757,
|
| 1184 |
+
"learning_rate": 1.4003526913576555e-05,
|
| 1185 |
+
"loss": 0.0152,
|
| 1186 |
+
"step": 1680
|
| 1187 |
+
},
|
| 1188 |
+
{
|
| 1189 |
+
"epoch": 0.8699009136533264,
|
| 1190 |
+
"grad_norm": 0.06219542399048805,
|
| 1191 |
+
"learning_rate": 1.392104352137426e-05,
|
| 1192 |
+
"loss": 0.0137,
|
| 1193 |
+
"step": 1690
|
| 1194 |
+
},
|
| 1195 |
+
{
|
| 1196 |
+
"epoch": 0.8750482563376657,
|
| 1197 |
+
"grad_norm": 0.06112512946128845,
|
| 1198 |
+
"learning_rate": 1.3838243677625292e-05,
|
| 1199 |
+
"loss": 0.0145,
|
| 1200 |
+
"step": 1700
|
| 1201 |
+
},
|
| 1202 |
+
{
|
| 1203 |
+
"epoch": 0.8801955990220048,
|
| 1204 |
+
"grad_norm": 0.07453671842813492,
|
| 1205 |
+
"learning_rate": 1.3755134064769788e-05,
|
| 1206 |
+
"loss": 0.0144,
|
| 1207 |
+
"step": 1710
|
| 1208 |
+
},
|
| 1209 |
+
{
|
| 1210 |
+
"epoch": 0.8853429417063441,
|
| 1211 |
+
"grad_norm": 0.07224484533071518,
|
| 1212 |
+
"learning_rate": 1.36717213902481e-05,
|
| 1213 |
+
"loss": 0.0138,
|
| 1214 |
+
"step": 1720
|
| 1215 |
+
},
|
| 1216 |
+
{
|
| 1217 |
+
"epoch": 0.8904902843906833,
|
| 1218 |
+
"grad_norm": 0.06484848260879517,
|
| 1219 |
+
"learning_rate": 1.3588012385959464e-05,
|
| 1220 |
+
"loss": 0.0148,
|
| 1221 |
+
"step": 1730
|
| 1222 |
+
},
|
| 1223 |
+
{
|
| 1224 |
+
"epoch": 0.8956376270750225,
|
| 1225 |
+
"grad_norm": 0.06340837478637695,
|
| 1226 |
+
"learning_rate": 1.350401380771868e-05,
|
| 1227 |
+
"loss": 0.014,
|
| 1228 |
+
"step": 1740
|
| 1229 |
+
},
|
| 1230 |
+
{
|
| 1231 |
+
"epoch": 0.9007849697593617,
|
| 1232 |
+
"grad_norm": 0.06442750245332718,
|
| 1233 |
+
"learning_rate": 1.3419732434710895e-05,
|
| 1234 |
+
"loss": 0.0134,
|
| 1235 |
+
"step": 1750
|
| 1236 |
+
},
|
| 1237 |
+
{
|
| 1238 |
+
"epoch": 0.905932312443701,
|
| 1239 |
+
"grad_norm": 0.06431768089532852,
|
| 1240 |
+
"learning_rate": 1.333517506894448e-05,
|
| 1241 |
+
"loss": 0.0144,
|
| 1242 |
+
"step": 1760
|
| 1243 |
+
},
|
| 1244 |
+
{
|
| 1245 |
+
"epoch": 0.9110796551280401,
|
| 1246 |
+
"grad_norm": 0.06857169419527054,
|
| 1247 |
+
"learning_rate": 1.3250348534702063e-05,
|
| 1248 |
+
"loss": 0.0141,
|
| 1249 |
+
"step": 1770
|
| 1250 |
+
},
|
| 1251 |
+
{
|
| 1252 |
+
"epoch": 0.9162269978123794,
|
| 1253 |
+
"grad_norm": 0.07051096856594086,
|
| 1254 |
+
"learning_rate": 1.316525967798976e-05,
|
| 1255 |
+
"loss": 0.0141,
|
| 1256 |
+
"step": 1780
|
| 1257 |
+
},
|
| 1258 |
+
{
|
| 1259 |
+
"epoch": 0.9213743404967185,
|
| 1260 |
+
"grad_norm": 0.07205208390951157,
|
| 1261 |
+
"learning_rate": 1.307991536598469e-05,
|
| 1262 |
+
"loss": 0.0146,
|
| 1263 |
+
"step": 1790
|
| 1264 |
+
},
|
| 1265 |
+
{
|
| 1266 |
+
"epoch": 0.9265216831810578,
|
| 1267 |
+
"grad_norm": 0.07224377989768982,
|
| 1268 |
+
"learning_rate": 1.2994322486480716e-05,
|
| 1269 |
+
"loss": 0.0137,
|
| 1270 |
+
"step": 1800
|
| 1271 |
+
},
|
| 1272 |
+
{
|
| 1273 |
+
"epoch": 0.931669025865397,
|
| 1274 |
+
"grad_norm": 0.0663972795009613,
|
| 1275 |
+
"learning_rate": 1.2908487947332588e-05,
|
| 1276 |
+
"loss": 0.0135,
|
| 1277 |
+
"step": 1810
|
| 1278 |
+
},
|
| 1279 |
+
{
|
| 1280 |
+
"epoch": 0.9368163685497362,
|
| 1281 |
+
"grad_norm": 0.06685107946395874,
|
| 1282 |
+
"learning_rate": 1.2822418675898428e-05,
|
| 1283 |
+
"loss": 0.0146,
|
| 1284 |
+
"step": 1820
|
| 1285 |
+
},
|
| 1286 |
+
{
|
| 1287 |
+
"epoch": 0.9419637112340754,
|
| 1288 |
+
"grad_norm": 0.07378830760717392,
|
| 1289 |
+
"learning_rate": 1.273612161848064e-05,
|
| 1290 |
+
"loss": 0.0137,
|
| 1291 |
+
"step": 1830
|
| 1292 |
+
},
|
| 1293 |
+
{
|
| 1294 |
+
"epoch": 0.9471110539184147,
|
| 1295 |
+
"grad_norm": 0.07926513254642487,
|
| 1296 |
+
"learning_rate": 1.2649603739765323e-05,
|
| 1297 |
+
"loss": 0.0134,
|
| 1298 |
+
"step": 1840
|
| 1299 |
+
},
|
| 1300 |
+
{
|
| 1301 |
+
"epoch": 0.9522583966027538,
|
| 1302 |
+
"grad_norm": 0.060047443956136703,
|
| 1303 |
+
"learning_rate": 1.2562872022260168e-05,
|
| 1304 |
+
"loss": 0.0142,
|
| 1305 |
+
"step": 1850
|
| 1306 |
+
},
|
| 1307 |
+
{
|
| 1308 |
+
"epoch": 0.957405739287093,
|
| 1309 |
+
"grad_norm": 0.07245929539203644,
|
| 1310 |
+
"learning_rate": 1.2475933465730923e-05,
|
| 1311 |
+
"loss": 0.0134,
|
| 1312 |
+
"step": 1860
|
| 1313 |
+
},
|
| 1314 |
+
{
|
| 1315 |
+
"epoch": 0.9625530819714323,
|
| 1316 |
+
"grad_norm": 0.06252739578485489,
|
| 1317 |
+
"learning_rate": 1.238879508663648e-05,
|
| 1318 |
+
"loss": 0.0136,
|
| 1319 |
+
"step": 1870
|
| 1320 |
+
},
|
| 1321 |
+
{
|
| 1322 |
+
"epoch": 0.9677004246557714,
|
| 1323 |
+
"grad_norm": 0.07423530519008636,
|
| 1324 |
+
"learning_rate": 1.2301463917562602e-05,
|
| 1325 |
+
"loss": 0.0138,
|
| 1326 |
+
"step": 1880
|
| 1327 |
+
},
|
| 1328 |
+
{
|
| 1329 |
+
"epoch": 0.9728477673401107,
|
| 1330 |
+
"grad_norm": 0.06203414499759674,
|
| 1331 |
+
"learning_rate": 1.2213947006654347e-05,
|
| 1332 |
+
"loss": 0.0136,
|
| 1333 |
+
"step": 1890
|
| 1334 |
+
},
|
| 1335 |
+
{
|
| 1336 |
+
"epoch": 0.9779951100244498,
|
| 1337 |
+
"grad_norm": 0.06526093184947968,
|
| 1338 |
+
"learning_rate": 1.212625141704725e-05,
|
| 1339 |
+
"loss": 0.0144,
|
| 1340 |
+
"step": 1900
|
| 1341 |
+
},
|
| 1342 |
+
{
|
| 1343 |
+
"epoch": 0.9831424527087891,
|
| 1344 |
+
"grad_norm": 0.05829852074384689,
|
| 1345 |
+
"learning_rate": 1.2038384226297272e-05,
|
| 1346 |
+
"loss": 0.0135,
|
| 1347 |
+
"step": 1910
|
| 1348 |
+
},
|
| 1349 |
+
{
|
| 1350 |
+
"epoch": 0.9882897953931283,
|
| 1351 |
+
"grad_norm": 0.0650823563337326,
|
| 1352 |
+
"learning_rate": 1.1950352525809619e-05,
|
| 1353 |
+
"loss": 0.0134,
|
| 1354 |
+
"step": 1920
|
| 1355 |
+
},
|
| 1356 |
+
{
|
| 1357 |
+
"epoch": 0.9934371380774675,
|
| 1358 |
+
"grad_norm": 0.07050953805446625,
|
| 1359 |
+
"learning_rate": 1.18621634202664e-05,
|
| 1360 |
+
"loss": 0.0136,
|
| 1361 |
+
"step": 1930
|
| 1362 |
+
},
|
| 1363 |
+
{
|
| 1364 |
+
"epoch": 0.9985844807618067,
|
| 1365 |
+
"grad_norm": 0.05969216674566269,
|
| 1366 |
+
"learning_rate": 1.1773824027053256e-05,
|
| 1367 |
+
"loss": 0.0135,
|
| 1368 |
+
"step": 1940
|
| 1369 |
+
},
|
| 1370 |
+
{
|
| 1371 |
+
"epoch": 1.0036031398790375,
|
| 1372 |
+
"grad_norm": 0.05986722931265831,
|
| 1373 |
+
"learning_rate": 1.1685341475684935e-05,
|
| 1374 |
+
"loss": 0.0123,
|
| 1375 |
+
"step": 1950
|
| 1376 |
+
},
|
| 1377 |
+
{
|
| 1378 |
+
"epoch": 1.0087504825633766,
|
| 1379 |
+
"grad_norm": 0.06715232133865356,
|
| 1380 |
+
"learning_rate": 1.15967229072299e-05,
|
| 1381 |
+
"loss": 0.0125,
|
| 1382 |
+
"step": 1960
|
| 1383 |
+
},
|
| 1384 |
+
{
|
| 1385 |
+
"epoch": 1.0138978252477158,
|
| 1386 |
+
"grad_norm": 0.05757083743810654,
|
| 1387 |
+
"learning_rate": 1.1507975473734002e-05,
|
| 1388 |
+
"loss": 0.0123,
|
| 1389 |
+
"step": 1970
|
| 1390 |
+
},
|
| 1391 |
+
{
|
| 1392 |
+
"epoch": 1.0190451679320551,
|
| 1393 |
+
"grad_norm": 0.06696327775716782,
|
| 1394 |
+
"learning_rate": 1.141910633764327e-05,
|
| 1395 |
+
"loss": 0.0122,
|
| 1396 |
+
"step": 1980
|
| 1397 |
+
},
|
| 1398 |
+
{
|
| 1399 |
+
"epoch": 1.0241925106163943,
|
| 1400 |
+
"grad_norm": 0.061676956713199615,
|
| 1401 |
+
"learning_rate": 1.1330122671225855e-05,
|
| 1402 |
+
"loss": 0.0125,
|
| 1403 |
+
"step": 1990
|
| 1404 |
+
},
|
| 1405 |
+
{
|
| 1406 |
+
"epoch": 1.0293398533007334,
|
| 1407 |
+
"grad_norm": 0.07469218969345093,
|
| 1408 |
+
"learning_rate": 1.1241031655993188e-05,
|
| 1409 |
+
"loss": 0.0127,
|
| 1410 |
+
"step": 2000
|
| 1411 |
+
},
|
| 1412 |
+
{
|
| 1413 |
+
"epoch": 1.0344871959850728,
|
| 1414 |
+
"grad_norm": 0.06639962643384933,
|
| 1415 |
+
"learning_rate": 1.1151840482120386e-05,
|
| 1416 |
+
"loss": 0.0126,
|
| 1417 |
+
"step": 2010
|
| 1418 |
+
},
|
| 1419 |
+
{
|
| 1420 |
+
"epoch": 1.039634538669412,
|
| 1421 |
+
"grad_norm": 0.07054606825113297,
|
| 1422 |
+
"learning_rate": 1.1062556347865967e-05,
|
| 1423 |
+
"loss": 0.0127,
|
| 1424 |
+
"step": 2020
|
| 1425 |
+
},
|
| 1426 |
+
{
|
| 1427 |
+
"epoch": 1.044781881353751,
|
| 1428 |
+
"grad_norm": 0.06040499359369278,
|
| 1429 |
+
"learning_rate": 1.0973186458990902e-05,
|
| 1430 |
+
"loss": 0.0119,
|
| 1431 |
+
"step": 2030
|
| 1432 |
+
},
|
| 1433 |
+
{
|
| 1434 |
+
"epoch": 1.0499292240380904,
|
| 1435 |
+
"grad_norm": 0.0656294897198677,
|
| 1436 |
+
"learning_rate": 1.0883738028177069e-05,
|
| 1437 |
+
"loss": 0.0126,
|
| 1438 |
+
"step": 2040
|
| 1439 |
+
},
|
| 1440 |
+
{
|
| 1441 |
+
"epoch": 1.0550765667224296,
|
| 1442 |
+
"grad_norm": 0.06062242388725281,
|
| 1443 |
+
"learning_rate": 1.0794218274445155e-05,
|
| 1444 |
+
"loss": 0.0128,
|
| 1445 |
+
"step": 2050
|
| 1446 |
+
},
|
| 1447 |
+
{
|
| 1448 |
+
"epoch": 1.0602239094067687,
|
| 1449 |
+
"grad_norm": 0.06211702898144722,
|
| 1450 |
+
"learning_rate": 1.0704634422572029e-05,
|
| 1451 |
+
"loss": 0.0127,
|
| 1452 |
+
"step": 2060
|
| 1453 |
+
},
|
| 1454 |
+
{
|
| 1455 |
+
"epoch": 1.065371252091108,
|
| 1456 |
+
"grad_norm": 0.05939929559826851,
|
| 1457 |
+
"learning_rate": 1.0614993702507649e-05,
|
| 1458 |
+
"loss": 0.0129,
|
| 1459 |
+
"step": 2070
|
| 1460 |
+
},
|
| 1461 |
+
{
|
| 1462 |
+
"epoch": 1.0705185947754472,
|
| 1463 |
+
"grad_norm": 0.06660640239715576,
|
| 1464 |
+
"learning_rate": 1.0525303348791599e-05,
|
| 1465 |
+
"loss": 0.012,
|
| 1466 |
+
"step": 2080
|
| 1467 |
+
},
|
| 1468 |
+
{
|
| 1469 |
+
"epoch": 1.0756659374597863,
|
| 1470 |
+
"grad_norm": 0.061506547033786774,
|
| 1471 |
+
"learning_rate": 1.0435570599969168e-05,
|
| 1472 |
+
"loss": 0.0126,
|
| 1473 |
+
"step": 2090
|
| 1474 |
+
},
|
| 1475 |
+
{
|
| 1476 |
+
"epoch": 1.0808132801441257,
|
| 1477 |
+
"grad_norm": 0.05894378572702408,
|
| 1478 |
+
"learning_rate": 1.0345802698007198e-05,
|
| 1479 |
+
"loss": 0.0127,
|
| 1480 |
+
"step": 2100
|
| 1481 |
+
},
|
| 1482 |
+
{
|
| 1483 |
+
"epoch": 1.0859606228284648,
|
| 1484 |
+
"grad_norm": 0.06136978417634964,
|
| 1485 |
+
"learning_rate": 1.0256006887709593e-05,
|
| 1486 |
+
"loss": 0.0115,
|
| 1487 |
+
"step": 2110
|
| 1488 |
+
},
|
| 1489 |
+
{
|
| 1490 |
+
"epoch": 1.091107965512804,
|
| 1491 |
+
"grad_norm": 0.0651112049818039,
|
| 1492 |
+
"learning_rate": 1.016619041613263e-05,
|
| 1493 |
+
"loss": 0.0125,
|
| 1494 |
+
"step": 2120
|
| 1495 |
+
},
|
| 1496 |
+
{
|
| 1497 |
+
"epoch": 1.0962553081971431,
|
| 1498 |
+
"grad_norm": 0.06708134710788727,
|
| 1499 |
+
"learning_rate": 1.0076360532000069e-05,
|
| 1500 |
+
"loss": 0.0126,
|
| 1501 |
+
"step": 2130
|
| 1502 |
+
},
|
| 1503 |
+
{
|
| 1504 |
+
"epoch": 1.1014026508814825,
|
| 1505 |
+
"grad_norm": 0.0627651959657669,
|
| 1506 |
+
"learning_rate": 9.986524485118152e-06,
|
| 1507 |
+
"loss": 0.0119,
|
| 1508 |
+
"step": 2140
|
| 1509 |
+
},
|
| 1510 |
+
{
|
| 1511 |
+
"epoch": 1.1065499935658216,
|
| 1512 |
+
"grad_norm": 0.060133691877126694,
|
| 1513 |
+
"learning_rate": 9.896689525790474e-06,
|
| 1514 |
+
"loss": 0.013,
|
| 1515 |
+
"step": 2150
|
| 1516 |
+
},
|
| 1517 |
+
{
|
| 1518 |
+
"epoch": 1.1116973362501608,
|
| 1519 |
+
"grad_norm": 0.05978613346815109,
|
| 1520 |
+
"learning_rate": 9.80686290423288e-06,
|
| 1521 |
+
"loss": 0.0118,
|
| 1522 |
+
"step": 2160
|
| 1523 |
+
},
|
| 1524 |
+
{
|
| 1525 |
+
"epoch": 1.1168446789345001,
|
| 1526 |
+
"grad_norm": 0.0568259134888649,
|
| 1527 |
+
"learning_rate": 9.717051869988287e-06,
|
| 1528 |
+
"loss": 0.0122,
|
| 1529 |
+
"step": 2170
|
| 1530 |
+
},
|
| 1531 |
+
{
|
| 1532 |
+
"epoch": 1.1219920216188393,
|
| 1533 |
+
"grad_norm": 0.07073856145143509,
|
| 1534 |
+
"learning_rate": 9.627263671341638e-06,
|
| 1535 |
+
"loss": 0.012,
|
| 1536 |
+
"step": 2180
|
| 1537 |
+
},
|
| 1538 |
+
{
|
| 1539 |
+
"epoch": 1.1271393643031784,
|
| 1540 |
+
"grad_norm": 0.0650116428732872,
|
| 1541 |
+
"learning_rate": 9.537505554734901e-06,
|
| 1542 |
+
"loss": 0.0126,
|
| 1543 |
+
"step": 2190
|
| 1544 |
+
},
|
| 1545 |
+
{
|
| 1546 |
+
"epoch": 1.1322867069875178,
|
| 1547 |
+
"grad_norm": 0.06662643700838089,
|
| 1548 |
+
"learning_rate": 9.447784764182247e-06,
|
| 1549 |
+
"loss": 0.0121,
|
| 1550 |
+
"step": 2200
|
| 1551 |
+
},
|
| 1552 |
+
{
|
| 1553 |
+
"epoch": 1.137434049671857,
|
| 1554 |
+
"grad_norm": 0.06186177209019661,
|
| 1555 |
+
"learning_rate": 9.358108540685406e-06,
|
| 1556 |
+
"loss": 0.0116,
|
| 1557 |
+
"step": 2210
|
| 1558 |
+
},
|
| 1559 |
+
{
|
| 1560 |
+
"epoch": 1.142581392356196,
|
| 1561 |
+
"grad_norm": 0.06745568662881851,
|
| 1562 |
+
"learning_rate": 9.268484121649289e-06,
|
| 1563 |
+
"loss": 0.0126,
|
| 1564 |
+
"step": 2220
|
| 1565 |
+
},
|
| 1566 |
+
{
|
| 1567 |
+
"epoch": 1.1477287350405354,
|
| 1568 |
+
"grad_norm": 0.0625823512673378,
|
| 1569 |
+
"learning_rate": 9.178918740297877e-06,
|
| 1570 |
+
"loss": 0.0135,
|
| 1571 |
+
"step": 2230
|
| 1572 |
+
},
|
| 1573 |
+
{
|
| 1574 |
+
"epoch": 1.1528760777248745,
|
| 1575 |
+
"grad_norm": 0.05811070650815964,
|
| 1576 |
+
"learning_rate": 9.08941962509045e-06,
|
| 1577 |
+
"loss": 0.0122,
|
| 1578 |
+
"step": 2240
|
| 1579 |
+
},
|
| 1580 |
+
{
|
| 1581 |
+
"epoch": 1.1580234204092137,
|
| 1582 |
+
"grad_norm": 0.06800320744514465,
|
| 1583 |
+
"learning_rate": 8.999993999138227e-06,
|
| 1584 |
+
"loss": 0.0128,
|
| 1585 |
+
"step": 2250
|
| 1586 |
+
},
|
| 1587 |
+
{
|
| 1588 |
+
"epoch": 1.1631707630935528,
|
| 1589 |
+
"grad_norm": 0.061803579330444336,
|
| 1590 |
+
"learning_rate": 8.91064907962141e-06,
|
| 1591 |
+
"loss": 0.0116,
|
| 1592 |
+
"step": 2260
|
| 1593 |
+
},
|
| 1594 |
+
{
|
| 1595 |
+
"epoch": 1.1683181057778922,
|
| 1596 |
+
"grad_norm": 0.056932009756565094,
|
| 1597 |
+
"learning_rate": 8.821392077206695e-06,
|
| 1598 |
+
"loss": 0.0123,
|
| 1599 |
+
"step": 2270
|
| 1600 |
+
},
|
| 1601 |
+
{
|
| 1602 |
+
"epoch": 1.1734654484622313,
|
| 1603 |
+
"grad_norm": 0.0628976821899414,
|
| 1604 |
+
"learning_rate": 8.732230195465353e-06,
|
| 1605 |
+
"loss": 0.0119,
|
| 1606 |
+
"step": 2280
|
| 1607 |
+
},
|
| 1608 |
+
{
|
| 1609 |
+
"epoch": 1.1786127911465707,
|
| 1610 |
+
"grad_norm": 0.0606074184179306,
|
| 1611 |
+
"learning_rate": 8.64317063029186e-06,
|
| 1612 |
+
"loss": 0.0121,
|
| 1613 |
+
"step": 2290
|
| 1614 |
+
},
|
| 1615 |
+
{
|
| 1616 |
+
"epoch": 1.1837601338309098,
|
| 1617 |
+
"grad_norm": 0.06012739986181259,
|
| 1618 |
+
"learning_rate": 8.554220569323117e-06,
|
| 1619 |
+
"loss": 0.0123,
|
| 1620 |
+
"step": 2300
|
| 1621 |
+
},
|
| 1622 |
+
{
|
| 1623 |
+
"epoch": 1.188907476515249,
|
| 1624 |
+
"grad_norm": 0.060469817370176315,
|
| 1625 |
+
"learning_rate": 8.465387191358398e-06,
|
| 1626 |
+
"loss": 0.0121,
|
| 1627 |
+
"step": 2310
|
| 1628 |
+
},
|
| 1629 |
+
{
|
| 1630 |
+
"epoch": 1.1940548191995881,
|
| 1631 |
+
"grad_norm": 0.06011821702122688,
|
| 1632 |
+
"learning_rate": 8.376677665779968e-06,
|
| 1633 |
+
"loss": 0.0119,
|
| 1634 |
+
"step": 2320
|
| 1635 |
+
},
|
| 1636 |
+
{
|
| 1637 |
+
"epoch": 1.1992021618839275,
|
| 1638 |
+
"grad_norm": 0.0587395578622818,
|
| 1639 |
+
"learning_rate": 8.288099151974446e-06,
|
| 1640 |
+
"loss": 0.0121,
|
| 1641 |
+
"step": 2330
|
| 1642 |
+
},
|
| 1643 |
+
{
|
| 1644 |
+
"epoch": 1.2043495045682666,
|
| 1645 |
+
"grad_norm": 0.06356833130121231,
|
| 1646 |
+
"learning_rate": 8.199658798755048e-06,
|
| 1647 |
+
"loss": 0.0123,
|
| 1648 |
+
"step": 2340
|
| 1649 |
+
},
|
| 1650 |
+
{
|
| 1651 |
+
"epoch": 1.2094968472526058,
|
| 1652 |
+
"grad_norm": 0.05952199548482895,
|
| 1653 |
+
"learning_rate": 8.111363743784587e-06,
|
| 1654 |
+
"loss": 0.0123,
|
| 1655 |
+
"step": 2350
|
| 1656 |
+
},
|
| 1657 |
+
{
|
| 1658 |
+
"epoch": 1.2146441899369451,
|
| 1659 |
+
"grad_norm": 0.0687473863363266,
|
| 1660 |
+
"learning_rate": 8.023221112999459e-06,
|
| 1661 |
+
"loss": 0.0117,
|
| 1662 |
+
"step": 2360
|
| 1663 |
+
},
|
| 1664 |
+
{
|
| 1665 |
+
"epoch": 1.2197915326212843,
|
| 1666 |
+
"grad_norm": 0.05651247128844261,
|
| 1667 |
+
"learning_rate": 7.935238020034505e-06,
|
| 1668 |
+
"loss": 0.0107,
|
| 1669 |
+
"step": 2370
|
| 1670 |
+
},
|
| 1671 |
+
{
|
| 1672 |
+
"epoch": 1.2249388753056234,
|
| 1673 |
+
"grad_norm": 0.05863620713353157,
|
| 1674 |
+
"learning_rate": 7.847421565648929e-06,
|
| 1675 |
+
"loss": 0.0119,
|
| 1676 |
+
"step": 2380
|
| 1677 |
+
},
|
| 1678 |
+
{
|
| 1679 |
+
"epoch": 1.2300862179899628,
|
| 1680 |
+
"grad_norm": 0.06163261458277702,
|
| 1681 |
+
"learning_rate": 7.759778837153205e-06,
|
| 1682 |
+
"loss": 0.0125,
|
| 1683 |
+
"step": 2390
|
| 1684 |
+
},
|
| 1685 |
+
{
|
| 1686 |
+
"epoch": 1.235233560674302,
|
| 1687 |
+
"grad_norm": 0.061220042407512665,
|
| 1688 |
+
"learning_rate": 7.672316907837084e-06,
|
| 1689 |
+
"loss": 0.0118,
|
| 1690 |
+
"step": 2400
|
| 1691 |
+
},
|
| 1692 |
+
{
|
| 1693 |
+
"epoch": 1.240380903358641,
|
| 1694 |
+
"grad_norm": 0.06481561809778214,
|
| 1695 |
+
"learning_rate": 7.585042836398763e-06,
|
| 1696 |
+
"loss": 0.0118,
|
| 1697 |
+
"step": 2410
|
| 1698 |
+
},
|
| 1699 |
+
{
|
| 1700 |
+
"epoch": 1.2455282460429804,
|
| 1701 |
+
"grad_norm": 0.06460854411125183,
|
| 1702 |
+
"learning_rate": 7.497963666375185e-06,
|
| 1703 |
+
"loss": 0.0124,
|
| 1704 |
+
"step": 2420
|
| 1705 |
+
},
|
| 1706 |
+
{
|
| 1707 |
+
"epoch": 1.2506755887273195,
|
| 1708 |
+
"grad_norm": 0.0643194317817688,
|
| 1709 |
+
"learning_rate": 7.411086425573584e-06,
|
| 1710 |
+
"loss": 0.0119,
|
| 1711 |
+
"step": 2430
|
| 1712 |
+
},
|
| 1713 |
+
{
|
| 1714 |
+
"epoch": 1.2558229314116587,
|
| 1715 |
+
"grad_norm": 0.0629289299249649,
|
| 1716 |
+
"learning_rate": 7.324418125504305e-06,
|
| 1717 |
+
"loss": 0.0123,
|
| 1718 |
+
"step": 2440
|
| 1719 |
+
},
|
| 1720 |
+
{
|
| 1721 |
+
"epoch": 1.2609702740959978,
|
| 1722 |
+
"grad_norm": 0.06404928117990494,
|
| 1723 |
+
"learning_rate": 7.23796576081494e-06,
|
| 1724 |
+
"loss": 0.0122,
|
| 1725 |
+
"step": 2450
|
| 1726 |
+
},
|
| 1727 |
+
{
|
| 1728 |
+
"epoch": 1.2661176167803372,
|
| 1729 |
+
"grad_norm": 0.06378574669361115,
|
| 1730 |
+
"learning_rate": 7.151736308725802e-06,
|
| 1731 |
+
"loss": 0.0114,
|
| 1732 |
+
"step": 2460
|
| 1733 |
+
},
|
| 1734 |
+
{
|
| 1735 |
+
"epoch": 1.2712649594646763,
|
| 1736 |
+
"grad_norm": 0.06403859704732895,
|
| 1737 |
+
"learning_rate": 7.065736728466832e-06,
|
| 1738 |
+
"loss": 0.0117,
|
| 1739 |
+
"step": 2470
|
| 1740 |
+
},
|
| 1741 |
+
{
|
| 1742 |
+
"epoch": 1.2764123021490157,
|
| 1743 |
+
"grad_norm": 0.06829800456762314,
|
| 1744 |
+
"learning_rate": 6.979973960715958e-06,
|
| 1745 |
+
"loss": 0.0124,
|
| 1746 |
+
"step": 2480
|
| 1747 |
+
},
|
| 1748 |
+
{
|
| 1749 |
+
"epoch": 1.2815596448333548,
|
| 1750 |
+
"grad_norm": 0.059846751391887665,
|
| 1751 |
+
"learning_rate": 6.894454927038907e-06,
|
| 1752 |
+
"loss": 0.0113,
|
| 1753 |
+
"step": 2490
|
| 1754 |
+
},
|
| 1755 |
+
{
|
| 1756 |
+
"epoch": 1.286706987517694,
|
| 1757 |
+
"grad_norm": 0.054608747363090515,
|
| 1758 |
+
"learning_rate": 6.809186529330639e-06,
|
| 1759 |
+
"loss": 0.012,
|
| 1760 |
+
"step": 2500
|
| 1761 |
+
},
|
| 1762 |
+
{
|
| 1763 |
+
"epoch": 1.291854330202033,
|
| 1764 |
+
"grad_norm": 0.06600859761238098,
|
| 1765 |
+
"learning_rate": 6.724175649258287e-06,
|
| 1766 |
+
"loss": 0.0126,
|
| 1767 |
+
"step": 2510
|
| 1768 |
+
},
|
| 1769 |
+
{
|
| 1770 |
+
"epoch": 1.2970016728863725,
|
| 1771 |
+
"grad_norm": 0.05849931016564369,
|
| 1772 |
+
"learning_rate": 6.6394291477057736e-06,
|
| 1773 |
+
"loss": 0.0116,
|
| 1774 |
+
"step": 2520
|
| 1775 |
+
},
|
| 1776 |
+
{
|
| 1777 |
+
"epoch": 1.3021490155707116,
|
| 1778 |
+
"grad_norm": 0.06548711657524109,
|
| 1779 |
+
"learning_rate": 6.554953864220115e-06,
|
| 1780 |
+
"loss": 0.0121,
|
| 1781 |
+
"step": 2530
|
| 1782 |
+
},
|
| 1783 |
+
{
|
| 1784 |
+
"epoch": 1.3072963582550507,
|
| 1785 |
+
"grad_norm": 0.05490358918905258,
|
| 1786 |
+
"learning_rate": 6.4707566164594105e-06,
|
| 1787 |
+
"loss": 0.0116,
|
| 1788 |
+
"step": 2540
|
| 1789 |
+
},
|
| 1790 |
+
{
|
| 1791 |
+
"epoch": 1.3124437009393901,
|
| 1792 |
+
"grad_norm": 0.05758791044354439,
|
| 1793 |
+
"learning_rate": 6.386844199642619e-06,
|
| 1794 |
+
"loss": 0.0117,
|
| 1795 |
+
"step": 2550
|
| 1796 |
+
},
|
| 1797 |
+
{
|
| 1798 |
+
"epoch": 1.3175910436237293,
|
| 1799 |
+
"grad_norm": 0.0644078403711319,
|
| 1800 |
+
"learning_rate": 6.30322338600114e-06,
|
| 1801 |
+
"loss": 0.0124,
|
| 1802 |
+
"step": 2560
|
| 1803 |
+
},
|
| 1804 |
+
{
|
| 1805 |
+
"epoch": 1.3227383863080684,
|
| 1806 |
+
"grad_norm": 0.05672595277428627,
|
| 1807 |
+
"learning_rate": 6.219900924232279e-06,
|
| 1808 |
+
"loss": 0.011,
|
| 1809 |
+
"step": 2570
|
| 1810 |
+
},
|
| 1811 |
+
{
|
| 1812 |
+
"epoch": 1.3278857289924075,
|
| 1813 |
+
"grad_norm": 0.058410342782735825,
|
| 1814 |
+
"learning_rate": 6.136883538954561e-06,
|
| 1815 |
+
"loss": 0.012,
|
| 1816 |
+
"step": 2580
|
| 1817 |
+
},
|
| 1818 |
+
{
|
| 1819 |
+
"epoch": 1.333033071676747,
|
| 1820 |
+
"grad_norm": 0.05841913819313049,
|
| 1821 |
+
"learning_rate": 6.054177930165017e-06,
|
| 1822 |
+
"loss": 0.0111,
|
| 1823 |
+
"step": 2590
|
| 1824 |
+
},
|
| 1825 |
+
{
|
| 1826 |
+
"epoch": 1.338180414361086,
|
| 1827 |
+
"grad_norm": 0.06315062940120697,
|
| 1828 |
+
"learning_rate": 5.971790772698467e-06,
|
| 1829 |
+
"loss": 0.0114,
|
| 1830 |
+
"step": 2600
|
| 1831 |
+
},
|
| 1832 |
+
{
|
| 1833 |
+
"epoch": 1.3433277570454254,
|
| 1834 |
+
"grad_norm": 0.059485290199518204,
|
| 1835 |
+
"learning_rate": 5.889728715688814e-06,
|
| 1836 |
+
"loss": 0.0116,
|
| 1837 |
+
"step": 2610
|
| 1838 |
+
},
|
| 1839 |
+
{
|
| 1840 |
+
"epoch": 1.3484750997297645,
|
| 1841 |
+
"grad_norm": 0.06330478936433792,
|
| 1842 |
+
"learning_rate": 5.807998382032414e-06,
|
| 1843 |
+
"loss": 0.0117,
|
| 1844 |
+
"step": 2620
|
| 1845 |
+
},
|
| 1846 |
+
{
|
| 1847 |
+
"epoch": 1.3536224424141037,
|
| 1848 |
+
"grad_norm": 0.05869928374886513,
|
| 1849 |
+
"learning_rate": 5.726606367853581e-06,
|
| 1850 |
+
"loss": 0.0119,
|
| 1851 |
+
"step": 2630
|
| 1852 |
+
},
|
| 1853 |
+
{
|
| 1854 |
+
"epoch": 1.3587697850984428,
|
| 1855 |
+
"grad_norm": 0.07355443388223648,
|
| 1856 |
+
"learning_rate": 5.645559241972231e-06,
|
| 1857 |
+
"loss": 0.0123,
|
| 1858 |
+
"step": 2640
|
| 1859 |
+
},
|
| 1860 |
+
{
|
| 1861 |
+
"epoch": 1.3639171277827822,
|
| 1862 |
+
"grad_norm": 0.05870656296610832,
|
| 1863 |
+
"learning_rate": 5.56486354537374e-06,
|
| 1864 |
+
"loss": 0.0117,
|
| 1865 |
+
"step": 2650
|
| 1866 |
+
},
|
| 1867 |
+
{
|
| 1868 |
+
"epoch": 1.3690644704671213,
|
| 1869 |
+
"grad_norm": 0.059707384556531906,
|
| 1870 |
+
"learning_rate": 5.484525790681052e-06,
|
| 1871 |
+
"loss": 0.0117,
|
| 1872 |
+
"step": 2660
|
| 1873 |
+
},
|
| 1874 |
+
{
|
| 1875 |
+
"epoch": 1.3742118131514607,
|
| 1876 |
+
"grad_norm": 0.0809202715754509,
|
| 1877 |
+
"learning_rate": 5.404552461629069e-06,
|
| 1878 |
+
"loss": 0.0114,
|
| 1879 |
+
"step": 2670
|
| 1880 |
+
},
|
| 1881 |
+
{
|
| 1882 |
+
"epoch": 1.3793591558357998,
|
| 1883 |
+
"grad_norm": 0.05704690143465996,
|
| 1884 |
+
"learning_rate": 5.324950012541372e-06,
|
| 1885 |
+
"loss": 0.0118,
|
| 1886 |
+
"step": 2680
|
| 1887 |
+
},
|
| 1888 |
+
{
|
| 1889 |
+
"epoch": 1.384506498520139,
|
| 1890 |
+
"grad_norm": 0.06190679967403412,
|
| 1891 |
+
"learning_rate": 5.245724867809326e-06,
|
| 1892 |
+
"loss": 0.0116,
|
| 1893 |
+
"step": 2690
|
| 1894 |
+
},
|
| 1895 |
+
{
|
| 1896 |
+
"epoch": 1.389653841204478,
|
| 1897 |
+
"grad_norm": 0.055938467383384705,
|
| 1898 |
+
"learning_rate": 5.166883421373583e-06,
|
| 1899 |
+
"loss": 0.0116,
|
| 1900 |
+
"step": 2700
|
| 1901 |
+
},
|
| 1902 |
+
{
|
| 1903 |
+
"epoch": 1.3948011838888175,
|
| 1904 |
+
"grad_norm": 0.05830509215593338,
|
| 1905 |
+
"learning_rate": 5.088432036208075e-06,
|
| 1906 |
+
"loss": 0.0112,
|
| 1907 |
+
"step": 2710
|
| 1908 |
+
},
|
| 1909 |
+
{
|
| 1910 |
+
"epoch": 1.3999485265731566,
|
| 1911 |
+
"grad_norm": 0.05540473014116287,
|
| 1912 |
+
"learning_rate": 5.010377043806443e-06,
|
| 1913 |
+
"loss": 0.0102,
|
| 1914 |
+
"step": 2720
|
| 1915 |
+
},
|
| 1916 |
+
{
|
| 1917 |
+
"epoch": 1.4050958692574957,
|
| 1918 |
+
"grad_norm": 0.05529293790459633,
|
| 1919 |
+
"learning_rate": 4.932724743671089e-06,
|
| 1920 |
+
"loss": 0.0113,
|
| 1921 |
+
"step": 2730
|
| 1922 |
+
},
|
| 1923 |
+
{
|
| 1924 |
+
"epoch": 1.410243211941835,
|
| 1925 |
+
"grad_norm": 0.062383200973272324,
|
| 1926 |
+
"learning_rate": 4.8554814028047605e-06,
|
| 1927 |
+
"loss": 0.0114,
|
| 1928 |
+
"step": 2740
|
| 1929 |
+
},
|
| 1930 |
+
{
|
| 1931 |
+
"epoch": 1.4153905546261742,
|
| 1932 |
+
"grad_norm": 0.05733776092529297,
|
| 1933 |
+
"learning_rate": 4.778653255204733e-06,
|
| 1934 |
+
"loss": 0.012,
|
| 1935 |
+
"step": 2750
|
| 1936 |
+
},
|
| 1937 |
+
{
|
| 1938 |
+
"epoch": 1.4205378973105134,
|
| 1939 |
+
"grad_norm": 0.05461714044213295,
|
| 1940 |
+
"learning_rate": 4.702246501359739e-06,
|
| 1941 |
+
"loss": 0.0108,
|
| 1942 |
+
"step": 2760
|
| 1943 |
+
},
|
| 1944 |
+
{
|
| 1945 |
+
"epoch": 1.4256852399948525,
|
| 1946 |
+
"grad_norm": 0.05713033676147461,
|
| 1947 |
+
"learning_rate": 4.626267307749519e-06,
|
| 1948 |
+
"loss": 0.0113,
|
| 1949 |
+
"step": 2770
|
| 1950 |
+
},
|
| 1951 |
+
{
|
| 1952 |
+
"epoch": 1.4308325826791919,
|
| 1953 |
+
"grad_norm": 0.066215381026268,
|
| 1954 |
+
"learning_rate": 4.550721806347146e-06,
|
| 1955 |
+
"loss": 0.0117,
|
| 1956 |
+
"step": 2780
|
| 1957 |
+
},
|
| 1958 |
+
{
|
| 1959 |
+
"epoch": 1.435979925363531,
|
| 1960 |
+
"grad_norm": 0.05536945164203644,
|
| 1961 |
+
"learning_rate": 4.475616094124171e-06,
|
| 1962 |
+
"loss": 0.0114,
|
| 1963 |
+
"step": 2790
|
| 1964 |
+
},
|
| 1965 |
+
{
|
| 1966 |
+
"epoch": 1.4411272680478704,
|
| 1967 |
+
"grad_norm": 0.05297793820500374,
|
| 1968 |
+
"learning_rate": 4.40095623255853e-06,
|
| 1969 |
+
"loss": 0.0111,
|
| 1970 |
+
"step": 2800
|
| 1971 |
+
},
|
| 1972 |
+
{
|
| 1973 |
+
"epoch": 1.4462746107322095,
|
| 1974 |
+
"grad_norm": 0.05898694694042206,
|
| 1975 |
+
"learning_rate": 4.3267482471453574e-06,
|
| 1976 |
+
"loss": 0.0107,
|
| 1977 |
+
"step": 2810
|
| 1978 |
+
},
|
| 1979 |
+
{
|
| 1980 |
+
"epoch": 1.4514219534165487,
|
| 1981 |
+
"grad_norm": 0.05825399234890938,
|
| 1982 |
+
"learning_rate": 4.252998126910696e-06,
|
| 1983 |
+
"loss": 0.01,
|
| 1984 |
+
"step": 2820
|
| 1985 |
+
},
|
| 1986 |
+
{
|
| 1987 |
+
"epoch": 1.4565692961008878,
|
| 1988 |
+
"grad_norm": 0.05541868135333061,
|
| 1989 |
+
"learning_rate": 4.179711823928141e-06,
|
| 1990 |
+
"loss": 0.0104,
|
| 1991 |
+
"step": 2830
|
| 1992 |
+
},
|
| 1993 |
+
{
|
| 1994 |
+
"epoch": 1.4617166387852272,
|
| 1995 |
+
"grad_norm": 0.061555661261081696,
|
| 1996 |
+
"learning_rate": 4.106895252838478e-06,
|
| 1997 |
+
"loss": 0.0108,
|
| 1998 |
+
"step": 2840
|
| 1999 |
+
},
|
| 2000 |
+
{
|
| 2001 |
+
"epoch": 1.4668639814695663,
|
| 2002 |
+
"grad_norm": 0.05560790374875069,
|
| 2003 |
+
"learning_rate": 4.034554290372332e-06,
|
| 2004 |
+
"loss": 0.0113,
|
| 2005 |
+
"step": 2850
|
| 2006 |
+
},
|
| 2007 |
+
{
|
| 2008 |
+
"epoch": 1.4720113241539057,
|
| 2009 |
+
"grad_norm": 0.06007440760731697,
|
| 2010 |
+
"learning_rate": 3.96269477487588e-06,
|
| 2011 |
+
"loss": 0.0106,
|
| 2012 |
+
"step": 2860
|
| 2013 |
+
},
|
| 2014 |
+
{
|
| 2015 |
+
"epoch": 1.4771586668382448,
|
| 2016 |
+
"grad_norm": 0.0683414563536644,
|
| 2017 |
+
"learning_rate": 3.891322505839672e-06,
|
| 2018 |
+
"loss": 0.0112,
|
| 2019 |
+
"step": 2870
|
| 2020 |
+
},
|
| 2021 |
+
{
|
| 2022 |
+
"epoch": 1.482306009522584,
|
| 2023 |
+
"grad_norm": 0.06036698445677757,
|
| 2024 |
+
"learning_rate": 3.820443243430555e-06,
|
| 2025 |
+
"loss": 0.0113,
|
| 2026 |
+
"step": 2880
|
| 2027 |
+
},
|
| 2028 |
+
{
|
| 2029 |
+
"epoch": 1.487453352206923,
|
| 2030 |
+
"grad_norm": 0.060313206166028976,
|
| 2031 |
+
"learning_rate": 3.750062708026814e-06,
|
| 2032 |
+
"loss": 0.0113,
|
| 2033 |
+
"step": 2890
|
| 2034 |
+
},
|
| 2035 |
+
{
|
| 2036 |
+
"epoch": 1.4926006948912625,
|
| 2037 |
+
"grad_norm": 0.056533217430114746,
|
| 2038 |
+
"learning_rate": 3.680186579756507e-06,
|
| 2039 |
+
"loss": 0.0106,
|
| 2040 |
+
"step": 2900
|
| 2041 |
+
},
|
| 2042 |
+
{
|
| 2043 |
+
"epoch": 1.4977480375756016,
|
| 2044 |
+
"grad_norm": 0.054458554834127426,
|
| 2045 |
+
"learning_rate": 3.6108204980390116e-06,
|
| 2046 |
+
"loss": 0.0102,
|
| 2047 |
+
"step": 2910
|
| 2048 |
+
},
|
| 2049 |
+
{
|
| 2050 |
+
"epoch": 1.502895380259941,
|
| 2051 |
+
"grad_norm": 0.058249276131391525,
|
| 2052 |
+
"learning_rate": 3.5419700611299356e-06,
|
| 2053 |
+
"loss": 0.0108,
|
| 2054 |
+
"step": 2920
|
| 2055 |
+
},
|
| 2056 |
+
{
|
| 2057 |
+
"epoch": 1.50804272294428,
|
| 2058 |
+
"grad_norm": 0.06064664199948311,
|
| 2059 |
+
"learning_rate": 3.4736408256692757e-06,
|
| 2060 |
+
"loss": 0.0105,
|
| 2061 |
+
"step": 2930
|
| 2062 |
+
},
|
| 2063 |
+
{
|
| 2064 |
+
"epoch": 1.5131900656286192,
|
| 2065 |
+
"grad_norm": 0.06132345646619797,
|
| 2066 |
+
"learning_rate": 3.4058383062329534e-06,
|
| 2067 |
+
"loss": 0.0107,
|
| 2068 |
+
"step": 2940
|
| 2069 |
+
},
|
| 2070 |
+
{
|
| 2071 |
+
"epoch": 1.5183374083129584,
|
| 2072 |
+
"grad_norm": 0.06465797871351242,
|
| 2073 |
+
"learning_rate": 3.3385679748877996e-06,
|
| 2074 |
+
"loss": 0.0106,
|
| 2075 |
+
"step": 2950
|
| 2076 |
+
},
|
| 2077 |
+
{
|
| 2078 |
+
"epoch": 1.5234847509972975,
|
| 2079 |
+
"grad_norm": 0.05858945474028587,
|
| 2080 |
+
"learning_rate": 3.2718352607498814e-06,
|
| 2081 |
+
"loss": 0.0101,
|
| 2082 |
+
"step": 2960
|
| 2083 |
+
},
|
| 2084 |
+
{
|
| 2085 |
+
"epoch": 1.5286320936816369,
|
| 2086 |
+
"grad_norm": 0.0577542670071125,
|
| 2087 |
+
"learning_rate": 3.205645549546361e-06,
|
| 2088 |
+
"loss": 0.0101,
|
| 2089 |
+
"step": 2970
|
| 2090 |
+
},
|
| 2091 |
+
{
|
| 2092 |
+
"epoch": 1.533779436365976,
|
| 2093 |
+
"grad_norm": 0.05463823676109314,
|
| 2094 |
+
"learning_rate": 3.140004183180837e-06,
|
| 2095 |
+
"loss": 0.0103,
|
| 2096 |
+
"step": 2980
|
| 2097 |
+
},
|
| 2098 |
+
{
|
| 2099 |
+
"epoch": 1.5389267790503154,
|
| 2100 |
+
"grad_norm": 0.05978240817785263,
|
| 2101 |
+
"learning_rate": 3.074916459302211e-06,
|
| 2102 |
+
"loss": 0.0105,
|
| 2103 |
+
"step": 2990
|
| 2104 |
+
},
|
| 2105 |
+
{
|
| 2106 |
+
"epoch": 1.5440741217346545,
|
| 2107 |
+
"grad_norm": 0.059246134012937546,
|
| 2108 |
+
"learning_rate": 3.010387630877142e-06,
|
| 2109 |
+
"loss": 0.0109,
|
| 2110 |
+
"step": 3000
|
| 2111 |
+
},
|
| 2112 |
+
{
|
| 2113 |
+
"epoch": 1.5492214644189937,
|
| 2114 |
+
"grad_norm": 0.05470456928014755,
|
| 2115 |
+
"learning_rate": 2.946422905766103e-06,
|
| 2116 |
+
"loss": 0.0105,
|
| 2117 |
+
"step": 3010
|
| 2118 |
+
},
|
| 2119 |
+
{
|
| 2120 |
+
"epoch": 1.5543688071033328,
|
| 2121 |
+
"grad_norm": 0.05716393515467644,
|
| 2122 |
+
"learning_rate": 2.8830274463030705e-06,
|
| 2123 |
+
"loss": 0.0105,
|
| 2124 |
+
"step": 3020
|
| 2125 |
+
},
|
| 2126 |
+
{
|
| 2127 |
+
"epoch": 1.5595161497876722,
|
| 2128 |
+
"grad_norm": 0.05379533767700195,
|
| 2129 |
+
"learning_rate": 2.820206368878894e-06,
|
| 2130 |
+
"loss": 0.0104,
|
| 2131 |
+
"step": 3030
|
| 2132 |
+
},
|
| 2133 |
+
{
|
| 2134 |
+
"epoch": 1.5646634924720113,
|
| 2135 |
+
"grad_norm": 0.0554485023021698,
|
| 2136 |
+
"learning_rate": 2.7579647435283773e-06,
|
| 2137 |
+
"loss": 0.0106,
|
| 2138 |
+
"step": 3040
|
| 2139 |
+
},
|
| 2140 |
+
{
|
| 2141 |
+
"epoch": 1.5698108351563507,
|
| 2142 |
+
"grad_norm": 0.061001092195510864,
|
| 2143 |
+
"learning_rate": 2.696307593521088e-06,
|
| 2144 |
+
"loss": 0.0107,
|
| 2145 |
+
"step": 3050
|
| 2146 |
+
},
|
| 2147 |
+
{
|
| 2148 |
+
"epoch": 1.5749581778406898,
|
| 2149 |
+
"grad_norm": 0.05021286383271217,
|
| 2150 |
+
"learning_rate": 2.6352398949559697e-06,
|
| 2151 |
+
"loss": 0.0111,
|
| 2152 |
+
"step": 3060
|
| 2153 |
+
},
|
| 2154 |
+
{
|
| 2155 |
+
"epoch": 1.580105520525029,
|
| 2156 |
+
"grad_norm": 0.057367950677871704,
|
| 2157 |
+
"learning_rate": 2.5747665763597016e-06,
|
| 2158 |
+
"loss": 0.0106,
|
| 2159 |
+
"step": 3070
|
| 2160 |
+
},
|
| 2161 |
+
{
|
| 2162 |
+
"epoch": 1.585252863209368,
|
| 2163 |
+
"grad_norm": 0.054719775915145874,
|
| 2164 |
+
"learning_rate": 2.514892518288988e-06,
|
| 2165 |
+
"loss": 0.0097,
|
| 2166 |
+
"step": 3080
|
| 2167 |
+
},
|
| 2168 |
+
{
|
| 2169 |
+
"epoch": 1.5904002058937072,
|
| 2170 |
+
"grad_norm": 0.05537039414048195,
|
| 2171 |
+
"learning_rate": 2.4556225529366316e-06,
|
| 2172 |
+
"loss": 0.0099,
|
| 2173 |
+
"step": 3090
|
| 2174 |
+
},
|
| 2175 |
+
{
|
| 2176 |
+
"epoch": 1.5955475485780466,
|
| 2177 |
+
"grad_norm": 0.056724581867456436,
|
| 2178 |
+
"learning_rate": 2.3969614637415474e-06,
|
| 2179 |
+
"loss": 0.0107,
|
| 2180 |
+
"step": 3100
|
| 2181 |
+
},
|
| 2182 |
+
{
|
| 2183 |
+
"epoch": 1.600694891262386,
|
| 2184 |
+
"grad_norm": 0.059857919812202454,
|
| 2185 |
+
"learning_rate": 2.338913985002739e-06,
|
| 2186 |
+
"loss": 0.0104,
|
| 2187 |
+
"step": 3110
|
| 2188 |
+
},
|
| 2189 |
+
{
|
| 2190 |
+
"epoch": 1.605842233946725,
|
| 2191 |
+
"grad_norm": 0.06095413863658905,
|
| 2192 |
+
"learning_rate": 2.281484801497186e-06,
|
| 2193 |
+
"loss": 0.0099,
|
| 2194 |
+
"step": 3120
|
| 2195 |
+
},
|
| 2196 |
+
{
|
| 2197 |
+
"epoch": 1.6109895766310642,
|
| 2198 |
+
"grad_norm": 0.056674227118492126,
|
| 2199 |
+
"learning_rate": 2.224678548101762e-06,
|
| 2200 |
+
"loss": 0.0104,
|
| 2201 |
+
"step": 3130
|
| 2202 |
+
},
|
| 2203 |
+
{
|
| 2204 |
+
"epoch": 1.6161369193154034,
|
| 2205 |
+
"grad_norm": 0.05638737604022026,
|
| 2206 |
+
"learning_rate": 2.168499809419177e-06,
|
| 2207 |
+
"loss": 0.0102,
|
| 2208 |
+
"step": 3140
|
| 2209 |
+
},
|
| 2210 |
+
{
|
| 2211 |
+
"epoch": 1.6212842619997425,
|
| 2212 |
+
"grad_norm": 0.06467755138874054,
|
| 2213 |
+
"learning_rate": 2.1129531194079656e-06,
|
| 2214 |
+
"loss": 0.0101,
|
| 2215 |
+
"step": 3150
|
| 2216 |
+
},
|
| 2217 |
+
{
|
| 2218 |
+
"epoch": 1.6264316046840819,
|
| 2219 |
+
"grad_norm": 0.05878566950559616,
|
| 2220 |
+
"learning_rate": 2.0580429610165763e-06,
|
| 2221 |
+
"loss": 0.0102,
|
| 2222 |
+
"step": 3160
|
| 2223 |
+
},
|
| 2224 |
+
{
|
| 2225 |
+
"epoch": 1.631578947368421,
|
| 2226 |
+
"grad_norm": 0.05528358370065689,
|
| 2227 |
+
"learning_rate": 2.0037737658215684e-06,
|
| 2228 |
+
"loss": 0.0098,
|
| 2229 |
+
"step": 3170
|
| 2230 |
+
},
|
| 2231 |
+
{
|
| 2232 |
+
"epoch": 1.6367262900527604,
|
| 2233 |
+
"grad_norm": 0.057190001010894775,
|
| 2234 |
+
"learning_rate": 1.950149913669953e-06,
|
| 2235 |
+
"loss": 0.0115,
|
| 2236 |
+
"step": 3180
|
| 2237 |
+
},
|
| 2238 |
+
{
|
| 2239 |
+
"epoch": 1.6418736327370995,
|
| 2240 |
+
"grad_norm": 0.05818023905158043,
|
| 2241 |
+
"learning_rate": 1.89717573232572e-06,
|
| 2242 |
+
"loss": 0.0097,
|
| 2243 |
+
"step": 3190
|
| 2244 |
+
},
|
| 2245 |
+
{
|
| 2246 |
+
"epoch": 1.6470209754214387,
|
| 2247 |
+
"grad_norm": 0.050614483654499054,
|
| 2248 |
+
"learning_rate": 1.844855497120558e-06,
|
| 2249 |
+
"loss": 0.0098,
|
| 2250 |
+
"step": 3200
|
| 2251 |
+
},
|
| 2252 |
+
{
|
| 2253 |
+
"epoch": 1.6521683181057778,
|
| 2254 |
+
"grad_norm": 0.05694177374243736,
|
| 2255 |
+
"learning_rate": 1.7931934306088082e-06,
|
| 2256 |
+
"loss": 0.0099,
|
| 2257 |
+
"step": 3210
|
| 2258 |
+
},
|
| 2259 |
+
{
|
| 2260 |
+
"epoch": 1.657315660790117,
|
| 2261 |
+
"grad_norm": 0.05727734416723251,
|
| 2262 |
+
"learning_rate": 1.7421937022266921e-06,
|
| 2263 |
+
"loss": 0.0102,
|
| 2264 |
+
"step": 3220
|
| 2265 |
+
},
|
| 2266 |
+
{
|
| 2267 |
+
"epoch": 1.6624630034744563,
|
| 2268 |
+
"grad_norm": 0.054520897567272186,
|
| 2269 |
+
"learning_rate": 1.691860427955785e-06,
|
| 2270 |
+
"loss": 0.0104,
|
| 2271 |
+
"step": 3230
|
| 2272 |
+
},
|
| 2273 |
+
{
|
| 2274 |
+
"epoch": 1.6676103461587957,
|
| 2275 |
+
"grad_norm": 0.05534141883254051,
|
| 2276 |
+
"learning_rate": 1.6421976699908636e-06,
|
| 2277 |
+
"loss": 0.0102,
|
| 2278 |
+
"step": 3240
|
| 2279 |
+
},
|
| 2280 |
+
{
|
| 2281 |
+
"epoch": 1.6727576888431348,
|
| 2282 |
+
"grad_norm": 0.05031333491206169,
|
| 2283 |
+
"learning_rate": 1.5932094364120453e-06,
|
| 2284 |
+
"loss": 0.0099,
|
| 2285 |
+
"step": 3250
|
| 2286 |
+
},
|
| 2287 |
+
{
|
| 2288 |
+
"epoch": 1.677905031527474,
|
| 2289 |
+
"grad_norm": 0.05531871318817139,
|
| 2290 |
+
"learning_rate": 1.544899680861306e-06,
|
| 2291 |
+
"loss": 0.0099,
|
| 2292 |
+
"step": 3260
|
| 2293 |
+
},
|
| 2294 |
+
{
|
| 2295 |
+
"epoch": 1.683052374211813,
|
| 2296 |
+
"grad_norm": 0.05327874794602394,
|
| 2297 |
+
"learning_rate": 1.4972723022234214e-06,
|
| 2298 |
+
"loss": 0.0106,
|
| 2299 |
+
"step": 3270
|
| 2300 |
+
},
|
| 2301 |
+
{
|
| 2302 |
+
"epoch": 1.6881997168961522,
|
| 2303 |
+
"grad_norm": 0.0656590610742569,
|
| 2304 |
+
"learning_rate": 1.45033114431128e-06,
|
| 2305 |
+
"loss": 0.0104,
|
| 2306 |
+
"step": 3280
|
| 2307 |
+
},
|
| 2308 |
+
{
|
| 2309 |
+
"epoch": 1.6933470595804916,
|
| 2310 |
+
"grad_norm": 0.05613217502832413,
|
| 2311 |
+
"learning_rate": 1.4040799955556771e-06,
|
| 2312 |
+
"loss": 0.0101,
|
| 2313 |
+
"step": 3290
|
| 2314 |
+
},
|
| 2315 |
+
{
|
| 2316 |
+
"epoch": 1.6984944022648307,
|
| 2317 |
+
"grad_norm": 0.053455501794815063,
|
| 2318 |
+
"learning_rate": 1.3585225886995613e-06,
|
| 2319 |
+
"loss": 0.0095,
|
| 2320 |
+
"step": 3300
|
| 2321 |
+
},
|
| 2322 |
+
{
|
| 2323 |
+
"epoch": 1.70364174494917,
|
| 2324 |
+
"grad_norm": 0.06014241278171539,
|
| 2325 |
+
"learning_rate": 1.3136626004967834e-06,
|
| 2326 |
+
"loss": 0.0098,
|
| 2327 |
+
"step": 3310
|
| 2328 |
+
},
|
| 2329 |
+
{
|
| 2330 |
+
"epoch": 1.7087890876335092,
|
| 2331 |
+
"grad_norm": 0.053092245012521744,
|
| 2332 |
+
"learning_rate": 1.2695036514153569e-06,
|
| 2333 |
+
"loss": 0.0101,
|
| 2334 |
+
"step": 3320
|
| 2335 |
+
},
|
| 2336 |
+
{
|
| 2337 |
+
"epoch": 1.7139364303178484,
|
| 2338 |
+
"grad_norm": 0.057713184505701065,
|
| 2339 |
+
"learning_rate": 1.2260493053452672e-06,
|
| 2340 |
+
"loss": 0.0104,
|
| 2341 |
+
"step": 3330
|
| 2342 |
+
},
|
| 2343 |
+
{
|
| 2344 |
+
"epoch": 1.7190837730021875,
|
| 2345 |
+
"grad_norm": 0.05759907886385918,
|
| 2346 |
+
"learning_rate": 1.1833030693108426e-06,
|
| 2347 |
+
"loss": 0.0097,
|
| 2348 |
+
"step": 3340
|
| 2349 |
+
},
|
| 2350 |
+
{
|
| 2351 |
+
"epoch": 1.7242311156865269,
|
| 2352 |
+
"grad_norm": 0.05587298423051834,
|
| 2353 |
+
"learning_rate": 1.1412683931877177e-06,
|
| 2354 |
+
"loss": 0.0096,
|
| 2355 |
+
"step": 3350
|
| 2356 |
+
},
|
| 2357 |
+
{
|
| 2358 |
+
"epoch": 1.729378458370866,
|
| 2359 |
+
"grad_norm": 0.05066050961613655,
|
| 2360 |
+
"learning_rate": 1.0999486694244087e-06,
|
| 2361 |
+
"loss": 0.0104,
|
| 2362 |
+
"step": 3360
|
| 2363 |
+
},
|
| 2364 |
+
{
|
| 2365 |
+
"epoch": 1.7345258010552054,
|
| 2366 |
+
"grad_norm": 0.05758954957127571,
|
| 2367 |
+
"learning_rate": 1.0593472327685183e-06,
|
| 2368 |
+
"loss": 0.01,
|
| 2369 |
+
"step": 3370
|
| 2370 |
+
},
|
| 2371 |
+
{
|
| 2372 |
+
"epoch": 1.7396731437395445,
|
| 2373 |
+
"grad_norm": 0.05743640661239624,
|
| 2374 |
+
"learning_rate": 1.0194673599976134e-06,
|
| 2375 |
+
"loss": 0.0094,
|
| 2376 |
+
"step": 3380
|
| 2377 |
+
},
|
| 2378 |
+
{
|
| 2379 |
+
"epoch": 1.7448204864238837,
|
| 2380 |
+
"grad_norm": 0.06300937384366989,
|
| 2381 |
+
"learning_rate": 9.803122696547473e-07,
|
| 2382 |
+
"loss": 0.0105,
|
| 2383 |
+
"step": 3390
|
| 2384 |
+
},
|
| 2385 |
+
{
|
| 2386 |
+
"epoch": 1.7499678291082228,
|
| 2387 |
+
"grad_norm": 0.059773825109004974,
|
| 2388 |
+
"learning_rate": 9.418851217887337e-07,
|
| 2389 |
+
"loss": 0.0104,
|
| 2390 |
+
"step": 3400
|
| 2391 |
+
},
|
| 2392 |
+
{
|
| 2393 |
+
"epoch": 1.755115171792562,
|
| 2394 |
+
"grad_norm": 0.05869515612721443,
|
| 2395 |
+
"learning_rate": 9.041890176990876e-07,
|
| 2396 |
+
"loss": 0.01,
|
| 2397 |
+
"step": 3410
|
| 2398 |
+
},
|
| 2399 |
+
{
|
| 2400 |
+
"epoch": 1.7602625144769013,
|
| 2401 |
+
"grad_norm": 0.05758318305015564,
|
| 2402 |
+
"learning_rate": 8.672269996857375e-07,
|
| 2403 |
+
"loss": 0.0102,
|
| 2404 |
+
"step": 3420
|
| 2405 |
+
},
|
| 2406 |
+
{
|
| 2407 |
+
"epoch": 1.7654098571612407,
|
| 2408 |
+
"grad_norm": 0.059089090675115585,
|
| 2409 |
+
"learning_rate": 8.310020508035055e-07,
|
| 2410 |
+
"loss": 0.0101,
|
| 2411 |
+
"step": 3430
|
| 2412 |
+
},
|
| 2413 |
+
{
|
| 2414 |
+
"epoch": 1.7705571998455798,
|
| 2415 |
+
"grad_norm": 0.05819304287433624,
|
| 2416 |
+
"learning_rate": 7.955170946213442e-07,
|
| 2417 |
+
"loss": 0.0097,
|
| 2418 |
+
"step": 3440
|
| 2419 |
+
},
|
| 2420 |
+
{
|
| 2421 |
+
"epoch": 1.775704542529919,
|
| 2422 |
+
"grad_norm": 0.05375674366950989,
|
| 2423 |
+
"learning_rate": 7.607749949863907e-07,
|
| 2424 |
+
"loss": 0.0099,
|
| 2425 |
+
"step": 3450
|
| 2426 |
+
},
|
| 2427 |
+
{
|
| 2428 |
+
"epoch": 1.780851885214258,
|
| 2429 |
+
"grad_norm": 0.055159516632556915,
|
| 2430 |
+
"learning_rate": 7.267785557928398e-07,
|
| 2431 |
+
"loss": 0.0097,
|
| 2432 |
+
"step": 3460
|
| 2433 |
+
},
|
| 2434 |
+
{
|
| 2435 |
+
"epoch": 1.7859992278985972,
|
| 2436 |
+
"grad_norm": 0.05335604399442673,
|
| 2437 |
+
"learning_rate": 6.935305207556509e-07,
|
| 2438 |
+
"loss": 0.0101,
|
| 2439 |
+
"step": 3470
|
| 2440 |
+
},
|
| 2441 |
+
{
|
| 2442 |
+
"epoch": 1.7911465705829366,
|
| 2443 |
+
"grad_norm": 0.05733654648065567,
|
| 2444 |
+
"learning_rate": 6.610335731891116e-07,
|
| 2445 |
+
"loss": 0.0098,
|
| 2446 |
+
"step": 3480
|
| 2447 |
+
},
|
| 2448 |
+
{
|
| 2449 |
+
"epoch": 1.7962939132672757,
|
| 2450 |
+
"grad_norm": 0.05677180364727974,
|
| 2451 |
+
"learning_rate": 6.292903357902846e-07,
|
| 2452 |
+
"loss": 0.0102,
|
| 2453 |
+
"step": 3490
|
| 2454 |
+
},
|
| 2455 |
+
{
|
| 2456 |
+
"epoch": 1.801441255951615,
|
| 2457 |
+
"grad_norm": 0.05063822120428085,
|
| 2458 |
+
"learning_rate": 5.983033704273355e-07,
|
| 2459 |
+
"loss": 0.0099,
|
| 2460 |
+
"step": 3500
|
| 2461 |
+
},
|
| 2462 |
+
{
|
| 2463 |
+
"epoch": 1.8065885986359542,
|
| 2464 |
+
"grad_norm": 0.05387408286333084,
|
| 2465 |
+
"learning_rate": 5.680751779327742e-07,
|
| 2466 |
+
"loss": 0.0095,
|
| 2467 |
+
"step": 3510
|
| 2468 |
+
},
|
| 2469 |
+
{
|
| 2470 |
+
"epoch": 1.8117359413202934,
|
| 2471 |
+
"grad_norm": 0.053591515868902206,
|
| 2472 |
+
"learning_rate": 5.386081979016256e-07,
|
| 2473 |
+
"loss": 0.01,
|
| 2474 |
+
"step": 3520
|
| 2475 |
+
},
|
| 2476 |
+
{
|
| 2477 |
+
"epoch": 1.8168832840046325,
|
| 2478 |
+
"grad_norm": 0.05464727059006691,
|
| 2479 |
+
"learning_rate": 5.099048084945401e-07,
|
| 2480 |
+
"loss": 0.0092,
|
| 2481 |
+
"step": 3530
|
| 2482 |
+
},
|
| 2483 |
+
{
|
| 2484 |
+
"epoch": 1.8220306266889719,
|
| 2485 |
+
"grad_norm": 0.055579908192157745,
|
| 2486 |
+
"learning_rate": 4.819673262458591e-07,
|
| 2487 |
+
"loss": 0.01,
|
| 2488 |
+
"step": 3540
|
| 2489 |
+
},
|
| 2490 |
+
{
|
| 2491 |
+
"epoch": 1.827177969373311,
|
| 2492 |
+
"grad_norm": 0.05614079535007477,
|
| 2493 |
+
"learning_rate": 4.547980058766566e-07,
|
| 2494 |
+
"loss": 0.0101,
|
| 2495 |
+
"step": 3550
|
| 2496 |
+
},
|
| 2497 |
+
{
|
| 2498 |
+
"epoch": 1.8323253120576504,
|
| 2499 |
+
"grad_norm": 0.05531793087720871,
|
| 2500 |
+
"learning_rate": 4.283990401127769e-07,
|
| 2501 |
+
"loss": 0.0098,
|
| 2502 |
+
"step": 3560
|
| 2503 |
+
},
|
| 2504 |
+
{
|
| 2505 |
+
"epoch": 1.8374726547419895,
|
| 2506 |
+
"grad_norm": 0.05819229036569595,
|
| 2507 |
+
"learning_rate": 4.027725595078591e-07,
|
| 2508 |
+
"loss": 0.0098,
|
| 2509 |
+
"step": 3570
|
| 2510 |
+
},
|
| 2511 |
+
{
|
| 2512 |
+
"epoch": 1.8426199974263286,
|
| 2513 |
+
"grad_norm": 0.06295463442802429,
|
| 2514 |
+
"learning_rate": 3.779206322713913e-07,
|
| 2515 |
+
"loss": 0.0101,
|
| 2516 |
+
"step": 3580
|
| 2517 |
+
},
|
| 2518 |
+
{
|
| 2519 |
+
"epoch": 1.8477673401106678,
|
| 2520 |
+
"grad_norm": 0.05543727055191994,
|
| 2521 |
+
"learning_rate": 3.5384526410180085e-07,
|
| 2522 |
+
"loss": 0.0101,
|
| 2523 |
+
"step": 3590
|
| 2524 |
+
},
|
| 2525 |
+
{
|
| 2526 |
+
"epoch": 1.852914682795007,
|
| 2527 |
+
"grad_norm": 0.05354765057563782,
|
| 2528 |
+
"learning_rate": 3.305483980245716e-07,
|
| 2529 |
+
"loss": 0.0097,
|
| 2530 |
+
"step": 3600
|
| 2531 |
+
},
|
| 2532 |
+
{
|
| 2533 |
+
"epoch": 1.8580620254793463,
|
| 2534 |
+
"grad_norm": 0.05514323711395264,
|
| 2535 |
+
"learning_rate": 3.080319142354393e-07,
|
| 2536 |
+
"loss": 0.0104,
|
| 2537 |
+
"step": 3610
|
| 2538 |
+
},
|
| 2539 |
+
{
|
| 2540 |
+
"epoch": 1.8632093681636857,
|
| 2541 |
+
"grad_norm": 0.055874355137348175,
|
| 2542 |
+
"learning_rate": 2.8629762994864195e-07,
|
| 2543 |
+
"loss": 0.0104,
|
| 2544 |
+
"step": 3620
|
| 2545 |
+
},
|
| 2546 |
+
{
|
| 2547 |
+
"epoch": 1.8683567108480248,
|
| 2548 |
+
"grad_norm": 0.04839755967259407,
|
| 2549 |
+
"learning_rate": 2.653472992502648e-07,
|
| 2550 |
+
"loss": 0.0096,
|
| 2551 |
+
"step": 3630
|
| 2552 |
+
},
|
| 2553 |
+
{
|
| 2554 |
+
"epoch": 1.873504053532364,
|
| 2555 |
+
"grad_norm": 0.05774934962391853,
|
| 2556 |
+
"learning_rate": 2.4518261295667255e-07,
|
| 2557 |
+
"loss": 0.01,
|
| 2558 |
+
"step": 3640
|
| 2559 |
+
},
|
| 2560 |
+
{
|
| 2561 |
+
"epoch": 1.878651396216703,
|
| 2562 |
+
"grad_norm": 0.05328024923801422,
|
| 2563 |
+
"learning_rate": 2.2580519847805182e-07,
|
| 2564 |
+
"loss": 0.0098,
|
| 2565 |
+
"step": 3650
|
| 2566 |
+
},
|
| 2567 |
+
{
|
| 2568 |
+
"epoch": 1.8837987389010422,
|
| 2569 |
+
"grad_norm": 0.06098954752087593,
|
| 2570 |
+
"learning_rate": 2.072166196870673e-07,
|
| 2571 |
+
"loss": 0.01,
|
| 2572 |
+
"step": 3660
|
| 2573 |
+
},
|
| 2574 |
+
{
|
| 2575 |
+
"epoch": 1.8889460815853816,
|
| 2576 |
+
"grad_norm": 0.05954898148775101,
|
| 2577 |
+
"learning_rate": 1.894183767926494e-07,
|
| 2578 |
+
"loss": 0.0099,
|
| 2579 |
+
"step": 3670
|
| 2580 |
+
},
|
| 2581 |
+
{
|
| 2582 |
+
"epoch": 1.8940934242697207,
|
| 2583 |
+
"grad_norm": 0.05533028766512871,
|
| 2584 |
+
"learning_rate": 1.724119062189189e-07,
|
| 2585 |
+
"loss": 0.0101,
|
| 2586 |
+
"step": 3680
|
| 2587 |
+
},
|
| 2588 |
+
{
|
| 2589 |
+
"epoch": 1.89924076695406,
|
| 2590 |
+
"grad_norm": 0.054454490542411804,
|
| 2591 |
+
"learning_rate": 1.561985804892585e-07,
|
| 2592 |
+
"loss": 0.0094,
|
| 2593 |
+
"step": 3690
|
| 2594 |
+
},
|
| 2595 |
+
{
|
| 2596 |
+
"epoch": 1.9043881096383992,
|
| 2597 |
+
"grad_norm": 0.05790005996823311,
|
| 2598 |
+
"learning_rate": 1.4077970811554153e-07,
|
| 2599 |
+
"loss": 0.0095,
|
| 2600 |
+
"step": 3700
|
| 2601 |
+
},
|
| 2602 |
+
{
|
| 2603 |
+
"epoch": 1.9095354523227384,
|
| 2604 |
+
"grad_norm": 0.05482661351561546,
|
| 2605 |
+
"learning_rate": 1.2615653349252743e-07,
|
| 2606 |
+
"loss": 0.0104,
|
| 2607 |
+
"step": 3710
|
| 2608 |
+
},
|
| 2609 |
+
{
|
| 2610 |
+
"epoch": 1.9146827950070775,
|
| 2611 |
+
"grad_norm": 0.053785741329193115,
|
| 2612 |
+
"learning_rate": 1.1233023679743326e-07,
|
| 2613 |
+
"loss": 0.01,
|
| 2614 |
+
"step": 3720
|
| 2615 |
+
},
|
| 2616 |
+
{
|
| 2617 |
+
"epoch": 1.9198301376914169,
|
| 2618 |
+
"grad_norm": 0.05585356056690216,
|
| 2619 |
+
"learning_rate": 9.930193389468323e-08,
|
| 2620 |
+
"loss": 0.0097,
|
| 2621 |
+
"step": 3730
|
| 2622 |
+
},
|
| 2623 |
+
{
|
| 2624 |
+
"epoch": 1.924977480375756,
|
| 2625 |
+
"grad_norm": 0.055351871997117996,
|
| 2626 |
+
"learning_rate": 8.707267624585292e-08,
|
| 2627 |
+
"loss": 0.0101,
|
| 2628 |
+
"step": 3740
|
| 2629 |
+
},
|
| 2630 |
+
{
|
| 2631 |
+
"epoch": 1.9301248230600954,
|
| 2632 |
+
"grad_norm": 0.05515802651643753,
|
| 2633 |
+
"learning_rate": 7.564345082481383e-08,
|
| 2634 |
+
"loss": 0.0099,
|
| 2635 |
+
"step": 3750
|
| 2636 |
+
},
|
| 2637 |
+
{
|
| 2638 |
+
"epoch": 1.9352721657444345,
|
| 2639 |
+
"grad_norm": 0.056177496910095215,
|
| 2640 |
+
"learning_rate": 6.501518003807272e-08,
|
| 2641 |
+
"loss": 0.0099,
|
| 2642 |
+
"step": 3760
|
| 2643 |
+
},
|
| 2644 |
+
{
|
| 2645 |
+
"epoch": 1.9404195084287736,
|
| 2646 |
+
"grad_norm": 0.0514858104288578,
|
| 2647 |
+
"learning_rate": 5.518872165033329e-08,
|
| 2648 |
+
"loss": 0.0097,
|
| 2649 |
+
"step": 3770
|
| 2650 |
+
},
|
| 2651 |
+
{
|
| 2652 |
+
"epoch": 1.9455668511131128,
|
| 2653 |
+
"grad_norm": 0.054609816521406174,
|
| 2654 |
+
"learning_rate": 4.6164868715263825e-08,
|
| 2655 |
+
"loss": 0.0093,
|
| 2656 |
+
"step": 3780
|
| 2657 |
+
},
|
| 2658 |
+
{
|
| 2659 |
+
"epoch": 1.950714193797452,
|
| 2660 |
+
"grad_norm": 0.05447670817375183,
|
| 2661 |
+
"learning_rate": 3.79443495114995e-08,
|
| 2662 |
+
"loss": 0.0104,
|
| 2663 |
+
"step": 3790
|
| 2664 |
+
},
|
| 2665 |
+
{
|
| 2666 |
+
"epoch": 1.9558615364817913,
|
| 2667 |
+
"grad_norm": 0.0530201718211174,
|
| 2668 |
+
"learning_rate": 3.052782748386052e-08,
|
| 2669 |
+
"loss": 0.0094,
|
| 2670 |
+
"step": 3800
|
| 2671 |
+
}
|
| 2672 |
+
],
|
| 2673 |
+
"logging_steps": 10,
|
| 2674 |
+
"max_steps": 3886,
|
| 2675 |
+
"num_input_tokens_seen": 0,
|
| 2676 |
+
"num_train_epochs": 2,
|
| 2677 |
+
"save_steps": 100,
|
| 2678 |
+
"stateful_callbacks": {
|
| 2679 |
+
"TrainerControl": {
|
| 2680 |
+
"args": {
|
| 2681 |
+
"should_epoch_stop": false,
|
| 2682 |
+
"should_evaluate": false,
|
| 2683 |
+
"should_log": false,
|
| 2684 |
+
"should_save": true,
|
| 2685 |
+
"should_training_stop": false
|
| 2686 |
+
},
|
| 2687 |
+
"attributes": {}
|
| 2688 |
+
}
|
| 2689 |
+
},
|
| 2690 |
+
"total_flos": 6.179443739110618e+19,
|
| 2691 |
+
"train_batch_size": 8,
|
| 2692 |
+
"trial_name": null,
|
| 2693 |
+
"trial_params": null
|
| 2694 |
+
}
|
checkpoint-3800/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:857c0a0be1eb23c6095b58f6a0eae91547ec3bf934684fc39b9034a21f56496f
|
| 3 |
+
size 7953
|
checkpoint-3800/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
checkpoint-3800/zero_to_fp32.py
ADDED
|
@@ -0,0 +1,760 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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:
|
| 14 |
+
# python zero_to_fp32.py . output_dir/
|
| 15 |
+
# or
|
| 16 |
+
# python zero_to_fp32.py . output_dir/ --safe_serialization
|
| 17 |
+
|
| 18 |
+
import argparse
|
| 19 |
+
import torch
|
| 20 |
+
import glob
|
| 21 |
+
import math
|
| 22 |
+
import os
|
| 23 |
+
import re
|
| 24 |
+
import gc
|
| 25 |
+
import json
|
| 26 |
+
import numpy as np
|
| 27 |
+
from tqdm import tqdm
|
| 28 |
+
from collections import OrderedDict
|
| 29 |
+
from dataclasses import dataclass
|
| 30 |
+
|
| 31 |
+
# while this script doesn't use deepspeed to recover data, since the checkpoints are pickled with
|
| 32 |
+
# DeepSpeed data structures it has to be available in the current python environment.
|
| 33 |
+
from deepspeed.utils import logger
|
| 34 |
+
from deepspeed.checkpoint.constants import (DS_VERSION, OPTIMIZER_STATE_DICT, SINGLE_PARTITION_OF_FP32_GROUPS,
|
| 35 |
+
FP32_FLAT_GROUPS, ZERO_STAGE, PARTITION_COUNT, PARAM_SHAPES, BUFFER_NAMES,
|
| 36 |
+
FROZEN_PARAM_SHAPES, FROZEN_PARAM_FRAGMENTS)
|
| 37 |
+
|
| 38 |
+
|
| 39 |
+
@dataclass
|
| 40 |
+
class zero_model_state:
|
| 41 |
+
buffers: dict()
|
| 42 |
+
param_shapes: dict()
|
| 43 |
+
shared_params: list
|
| 44 |
+
ds_version: int
|
| 45 |
+
frozen_param_shapes: dict()
|
| 46 |
+
frozen_param_fragments: dict()
|
| 47 |
+
|
| 48 |
+
|
| 49 |
+
debug = 0
|
| 50 |
+
|
| 51 |
+
# load to cpu
|
| 52 |
+
device = torch.device('cpu')
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
def atoi(text):
|
| 56 |
+
return int(text) if text.isdigit() else text
|
| 57 |
+
|
| 58 |
+
|
| 59 |
+
def natural_keys(text):
|
| 60 |
+
'''
|
| 61 |
+
alist.sort(key=natural_keys) sorts in human order
|
| 62 |
+
http://nedbatchelder.com/blog/200712/human_sorting.html
|
| 63 |
+
(See Toothy's implementation in the comments)
|
| 64 |
+
'''
|
| 65 |
+
return [atoi(c) for c in re.split(r'(\d+)', text)]
|
| 66 |
+
|
| 67 |
+
|
| 68 |
+
def get_model_state_file(checkpoint_dir, zero_stage):
|
| 69 |
+
if not os.path.isdir(checkpoint_dir):
|
| 70 |
+
raise FileNotFoundError(f"Directory '{checkpoint_dir}' doesn't exist")
|
| 71 |
+
|
| 72 |
+
# there should be only one file
|
| 73 |
+
if zero_stage <= 2:
|
| 74 |
+
file = os.path.join(checkpoint_dir, "mp_rank_00_model_states.pt")
|
| 75 |
+
elif zero_stage == 3:
|
| 76 |
+
file = os.path.join(checkpoint_dir, "zero_pp_rank_0_mp_rank_00_model_states.pt")
|
| 77 |
+
|
| 78 |
+
if not os.path.exists(file):
|
| 79 |
+
raise FileNotFoundError(f"can't find model states file at '{file}'")
|
| 80 |
+
|
| 81 |
+
return file
|
| 82 |
+
|
| 83 |
+
|
| 84 |
+
def get_checkpoint_files(checkpoint_dir, glob_pattern):
|
| 85 |
+
# XXX: need to test that this simple glob rule works for multi-node setup too
|
| 86 |
+
ckpt_files = sorted(glob.glob(os.path.join(checkpoint_dir, glob_pattern)), key=natural_keys)
|
| 87 |
+
|
| 88 |
+
if len(ckpt_files) == 0:
|
| 89 |
+
raise FileNotFoundError(f"can't find {glob_pattern} files in directory '{checkpoint_dir}'")
|
| 90 |
+
|
| 91 |
+
return ckpt_files
|
| 92 |
+
|
| 93 |
+
|
| 94 |
+
def get_optim_files(checkpoint_dir):
|
| 95 |
+
return get_checkpoint_files(checkpoint_dir, "*_optim_states.pt")
|
| 96 |
+
|
| 97 |
+
|
| 98 |
+
def get_model_state_files(checkpoint_dir):
|
| 99 |
+
return get_checkpoint_files(checkpoint_dir, "*_model_states.pt")
|
| 100 |
+
|
| 101 |
+
|
| 102 |
+
def parse_model_states(files):
|
| 103 |
+
zero_model_states = []
|
| 104 |
+
for file in files:
|
| 105 |
+
state_dict = torch.load(file, map_location=device, weights_only=False)
|
| 106 |
+
|
| 107 |
+
if BUFFER_NAMES not in state_dict:
|
| 108 |
+
raise ValueError(f"{file} is not a model state checkpoint")
|
| 109 |
+
buffer_names = state_dict[BUFFER_NAMES]
|
| 110 |
+
if debug:
|
| 111 |
+
print("Found buffers:", buffer_names)
|
| 112 |
+
|
| 113 |
+
# recover just the buffers while restoring them to fp32 if they were saved in fp16
|
| 114 |
+
buffers = {k: v.float() for k, v in state_dict["module"].items() if k in buffer_names}
|
| 115 |
+
param_shapes = state_dict[PARAM_SHAPES]
|
| 116 |
+
|
| 117 |
+
# collect parameters that are included in param_shapes
|
| 118 |
+
param_names = []
|
| 119 |
+
for s in param_shapes:
|
| 120 |
+
for name in s.keys():
|
| 121 |
+
param_names.append(name)
|
| 122 |
+
|
| 123 |
+
# update with frozen parameters
|
| 124 |
+
frozen_param_shapes = state_dict.get(FROZEN_PARAM_SHAPES, None)
|
| 125 |
+
if frozen_param_shapes is not None:
|
| 126 |
+
if debug:
|
| 127 |
+
print(f"Found frozen_param_shapes: {frozen_param_shapes}")
|
| 128 |
+
param_names += list(frozen_param_shapes.keys())
|
| 129 |
+
|
| 130 |
+
# handle shared params
|
| 131 |
+
shared_params = [[k, v] for k, v in state_dict["shared_params"].items()]
|
| 132 |
+
|
| 133 |
+
ds_version = state_dict.get(DS_VERSION, None)
|
| 134 |
+
|
| 135 |
+
frozen_param_fragments = state_dict.get(FROZEN_PARAM_FRAGMENTS, None)
|
| 136 |
+
|
| 137 |
+
z_model_state = zero_model_state(buffers=buffers,
|
| 138 |
+
param_shapes=param_shapes,
|
| 139 |
+
shared_params=shared_params,
|
| 140 |
+
ds_version=ds_version,
|
| 141 |
+
frozen_param_shapes=frozen_param_shapes,
|
| 142 |
+
frozen_param_fragments=frozen_param_fragments)
|
| 143 |
+
zero_model_states.append(z_model_state)
|
| 144 |
+
|
| 145 |
+
return zero_model_states
|
| 146 |
+
|
| 147 |
+
|
| 148 |
+
def parse_optim_states(files, ds_checkpoint_dir):
|
| 149 |
+
total_files = len(files)
|
| 150 |
+
state_dicts = []
|
| 151 |
+
for f in tqdm(files, desc='Loading checkpoint shards'):
|
| 152 |
+
state_dict = torch.load(f, map_location=device, mmap=True, weights_only=False)
|
| 153 |
+
# immediately discard the potentially huge 2 optimizer states as we only care for fp32 master weights
|
| 154 |
+
# and also handle the case where it was already removed by another helper script
|
| 155 |
+
state_dict["optimizer_state_dict"].pop("optimizer_state_dict", None)
|
| 156 |
+
state_dicts.append(state_dict)
|
| 157 |
+
|
| 158 |
+
if not ZERO_STAGE in state_dicts[0][OPTIMIZER_STATE_DICT]:
|
| 159 |
+
raise ValueError(f"{files[0]} is not a zero checkpoint")
|
| 160 |
+
zero_stage = state_dicts[0][OPTIMIZER_STATE_DICT][ZERO_STAGE]
|
| 161 |
+
world_size = state_dicts[0][OPTIMIZER_STATE_DICT][PARTITION_COUNT]
|
| 162 |
+
|
| 163 |
+
# For ZeRO-2 each param group can have different partition_count as data parallelism for expert
|
| 164 |
+
# parameters can be different from data parallelism for non-expert parameters. So we can just
|
| 165 |
+
# use the max of the partition_count to get the dp world_size.
|
| 166 |
+
|
| 167 |
+
if type(world_size) is list:
|
| 168 |
+
world_size = max(world_size)
|
| 169 |
+
|
| 170 |
+
if world_size != total_files:
|
| 171 |
+
raise ValueError(
|
| 172 |
+
f"Expected {world_size} of '*_optim_states.pt' under '{ds_checkpoint_dir}' but found {total_files} files. "
|
| 173 |
+
"Possibly due to an overwrite of an old checkpoint, or a checkpoint didn't get saved by one or more processes."
|
| 174 |
+
)
|
| 175 |
+
|
| 176 |
+
# the groups are named differently in each stage
|
| 177 |
+
if zero_stage <= 2:
|
| 178 |
+
fp32_groups_key = SINGLE_PARTITION_OF_FP32_GROUPS
|
| 179 |
+
elif zero_stage == 3:
|
| 180 |
+
fp32_groups_key = FP32_FLAT_GROUPS
|
| 181 |
+
else:
|
| 182 |
+
raise ValueError(f"unknown zero stage {zero_stage}")
|
| 183 |
+
|
| 184 |
+
fp32_flat_groups = [state_dicts[i][OPTIMIZER_STATE_DICT][fp32_groups_key] for i in range(len(state_dicts))]
|
| 185 |
+
return zero_stage, world_size, fp32_flat_groups
|
| 186 |
+
|
| 187 |
+
|
| 188 |
+
def _get_fp32_state_dict_from_zero_checkpoint(ds_checkpoint_dir, exclude_frozen_parameters):
|
| 189 |
+
"""
|
| 190 |
+
Returns fp32 state_dict reconstructed from ds checkpoint
|
| 191 |
+
|
| 192 |
+
Args:
|
| 193 |
+
- ``ds_checkpoint_dir``: path to the deepspeed checkpoint folder (where the optimizer files are)
|
| 194 |
+
|
| 195 |
+
"""
|
| 196 |
+
print(f"Processing zero checkpoint '{ds_checkpoint_dir}'")
|
| 197 |
+
|
| 198 |
+
optim_files = get_optim_files(ds_checkpoint_dir)
|
| 199 |
+
zero_stage, world_size, fp32_flat_groups = parse_optim_states(optim_files, ds_checkpoint_dir)
|
| 200 |
+
print(f"Detected checkpoint of type zero stage {zero_stage}, world_size: {world_size}")
|
| 201 |
+
|
| 202 |
+
model_files = get_model_state_files(ds_checkpoint_dir)
|
| 203 |
+
|
| 204 |
+
zero_model_states = parse_model_states(model_files)
|
| 205 |
+
print(f'Parsing checkpoint created by deepspeed=={zero_model_states[0].ds_version}')
|
| 206 |
+
|
| 207 |
+
if zero_stage <= 2:
|
| 208 |
+
return _get_fp32_state_dict_from_zero2_checkpoint(world_size, fp32_flat_groups, zero_model_states,
|
| 209 |
+
exclude_frozen_parameters)
|
| 210 |
+
elif zero_stage == 3:
|
| 211 |
+
return _get_fp32_state_dict_from_zero3_checkpoint(world_size, fp32_flat_groups, zero_model_states,
|
| 212 |
+
exclude_frozen_parameters)
|
| 213 |
+
|
| 214 |
+
|
| 215 |
+
def _zero2_merge_frozen_params(state_dict, zero_model_states):
|
| 216 |
+
if zero_model_states[0].frozen_param_shapes is None or len(zero_model_states[0].frozen_param_shapes) == 0:
|
| 217 |
+
return
|
| 218 |
+
|
| 219 |
+
frozen_param_shapes = zero_model_states[0].frozen_param_shapes
|
| 220 |
+
frozen_param_fragments = zero_model_states[0].frozen_param_fragments
|
| 221 |
+
|
| 222 |
+
if debug:
|
| 223 |
+
num_elem = sum(s.numel() for s in frozen_param_shapes.values())
|
| 224 |
+
print(f'rank 0: {FROZEN_PARAM_SHAPES}.numel = {num_elem}')
|
| 225 |
+
|
| 226 |
+
wanted_params = len(frozen_param_shapes)
|
| 227 |
+
wanted_numel = sum(s.numel() for s in frozen_param_shapes.values())
|
| 228 |
+
avail_numel = sum([p.numel() for p in frozen_param_fragments.values()])
|
| 229 |
+
print(f'Frozen params: Have {avail_numel} numels to process.')
|
| 230 |
+
print(f'Frozen params: Need {wanted_numel} numels in {wanted_params} params')
|
| 231 |
+
|
| 232 |
+
total_params = 0
|
| 233 |
+
total_numel = 0
|
| 234 |
+
for name, shape in frozen_param_shapes.items():
|
| 235 |
+
total_params += 1
|
| 236 |
+
unpartitioned_numel = shape.numel()
|
| 237 |
+
total_numel += unpartitioned_numel
|
| 238 |
+
|
| 239 |
+
state_dict[name] = frozen_param_fragments[name]
|
| 240 |
+
|
| 241 |
+
if debug:
|
| 242 |
+
print(f"{name} full shape: {shape} unpartitioned numel {unpartitioned_numel} ")
|
| 243 |
+
|
| 244 |
+
print(f"Reconstructed Frozen fp32 state dict with {total_params} params {total_numel} elements")
|
| 245 |
+
|
| 246 |
+
|
| 247 |
+
def _has_callable(obj, fn):
|
| 248 |
+
attr = getattr(obj, fn, None)
|
| 249 |
+
return callable(attr)
|
| 250 |
+
|
| 251 |
+
|
| 252 |
+
def _zero2_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states):
|
| 253 |
+
param_shapes = zero_model_states[0].param_shapes
|
| 254 |
+
|
| 255 |
+
# Reconstruction protocol:
|
| 256 |
+
#
|
| 257 |
+
# XXX: document this
|
| 258 |
+
|
| 259 |
+
if debug:
|
| 260 |
+
for i in range(world_size):
|
| 261 |
+
for j in range(len(fp32_flat_groups[0])):
|
| 262 |
+
print(f"{FP32_FLAT_GROUPS}[{i}][{j}].shape={fp32_flat_groups[i][j].shape}")
|
| 263 |
+
|
| 264 |
+
# XXX: memory usage doubles here (zero2)
|
| 265 |
+
num_param_groups = len(fp32_flat_groups[0])
|
| 266 |
+
merged_single_partition_of_fp32_groups = []
|
| 267 |
+
for i in range(num_param_groups):
|
| 268 |
+
merged_partitions = [sd[i] for sd in fp32_flat_groups]
|
| 269 |
+
full_single_fp32_vector = torch.cat(merged_partitions, 0)
|
| 270 |
+
merged_single_partition_of_fp32_groups.append(full_single_fp32_vector)
|
| 271 |
+
avail_numel = sum(
|
| 272 |
+
[full_single_fp32_vector.numel() for full_single_fp32_vector in merged_single_partition_of_fp32_groups])
|
| 273 |
+
|
| 274 |
+
if debug:
|
| 275 |
+
wanted_params = sum([len(shapes) for shapes in param_shapes])
|
| 276 |
+
wanted_numel = sum([sum(shape.numel() for shape in shapes.values()) for shapes in param_shapes])
|
| 277 |
+
# not asserting if there is a mismatch due to possible padding
|
| 278 |
+
print(f"Have {avail_numel} numels to process.")
|
| 279 |
+
print(f"Need {wanted_numel} numels in {wanted_params} params.")
|
| 280 |
+
|
| 281 |
+
# params
|
| 282 |
+
# XXX: for huge models that can't fit into the host's RAM we will have to recode this to support
|
| 283 |
+
# out-of-core computing solution
|
| 284 |
+
total_numel = 0
|
| 285 |
+
total_params = 0
|
| 286 |
+
for shapes, full_single_fp32_vector in zip(param_shapes, merged_single_partition_of_fp32_groups):
|
| 287 |
+
offset = 0
|
| 288 |
+
avail_numel = full_single_fp32_vector.numel()
|
| 289 |
+
for name, shape in shapes.items():
|
| 290 |
+
|
| 291 |
+
unpartitioned_numel = shape.numel() if _has_callable(shape, 'numel') else math.prod(shape)
|
| 292 |
+
total_numel += unpartitioned_numel
|
| 293 |
+
total_params += 1
|
| 294 |
+
|
| 295 |
+
if debug:
|
| 296 |
+
print(f"{name} full shape: {shape} unpartitioned numel {unpartitioned_numel} ")
|
| 297 |
+
state_dict[name] = full_single_fp32_vector.narrow(0, offset, unpartitioned_numel).view(shape)
|
| 298 |
+
offset += unpartitioned_numel
|
| 299 |
+
|
| 300 |
+
# Z2 started to align to 2*world_size to improve nccl performance. Therefore both offset and
|
| 301 |
+
# avail_numel can differ by anywhere between 0..2*world_size. Due to two unrelated complex
|
| 302 |
+
# paddings performed in the code it's almost impossible to predict the exact numbers w/o the
|
| 303 |
+
# live optimizer object, so we are checking that the numbers are within the right range
|
| 304 |
+
align_to = 2 * world_size
|
| 305 |
+
|
| 306 |
+
def zero2_align(x):
|
| 307 |
+
return align_to * math.ceil(x / align_to)
|
| 308 |
+
|
| 309 |
+
if debug:
|
| 310 |
+
print(f"original offset={offset}, avail_numel={avail_numel}")
|
| 311 |
+
|
| 312 |
+
offset = zero2_align(offset)
|
| 313 |
+
avail_numel = zero2_align(avail_numel)
|
| 314 |
+
|
| 315 |
+
if debug:
|
| 316 |
+
print(f"aligned offset={offset}, avail_numel={avail_numel}")
|
| 317 |
+
|
| 318 |
+
# Sanity check
|
| 319 |
+
if offset != avail_numel:
|
| 320 |
+
raise ValueError(f"consumed {offset} numels out of {avail_numel} - something is wrong")
|
| 321 |
+
|
| 322 |
+
print(f"Reconstructed fp32 state dict with {total_params} params {total_numel} elements")
|
| 323 |
+
|
| 324 |
+
|
| 325 |
+
def _get_fp32_state_dict_from_zero2_checkpoint(world_size, fp32_flat_groups, zero_model_states,
|
| 326 |
+
exclude_frozen_parameters):
|
| 327 |
+
state_dict = OrderedDict()
|
| 328 |
+
|
| 329 |
+
# buffers
|
| 330 |
+
buffers = zero_model_states[0].buffers
|
| 331 |
+
state_dict.update(buffers)
|
| 332 |
+
if debug:
|
| 333 |
+
print(f"added {len(buffers)} buffers")
|
| 334 |
+
|
| 335 |
+
if not exclude_frozen_parameters:
|
| 336 |
+
_zero2_merge_frozen_params(state_dict, zero_model_states)
|
| 337 |
+
|
| 338 |
+
_zero2_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states)
|
| 339 |
+
|
| 340 |
+
# recover shared parameters
|
| 341 |
+
for pair in zero_model_states[0].shared_params:
|
| 342 |
+
if pair[1] in state_dict:
|
| 343 |
+
state_dict[pair[0]] = state_dict[pair[1]]
|
| 344 |
+
|
| 345 |
+
return state_dict
|
| 346 |
+
|
| 347 |
+
|
| 348 |
+
def zero3_partitioned_param_info(unpartitioned_numel, world_size):
|
| 349 |
+
remainder = unpartitioned_numel % world_size
|
| 350 |
+
padding_numel = (world_size - remainder) if remainder else 0
|
| 351 |
+
partitioned_numel = math.ceil(unpartitioned_numel / world_size)
|
| 352 |
+
return partitioned_numel, padding_numel
|
| 353 |
+
|
| 354 |
+
|
| 355 |
+
def _zero3_merge_frozen_params(state_dict, world_size, zero_model_states):
|
| 356 |
+
if zero_model_states[0].frozen_param_shapes is None or len(zero_model_states[0].frozen_param_shapes) == 0:
|
| 357 |
+
return
|
| 358 |
+
|
| 359 |
+
if debug:
|
| 360 |
+
for i in range(world_size):
|
| 361 |
+
num_elem = sum(s.numel() for s in zero_model_states[i].frozen_param_fragments.values())
|
| 362 |
+
print(f'rank {i}: {FROZEN_PARAM_SHAPES}.numel = {num_elem}')
|
| 363 |
+
|
| 364 |
+
frozen_param_shapes = zero_model_states[0].frozen_param_shapes
|
| 365 |
+
wanted_params = len(frozen_param_shapes)
|
| 366 |
+
wanted_numel = sum(s.numel() for s in frozen_param_shapes.values())
|
| 367 |
+
avail_numel = sum([p.numel() for p in zero_model_states[0].frozen_param_fragments.values()]) * world_size
|
| 368 |
+
print(f'Frozen params: Have {avail_numel} numels to process.')
|
| 369 |
+
print(f'Frozen params: Need {wanted_numel} numels in {wanted_params} params')
|
| 370 |
+
|
| 371 |
+
total_params = 0
|
| 372 |
+
total_numel = 0
|
| 373 |
+
for name, shape in zero_model_states[0].frozen_param_shapes.items():
|
| 374 |
+
total_params += 1
|
| 375 |
+
unpartitioned_numel = shape.numel()
|
| 376 |
+
total_numel += unpartitioned_numel
|
| 377 |
+
|
| 378 |
+
param_frags = tuple(model_state.frozen_param_fragments[name] for model_state in zero_model_states)
|
| 379 |
+
state_dict[name] = torch.cat(param_frags, 0).narrow(0, 0, unpartitioned_numel).view(shape)
|
| 380 |
+
|
| 381 |
+
partitioned_numel, partitioned_padding_numel = zero3_partitioned_param_info(unpartitioned_numel, world_size)
|
| 382 |
+
|
| 383 |
+
if debug:
|
| 384 |
+
print(
|
| 385 |
+
f"Frozen params: {total_params} {name} full shape: {shape} partition0 numel={partitioned_numel} partitioned_padding_numel={partitioned_padding_numel}"
|
| 386 |
+
)
|
| 387 |
+
|
| 388 |
+
print(f"Reconstructed Frozen fp32 state dict with {total_params} params {total_numel} elements")
|
| 389 |
+
|
| 390 |
+
|
| 391 |
+
class GatheredTensor:
|
| 392 |
+
"""
|
| 393 |
+
A pseudo tensor that collects partitioned weights.
|
| 394 |
+
It is more memory efficient when there are multiple groups.
|
| 395 |
+
"""
|
| 396 |
+
|
| 397 |
+
def __init__(self, flat_groups, flat_groups_offset, offset, partitioned_numel, shape):
|
| 398 |
+
self.flat_groups = flat_groups
|
| 399 |
+
self.flat_groups_offset = flat_groups_offset
|
| 400 |
+
self.offset = offset
|
| 401 |
+
self.partitioned_numel = partitioned_numel
|
| 402 |
+
self.shape = shape
|
| 403 |
+
self.dtype = self.flat_groups[0][0].dtype
|
| 404 |
+
|
| 405 |
+
def contiguous(self):
|
| 406 |
+
"""
|
| 407 |
+
Merge partitioned weights from flat_groups into a single tensor.
|
| 408 |
+
"""
|
| 409 |
+
end_idx = self.offset + self.partitioned_numel
|
| 410 |
+
world_size = len(self.flat_groups)
|
| 411 |
+
pad_flat_param_chunks = []
|
| 412 |
+
|
| 413 |
+
for rank_i in range(world_size):
|
| 414 |
+
# for each rank, we need to collect weights from related group/groups
|
| 415 |
+
flat_groups_at_rank_i = self.flat_groups[rank_i]
|
| 416 |
+
start_group_id = None
|
| 417 |
+
end_group_id = None
|
| 418 |
+
for group_id in range(len(self.flat_groups_offset)):
|
| 419 |
+
if self.flat_groups_offset[group_id] <= self.offset < self.flat_groups_offset[group_id + 1]:
|
| 420 |
+
start_group_id = group_id
|
| 421 |
+
if self.flat_groups_offset[group_id] < end_idx <= self.flat_groups_offset[group_id + 1]:
|
| 422 |
+
end_group_id = group_id
|
| 423 |
+
break
|
| 424 |
+
# collect weights from related group/groups
|
| 425 |
+
for group_id in range(start_group_id, end_group_id + 1):
|
| 426 |
+
flat_tensor = flat_groups_at_rank_i[group_id]
|
| 427 |
+
start_offset = self.offset - self.flat_groups_offset[group_id]
|
| 428 |
+
end_offset = min(end_idx, self.flat_groups_offset[group_id + 1]) - self.flat_groups_offset[group_id]
|
| 429 |
+
pad_flat_param_chunks.append(flat_tensor[start_offset:end_offset])
|
| 430 |
+
|
| 431 |
+
# collect weights from all ranks
|
| 432 |
+
pad_flat_param = torch.cat(pad_flat_param_chunks, dim=0)
|
| 433 |
+
param = pad_flat_param[:self.shape.numel()].view(self.shape).contiguous()
|
| 434 |
+
return param
|
| 435 |
+
|
| 436 |
+
|
| 437 |
+
def _zero3_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states):
|
| 438 |
+
param_shapes = zero_model_states[0].param_shapes
|
| 439 |
+
avail_numel = sum([flat_group.numel() for flat_group in fp32_flat_groups[0]]) * world_size
|
| 440 |
+
|
| 441 |
+
# Reconstruction protocol: For zero3 we need to zip the partitions together at boundary of each
|
| 442 |
+
# param, re-consolidating each param, while dealing with padding if any
|
| 443 |
+
|
| 444 |
+
# merge list of dicts, preserving order
|
| 445 |
+
param_shapes = {k: v for d in param_shapes for k, v in d.items()}
|
| 446 |
+
|
| 447 |
+
if debug:
|
| 448 |
+
for i in range(world_size):
|
| 449 |
+
print(f"{FP32_FLAT_GROUPS}[{i}].shape={fp32_flat_groups[i].shape}")
|
| 450 |
+
|
| 451 |
+
wanted_params = len(param_shapes)
|
| 452 |
+
wanted_numel = sum(shape.numel() for shape in param_shapes.values())
|
| 453 |
+
# not asserting if there is a mismatch due to possible padding
|
| 454 |
+
avail_numel = fp32_flat_groups[0].numel() * world_size
|
| 455 |
+
print(f"Trainable params: Have {avail_numel} numels to process.")
|
| 456 |
+
print(f"Trainable params: Need {wanted_numel} numels in {wanted_params} params.")
|
| 457 |
+
|
| 458 |
+
# params
|
| 459 |
+
# XXX: for huge models that can't fit into the host's RAM we will have to recode this to support
|
| 460 |
+
# out-of-core computing solution
|
| 461 |
+
offset = 0
|
| 462 |
+
total_numel = 0
|
| 463 |
+
total_params = 0
|
| 464 |
+
flat_groups_offset = [0] + list(np.cumsum([flat_tensor.numel() for flat_tensor in fp32_flat_groups[0]]))
|
| 465 |
+
for name, shape in tqdm(param_shapes.items(), desc='Gathering sharded weights'):
|
| 466 |
+
unpartitioned_numel = shape.numel()
|
| 467 |
+
total_numel += unpartitioned_numel
|
| 468 |
+
total_params += 1
|
| 469 |
+
partitioned_numel, partitioned_padding_numel = zero3_partitioned_param_info(unpartitioned_numel, world_size)
|
| 470 |
+
|
| 471 |
+
if debug:
|
| 472 |
+
print(
|
| 473 |
+
f"Trainable params: {total_params} {name} full shape: {shape} partition0 numel={partitioned_numel} partitioned_padding_numel={partitioned_padding_numel}"
|
| 474 |
+
)
|
| 475 |
+
|
| 476 |
+
# memory efficient tensor
|
| 477 |
+
tensor = GatheredTensor(fp32_flat_groups, flat_groups_offset, offset, partitioned_numel, shape)
|
| 478 |
+
state_dict[name] = tensor
|
| 479 |
+
offset += partitioned_numel
|
| 480 |
+
|
| 481 |
+
offset *= world_size
|
| 482 |
+
|
| 483 |
+
# Sanity check
|
| 484 |
+
if offset != avail_numel:
|
| 485 |
+
raise ValueError(f"consumed {offset} numels out of {avail_numel} - something is wrong")
|
| 486 |
+
|
| 487 |
+
print(f"Reconstructed Trainable fp32 state dict with {total_params} params {total_numel} elements")
|
| 488 |
+
|
| 489 |
+
|
| 490 |
+
def _get_fp32_state_dict_from_zero3_checkpoint(world_size, fp32_flat_groups, zero_model_states,
|
| 491 |
+
exclude_frozen_parameters):
|
| 492 |
+
state_dict = OrderedDict()
|
| 493 |
+
|
| 494 |
+
# buffers
|
| 495 |
+
buffers = zero_model_states[0].buffers
|
| 496 |
+
state_dict.update(buffers)
|
| 497 |
+
if debug:
|
| 498 |
+
print(f"added {len(buffers)} buffers")
|
| 499 |
+
|
| 500 |
+
if not exclude_frozen_parameters:
|
| 501 |
+
_zero3_merge_frozen_params(state_dict, world_size, zero_model_states)
|
| 502 |
+
|
| 503 |
+
_zero3_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states)
|
| 504 |
+
|
| 505 |
+
# recover shared parameters
|
| 506 |
+
for pair in zero_model_states[0].shared_params:
|
| 507 |
+
if pair[1] in state_dict:
|
| 508 |
+
state_dict[pair[0]] = state_dict[pair[1]]
|
| 509 |
+
|
| 510 |
+
return state_dict
|
| 511 |
+
|
| 512 |
+
|
| 513 |
+
def to_torch_tensor(state_dict, return_empty_tensor=False):
|
| 514 |
+
"""
|
| 515 |
+
Convert state_dict of GatheredTensor to torch tensor
|
| 516 |
+
"""
|
| 517 |
+
torch_state_dict = {}
|
| 518 |
+
converted_tensors = {}
|
| 519 |
+
for name, tensor in state_dict.items():
|
| 520 |
+
tensor_id = id(tensor)
|
| 521 |
+
if tensor_id in converted_tensors: # shared tensors
|
| 522 |
+
shared_tensor = torch_state_dict[converted_tensors[tensor_id]]
|
| 523 |
+
torch_state_dict[name] = shared_tensor
|
| 524 |
+
else:
|
| 525 |
+
converted_tensors[tensor_id] = name
|
| 526 |
+
if return_empty_tensor:
|
| 527 |
+
torch_state_dict[name] = torch.empty(tensor.shape, dtype=tensor.dtype)
|
| 528 |
+
else:
|
| 529 |
+
torch_state_dict[name] = tensor.contiguous()
|
| 530 |
+
return torch_state_dict
|
| 531 |
+
|
| 532 |
+
|
| 533 |
+
def get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir,
|
| 534 |
+
tag=None,
|
| 535 |
+
exclude_frozen_parameters=False,
|
| 536 |
+
lazy_mode=False):
|
| 537 |
+
"""
|
| 538 |
+
Convert ZeRO 2 or 3 checkpoint into a single fp32 consolidated state_dict that can be loaded with
|
| 539 |
+
``load_state_dict()`` and used for training without DeepSpeed or shared with others, for example
|
| 540 |
+
via a model hub.
|
| 541 |
+
|
| 542 |
+
Args:
|
| 543 |
+
- ``checkpoint_dir``: path to the desired checkpoint folder
|
| 544 |
+
- ``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``
|
| 545 |
+
- ``exclude_frozen_parameters``: exclude frozen parameters
|
| 546 |
+
- ``lazy_mode``: get state_dict in lazy mode. It returns a dict of pesduo tensor instead of torch tensor, which is more memory efficient.
|
| 547 |
+
Convert the pesduo tensor to torch tensor by ``.contiguous()``
|
| 548 |
+
|
| 549 |
+
Returns:
|
| 550 |
+
- pytorch ``state_dict``
|
| 551 |
+
|
| 552 |
+
A typical usage might be ::
|
| 553 |
+
|
| 554 |
+
from deepspeed.utils.zero_to_fp32 import get_fp32_state_dict_from_zero_checkpoint
|
| 555 |
+
# do the training and checkpoint saving
|
| 556 |
+
state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir) # already on cpu
|
| 557 |
+
model = model.cpu() # move to cpu
|
| 558 |
+
model.load_state_dict(state_dict)
|
| 559 |
+
# submit to model hub or save the model to share with others
|
| 560 |
+
|
| 561 |
+
In this example the ``model`` will no longer be usable in the deepspeed context of the same
|
| 562 |
+
application. i.e. you will need to re-initialize the deepspeed engine, since
|
| 563 |
+
``model.load_state_dict(state_dict)`` will remove all the deepspeed magic from it.
|
| 564 |
+
|
| 565 |
+
If you want it all done for you, use ``load_state_dict_from_zero_checkpoint`` instead.
|
| 566 |
+
|
| 567 |
+
Note: the above usage may not work if your application doesn't have sufficient free CPU memory.
|
| 568 |
+
You may need to use the offline approach using the ``zero_to_fp32.py`` script that is saved with
|
| 569 |
+
the checkpoint. Or you can load state_dict in lazy mode ::
|
| 570 |
+
|
| 571 |
+
from deepspeed.utils.zero_to_fp32 import get_fp32_state_dict_from_zero_checkpoint
|
| 572 |
+
state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir, lazy_mode=True) # not on cpu
|
| 573 |
+
for name, lazy_tensor in state_dict.item():
|
| 574 |
+
tensor = lazy_tensor.contiguous() # to cpu
|
| 575 |
+
print(name, tensor)
|
| 576 |
+
# del tensor to release memory if it no longer in use
|
| 577 |
+
"""
|
| 578 |
+
if tag is None:
|
| 579 |
+
latest_path = os.path.join(checkpoint_dir, 'latest')
|
| 580 |
+
if os.path.isfile(latest_path):
|
| 581 |
+
with open(latest_path, 'r') as fd:
|
| 582 |
+
tag = fd.read().strip()
|
| 583 |
+
else:
|
| 584 |
+
raise ValueError(f"Unable to find 'latest' file at {latest_path}")
|
| 585 |
+
|
| 586 |
+
ds_checkpoint_dir = os.path.join(checkpoint_dir, tag)
|
| 587 |
+
|
| 588 |
+
if not os.path.isdir(ds_checkpoint_dir):
|
| 589 |
+
raise FileNotFoundError(f"Directory '{ds_checkpoint_dir}' doesn't exist")
|
| 590 |
+
|
| 591 |
+
state_dict = _get_fp32_state_dict_from_zero_checkpoint(ds_checkpoint_dir, exclude_frozen_parameters)
|
| 592 |
+
if lazy_mode:
|
| 593 |
+
return state_dict
|
| 594 |
+
else:
|
| 595 |
+
return to_torch_tensor(state_dict)
|
| 596 |
+
|
| 597 |
+
|
| 598 |
+
def convert_zero_checkpoint_to_fp32_state_dict(checkpoint_dir,
|
| 599 |
+
output_dir,
|
| 600 |
+
max_shard_size="5GB",
|
| 601 |
+
safe_serialization=False,
|
| 602 |
+
tag=None,
|
| 603 |
+
exclude_frozen_parameters=False):
|
| 604 |
+
"""
|
| 605 |
+
Convert ZeRO 2 or 3 checkpoint into a single fp32 consolidated ``state_dict`` file that can be
|
| 606 |
+
loaded with ``torch.load(file)`` + ``load_state_dict()`` and used for training without DeepSpeed.
|
| 607 |
+
|
| 608 |
+
Args:
|
| 609 |
+
- ``checkpoint_dir``: path to the desired checkpoint folder. (one that contains the tag-folder, like ``global_step14``)
|
| 610 |
+
- ``output_dir``: directory to the pytorch fp32 state_dict output files
|
| 611 |
+
- ``max_shard_size``: the maximum size for a checkpoint before being sharded, default value is 5GB
|
| 612 |
+
- ``safe_serialization``: whether to save the model using `safetensors` or the traditional PyTorch way (that uses `pickle`).
|
| 613 |
+
- ``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``
|
| 614 |
+
- ``exclude_frozen_parameters``: exclude frozen parameters
|
| 615 |
+
"""
|
| 616 |
+
|
| 617 |
+
# Dependency pre-check
|
| 618 |
+
if safe_serialization:
|
| 619 |
+
try:
|
| 620 |
+
from safetensors.torch import save_file
|
| 621 |
+
except ImportError:
|
| 622 |
+
print('If you want to use `safe_serialization`, please `pip install safetensors`')
|
| 623 |
+
raise
|
| 624 |
+
if max_shard_size is not None:
|
| 625 |
+
try:
|
| 626 |
+
from huggingface_hub import split_torch_state_dict_into_shards
|
| 627 |
+
except ImportError:
|
| 628 |
+
print('If you want to use `max_shard_size`, please `pip install huggingface_hub`')
|
| 629 |
+
raise
|
| 630 |
+
|
| 631 |
+
# Convert zero checkpoint to state_dict
|
| 632 |
+
state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir,
|
| 633 |
+
tag,
|
| 634 |
+
exclude_frozen_parameters,
|
| 635 |
+
lazy_mode=True)
|
| 636 |
+
|
| 637 |
+
# Shard the model if it is too big.
|
| 638 |
+
weights_name = "model.safetensors" if safe_serialization else "pytorch_model.bin"
|
| 639 |
+
if max_shard_size is not None:
|
| 640 |
+
filename_pattern = weights_name.replace(".bin", "{suffix}.bin").replace(".safetensors", "{suffix}.safetensors")
|
| 641 |
+
# an memory-efficient approach for sharding
|
| 642 |
+
empty_state_dict = to_torch_tensor(state_dict, return_empty_tensor=True)
|
| 643 |
+
state_dict_split = split_torch_state_dict_into_shards(empty_state_dict,
|
| 644 |
+
filename_pattern=filename_pattern,
|
| 645 |
+
max_shard_size=max_shard_size)
|
| 646 |
+
else:
|
| 647 |
+
from collections import namedtuple
|
| 648 |
+
StateDictSplit = namedtuple("StateDictSplit", ["is_sharded", "filename_to_tensors"])
|
| 649 |
+
state_dict_split = StateDictSplit(is_sharded=False,
|
| 650 |
+
filename_to_tensors={weights_name: list(state_dict.keys())})
|
| 651 |
+
|
| 652 |
+
# Save the model by shard
|
| 653 |
+
os.makedirs(output_dir, exist_ok=True)
|
| 654 |
+
filename_to_tensors = state_dict_split.filename_to_tensors.items()
|
| 655 |
+
for shard_file, tensors in tqdm(filename_to_tensors, desc="Saving checkpoint shards"):
|
| 656 |
+
shard_state_dict = {tensor_name: state_dict[tensor_name] for tensor_name in tensors}
|
| 657 |
+
shard_state_dict = to_torch_tensor(shard_state_dict)
|
| 658 |
+
output_path = os.path.join(output_dir, shard_file)
|
| 659 |
+
if safe_serialization:
|
| 660 |
+
save_file(shard_state_dict, output_path, metadata={"format": "pt"})
|
| 661 |
+
else:
|
| 662 |
+
torch.save(shard_state_dict, output_path)
|
| 663 |
+
# release the memory of current shard
|
| 664 |
+
for tensor_name in list(shard_state_dict.keys()):
|
| 665 |
+
del state_dict[tensor_name]
|
| 666 |
+
del shard_state_dict[tensor_name]
|
| 667 |
+
del shard_state_dict
|
| 668 |
+
gc.collect()
|
| 669 |
+
|
| 670 |
+
# Save index if sharded
|
| 671 |
+
if state_dict_split.is_sharded:
|
| 672 |
+
index = {
|
| 673 |
+
"metadata": state_dict_split.metadata,
|
| 674 |
+
"weight_map": state_dict_split.tensor_to_filename,
|
| 675 |
+
}
|
| 676 |
+
save_index_file = "model.safetensors.index.json" if safe_serialization else "pytorch_model.bin.index.json"
|
| 677 |
+
save_index_file = os.path.join(output_dir, save_index_file)
|
| 678 |
+
with open(save_index_file, "w", encoding="utf-8") as f:
|
| 679 |
+
content = json.dumps(index, indent=2, sort_keys=True) + "\n"
|
| 680 |
+
f.write(content)
|
| 681 |
+
|
| 682 |
+
|
| 683 |
+
def load_state_dict_from_zero_checkpoint(model, checkpoint_dir, tag=None):
|
| 684 |
+
"""
|
| 685 |
+
1. Put the provided model to cpu
|
| 686 |
+
2. Convert ZeRO 2 or 3 checkpoint into a single fp32 consolidated ``state_dict``
|
| 687 |
+
3. Load it into the provided model
|
| 688 |
+
|
| 689 |
+
Args:
|
| 690 |
+
- ``model``: the model object to update
|
| 691 |
+
- ``checkpoint_dir``: path to the desired checkpoint folder. (one that contains the tag-folder, like ``global_step14``)
|
| 692 |
+
- ``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``
|
| 693 |
+
|
| 694 |
+
Returns:
|
| 695 |
+
- ``model`: modified model
|
| 696 |
+
|
| 697 |
+
Make sure you have plenty of CPU memory available before you call this function. If you don't
|
| 698 |
+
have enough use the ``zero_to_fp32.py`` utility to do the conversion. You will find it
|
| 699 |
+
conveniently placed for you in the checkpoint folder.
|
| 700 |
+
|
| 701 |
+
A typical usage might be ::
|
| 702 |
+
|
| 703 |
+
from deepspeed.utils.zero_to_fp32 import load_state_dict_from_zero_checkpoint
|
| 704 |
+
model = load_state_dict_from_zero_checkpoint(trainer.model, checkpoint_dir)
|
| 705 |
+
# submit to model hub or save the model to share with others
|
| 706 |
+
|
| 707 |
+
Note, that once this was run, the ``model`` will no longer be usable in the deepspeed context
|
| 708 |
+
of the same application. i.e. you will need to re-initialize the deepspeed engine, since
|
| 709 |
+
``model.load_state_dict(state_dict)`` will remove all the deepspeed magic from it.
|
| 710 |
+
|
| 711 |
+
"""
|
| 712 |
+
logger.info(f"Extracting fp32 weights")
|
| 713 |
+
state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir, tag)
|
| 714 |
+
|
| 715 |
+
logger.info(f"Overwriting model with fp32 weights")
|
| 716 |
+
model = model.cpu()
|
| 717 |
+
model.load_state_dict(state_dict, strict=False)
|
| 718 |
+
|
| 719 |
+
return model
|
| 720 |
+
|
| 721 |
+
|
| 722 |
+
if __name__ == "__main__":
|
| 723 |
+
parser = argparse.ArgumentParser()
|
| 724 |
+
parser.add_argument("checkpoint_dir",
|
| 725 |
+
type=str,
|
| 726 |
+
help="path to the desired checkpoint folder, e.g., path/checkpoint-12")
|
| 727 |
+
parser.add_argument("output_dir",
|
| 728 |
+
type=str,
|
| 729 |
+
help="directory to the pytorch fp32 state_dict output files"
|
| 730 |
+
"(e.g. path/checkpoint-12-output/)")
|
| 731 |
+
parser.add_argument(
|
| 732 |
+
"--max_shard_size",
|
| 733 |
+
type=str,
|
| 734 |
+
default="5GB",
|
| 735 |
+
help="The maximum size for a checkpoint before being sharded. Checkpoints shard will then be each of size"
|
| 736 |
+
"lower than this size. If expressed as a string, needs to be digits followed by a unit (like `5MB`"
|
| 737 |
+
"We default it to 5GB in order for models to be able to run easily on free-tier google colab instances"
|
| 738 |
+
"without CPU OOM issues.")
|
| 739 |
+
parser.add_argument(
|
| 740 |
+
"--safe_serialization",
|
| 741 |
+
default=False,
|
| 742 |
+
action='store_true',
|
| 743 |
+
help="Whether to save the model using `safetensors` or the traditional PyTorch way (that uses `pickle`).")
|
| 744 |
+
parser.add_argument("-t",
|
| 745 |
+
"--tag",
|
| 746 |
+
type=str,
|
| 747 |
+
default=None,
|
| 748 |
+
help="checkpoint tag used as a unique identifier for checkpoint. e.g., global_step1")
|
| 749 |
+
parser.add_argument("--exclude_frozen_parameters", action='store_true', help="exclude frozen parameters")
|
| 750 |
+
parser.add_argument("-d", "--debug", action='store_true', help="enable debug")
|
| 751 |
+
args = parser.parse_args()
|
| 752 |
+
|
| 753 |
+
debug = args.debug
|
| 754 |
+
|
| 755 |
+
convert_zero_checkpoint_to_fp32_state_dict(args.checkpoint_dir,
|
| 756 |
+
args.output_dir,
|
| 757 |
+
max_shard_size=args.max_shard_size,
|
| 758 |
+
safe_serialization=args.safe_serialization,
|
| 759 |
+
tag=args.tag,
|
| 760 |
+
exclude_frozen_parameters=args.exclude_frozen_parameters)
|
generation_config.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token_id": 151643,
|
| 3 |
+
"do_sample": true,
|
| 4 |
+
"eos_token_id": [
|
| 5 |
+
151645,
|
| 6 |
+
151643
|
| 7 |
+
],
|
| 8 |
+
"pad_token_id": 151643,
|
| 9 |
+
"repetition_penalty": 1.1,
|
| 10 |
+
"temperature": 0.7,
|
| 11 |
+
"top_k": 20,
|
| 12 |
+
"top_p": 0.8,
|
| 13 |
+
"transformers_version": "4.55.0"
|
| 14 |
+
}
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 3554214752
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2073a98f45d3a80177a1176538e5074a0d986ae36177a05416e96faed1f9c4ce
|
| 3 |
size 3554214752
|
trainer_log.jsonl
CHANGED
|
@@ -98,3 +98,12 @@
|
|
| 98 |
{"current_steps": 3780, "total_steps": 3886, "loss": 0.0093, "lr": 4.6164868715263825e-08, "epoch": 1.9455668511131128, "percentage": 97.27, "elapsed_time": "15:16:52", "remaining_time": "0:25:42"}
|
| 99 |
{"current_steps": 3790, "total_steps": 3886, "loss": 0.0104, "lr": 3.79443495114995e-08, "epoch": 1.950714193797452, "percentage": 97.53, "elapsed_time": "15:26:05", "remaining_time": "0:23:27"}
|
| 100 |
{"current_steps": 3800, "total_steps": 3886, "loss": 0.0094, "lr": 3.052782748386052e-08, "epoch": 1.9558615364817913, "percentage": 97.79, "elapsed_time": "15:35:18", "remaining_time": "0:21:10"}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 98 |
{"current_steps": 3780, "total_steps": 3886, "loss": 0.0093, "lr": 4.6164868715263825e-08, "epoch": 1.9455668511131128, "percentage": 97.27, "elapsed_time": "15:16:52", "remaining_time": "0:25:42"}
|
| 99 |
{"current_steps": 3790, "total_steps": 3886, "loss": 0.0104, "lr": 3.79443495114995e-08, "epoch": 1.950714193797452, "percentage": 97.53, "elapsed_time": "15:26:05", "remaining_time": "0:23:27"}
|
| 100 |
{"current_steps": 3800, "total_steps": 3886, "loss": 0.0094, "lr": 3.052782748386052e-08, "epoch": 1.9558615364817913, "percentage": 97.79, "elapsed_time": "15:35:18", "remaining_time": "0:21:10"}
|
| 101 |
+
{"current_steps": 3810, "total_steps": 3886, "loss": 0.0099, "lr": 2.3915901189811576e-08, "epoch": 1.9610088791661306, "percentage": 98.04, "elapsed_time": "15:46:17", "remaining_time": "0:18:52"}
|
| 102 |
+
{"current_steps": 3820, "total_steps": 3886, "loss": 0.0097, "lr": 1.8109104251151645e-08, "epoch": 1.9661562218504698, "percentage": 98.3, "elapsed_time": "15:55:21", "remaining_time": "0:16:30"}
|
| 103 |
+
{"current_steps": 3830, "total_steps": 3886, "loss": 0.0103, "lr": 1.310790531095063e-08, "epoch": 1.971303564534809, "percentage": 98.56, "elapsed_time": "16:04:36", "remaining_time": "0:14:06"}
|
| 104 |
+
{"current_steps": 3840, "total_steps": 3886, "loss": 0.0098, "lr": 8.9127079957263e-09, "epoch": 1.976450907219148, "percentage": 98.82, "elapsed_time": "16:13:42", "remaining_time": "0:11:39"}
|
| 105 |
+
{"current_steps": 3850, "total_steps": 3886, "loss": 0.0101, "lr": 5.523850882866999e-09, "epoch": 1.9815982499034872, "percentage": 99.07, "elapsed_time": "16:22:56", "remaining_time": "0:09:11"}
|
| 106 |
+
{"current_steps": 3860, "total_steps": 3886, "loss": 0.0094, "lr": 2.941607473311292e-09, "epoch": 1.9867455925878266, "percentage": 99.33, "elapsed_time": "16:32:12", "remaining_time": "0:06:40"}
|
| 107 |
+
{"current_steps": 3870, "total_steps": 3886, "loss": 0.0098, "lr": 1.166186169466732e-09, "epoch": 1.9918929352721657, "percentage": 99.59, "elapsed_time": "16:41:28", "remaining_time": "0:04:08"}
|
| 108 |
+
{"current_steps": 3880, "total_steps": 3886, "loss": 0.01, "lr": 1.9773025839997518e-10, "epoch": 1.997040277956505, "percentage": 99.85, "elapsed_time": "16:50:33", "remaining_time": "0:01:33"}
|
| 109 |
+
{"current_steps": 3885, "total_steps": 3886, "epoch": 1.9996139492986744, "percentage": 99.97, "elapsed_time": "16:55:47", "remaining_time": "0:00:15"}
|