Text Generation
Transformers
Safetensors
English
Korean
gemma4
image-text-to-text
terminal
sft
vllm
tb2-lite
evaluation-pending
conversational
Instructions to use LLM-OS-Models/gemma-4-E2B-it-Terminal-SFT-2Epoch-DDP-4GPU with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use LLM-OS-Models/gemma-4-E2B-it-Terminal-SFT-2Epoch-DDP-4GPU with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="LLM-OS-Models/gemma-4-E2B-it-Terminal-SFT-2Epoch-DDP-4GPU") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# Load model directly from transformers import AutoProcessor, AutoModelForImageTextToText processor = AutoProcessor.from_pretrained("LLM-OS-Models/gemma-4-E2B-it-Terminal-SFT-2Epoch-DDP-4GPU") model = AutoModelForImageTextToText.from_pretrained("LLM-OS-Models/gemma-4-E2B-it-Terminal-SFT-2Epoch-DDP-4GPU") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.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(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use LLM-OS-Models/gemma-4-E2B-it-Terminal-SFT-2Epoch-DDP-4GPU with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "LLM-OS-Models/gemma-4-E2B-it-Terminal-SFT-2Epoch-DDP-4GPU" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "LLM-OS-Models/gemma-4-E2B-it-Terminal-SFT-2Epoch-DDP-4GPU", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/LLM-OS-Models/gemma-4-E2B-it-Terminal-SFT-2Epoch-DDP-4GPU
- SGLang
How to use LLM-OS-Models/gemma-4-E2B-it-Terminal-SFT-2Epoch-DDP-4GPU 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 "LLM-OS-Models/gemma-4-E2B-it-Terminal-SFT-2Epoch-DDP-4GPU" \ --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": "LLM-OS-Models/gemma-4-E2B-it-Terminal-SFT-2Epoch-DDP-4GPU", "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 "LLM-OS-Models/gemma-4-E2B-it-Terminal-SFT-2Epoch-DDP-4GPU" \ --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": "LLM-OS-Models/gemma-4-E2B-it-Terminal-SFT-2Epoch-DDP-4GPU", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use LLM-OS-Models/gemma-4-E2B-it-Terminal-SFT-2Epoch-DDP-4GPU with Docker Model Runner:
docker model run hf.co/LLM-OS-Models/gemma-4-E2B-it-Terminal-SFT-2Epoch-DDP-4GPU
Upload Gemma 4 E2B 2epoch DDP model artifacts
Browse files- .gitattributes +3 -0
- README.md +37 -0
- chat_template.jinja +344 -0
- checkpoint-367/chat_template.jinja +344 -0
- checkpoint-367/config.json +192 -0
- checkpoint-367/generation_config.json +14 -0
- checkpoint-367/model.safetensors +3 -0
- checkpoint-367/tokenizer.json +3 -0
- checkpoint-367/tokenizer_config.json +95 -0
- checkpoint-367/trainer_state.json +2603 -0
- checkpoint-367/training_args.bin +3 -0
- checkpoint-734/chat_template.jinja +344 -0
- checkpoint-734/config.json +192 -0
- checkpoint-734/generation_config.json +14 -0
- checkpoint-734/model.safetensors +3 -0
- checkpoint-734/tokenizer.json +3 -0
- checkpoint-734/tokenizer_config.json +95 -0
- checkpoint-734/trainer_state.json +0 -0
- checkpoint-734/training_args.bin +3 -0
- config.json +192 -0
- generation_config.json +14 -0
- model.safetensors +3 -0
- tokenizer.json +3 -0
- tokenizer_config.json +95 -0
- trainer_state.json +0 -0
- training_args.bin +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip 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
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip 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 |
+
checkpoint-367/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
checkpoint-734/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
library_name: transformers
|
| 4 |
+
base_model: google/gemma-4-E2B-it
|
| 5 |
+
tags:
|
| 6 |
+
- terminal-agent
|
| 7 |
+
- qwen3.5
|
| 8 |
+
- full-finetuning
|
| 9 |
+
- unsloth
|
| 10 |
+
- tb2-lite
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# LLM-OS-Models/gemma-4-E2B-it-Terminal-SFT-2Epoch-DDP-4GPU
|
| 14 |
+
|
| 15 |
+
## Summary
|
| 16 |
+
|
| 17 |
+
- Base model: `google/gemma-4-E2B-it`
|
| 18 |
+
- Source output root: `/home/work/.data/qwen_sft/models/google__gemma-4-E2B-it__terminal_sft_2epoch_ddp_4gpu`
|
| 19 |
+
- Root export copied from: `checkpoint-734`
|
| 20 |
+
- Included checkpoints: `checkpoint-367, checkpoint-734`
|
| 21 |
+
|
| 22 |
+
## Layout
|
| 23 |
+
|
| 24 |
+
- Repository root contains the eval/inference-ready final export.
|
| 25 |
+
- Trainer checkpoints are included as subdirectories for recovery and inspection.
|
| 26 |
+
|
| 27 |
+
## Notes
|
| 28 |
+
|
| 29 |
+
Gemma 4 E2B text-only terminal SFT, 4-GPU DDP, epoch checkpoints included.
|
| 30 |
+
|
| 31 |
+
## Loading
|
| 32 |
+
|
| 33 |
+
```python
|
| 34 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 35 |
+
tokenizer = AutoTokenizer.from_pretrained("LLM-OS-Models/gemma-4-E2B-it-Terminal-SFT-2Epoch-DDP-4GPU", trust_remote_code=True)
|
| 36 |
+
model = AutoModelForCausalLM.from_pretrained("LLM-OS-Models/gemma-4-E2B-it-Terminal-SFT-2Epoch-DDP-4GPU", trust_remote_code=True)
|
| 37 |
+
```
|
chat_template.jinja
ADDED
|
@@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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- macro format_parameters(properties, required) -%}
|
| 2 |
+
{%- set standard_keys = ['description', 'type', 'properties', 'required', 'nullable'] -%}
|
| 3 |
+
{%- set ns = namespace(found_first=false) -%}
|
| 4 |
+
{%- for key, value in properties | dictsort -%}
|
| 5 |
+
{%- set add_comma = false -%}
|
| 6 |
+
{%- if key not in standard_keys -%}
|
| 7 |
+
{%- if ns.found_first %},{% endif -%}
|
| 8 |
+
{%- set ns.found_first = true -%}
|
| 9 |
+
{{ key }}:{
|
| 10 |
+
{%- if value['description'] -%}
|
| 11 |
+
description:<|"|>{{ value['description'] }}<|"|>
|
| 12 |
+
{%- set add_comma = true -%}
|
| 13 |
+
{%- endif -%}
|
| 14 |
+
{%- if value['type'] | upper == 'STRING' -%}
|
| 15 |
+
{%- if value['enum'] -%}
|
| 16 |
+
{%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}
|
| 17 |
+
enum:{{ format_argument(value['enum']) }}
|
| 18 |
+
{%- endif -%}
|
| 19 |
+
{%- elif value['type'] | upper == 'ARRAY' -%}
|
| 20 |
+
{%- if value['items'] is mapping and value['items'] -%}
|
| 21 |
+
{%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}
|
| 22 |
+
items:{
|
| 23 |
+
{%- set ns_items = namespace(found_first=false) -%}
|
| 24 |
+
{%- for item_key, item_value in value['items'] | dictsort -%}
|
| 25 |
+
{%- if item_value is not none -%}
|
| 26 |
+
{%- if ns_items.found_first %},{% endif -%}
|
| 27 |
+
{%- set ns_items.found_first = true -%}
|
| 28 |
+
{%- if item_key == 'properties' -%}
|
| 29 |
+
properties:{
|
| 30 |
+
{%- if item_value is mapping -%}
|
| 31 |
+
{{- format_parameters(item_value, value['items']['required'] | default([])) -}}
|
| 32 |
+
{%- endif -%}
|
| 33 |
+
}
|
| 34 |
+
{%- elif item_key == 'required' -%}
|
| 35 |
+
required:[
|
| 36 |
+
{%- for req_item in item_value -%}
|
| 37 |
+
<|"|>{{- req_item -}}<|"|>
|
| 38 |
+
{%- if not loop.last %},{% endif -%}
|
| 39 |
+
{%- endfor -%}
|
| 40 |
+
]
|
| 41 |
+
{%- elif item_key == 'type' -%}
|
| 42 |
+
{%- if item_value is string -%}
|
| 43 |
+
type:{{ format_argument(item_value | upper) }}
|
| 44 |
+
{%- else -%}
|
| 45 |
+
type:{{ format_argument(item_value | map('upper') | list) }}
|
| 46 |
+
{%- endif -%}
|
| 47 |
+
{%- else -%}
|
| 48 |
+
{{ item_key }}:{{ format_argument(item_value) }}
|
| 49 |
+
{%- endif -%}
|
| 50 |
+
{%- endif -%}
|
| 51 |
+
{%- endfor -%}
|
| 52 |
+
}
|
| 53 |
+
{%- endif -%}
|
| 54 |
+
{%- endif -%}
|
| 55 |
+
{%- if value['nullable'] %}
|
| 56 |
+
{%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}
|
| 57 |
+
nullable:true
|
| 58 |
+
{%- endif -%}
|
| 59 |
+
{%- if value['type'] | upper == 'OBJECT' -%}
|
| 60 |
+
{%- if value['properties'] is defined and value['properties'] is mapping -%}
|
| 61 |
+
{%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}
|
| 62 |
+
properties:{
|
| 63 |
+
{{- format_parameters(value['properties'], value['required'] | default([])) -}}
|
| 64 |
+
}
|
| 65 |
+
{%- elif value is mapping -%}
|
| 66 |
+
{%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}
|
| 67 |
+
properties:{
|
| 68 |
+
{{- format_parameters(value, value['required'] | default([])) -}}
|
| 69 |
+
}
|
| 70 |
+
{%- endif -%}
|
| 71 |
+
{%- if value['required'] -%}
|
| 72 |
+
{%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}
|
| 73 |
+
required:[
|
| 74 |
+
{%- for item in value['required'] | default([]) -%}
|
| 75 |
+
<|"|>{{- item -}}<|"|>
|
| 76 |
+
{%- if not loop.last %},{% endif -%}
|
| 77 |
+
{%- endfor -%}
|
| 78 |
+
]
|
| 79 |
+
{%- endif -%}
|
| 80 |
+
{%- endif -%}
|
| 81 |
+
{%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}
|
| 82 |
+
type:<|"|>{{ value['type'] | upper }}<|"|>}
|
| 83 |
+
{%- endif -%}
|
| 84 |
+
{%- endfor -%}
|
| 85 |
+
{%- endmacro -%}
|
| 86 |
+
{%- macro format_function_declaration(tool_data) -%}
|
| 87 |
+
declaration:{{- tool_data['function']['name'] -}}{description:<|"|>{{- tool_data['function']['description'] -}}<|"|>
|
| 88 |
+
{%- set params = tool_data['function']['parameters'] -%}
|
| 89 |
+
{%- if params -%}
|
| 90 |
+
,parameters:{
|
| 91 |
+
{%- if params['properties'] -%}
|
| 92 |
+
properties:{ {{- format_parameters(params['properties'], params['required']) -}} },
|
| 93 |
+
{%- endif -%}
|
| 94 |
+
{%- if params['required'] -%}
|
| 95 |
+
required:[
|
| 96 |
+
{%- for item in params['required'] -%}
|
| 97 |
+
<|"|>{{- item -}}<|"|>
|
| 98 |
+
{{- ',' if not loop.last -}}
|
| 99 |
+
{%- endfor -%}
|
| 100 |
+
],
|
| 101 |
+
{%- endif -%}
|
| 102 |
+
{%- if params['type'] -%}
|
| 103 |
+
type:<|"|>{{- params['type'] | upper -}}<|"|>}
|
| 104 |
+
{%- endif -%}
|
| 105 |
+
{%- endif -%}
|
| 106 |
+
{%- if 'response' in tool_data['function'] -%}
|
| 107 |
+
{%- set response_declaration = tool_data['function']['response'] -%}
|
| 108 |
+
,response:{
|
| 109 |
+
{%- if response_declaration['description'] -%}
|
| 110 |
+
description:<|"|>{{- response_declaration['description'] -}}<|"|>,
|
| 111 |
+
{%- endif -%}
|
| 112 |
+
{%- if response_declaration['type'] | upper == 'OBJECT' -%}
|
| 113 |
+
type:<|"|>{{- response_declaration['type'] | upper -}}<|"|>}
|
| 114 |
+
{%- endif -%}
|
| 115 |
+
{%- endif -%}
|
| 116 |
+
}
|
| 117 |
+
{%- endmacro -%}
|
| 118 |
+
{%- macro format_argument(argument, escape_keys=True) -%}
|
| 119 |
+
{%- if argument is string -%}
|
| 120 |
+
{{- '<|"|>' + argument + '<|"|>' -}}
|
| 121 |
+
{%- elif argument is boolean -%}
|
| 122 |
+
{{- 'true' if argument else 'false' -}}
|
| 123 |
+
{%- elif argument is mapping -%}
|
| 124 |
+
{{- '{' -}}
|
| 125 |
+
{%- set ns = namespace(found_first=false) -%}
|
| 126 |
+
{%- for key, value in argument | dictsort -%}
|
| 127 |
+
{%- if ns.found_first %},{% endif -%}
|
| 128 |
+
{%- set ns.found_first = true -%}
|
| 129 |
+
{%- if escape_keys -%}
|
| 130 |
+
{{- '<|"|>' + key + '<|"|>' -}}
|
| 131 |
+
{%- else -%}
|
| 132 |
+
{{- key -}}
|
| 133 |
+
{%- endif -%}
|
| 134 |
+
:{{- format_argument(value, escape_keys=escape_keys) -}}
|
| 135 |
+
{%- endfor -%}
|
| 136 |
+
{{- '}' -}}
|
| 137 |
+
{%- elif argument is sequence -%}
|
| 138 |
+
{{- '[' -}}
|
| 139 |
+
{%- for item in argument -%}
|
| 140 |
+
{{- format_argument(item, escape_keys=escape_keys) -}}
|
| 141 |
+
{%- if not loop.last %},{% endif -%}
|
| 142 |
+
{%- endfor -%}
|
| 143 |
+
{{- ']' -}}
|
| 144 |
+
{%- else -%}
|
| 145 |
+
{{- argument -}}
|
| 146 |
+
{%- endif -%}
|
| 147 |
+
{%- endmacro -%}
|
| 148 |
+
{%- macro strip_thinking(text) -%}
|
| 149 |
+
{%- set ns = namespace(result='') -%}
|
| 150 |
+
{%- for part in text.split('<channel|>') -%}
|
| 151 |
+
{%- if '<|channel>' in part -%}
|
| 152 |
+
{%- set ns.result = ns.result + part.split('<|channel>')[0] -%}
|
| 153 |
+
{%- else -%}
|
| 154 |
+
{%- set ns.result = ns.result + part -%}
|
| 155 |
+
{%- endif -%}
|
| 156 |
+
{%- endfor -%}
|
| 157 |
+
{{- ns.result | trim -}}
|
| 158 |
+
{%- endmacro -%}
|
| 159 |
+
|
| 160 |
+
{%- macro format_tool_response_block(tool_name, response) -%}
|
| 161 |
+
{{- '<|tool_response>' -}}
|
| 162 |
+
{%- if response is mapping -%}
|
| 163 |
+
{{- 'response:' + tool_name + '{' -}}
|
| 164 |
+
{%- for key, value in response | dictsort -%}
|
| 165 |
+
{{- key -}}:{{- format_argument(value, escape_keys=False) -}}
|
| 166 |
+
{%- if not loop.last %},{% endif -%}
|
| 167 |
+
{%- endfor -%}
|
| 168 |
+
{{- '}' -}}
|
| 169 |
+
{%- else -%}
|
| 170 |
+
{{- 'response:' + tool_name + '{value:' + format_argument(response, escape_keys=False) + '}' -}}
|
| 171 |
+
{%- endif -%}
|
| 172 |
+
{{- '<tool_response|>' -}}
|
| 173 |
+
{%- endmacro -%}
|
| 174 |
+
|
| 175 |
+
{%- set ns = namespace(prev_message_type=None) -%}
|
| 176 |
+
{%- set loop_messages = messages -%}
|
| 177 |
+
{{- bos_token -}}
|
| 178 |
+
{#- Handle System/Tool Definitions Block -#}
|
| 179 |
+
{%- if (enable_thinking is defined and enable_thinking) or tools or messages[0]['role'] in ['system', 'developer'] -%}
|
| 180 |
+
{{- '<|turn>system\n' -}}
|
| 181 |
+
|
| 182 |
+
{#- Inject Thinking token at the very top of the FIRST system turn -#}
|
| 183 |
+
{%- if enable_thinking is defined and enable_thinking -%}
|
| 184 |
+
{{- '<|think|>\n' -}}
|
| 185 |
+
{%- set ns.prev_message_type = 'think' -%}
|
| 186 |
+
{%- endif -%}
|
| 187 |
+
|
| 188 |
+
{%- if messages[0]['role'] in ['system', 'developer'] -%}
|
| 189 |
+
{{- messages[0]['content'] | trim -}}
|
| 190 |
+
{%- set loop_messages = messages[1:] -%}
|
| 191 |
+
{%- endif -%}
|
| 192 |
+
|
| 193 |
+
{%- if tools -%}
|
| 194 |
+
{%- for tool in tools %}
|
| 195 |
+
{{- '<|tool>' -}}
|
| 196 |
+
{{- format_function_declaration(tool) | trim -}}
|
| 197 |
+
{{- '<tool|>' -}}
|
| 198 |
+
{%- endfor %}
|
| 199 |
+
{%- set ns.prev_message_type = 'tool' -%}
|
| 200 |
+
{%- endif -%}
|
| 201 |
+
|
| 202 |
+
{{- '<turn|>\n' -}}
|
| 203 |
+
{%- endif %}
|
| 204 |
+
|
| 205 |
+
{#- Pre-scan: find last user message index for reasoning guard -#}
|
| 206 |
+
{%- set ns_turn = namespace(last_user_idx=-1) -%}
|
| 207 |
+
{%- for i in range(loop_messages | length) -%}
|
| 208 |
+
{%- if loop_messages[i]['role'] == 'user' -%}
|
| 209 |
+
{%- set ns_turn.last_user_idx = i -%}
|
| 210 |
+
{%- endif -%}
|
| 211 |
+
{%- endfor -%}
|
| 212 |
+
|
| 213 |
+
{#- Loop through messages -#}
|
| 214 |
+
{%- for message in loop_messages -%}
|
| 215 |
+
{%- if message['role'] != 'tool' -%}
|
| 216 |
+
{%- set ns.prev_message_type = None -%}
|
| 217 |
+
{%- set role = 'model' if message['role'] == 'assistant' else message['role'] -%}
|
| 218 |
+
{#- Detect continuation: suppress duplicate <|turn>model when previous non-tool message was also assistant -#}
|
| 219 |
+
{%- set prev_nt = namespace(role=None, found=false) -%}
|
| 220 |
+
{%- if loop.index0 > 0 -%}
|
| 221 |
+
{%- for j in range(loop.index0 - 1, -1, -1) -%}
|
| 222 |
+
{%- if not prev_nt.found -%}
|
| 223 |
+
{%- if loop_messages[j]['role'] != 'tool' -%}
|
| 224 |
+
{%- set prev_nt.role = loop_messages[j]['role'] -%}
|
| 225 |
+
{%- set prev_nt.found = true -%}
|
| 226 |
+
{%- endif -%}
|
| 227 |
+
{%- endif -%}
|
| 228 |
+
{%- endfor -%}
|
| 229 |
+
{%- endif -%}
|
| 230 |
+
{%- set continue_same_model_turn = (role == 'model' and prev_nt.role == 'assistant') -%}
|
| 231 |
+
{%- if not continue_same_model_turn -%}
|
| 232 |
+
{{- '<|turn>' + role + '\n' }}
|
| 233 |
+
{%- endif -%}
|
| 234 |
+
|
| 235 |
+
{#- Render reasoning/reasoning_content as thinking channel -#}
|
| 236 |
+
{%- set thinking_text = message.get('reasoning') or message.get('reasoning_content') -%}
|
| 237 |
+
{%- if thinking_text and loop.index0 > ns_turn.last_user_idx and message.get('tool_calls') -%}
|
| 238 |
+
{{- '<|channel>thought\n' + thinking_text + '\n<channel|>' -}}
|
| 239 |
+
{%- endif -%}
|
| 240 |
+
|
| 241 |
+
{%- if message['tool_calls'] -%}
|
| 242 |
+
{%- for tool_call in message['tool_calls'] -%}
|
| 243 |
+
{%- set function = tool_call['function'] -%}
|
| 244 |
+
{{- '<|tool_call>call:' + function['name'] + '{' -}}
|
| 245 |
+
{%- if function['arguments'] is mapping -%}
|
| 246 |
+
{%- set ns_args = namespace(found_first=false) -%}
|
| 247 |
+
{%- for key, value in function['arguments'] | dictsort -%}
|
| 248 |
+
{%- if ns_args.found_first %},{% endif -%}
|
| 249 |
+
{%- set ns_args.found_first = true -%}
|
| 250 |
+
{{- key -}}:{{- format_argument(value, escape_keys=False) -}}
|
| 251 |
+
{%- endfor -%}
|
| 252 |
+
{%- elif function['arguments'] is string -%}
|
| 253 |
+
{{- function['arguments'] -}}
|
| 254 |
+
{%- endif -%}
|
| 255 |
+
{{- '}<tool_call|>' -}}
|
| 256 |
+
{%- endfor -%}
|
| 257 |
+
{%- set ns.prev_message_type = 'tool_call' -%}
|
| 258 |
+
{%- endif -%}
|
| 259 |
+
|
| 260 |
+
{%- set ns_tr_out = namespace(flag=false) -%}
|
| 261 |
+
{%- if message.get('tool_responses') -%}
|
| 262 |
+
{#- Legacy: tool_responses embedded on the assistant message (Google/Gemma native) -#}
|
| 263 |
+
{%- for tool_response in message['tool_responses'] -%}
|
| 264 |
+
{{- format_tool_response_block(tool_response['name'] | default('unknown'), tool_response['response']) -}}
|
| 265 |
+
{%- set ns_tr_out.flag = true -%}
|
| 266 |
+
{%- set ns.prev_message_type = 'tool_response' -%}
|
| 267 |
+
{%- endfor -%}
|
| 268 |
+
{%- elif message.get('tool_calls') -%}
|
| 269 |
+
{#- OpenAI Chat Completions: forward-scan consecutive role:tool messages -#}
|
| 270 |
+
{%- set ns_tool_scan = namespace(stopped=false) -%}
|
| 271 |
+
{%- for k in range(loop.index0 + 1, loop_messages | length) -%}
|
| 272 |
+
{%- if ns_tool_scan.stopped -%}
|
| 273 |
+
{%- elif loop_messages[k]['role'] != 'tool' -%}
|
| 274 |
+
{%- set ns_tool_scan.stopped = true -%}
|
| 275 |
+
{%- else -%}
|
| 276 |
+
{%- set follow = loop_messages[k] -%}
|
| 277 |
+
{#- Resolve tool_call_id to function name -#}
|
| 278 |
+
{%- set ns_tname = namespace(name=follow.get('name') | default('unknown')) -%}
|
| 279 |
+
{%- for tc in message['tool_calls'] -%}
|
| 280 |
+
{%- if tc.get('id') == follow.get('tool_call_id') -%}
|
| 281 |
+
{%- set ns_tname.name = tc['function']['name'] -%}
|
| 282 |
+
{%- endif -%}
|
| 283 |
+
{%- endfor -%}
|
| 284 |
+
{#- Handle content as string or content-parts array -#}
|
| 285 |
+
{%- set tool_body = follow.get('content') -%}
|
| 286 |
+
{%- if tool_body is string -%}
|
| 287 |
+
{{- format_tool_response_block(ns_tname.name, tool_body) -}}
|
| 288 |
+
{%- elif tool_body is sequence and tool_body is not string -%}
|
| 289 |
+
{%- set ns_txt = namespace(s='') -%}
|
| 290 |
+
{%- for part in tool_body -%}
|
| 291 |
+
{%- if part.get('type') == 'text' -%}
|
| 292 |
+
{%- set ns_txt.s = ns_txt.s + (part.get('text') | default('')) -%}
|
| 293 |
+
{%- endif -%}
|
| 294 |
+
{%- endfor -%}
|
| 295 |
+
{{- format_tool_response_block(ns_tname.name, ns_txt.s) -}}
|
| 296 |
+
{%- else -%}
|
| 297 |
+
{{- format_tool_response_block(ns_tname.name, tool_body) -}}
|
| 298 |
+
{%- endif -%}
|
| 299 |
+
{%- set ns_tr_out.flag = true -%}
|
| 300 |
+
{%- set ns.prev_message_type = 'tool_response' -%}
|
| 301 |
+
{%- endif -%}
|
| 302 |
+
{%- endfor -%}
|
| 303 |
+
{%- endif -%}
|
| 304 |
+
|
| 305 |
+
{%- if message['content'] is string -%}
|
| 306 |
+
{%- if role == 'model' -%}
|
| 307 |
+
{{- strip_thinking(message['content']) -}}
|
| 308 |
+
{%- else -%}
|
| 309 |
+
{{- message['content'] | trim -}}
|
| 310 |
+
{%- endif -%}
|
| 311 |
+
{%- elif message['content'] is sequence -%}
|
| 312 |
+
{%- for item in message['content'] -%}
|
| 313 |
+
{%- if item['type'] == 'text' -%}
|
| 314 |
+
{%- if role == 'model' -%}
|
| 315 |
+
{{- strip_thinking(item['text']) -}}
|
| 316 |
+
{%- else -%}
|
| 317 |
+
{{- item['text'] | trim -}}
|
| 318 |
+
{%- endif -%}
|
| 319 |
+
{%- elif item['type'] == 'image' -%}
|
| 320 |
+
{{- '<|image|>' -}}
|
| 321 |
+
{%- set ns.prev_message_type = 'image' -%}
|
| 322 |
+
{%- elif item['type'] == 'audio' -%}
|
| 323 |
+
{{- '<|audio|>' -}}
|
| 324 |
+
{%- set ns.prev_message_type = 'audio' -%}
|
| 325 |
+
{%- elif item['type'] == 'video' -%}
|
| 326 |
+
{{- '<|video|>' -}}
|
| 327 |
+
{%- set ns.prev_message_type = 'video' -%}
|
| 328 |
+
{%- endif -%}
|
| 329 |
+
{%- endfor -%}
|
| 330 |
+
{%- endif -%}
|
| 331 |
+
|
| 332 |
+
{%- if ns.prev_message_type == 'tool_call' and not ns_tr_out.flag -%}
|
| 333 |
+
{{- '<|tool_response>' -}}
|
| 334 |
+
{%- elif not (ns_tr_out.flag and not message.get('content')) -%}
|
| 335 |
+
{{- '<turn|>\n' -}}
|
| 336 |
+
{%- endif -%}
|
| 337 |
+
{%- endif -%}
|
| 338 |
+
{%- endfor -%}
|
| 339 |
+
|
| 340 |
+
{%- if add_generation_prompt -%}
|
| 341 |
+
{%- if ns.prev_message_type != 'tool_response' and ns.prev_message_type != 'tool_call' -%}
|
| 342 |
+
{{-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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- macro format_parameters(properties, required) -%}
|
| 2 |
+
{%- set standard_keys = ['description', 'type', 'properties', 'required', 'nullable'] -%}
|
| 3 |
+
{%- set ns = namespace(found_first=false) -%}
|
| 4 |
+
{%- for key, value in properties | dictsort -%}
|
| 5 |
+
{%- set add_comma = false -%}
|
| 6 |
+
{%- if key not in standard_keys -%}
|
| 7 |
+
{%- if ns.found_first %},{% endif -%}
|
| 8 |
+
{%- set ns.found_first = true -%}
|
| 9 |
+
{{ key }}:{
|
| 10 |
+
{%- if value['description'] -%}
|
| 11 |
+
description:<|"|>{{ value['description'] }}<|"|>
|
| 12 |
+
{%- set add_comma = true -%}
|
| 13 |
+
{%- endif -%}
|
| 14 |
+
{%- if value['type'] | upper == 'STRING' -%}
|
| 15 |
+
{%- if value['enum'] -%}
|
| 16 |
+
{%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}
|
| 17 |
+
enum:{{ format_argument(value['enum']) }}
|
| 18 |
+
{%- endif -%}
|
| 19 |
+
{%- elif value['type'] | upper == 'ARRAY' -%}
|
| 20 |
+
{%- if value['items'] is mapping and value['items'] -%}
|
| 21 |
+
{%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}
|
| 22 |
+
items:{
|
| 23 |
+
{%- set ns_items = namespace(found_first=false) -%}
|
| 24 |
+
{%- for item_key, item_value in value['items'] | dictsort -%}
|
| 25 |
+
{%- if item_value is not none -%}
|
| 26 |
+
{%- if ns_items.found_first %},{% endif -%}
|
| 27 |
+
{%- set ns_items.found_first = true -%}
|
| 28 |
+
{%- if item_key == 'properties' -%}
|
| 29 |
+
properties:{
|
| 30 |
+
{%- if item_value is mapping -%}
|
| 31 |
+
{{- format_parameters(item_value, value['items']['required'] | default([])) -}}
|
| 32 |
+
{%- endif -%}
|
| 33 |
+
}
|
| 34 |
+
{%- elif item_key == 'required' -%}
|
| 35 |
+
required:[
|
| 36 |
+
{%- for req_item in item_value -%}
|
| 37 |
+
<|"|>{{- req_item -}}<|"|>
|
| 38 |
+
{%- if not loop.last %},{% endif -%}
|
| 39 |
+
{%- endfor -%}
|
| 40 |
+
]
|
| 41 |
+
{%- elif item_key == 'type' -%}
|
| 42 |
+
{%- if item_value is string -%}
|
| 43 |
+
type:{{ format_argument(item_value | upper) }}
|
| 44 |
+
{%- else -%}
|
| 45 |
+
type:{{ format_argument(item_value | map('upper') | list) }}
|
| 46 |
+
{%- endif -%}
|
| 47 |
+
{%- else -%}
|
| 48 |
+
{{ item_key }}:{{ format_argument(item_value) }}
|
| 49 |
+
{%- endif -%}
|
| 50 |
+
{%- endif -%}
|
| 51 |
+
{%- endfor -%}
|
| 52 |
+
}
|
| 53 |
+
{%- endif -%}
|
| 54 |
+
{%- endif -%}
|
| 55 |
+
{%- if value['nullable'] %}
|
| 56 |
+
{%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}
|
| 57 |
+
nullable:true
|
| 58 |
+
{%- endif -%}
|
| 59 |
+
{%- if value['type'] | upper == 'OBJECT' -%}
|
| 60 |
+
{%- if value['properties'] is defined and value['properties'] is mapping -%}
|
| 61 |
+
{%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}
|
| 62 |
+
properties:{
|
| 63 |
+
{{- format_parameters(value['properties'], value['required'] | default([])) -}}
|
| 64 |
+
}
|
| 65 |
+
{%- elif value is mapping -%}
|
| 66 |
+
{%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}
|
| 67 |
+
properties:{
|
| 68 |
+
{{- format_parameters(value, value['required'] | default([])) -}}
|
| 69 |
+
}
|
| 70 |
+
{%- endif -%}
|
| 71 |
+
{%- if value['required'] -%}
|
| 72 |
+
{%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}
|
| 73 |
+
required:[
|
| 74 |
+
{%- for item in value['required'] | default([]) -%}
|
| 75 |
+
<|"|>{{- item -}}<|"|>
|
| 76 |
+
{%- if not loop.last %},{% endif -%}
|
| 77 |
+
{%- endfor -%}
|
| 78 |
+
]
|
| 79 |
+
{%- endif -%}
|
| 80 |
+
{%- endif -%}
|
| 81 |
+
{%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}
|
| 82 |
+
type:<|"|>{{ value['type'] | upper }}<|"|>}
|
| 83 |
+
{%- endif -%}
|
| 84 |
+
{%- endfor -%}
|
| 85 |
+
{%- endmacro -%}
|
| 86 |
+
{%- macro format_function_declaration(tool_data) -%}
|
| 87 |
+
declaration:{{- tool_data['function']['name'] -}}{description:<|"|>{{- tool_data['function']['description'] -}}<|"|>
|
| 88 |
+
{%- set params = tool_data['function']['parameters'] -%}
|
| 89 |
+
{%- if params -%}
|
| 90 |
+
,parameters:{
|
| 91 |
+
{%- if params['properties'] -%}
|
| 92 |
+
properties:{ {{- format_parameters(params['properties'], params['required']) -}} },
|
| 93 |
+
{%- endif -%}
|
| 94 |
+
{%- if params['required'] -%}
|
| 95 |
+
required:[
|
| 96 |
+
{%- for item in params['required'] -%}
|
| 97 |
+
<|"|>{{- item -}}<|"|>
|
| 98 |
+
{{- ',' if not loop.last -}}
|
| 99 |
+
{%- endfor -%}
|
| 100 |
+
],
|
| 101 |
+
{%- endif -%}
|
| 102 |
+
{%- if params['type'] -%}
|
| 103 |
+
type:<|"|>{{- params['type'] | upper -}}<|"|>}
|
| 104 |
+
{%- endif -%}
|
| 105 |
+
{%- endif -%}
|
| 106 |
+
{%- if 'response' in tool_data['function'] -%}
|
| 107 |
+
{%- set response_declaration = tool_data['function']['response'] -%}
|
| 108 |
+
,response:{
|
| 109 |
+
{%- if response_declaration['description'] -%}
|
| 110 |
+
description:<|"|>{{- response_declaration['description'] -}}<|"|>,
|
| 111 |
+
{%- endif -%}
|
| 112 |
+
{%- if response_declaration['type'] | upper == 'OBJECT' -%}
|
| 113 |
+
type:<|"|>{{- response_declaration['type'] | upper -}}<|"|>}
|
| 114 |
+
{%- endif -%}
|
| 115 |
+
{%- endif -%}
|
| 116 |
+
}
|
| 117 |
+
{%- endmacro -%}
|
| 118 |
+
{%- macro format_argument(argument, escape_keys=True) -%}
|
| 119 |
+
{%- if argument is string -%}
|
| 120 |
+
{{- '<|"|>' + argument + '<|"|>' -}}
|
| 121 |
+
{%- elif argument is boolean -%}
|
| 122 |
+
{{- 'true' if argument else 'false' -}}
|
| 123 |
+
{%- elif argument is mapping -%}
|
| 124 |
+
{{- '{' -}}
|
| 125 |
+
{%- set ns = namespace(found_first=false) -%}
|
| 126 |
+
{%- for key, value in argument | dictsort -%}
|
| 127 |
+
{%- if ns.found_first %},{% endif -%}
|
| 128 |
+
{%- set ns.found_first = true -%}
|
| 129 |
+
{%- if escape_keys -%}
|
| 130 |
+
{{- '<|"|>' + key + '<|"|>' -}}
|
| 131 |
+
{%- else -%}
|
| 132 |
+
{{- key -}}
|
| 133 |
+
{%- endif -%}
|
| 134 |
+
:{{- format_argument(value, escape_keys=escape_keys) -}}
|
| 135 |
+
{%- endfor -%}
|
| 136 |
+
{{- '}' -}}
|
| 137 |
+
{%- elif argument is sequence -%}
|
| 138 |
+
{{- '[' -}}
|
| 139 |
+
{%- for item in argument -%}
|
| 140 |
+
{{- format_argument(item, escape_keys=escape_keys) -}}
|
| 141 |
+
{%- if not loop.last %},{% endif -%}
|
| 142 |
+
{%- endfor -%}
|
| 143 |
+
{{- ']' -}}
|
| 144 |
+
{%- else -%}
|
| 145 |
+
{{- argument -}}
|
| 146 |
+
{%- endif -%}
|
| 147 |
+
{%- endmacro -%}
|
| 148 |
+
{%- macro strip_thinking(text) -%}
|
| 149 |
+
{%- set ns = namespace(result='') -%}
|
| 150 |
+
{%- for part in text.split('<channel|>') -%}
|
| 151 |
+
{%- if '<|channel>' in part -%}
|
| 152 |
+
{%- set ns.result = ns.result + part.split('<|channel>')[0] -%}
|
| 153 |
+
{%- else -%}
|
| 154 |
+
{%- set ns.result = ns.result + part -%}
|
| 155 |
+
{%- endif -%}
|
| 156 |
+
{%- endfor -%}
|
| 157 |
+
{{- ns.result | trim -}}
|
| 158 |
+
{%- endmacro -%}
|
| 159 |
+
|
| 160 |
+
{%- macro format_tool_response_block(tool_name, response) -%}
|
| 161 |
+
{{- '<|tool_response>' -}}
|
| 162 |
+
{%- if response is mapping -%}
|
| 163 |
+
{{- 'response:' + tool_name + '{' -}}
|
| 164 |
+
{%- for key, value in response | dictsort -%}
|
| 165 |
+
{{- key -}}:{{- format_argument(value, escape_keys=False) -}}
|
| 166 |
+
{%- if not loop.last %},{% endif -%}
|
| 167 |
+
{%- endfor -%}
|
| 168 |
+
{{- '}' -}}
|
| 169 |
+
{%- else -%}
|
| 170 |
+
{{- 'response:' + tool_name + '{value:' + format_argument(response, escape_keys=False) + '}' -}}
|
| 171 |
+
{%- endif -%}
|
| 172 |
+
{{- '<tool_response|>' -}}
|
| 173 |
+
{%- endmacro -%}
|
| 174 |
+
|
| 175 |
+
{%- set ns = namespace(prev_message_type=None) -%}
|
| 176 |
+
{%- set loop_messages = messages -%}
|
| 177 |
+
{{- bos_token -}}
|
| 178 |
+
{#- Handle System/Tool Definitions Block -#}
|
| 179 |
+
{%- if (enable_thinking is defined and enable_thinking) or tools or messages[0]['role'] in ['system', 'developer'] -%}
|
| 180 |
+
{{- '<|turn>system\n' -}}
|
| 181 |
+
|
| 182 |
+
{#- Inject Thinking token at the very top of the FIRST system turn -#}
|
| 183 |
+
{%- if enable_thinking is defined and enable_thinking -%}
|
| 184 |
+
{{- '<|think|>\n' -}}
|
| 185 |
+
{%- set ns.prev_message_type = 'think' -%}
|
| 186 |
+
{%- endif -%}
|
| 187 |
+
|
| 188 |
+
{%- if messages[0]['role'] in ['system', 'developer'] -%}
|
| 189 |
+
{{- messages[0]['content'] | trim -}}
|
| 190 |
+
{%- set loop_messages = messages[1:] -%}
|
| 191 |
+
{%- endif -%}
|
| 192 |
+
|
| 193 |
+
{%- if tools -%}
|
| 194 |
+
{%- for tool in tools %}
|
| 195 |
+
{{- '<|tool>' -}}
|
| 196 |
+
{{- format_function_declaration(tool) | trim -}}
|
| 197 |
+
{{- '<tool|>' -}}
|
| 198 |
+
{%- endfor %}
|
| 199 |
+
{%- set ns.prev_message_type = 'tool' -%}
|
| 200 |
+
{%- endif -%}
|
| 201 |
+
|
| 202 |
+
{{- '<turn|>\n' -}}
|
| 203 |
+
{%- endif %}
|
| 204 |
+
|
| 205 |
+
{#- Pre-scan: find last user message index for reasoning guard -#}
|
| 206 |
+
{%- set ns_turn = namespace(last_user_idx=-1) -%}
|
| 207 |
+
{%- for i in range(loop_messages | length) -%}
|
| 208 |
+
{%- if loop_messages[i]['role'] == 'user' -%}
|
| 209 |
+
{%- set ns_turn.last_user_idx = i -%}
|
| 210 |
+
{%- endif -%}
|
| 211 |
+
{%- endfor -%}
|
| 212 |
+
|
| 213 |
+
{#- Loop through messages -#}
|
| 214 |
+
{%- for message in loop_messages -%}
|
| 215 |
+
{%- if message['role'] != 'tool' -%}
|
| 216 |
+
{%- set ns.prev_message_type = None -%}
|
| 217 |
+
{%- set role = 'model' if message['role'] == 'assistant' else message['role'] -%}
|
| 218 |
+
{#- Detect continuation: suppress duplicate <|turn>model when previous non-tool message was also assistant -#}
|
| 219 |
+
{%- set prev_nt = namespace(role=None, found=false) -%}
|
| 220 |
+
{%- if loop.index0 > 0 -%}
|
| 221 |
+
{%- for j in range(loop.index0 - 1, -1, -1) -%}
|
| 222 |
+
{%- if not prev_nt.found -%}
|
| 223 |
+
{%- if loop_messages[j]['role'] != 'tool' -%}
|
| 224 |
+
{%- set prev_nt.role = loop_messages[j]['role'] -%}
|
| 225 |
+
{%- set prev_nt.found = true -%}
|
| 226 |
+
{%- endif -%}
|
| 227 |
+
{%- endif -%}
|
| 228 |
+
{%- endfor -%}
|
| 229 |
+
{%- endif -%}
|
| 230 |
+
{%- set continue_same_model_turn = (role == 'model' and prev_nt.role == 'assistant') -%}
|
| 231 |
+
{%- if not continue_same_model_turn -%}
|
| 232 |
+
{{- '<|turn>' + role + '\n' }}
|
| 233 |
+
{%- endif -%}
|
| 234 |
+
|
| 235 |
+
{#- Render reasoning/reasoning_content as thinking channel -#}
|
| 236 |
+
{%- set thinking_text = message.get('reasoning') or message.get('reasoning_content') -%}
|
| 237 |
+
{%- if thinking_text and loop.index0 > ns_turn.last_user_idx and message.get('tool_calls') -%}
|
| 238 |
+
{{- '<|channel>thought\n' + thinking_text + '\n<channel|>' -}}
|
| 239 |
+
{%- endif -%}
|
| 240 |
+
|
| 241 |
+
{%- if message['tool_calls'] -%}
|
| 242 |
+
{%- for tool_call in message['tool_calls'] -%}
|
| 243 |
+
{%- set function = tool_call['function'] -%}
|
| 244 |
+
{{- '<|tool_call>call:' + function['name'] + '{' -}}
|
| 245 |
+
{%- if function['arguments'] is mapping -%}
|
| 246 |
+
{%- set ns_args = namespace(found_first=false) -%}
|
| 247 |
+
{%- for key, value in function['arguments'] | dictsort -%}
|
| 248 |
+
{%- if ns_args.found_first %},{% endif -%}
|
| 249 |
+
{%- set ns_args.found_first = true -%}
|
| 250 |
+
{{- key -}}:{{- format_argument(value, escape_keys=False) -}}
|
| 251 |
+
{%- endfor -%}
|
| 252 |
+
{%- elif function['arguments'] is string -%}
|
| 253 |
+
{{- function['arguments'] -}}
|
| 254 |
+
{%- endif -%}
|
| 255 |
+
{{- '}<tool_call|>' -}}
|
| 256 |
+
{%- endfor -%}
|
| 257 |
+
{%- set ns.prev_message_type = 'tool_call' -%}
|
| 258 |
+
{%- endif -%}
|
| 259 |
+
|
| 260 |
+
{%- set ns_tr_out = namespace(flag=false) -%}
|
| 261 |
+
{%- if message.get('tool_responses') -%}
|
| 262 |
+
{#- Legacy: tool_responses embedded on the assistant message (Google/Gemma native) -#}
|
| 263 |
+
{%- for tool_response in message['tool_responses'] -%}
|
| 264 |
+
{{- format_tool_response_block(tool_response['name'] | default('unknown'), tool_response['response']) -}}
|
| 265 |
+
{%- set ns_tr_out.flag = true -%}
|
| 266 |
+
{%- set ns.prev_message_type = 'tool_response' -%}
|
| 267 |
+
{%- endfor -%}
|
| 268 |
+
{%- elif message.get('tool_calls') -%}
|
| 269 |
+
{#- OpenAI Chat Completions: forward-scan consecutive role:tool messages -#}
|
| 270 |
+
{%- set ns_tool_scan = namespace(stopped=false) -%}
|
| 271 |
+
{%- for k in range(loop.index0 + 1, loop_messages | length) -%}
|
| 272 |
+
{%- if ns_tool_scan.stopped -%}
|
| 273 |
+
{%- elif loop_messages[k]['role'] != 'tool' -%}
|
| 274 |
+
{%- set ns_tool_scan.stopped = true -%}
|
| 275 |
+
{%- else -%}
|
| 276 |
+
{%- set follow = loop_messages[k] -%}
|
| 277 |
+
{#- Resolve tool_call_id to function name -#}
|
| 278 |
+
{%- set ns_tname = namespace(name=follow.get('name') | default('unknown')) -%}
|
| 279 |
+
{%- for tc in message['tool_calls'] -%}
|
| 280 |
+
{%- if tc.get('id') == follow.get('tool_call_id') -%}
|
| 281 |
+
{%- set ns_tname.name = tc['function']['name'] -%}
|
| 282 |
+
{%- endif -%}
|
| 283 |
+
{%- endfor -%}
|
| 284 |
+
{#- Handle content as string or content-parts array -#}
|
| 285 |
+
{%- set tool_body = follow.get('content') -%}
|
| 286 |
+
{%- if tool_body is string -%}
|
| 287 |
+
{{- format_tool_response_block(ns_tname.name, tool_body) -}}
|
| 288 |
+
{%- elif tool_body is sequence and tool_body is not string -%}
|
| 289 |
+
{%- set ns_txt = namespace(s='') -%}
|
| 290 |
+
{%- for part in tool_body -%}
|
| 291 |
+
{%- if part.get('type') == 'text' -%}
|
| 292 |
+
{%- set ns_txt.s = ns_txt.s + (part.get('text') | default('')) -%}
|
| 293 |
+
{%- endif -%}
|
| 294 |
+
{%- endfor -%}
|
| 295 |
+
{{- format_tool_response_block(ns_tname.name, ns_txt.s) -}}
|
| 296 |
+
{%- else -%}
|
| 297 |
+
{{- format_tool_response_block(ns_tname.name, tool_body) -}}
|
| 298 |
+
{%- endif -%}
|
| 299 |
+
{%- set ns_tr_out.flag = true -%}
|
| 300 |
+
{%- set ns.prev_message_type = 'tool_response' -%}
|
| 301 |
+
{%- endif -%}
|
| 302 |
+
{%- endfor -%}
|
| 303 |
+
{%- endif -%}
|
| 304 |
+
|
| 305 |
+
{%- if message['content'] is string -%}
|
| 306 |
+
{%- if role == 'model' -%}
|
| 307 |
+
{{- strip_thinking(message['content']) -}}
|
| 308 |
+
{%- else -%}
|
| 309 |
+
{{- message['content'] | trim -}}
|
| 310 |
+
{%- endif -%}
|
| 311 |
+
{%- elif message['content'] is sequence -%}
|
| 312 |
+
{%- for item in message['content'] -%}
|
| 313 |
+
{%- if item['type'] == 'text' -%}
|
| 314 |
+
{%- if role == 'model' -%}
|
| 315 |
+
{{- strip_thinking(item['text']) -}}
|
| 316 |
+
{%- else -%}
|
| 317 |
+
{{- item['text'] | trim -}}
|
| 318 |
+
{%- endif -%}
|
| 319 |
+
{%- elif item['type'] == 'image' -%}
|
| 320 |
+
{{- '<|image|>' -}}
|
| 321 |
+
{%- set ns.prev_message_type = 'image' -%}
|
| 322 |
+
{%- elif item['type'] == 'audio' -%}
|
| 323 |
+
{{- '<|audio|>' -}}
|
| 324 |
+
{%- set ns.prev_message_type = 'audio' -%}
|
| 325 |
+
{%- elif item['type'] == 'video' -%}
|
| 326 |
+
{{- '<|video|>' -}}
|
| 327 |
+
{%- set ns.prev_message_type = 'video' -%}
|
| 328 |
+
{%- endif -%}
|
| 329 |
+
{%- endfor -%}
|
| 330 |
+
{%- endif -%}
|
| 331 |
+
|
| 332 |
+
{%- if ns.prev_message_type == 'tool_call' and not ns_tr_out.flag -%}
|
| 333 |
+
{{- '<|tool_response>' -}}
|
| 334 |
+
{%- elif not (ns_tr_out.flag and not message.get('content')) -%}
|
| 335 |
+
{{- '<turn|>\n' -}}
|
| 336 |
+
{%- endif -%}
|
| 337 |
+
{%- endif -%}
|
| 338 |
+
{%- endfor -%}
|
| 339 |
+
|
| 340 |
+
{%- if add_generation_prompt -%}
|
| 341 |
+
{%- if ns.prev_message_type != 'tool_response' and ns.prev_message_type != 'tool_call' -%}
|
| 342 |
+
{{- '<|turn>model\n' -}}
|
| 343 |
+
{%- endif -%}
|
| 344 |
+
{%- endif -%}
|
checkpoint-367/config.json
ADDED
|
@@ -0,0 +1,192 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Gemma4ForConditionalGeneration"
|
| 4 |
+
],
|
| 5 |
+
"audio_config": {
|
| 6 |
+
"_name_or_path": "",
|
| 7 |
+
"architectures": null,
|
| 8 |
+
"attention_chunk_size": 12,
|
| 9 |
+
"attention_context_left": 13,
|
| 10 |
+
"attention_context_right": 0,
|
| 11 |
+
"attention_invalid_logits_value": -1000000000.0,
|
| 12 |
+
"attention_logit_cap": 50.0,
|
| 13 |
+
"chunk_size_feed_forward": 0,
|
| 14 |
+
"conv_kernel_size": 5,
|
| 15 |
+
"dtype": "bfloat16",
|
| 16 |
+
"gradient_clipping": 10000000000.0,
|
| 17 |
+
"hidden_act": "silu",
|
| 18 |
+
"hidden_size": 1024,
|
| 19 |
+
"id2label": {
|
| 20 |
+
"0": "LABEL_0",
|
| 21 |
+
"1": "LABEL_1"
|
| 22 |
+
},
|
| 23 |
+
"initializer_range": 0.02,
|
| 24 |
+
"is_encoder_decoder": false,
|
| 25 |
+
"label2id": {
|
| 26 |
+
"LABEL_0": 0,
|
| 27 |
+
"LABEL_1": 1
|
| 28 |
+
},
|
| 29 |
+
"model_type": "gemma4_audio",
|
| 30 |
+
"num_attention_heads": 8,
|
| 31 |
+
"num_hidden_layers": 12,
|
| 32 |
+
"output_attentions": false,
|
| 33 |
+
"output_hidden_states": false,
|
| 34 |
+
"output_proj_dims": 1536,
|
| 35 |
+
"problem_type": null,
|
| 36 |
+
"residual_weight": 0.5,
|
| 37 |
+
"return_dict": true,
|
| 38 |
+
"rms_norm_eps": 1e-06,
|
| 39 |
+
"subsampling_conv_channels": [
|
| 40 |
+
128,
|
| 41 |
+
32
|
| 42 |
+
],
|
| 43 |
+
"use_clipped_linears": true
|
| 44 |
+
},
|
| 45 |
+
"audio_token_id": 258881,
|
| 46 |
+
"boa_token_id": 256000,
|
| 47 |
+
"boi_token_id": 255999,
|
| 48 |
+
"dtype": "bfloat16",
|
| 49 |
+
"eoa_token_id": 258883,
|
| 50 |
+
"eoa_token_index": 258883,
|
| 51 |
+
"eoi_token_id": 258882,
|
| 52 |
+
"eos_token_id": [
|
| 53 |
+
1,
|
| 54 |
+
106
|
| 55 |
+
],
|
| 56 |
+
"image_token_id": 258880,
|
| 57 |
+
"initializer_range": 0.02,
|
| 58 |
+
"model_type": "gemma4",
|
| 59 |
+
"text_config": {
|
| 60 |
+
"attention_bias": false,
|
| 61 |
+
"attention_dropout": 0.0,
|
| 62 |
+
"attention_k_eq_v": false,
|
| 63 |
+
"bos_token_id": 2,
|
| 64 |
+
"dtype": "bfloat16",
|
| 65 |
+
"enable_moe_block": false,
|
| 66 |
+
"eos_token_id": 1,
|
| 67 |
+
"expert_intermediate_size": null,
|
| 68 |
+
"final_logit_softcapping": 30.0,
|
| 69 |
+
"global_head_dim": 512,
|
| 70 |
+
"head_dim": 256,
|
| 71 |
+
"hidden_activation": "gelu_pytorch_tanh",
|
| 72 |
+
"hidden_size": 1536,
|
| 73 |
+
"hidden_size_per_layer_input": 256,
|
| 74 |
+
"initializer_range": 0.02,
|
| 75 |
+
"intermediate_size": 6144,
|
| 76 |
+
"layer_types": [
|
| 77 |
+
"sliding_attention",
|
| 78 |
+
"sliding_attention",
|
| 79 |
+
"sliding_attention",
|
| 80 |
+
"sliding_attention",
|
| 81 |
+
"full_attention",
|
| 82 |
+
"sliding_attention",
|
| 83 |
+
"sliding_attention",
|
| 84 |
+
"sliding_attention",
|
| 85 |
+
"sliding_attention",
|
| 86 |
+
"full_attention",
|
| 87 |
+
"sliding_attention",
|
| 88 |
+
"sliding_attention",
|
| 89 |
+
"sliding_attention",
|
| 90 |
+
"sliding_attention",
|
| 91 |
+
"full_attention",
|
| 92 |
+
"sliding_attention",
|
| 93 |
+
"sliding_attention",
|
| 94 |
+
"sliding_attention",
|
| 95 |
+
"sliding_attention",
|
| 96 |
+
"full_attention",
|
| 97 |
+
"sliding_attention",
|
| 98 |
+
"sliding_attention",
|
| 99 |
+
"sliding_attention",
|
| 100 |
+
"sliding_attention",
|
| 101 |
+
"full_attention",
|
| 102 |
+
"sliding_attention",
|
| 103 |
+
"sliding_attention",
|
| 104 |
+
"sliding_attention",
|
| 105 |
+
"sliding_attention",
|
| 106 |
+
"full_attention",
|
| 107 |
+
"sliding_attention",
|
| 108 |
+
"sliding_attention",
|
| 109 |
+
"sliding_attention",
|
| 110 |
+
"sliding_attention",
|
| 111 |
+
"full_attention"
|
| 112 |
+
],
|
| 113 |
+
"max_position_embeddings": 131072,
|
| 114 |
+
"model_type": "gemma4_text",
|
| 115 |
+
"moe_intermediate_size": null,
|
| 116 |
+
"num_attention_heads": 8,
|
| 117 |
+
"num_experts": null,
|
| 118 |
+
"num_global_key_value_heads": null,
|
| 119 |
+
"num_hidden_layers": 35,
|
| 120 |
+
"num_key_value_heads": 1,
|
| 121 |
+
"num_kv_shared_layers": 20,
|
| 122 |
+
"pad_token_id": 0,
|
| 123 |
+
"rms_norm_eps": 1e-06,
|
| 124 |
+
"rope_parameters": {
|
| 125 |
+
"full_attention": {
|
| 126 |
+
"partial_rotary_factor": 0.25,
|
| 127 |
+
"rope_theta": 1000000.0,
|
| 128 |
+
"rope_type": "proportional"
|
| 129 |
+
},
|
| 130 |
+
"sliding_attention": {
|
| 131 |
+
"rope_theta": 10000.0,
|
| 132 |
+
"rope_type": "default"
|
| 133 |
+
}
|
| 134 |
+
},
|
| 135 |
+
"sliding_window": 512,
|
| 136 |
+
"tie_word_embeddings": true,
|
| 137 |
+
"top_k_experts": null,
|
| 138 |
+
"use_bidirectional_attention": null,
|
| 139 |
+
"use_cache": true,
|
| 140 |
+
"use_double_wide_mlp": true,
|
| 141 |
+
"vocab_size": 262144,
|
| 142 |
+
"vocab_size_per_layer_input": 262144
|
| 143 |
+
},
|
| 144 |
+
"tie_word_embeddings": true,
|
| 145 |
+
"transformers_version": "5.5.0",
|
| 146 |
+
"use_cache": false,
|
| 147 |
+
"video_token_id": 258884,
|
| 148 |
+
"vision_config": {
|
| 149 |
+
"_name_or_path": "",
|
| 150 |
+
"architectures": null,
|
| 151 |
+
"attention_bias": false,
|
| 152 |
+
"attention_dropout": 0.0,
|
| 153 |
+
"chunk_size_feed_forward": 0,
|
| 154 |
+
"default_output_length": 280,
|
| 155 |
+
"dtype": "bfloat16",
|
| 156 |
+
"global_head_dim": 64,
|
| 157 |
+
"head_dim": 64,
|
| 158 |
+
"hidden_activation": "gelu_pytorch_tanh",
|
| 159 |
+
"hidden_size": 768,
|
| 160 |
+
"id2label": {
|
| 161 |
+
"0": "LABEL_0",
|
| 162 |
+
"1": "LABEL_1"
|
| 163 |
+
},
|
| 164 |
+
"initializer_range": 0.02,
|
| 165 |
+
"intermediate_size": 3072,
|
| 166 |
+
"is_encoder_decoder": false,
|
| 167 |
+
"label2id": {
|
| 168 |
+
"LABEL_0": 0,
|
| 169 |
+
"LABEL_1": 1
|
| 170 |
+
},
|
| 171 |
+
"max_position_embeddings": 131072,
|
| 172 |
+
"model_type": "gemma4_vision",
|
| 173 |
+
"num_attention_heads": 12,
|
| 174 |
+
"num_hidden_layers": 16,
|
| 175 |
+
"num_key_value_heads": 12,
|
| 176 |
+
"output_attentions": false,
|
| 177 |
+
"output_hidden_states": false,
|
| 178 |
+
"patch_size": 16,
|
| 179 |
+
"pooling_kernel_size": 3,
|
| 180 |
+
"position_embedding_size": 10240,
|
| 181 |
+
"problem_type": null,
|
| 182 |
+
"return_dict": true,
|
| 183 |
+
"rms_norm_eps": 1e-06,
|
| 184 |
+
"rope_parameters": {
|
| 185 |
+
"rope_theta": 100.0,
|
| 186 |
+
"rope_type": "default"
|
| 187 |
+
},
|
| 188 |
+
"standardize": false,
|
| 189 |
+
"use_clipped_linears": true
|
| 190 |
+
},
|
| 191 |
+
"vision_soft_tokens_per_image": 280
|
| 192 |
+
}
|
checkpoint-367/generation_config.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token_id": 2,
|
| 3 |
+
"do_sample": true,
|
| 4 |
+
"eos_token_id": [
|
| 5 |
+
1,
|
| 6 |
+
106,
|
| 7 |
+
50
|
| 8 |
+
],
|
| 9 |
+
"pad_token_id": 0,
|
| 10 |
+
"temperature": 1.0,
|
| 11 |
+
"top_k": 64,
|
| 12 |
+
"top_p": 0.95,
|
| 13 |
+
"transformers_version": "5.5.0"
|
| 14 |
+
}
|
checkpoint-367/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1cc6c98f287659b7f13a93a0354bc927710aa722044e192736bec31e1743729d
|
| 3 |
+
size 10246621918
|
checkpoint-367/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cc8d3a0ce36466ccc1278bf987df5f71db1719b9ca6b4118264f45cb627bfe0f
|
| 3 |
+
size 32169626
|
checkpoint-367/tokenizer_config.json
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"audio_token": "<|audio|>",
|
| 3 |
+
"backend": "tokenizers",
|
| 4 |
+
"boa_token": "<|audio>",
|
| 5 |
+
"boi_token": "<|image>",
|
| 6 |
+
"bos_token": "<bos>",
|
| 7 |
+
"eoa_token": "<audio|>",
|
| 8 |
+
"eoc_token": "<channel|>",
|
| 9 |
+
"eoi_token": "<image|>",
|
| 10 |
+
"eos_token": "<eos>",
|
| 11 |
+
"eot_token": "<turn|>",
|
| 12 |
+
"escape_token": "<|\"|>",
|
| 13 |
+
"etc_token": "<tool_call|>",
|
| 14 |
+
"etd_token": "<tool|>",
|
| 15 |
+
"etr_token": "<tool_response|>",
|
| 16 |
+
"extra_special_tokens": [
|
| 17 |
+
"<|video|>"
|
| 18 |
+
],
|
| 19 |
+
"image_token": "<|image|>",
|
| 20 |
+
"is_local": true,
|
| 21 |
+
"mask_token": "<mask>",
|
| 22 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 23 |
+
"model_specific_special_tokens": {
|
| 24 |
+
"audio_token": "<|audio|>",
|
| 25 |
+
"boa_token": "<|audio>",
|
| 26 |
+
"boi_token": "<|image>",
|
| 27 |
+
"eoa_token": "<audio|>",
|
| 28 |
+
"eoc_token": "<channel|>",
|
| 29 |
+
"eoi_token": "<image|>",
|
| 30 |
+
"eot_token": "<turn|>",
|
| 31 |
+
"escape_token": "<|\"|>",
|
| 32 |
+
"etc_token": "<tool_call|>",
|
| 33 |
+
"etd_token": "<tool|>",
|
| 34 |
+
"etr_token": "<tool_response|>",
|
| 35 |
+
"image_token": "<|image|>",
|
| 36 |
+
"soc_token": "<|channel>",
|
| 37 |
+
"sot_token": "<|turn>",
|
| 38 |
+
"stc_token": "<|tool_call>",
|
| 39 |
+
"std_token": "<|tool>",
|
| 40 |
+
"str_token": "<|tool_response>",
|
| 41 |
+
"think_token": "<|think|>"
|
| 42 |
+
},
|
| 43 |
+
"pad_token": "<pad>",
|
| 44 |
+
"padding_side": "left",
|
| 45 |
+
"processor_class": "Gemma4Processor",
|
| 46 |
+
"response_schema": {
|
| 47 |
+
"properties": {
|
| 48 |
+
"content": {
|
| 49 |
+
"type": "string"
|
| 50 |
+
},
|
| 51 |
+
"role": {
|
| 52 |
+
"const": "assistant"
|
| 53 |
+
},
|
| 54 |
+
"thinking": {
|
| 55 |
+
"type": "string"
|
| 56 |
+
},
|
| 57 |
+
"tool_calls": {
|
| 58 |
+
"items": {
|
| 59 |
+
"properties": {
|
| 60 |
+
"function": {
|
| 61 |
+
"properties": {
|
| 62 |
+
"arguments": {
|
| 63 |
+
"additionalProperties": {},
|
| 64 |
+
"type": "object",
|
| 65 |
+
"x-parser": "gemma4-tool-call"
|
| 66 |
+
},
|
| 67 |
+
"name": {
|
| 68 |
+
"type": "string"
|
| 69 |
+
}
|
| 70 |
+
},
|
| 71 |
+
"type": "object",
|
| 72 |
+
"x-regex": "call\\:(?P<name>\\w+)(?P<arguments>\\{.*\\})"
|
| 73 |
+
},
|
| 74 |
+
"type": {
|
| 75 |
+
"const": "function"
|
| 76 |
+
}
|
| 77 |
+
},
|
| 78 |
+
"type": "object"
|
| 79 |
+
},
|
| 80 |
+
"type": "array",
|
| 81 |
+
"x-regex-iterator": "<\\|tool_call>(.*?)<tool_call\\|>"
|
| 82 |
+
}
|
| 83 |
+
},
|
| 84 |
+
"type": "object",
|
| 85 |
+
"x-regex": "(\\<\\|channel\\>thought\\n(?P<thinking>.*?)\\<channel\\|\\>)?(?P<tool_calls>\\<\\|tool_call\\>.*\\<tool_call\\|\\>)?(?P<content>(?:(?!\\<turn\\|\\>)(?!\\<\\|tool_response\\>).)+)?(?:\\<turn\\|\\>|\\<\\|tool_response\\>)?"
|
| 86 |
+
},
|
| 87 |
+
"soc_token": "<|channel>",
|
| 88 |
+
"sot_token": "<|turn>",
|
| 89 |
+
"stc_token": "<|tool_call>",
|
| 90 |
+
"std_token": "<|tool>",
|
| 91 |
+
"str_token": "<|tool_response>",
|
| 92 |
+
"think_token": "<|think|>",
|
| 93 |
+
"tokenizer_class": "GemmaTokenizer",
|
| 94 |
+
"unk_token": "<unk>"
|
| 95 |
+
}
|
checkpoint-367/trainer_state.json
ADDED
|
@@ -0,0 +1,2603 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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,
|
| 9 |
+
"is_local_process_zero": true,
|
| 10 |
+
"is_world_process_zero": true,
|
| 11 |
+
"log_history": [
|
| 12 |
+
{
|
| 13 |
+
"epoch": 0.0027247956403269754,
|
| 14 |
+
"grad_norm": 3152.0,
|
| 15 |
+
"learning_rate": 0.0,
|
| 16 |
+
"loss": 48.40627670288086,
|
| 17 |
+
"step": 1
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"epoch": 0.005449591280653951,
|
| 21 |
+
"grad_norm": 2672.0,
|
| 22 |
+
"learning_rate": 8.695652173913044e-07,
|
| 23 |
+
"loss": 47.4522819519043,
|
| 24 |
+
"step": 2
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"epoch": 0.008174386920980926,
|
| 28 |
+
"grad_norm": 2656.0,
|
| 29 |
+
"learning_rate": 1.7391304347826088e-06,
|
| 30 |
+
"loss": 47.537269592285156,
|
| 31 |
+
"step": 3
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"epoch": 0.010899182561307902,
|
| 35 |
+
"grad_norm": 2896.0,
|
| 36 |
+
"learning_rate": 2.6086956521739132e-06,
|
| 37 |
+
"loss": 47.03502655029297,
|
| 38 |
+
"step": 4
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
"epoch": 0.013623978201634877,
|
| 42 |
+
"grad_norm": 2112.0,
|
| 43 |
+
"learning_rate": 3.4782608695652175e-06,
|
| 44 |
+
"loss": 44.74693298339844,
|
| 45 |
+
"step": 5
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"epoch": 0.01634877384196185,
|
| 49 |
+
"grad_norm": 1832.0,
|
| 50 |
+
"learning_rate": 4.347826086956522e-06,
|
| 51 |
+
"loss": 43.523712158203125,
|
| 52 |
+
"step": 6
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"epoch": 0.01907356948228883,
|
| 56 |
+
"grad_norm": 4960.0,
|
| 57 |
+
"learning_rate": 5.2173913043478265e-06,
|
| 58 |
+
"loss": 39.67890930175781,
|
| 59 |
+
"step": 7
|
| 60 |
+
},
|
| 61 |
+
{
|
| 62 |
+
"epoch": 0.021798365122615803,
|
| 63 |
+
"grad_norm": 1004.0,
|
| 64 |
+
"learning_rate": 6.086956521739132e-06,
|
| 65 |
+
"loss": 38.25300216674805,
|
| 66 |
+
"step": 8
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"epoch": 0.02452316076294278,
|
| 70 |
+
"grad_norm": 976.0,
|
| 71 |
+
"learning_rate": 6.956521739130435e-06,
|
| 72 |
+
"loss": 36.702880859375,
|
| 73 |
+
"step": 9
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"epoch": 0.027247956403269755,
|
| 77 |
+
"grad_norm": 692.0,
|
| 78 |
+
"learning_rate": 7.82608695652174e-06,
|
| 79 |
+
"loss": 36.129356384277344,
|
| 80 |
+
"step": 10
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"epoch": 0.02997275204359673,
|
| 84 |
+
"grad_norm": 484.0,
|
| 85 |
+
"learning_rate": 8.695652173913044e-06,
|
| 86 |
+
"loss": 33.03797149658203,
|
| 87 |
+
"step": 11
|
| 88 |
+
},
|
| 89 |
+
{
|
| 90 |
+
"epoch": 0.0326975476839237,
|
| 91 |
+
"grad_norm": 374.0,
|
| 92 |
+
"learning_rate": 9.565217391304349e-06,
|
| 93 |
+
"loss": 30.922203063964844,
|
| 94 |
+
"step": 12
|
| 95 |
+
},
|
| 96 |
+
{
|
| 97 |
+
"epoch": 0.035422343324250684,
|
| 98 |
+
"grad_norm": 364.0,
|
| 99 |
+
"learning_rate": 1.0434782608695653e-05,
|
| 100 |
+
"loss": 30.420955657958984,
|
| 101 |
+
"step": 13
|
| 102 |
+
},
|
| 103 |
+
{
|
| 104 |
+
"epoch": 0.03814713896457766,
|
| 105 |
+
"grad_norm": 272.0,
|
| 106 |
+
"learning_rate": 1.1304347826086957e-05,
|
| 107 |
+
"loss": 29.078968048095703,
|
| 108 |
+
"step": 14
|
| 109 |
+
},
|
| 110 |
+
{
|
| 111 |
+
"epoch": 0.04087193460490463,
|
| 112 |
+
"grad_norm": 268.0,
|
| 113 |
+
"learning_rate": 1.2173913043478263e-05,
|
| 114 |
+
"loss": 28.454662322998047,
|
| 115 |
+
"step": 15
|
| 116 |
+
},
|
| 117 |
+
{
|
| 118 |
+
"epoch": 0.043596730245231606,
|
| 119 |
+
"grad_norm": 284.0,
|
| 120 |
+
"learning_rate": 1.3043478260869566e-05,
|
| 121 |
+
"loss": 26.663990020751953,
|
| 122 |
+
"step": 16
|
| 123 |
+
},
|
| 124 |
+
{
|
| 125 |
+
"epoch": 0.04632152588555858,
|
| 126 |
+
"grad_norm": 180.0,
|
| 127 |
+
"learning_rate": 1.391304347826087e-05,
|
| 128 |
+
"loss": 26.216550827026367,
|
| 129 |
+
"step": 17
|
| 130 |
+
},
|
| 131 |
+
{
|
| 132 |
+
"epoch": 0.04904632152588556,
|
| 133 |
+
"grad_norm": 760.0,
|
| 134 |
+
"learning_rate": 1.4782608695652174e-05,
|
| 135 |
+
"loss": 25.440536499023438,
|
| 136 |
+
"step": 18
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"epoch": 0.051771117166212535,
|
| 140 |
+
"grad_norm": 250.0,
|
| 141 |
+
"learning_rate": 1.565217391304348e-05,
|
| 142 |
+
"loss": 25.319339752197266,
|
| 143 |
+
"step": 19
|
| 144 |
+
},
|
| 145 |
+
{
|
| 146 |
+
"epoch": 0.05449591280653951,
|
| 147 |
+
"grad_norm": 160.0,
|
| 148 |
+
"learning_rate": 1.6521739130434785e-05,
|
| 149 |
+
"loss": 24.522743225097656,
|
| 150 |
+
"step": 20
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"epoch": 0.05722070844686648,
|
| 154 |
+
"grad_norm": 99.0,
|
| 155 |
+
"learning_rate": 1.739130434782609e-05,
|
| 156 |
+
"loss": 23.68889045715332,
|
| 157 |
+
"step": 21
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"epoch": 0.05994550408719346,
|
| 161 |
+
"grad_norm": 137.0,
|
| 162 |
+
"learning_rate": 1.8260869565217393e-05,
|
| 163 |
+
"loss": 22.45394515991211,
|
| 164 |
+
"step": 22
|
| 165 |
+
},
|
| 166 |
+
{
|
| 167 |
+
"epoch": 0.06267029972752043,
|
| 168 |
+
"grad_norm": 96.0,
|
| 169 |
+
"learning_rate": 1.9130434782608697e-05,
|
| 170 |
+
"loss": 21.58340835571289,
|
| 171 |
+
"step": 23
|
| 172 |
+
},
|
| 173 |
+
{
|
| 174 |
+
"epoch": 0.0653950953678474,
|
| 175 |
+
"grad_norm": 79.5,
|
| 176 |
+
"learning_rate": 2e-05,
|
| 177 |
+
"loss": 21.60813331604004,
|
| 178 |
+
"step": 24
|
| 179 |
+
},
|
| 180 |
+
{
|
| 181 |
+
"epoch": 0.0681198910081744,
|
| 182 |
+
"grad_norm": 68.0,
|
| 183 |
+
"learning_rate": 1.9999902382014363e-05,
|
| 184 |
+
"loss": 19.326705932617188,
|
| 185 |
+
"step": 25
|
| 186 |
+
},
|
| 187 |
+
{
|
| 188 |
+
"epoch": 0.07084468664850137,
|
| 189 |
+
"grad_norm": 195.0,
|
| 190 |
+
"learning_rate": 1.9999609529963303e-05,
|
| 191 |
+
"loss": 20.620744705200195,
|
| 192 |
+
"step": 26
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"epoch": 0.07356948228882834,
|
| 196 |
+
"grad_norm": 204.0,
|
| 197 |
+
"learning_rate": 1.9999121449564347e-05,
|
| 198 |
+
"loss": 19.753509521484375,
|
| 199 |
+
"step": 27
|
| 200 |
+
},
|
| 201 |
+
{
|
| 202 |
+
"epoch": 0.07629427792915532,
|
| 203 |
+
"grad_norm": 71.5,
|
| 204 |
+
"learning_rate": 1.9998438150346578e-05,
|
| 205 |
+
"loss": 20.347627639770508,
|
| 206 |
+
"step": 28
|
| 207 |
+
},
|
| 208 |
+
{
|
| 209 |
+
"epoch": 0.07901907356948229,
|
| 210 |
+
"grad_norm": 215.0,
|
| 211 |
+
"learning_rate": 1.999755964565046e-05,
|
| 212 |
+
"loss": 19.19959831237793,
|
| 213 |
+
"step": 29
|
| 214 |
+
},
|
| 215 |
+
{
|
| 216 |
+
"epoch": 0.08174386920980926,
|
| 217 |
+
"grad_norm": 314.0,
|
| 218 |
+
"learning_rate": 1.9996485952627554e-05,
|
| 219 |
+
"loss": 18.856372833251953,
|
| 220 |
+
"step": 30
|
| 221 |
+
},
|
| 222 |
+
{
|
| 223 |
+
"epoch": 0.08446866485013624,
|
| 224 |
+
"grad_norm": 199.0,
|
| 225 |
+
"learning_rate": 1.999521709224022e-05,
|
| 226 |
+
"loss": 19.498279571533203,
|
| 227 |
+
"step": 31
|
| 228 |
+
},
|
| 229 |
+
{
|
| 230 |
+
"epoch": 0.08719346049046321,
|
| 231 |
+
"grad_norm": 69.5,
|
| 232 |
+
"learning_rate": 1.9993753089261175e-05,
|
| 233 |
+
"loss": 17.953914642333984,
|
| 234 |
+
"step": 32
|
| 235 |
+
},
|
| 236 |
+
{
|
| 237 |
+
"epoch": 0.08991825613079019,
|
| 238 |
+
"grad_norm": 180.0,
|
| 239 |
+
"learning_rate": 1.999209397227302e-05,
|
| 240 |
+
"loss": 17.53020477294922,
|
| 241 |
+
"step": 33
|
| 242 |
+
},
|
| 243 |
+
{
|
| 244 |
+
"epoch": 0.09264305177111716,
|
| 245 |
+
"grad_norm": 346.0,
|
| 246 |
+
"learning_rate": 1.999023977366769e-05,
|
| 247 |
+
"loss": 17.79115867614746,
|
| 248 |
+
"step": 34
|
| 249 |
+
},
|
| 250 |
+
{
|
| 251 |
+
"epoch": 0.09536784741144415,
|
| 252 |
+
"grad_norm": 237.0,
|
| 253 |
+
"learning_rate": 1.998819052964581e-05,
|
| 254 |
+
"loss": 18.816436767578125,
|
| 255 |
+
"step": 35
|
| 256 |
+
},
|
| 257 |
+
{
|
| 258 |
+
"epoch": 0.09809264305177112,
|
| 259 |
+
"grad_norm": 196.0,
|
| 260 |
+
"learning_rate": 1.9985946280215996e-05,
|
| 261 |
+
"loss": 17.000261306762695,
|
| 262 |
+
"step": 36
|
| 263 |
+
},
|
| 264 |
+
{
|
| 265 |
+
"epoch": 0.1008174386920981,
|
| 266 |
+
"grad_norm": 169.0,
|
| 267 |
+
"learning_rate": 1.998350706919407e-05,
|
| 268 |
+
"loss": 17.606061935424805,
|
| 269 |
+
"step": 37
|
| 270 |
+
},
|
| 271 |
+
{
|
| 272 |
+
"epoch": 0.10354223433242507,
|
| 273 |
+
"grad_norm": 55.0,
|
| 274 |
+
"learning_rate": 1.9980872944202203e-05,
|
| 275 |
+
"loss": 16.317874908447266,
|
| 276 |
+
"step": 38
|
| 277 |
+
},
|
| 278 |
+
{
|
| 279 |
+
"epoch": 0.10626702997275204,
|
| 280 |
+
"grad_norm": 122.0,
|
| 281 |
+
"learning_rate": 1.997804395666799e-05,
|
| 282 |
+
"loss": 16.31488800048828,
|
| 283 |
+
"step": 39
|
| 284 |
+
},
|
| 285 |
+
{
|
| 286 |
+
"epoch": 0.10899182561307902,
|
| 287 |
+
"grad_norm": 314.0,
|
| 288 |
+
"learning_rate": 1.9975020161823445e-05,
|
| 289 |
+
"loss": 16.29736328125,
|
| 290 |
+
"step": 40
|
| 291 |
+
},
|
| 292 |
+
{
|
| 293 |
+
"epoch": 0.11171662125340599,
|
| 294 |
+
"grad_norm": 64.5,
|
| 295 |
+
"learning_rate": 1.9971801618703924e-05,
|
| 296 |
+
"loss": 17.167266845703125,
|
| 297 |
+
"step": 41
|
| 298 |
+
},
|
| 299 |
+
{
|
| 300 |
+
"epoch": 0.11444141689373297,
|
| 301 |
+
"grad_norm": 52.0,
|
| 302 |
+
"learning_rate": 1.996838839014696e-05,
|
| 303 |
+
"loss": 15.893667221069336,
|
| 304 |
+
"step": 42
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"epoch": 0.11716621253405994,
|
| 308 |
+
"grad_norm": 52.25,
|
| 309 |
+
"learning_rate": 1.9964780542791057e-05,
|
| 310 |
+
"loss": 15.158836364746094,
|
| 311 |
+
"step": 43
|
| 312 |
+
},
|
| 313 |
+
{
|
| 314 |
+
"epoch": 0.11989100817438691,
|
| 315 |
+
"grad_norm": 101.5,
|
| 316 |
+
"learning_rate": 1.9960978147074367e-05,
|
| 317 |
+
"loss": 15.873449325561523,
|
| 318 |
+
"step": 44
|
| 319 |
+
},
|
| 320 |
+
{
|
| 321 |
+
"epoch": 0.1226158038147139,
|
| 322 |
+
"grad_norm": 85.0,
|
| 323 |
+
"learning_rate": 1.9956981277233342e-05,
|
| 324 |
+
"loss": 15.50723648071289,
|
| 325 |
+
"step": 45
|
| 326 |
+
},
|
| 327 |
+
{
|
| 328 |
+
"epoch": 0.12534059945504086,
|
| 329 |
+
"grad_norm": 83.0,
|
| 330 |
+
"learning_rate": 1.9952790011301248e-05,
|
| 331 |
+
"loss": 16.80683135986328,
|
| 332 |
+
"step": 46
|
| 333 |
+
},
|
| 334 |
+
{
|
| 335 |
+
"epoch": 0.12806539509536785,
|
| 336 |
+
"grad_norm": 111.0,
|
| 337 |
+
"learning_rate": 1.994840443110668e-05,
|
| 338 |
+
"loss": 16.459972381591797,
|
| 339 |
+
"step": 47
|
| 340 |
+
},
|
| 341 |
+
{
|
| 342 |
+
"epoch": 0.1307901907356948,
|
| 343 |
+
"grad_norm": 150.0,
|
| 344 |
+
"learning_rate": 1.9943824622271934e-05,
|
| 345 |
+
"loss": 13.282132148742676,
|
| 346 |
+
"step": 48
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"epoch": 0.1335149863760218,
|
| 350 |
+
"grad_norm": 128.0,
|
| 351 |
+
"learning_rate": 1.9939050674211358e-05,
|
| 352 |
+
"loss": 14.049150466918945,
|
| 353 |
+
"step": 49
|
| 354 |
+
},
|
| 355 |
+
{
|
| 356 |
+
"epoch": 0.1362397820163488,
|
| 357 |
+
"grad_norm": 87.5,
|
| 358 |
+
"learning_rate": 1.9934082680129588e-05,
|
| 359 |
+
"loss": 14.285058975219727,
|
| 360 |
+
"step": 50
|
| 361 |
+
},
|
| 362 |
+
{
|
| 363 |
+
"epoch": 0.13896457765667575,
|
| 364 |
+
"grad_norm": 70.5,
|
| 365 |
+
"learning_rate": 1.9928920737019735e-05,
|
| 366 |
+
"loss": 12.706293106079102,
|
| 367 |
+
"step": 51
|
| 368 |
+
},
|
| 369 |
+
{
|
| 370 |
+
"epoch": 0.14168937329700274,
|
| 371 |
+
"grad_norm": 75.5,
|
| 372 |
+
"learning_rate": 1.9923564945661506e-05,
|
| 373 |
+
"loss": 13.83144474029541,
|
| 374 |
+
"step": 52
|
| 375 |
+
},
|
| 376 |
+
{
|
| 377 |
+
"epoch": 0.1444141689373297,
|
| 378 |
+
"grad_norm": 88.5,
|
| 379 |
+
"learning_rate": 1.99180154106192e-05,
|
| 380 |
+
"loss": 12.213239669799805,
|
| 381 |
+
"step": 53
|
| 382 |
+
},
|
| 383 |
+
{
|
| 384 |
+
"epoch": 0.14713896457765668,
|
| 385 |
+
"grad_norm": 97.0,
|
| 386 |
+
"learning_rate": 1.9912272240239715e-05,
|
| 387 |
+
"loss": 12.70011043548584,
|
| 388 |
+
"step": 54
|
| 389 |
+
},
|
| 390 |
+
{
|
| 391 |
+
"epoch": 0.14986376021798364,
|
| 392 |
+
"grad_norm": 93.0,
|
| 393 |
+
"learning_rate": 1.9906335546650394e-05,
|
| 394 |
+
"loss": 11.974971771240234,
|
| 395 |
+
"step": 55
|
| 396 |
+
},
|
| 397 |
+
{
|
| 398 |
+
"epoch": 0.15258855585831063,
|
| 399 |
+
"grad_norm": 66.0,
|
| 400 |
+
"learning_rate": 1.9900205445756845e-05,
|
| 401 |
+
"loss": 13.716851234436035,
|
| 402 |
+
"step": 56
|
| 403 |
+
},
|
| 404 |
+
{
|
| 405 |
+
"epoch": 0.1553133514986376,
|
| 406 |
+
"grad_norm": 57.75,
|
| 407 |
+
"learning_rate": 1.9893882057240698e-05,
|
| 408 |
+
"loss": 13.276803016662598,
|
| 409 |
+
"step": 57
|
| 410 |
+
},
|
| 411 |
+
{
|
| 412 |
+
"epoch": 0.15803814713896458,
|
| 413 |
+
"grad_norm": 63.5,
|
| 414 |
+
"learning_rate": 1.988736550455723e-05,
|
| 415 |
+
"loss": 12.804815292358398,
|
| 416 |
+
"step": 58
|
| 417 |
+
},
|
| 418 |
+
{
|
| 419 |
+
"epoch": 0.16076294277929154,
|
| 420 |
+
"grad_norm": 57.25,
|
| 421 |
+
"learning_rate": 1.9880655914933003e-05,
|
| 422 |
+
"loss": 12.110427856445312,
|
| 423 |
+
"step": 59
|
| 424 |
+
},
|
| 425 |
+
{
|
| 426 |
+
"epoch": 0.16348773841961853,
|
| 427 |
+
"grad_norm": 57.5,
|
| 428 |
+
"learning_rate": 1.9873753419363336e-05,
|
| 429 |
+
"loss": 12.278120040893555,
|
| 430 |
+
"step": 60
|
| 431 |
+
},
|
| 432 |
+
{
|
| 433 |
+
"epoch": 0.16621253405994552,
|
| 434 |
+
"grad_norm": 57.5,
|
| 435 |
+
"learning_rate": 1.986665815260977e-05,
|
| 436 |
+
"loss": 12.700621604919434,
|
| 437 |
+
"step": 61
|
| 438 |
+
},
|
| 439 |
+
{
|
| 440 |
+
"epoch": 0.16893732970027248,
|
| 441 |
+
"grad_norm": 122.5,
|
| 442 |
+
"learning_rate": 1.9859370253197436e-05,
|
| 443 |
+
"loss": 12.573596954345703,
|
| 444 |
+
"step": 62
|
| 445 |
+
},
|
| 446 |
+
{
|
| 447 |
+
"epoch": 0.17166212534059946,
|
| 448 |
+
"grad_norm": 61.75,
|
| 449 |
+
"learning_rate": 1.9851889863412347e-05,
|
| 450 |
+
"loss": 11.165464401245117,
|
| 451 |
+
"step": 63
|
| 452 |
+
},
|
| 453 |
+
{
|
| 454 |
+
"epoch": 0.17438692098092642,
|
| 455 |
+
"grad_norm": 67.5,
|
| 456 |
+
"learning_rate": 1.9844217129298616e-05,
|
| 457 |
+
"loss": 12.087121963500977,
|
| 458 |
+
"step": 64
|
| 459 |
+
},
|
| 460 |
+
{
|
| 461 |
+
"epoch": 0.1771117166212534,
|
| 462 |
+
"grad_norm": 106.5,
|
| 463 |
+
"learning_rate": 1.983635220065562e-05,
|
| 464 |
+
"loss": 14.107297897338867,
|
| 465 |
+
"step": 65
|
| 466 |
+
},
|
| 467 |
+
{
|
| 468 |
+
"epoch": 0.17983651226158037,
|
| 469 |
+
"grad_norm": 77.0,
|
| 470 |
+
"learning_rate": 1.9828295231035054e-05,
|
| 471 |
+
"loss": 12.48006820678711,
|
| 472 |
+
"step": 66
|
| 473 |
+
},
|
| 474 |
+
{
|
| 475 |
+
"epoch": 0.18256130790190736,
|
| 476 |
+
"grad_norm": 122.5,
|
| 477 |
+
"learning_rate": 1.9820046377737944e-05,
|
| 478 |
+
"loss": 12.802762985229492,
|
| 479 |
+
"step": 67
|
| 480 |
+
},
|
| 481 |
+
{
|
| 482 |
+
"epoch": 0.18528610354223432,
|
| 483 |
+
"grad_norm": 77.0,
|
| 484 |
+
"learning_rate": 1.9811605801811578e-05,
|
| 485 |
+
"loss": 10.705779075622559,
|
| 486 |
+
"step": 68
|
| 487 |
+
},
|
| 488 |
+
{
|
| 489 |
+
"epoch": 0.1880108991825613,
|
| 490 |
+
"grad_norm": 52.25,
|
| 491 |
+
"learning_rate": 1.9802973668046364e-05,
|
| 492 |
+
"loss": 12.537907600402832,
|
| 493 |
+
"step": 69
|
| 494 |
+
},
|
| 495 |
+
{
|
| 496 |
+
"epoch": 0.1907356948228883,
|
| 497 |
+
"grad_norm": 47.0,
|
| 498 |
+
"learning_rate": 1.97941501449726e-05,
|
| 499 |
+
"loss": 11.78143310546875,
|
| 500 |
+
"step": 70
|
| 501 |
+
},
|
| 502 |
+
{
|
| 503 |
+
"epoch": 0.19346049046321526,
|
| 504 |
+
"grad_norm": 41.5,
|
| 505 |
+
"learning_rate": 1.9785135404857202e-05,
|
| 506 |
+
"loss": 12.222698211669922,
|
| 507 |
+
"step": 71
|
| 508 |
+
},
|
| 509 |
+
{
|
| 510 |
+
"epoch": 0.19618528610354224,
|
| 511 |
+
"grad_norm": 41.5,
|
| 512 |
+
"learning_rate": 1.9775929623700318e-05,
|
| 513 |
+
"loss": 12.033823013305664,
|
| 514 |
+
"step": 72
|
| 515 |
+
},
|
| 516 |
+
{
|
| 517 |
+
"epoch": 0.1989100817438692,
|
| 518 |
+
"grad_norm": 38.5,
|
| 519 |
+
"learning_rate": 1.9766532981231913e-05,
|
| 520 |
+
"loss": 12.244077682495117,
|
| 521 |
+
"step": 73
|
| 522 |
+
},
|
| 523 |
+
{
|
| 524 |
+
"epoch": 0.2016348773841962,
|
| 525 |
+
"grad_norm": 49.75,
|
| 526 |
+
"learning_rate": 1.975694566090825e-05,
|
| 527 |
+
"loss": 11.97701644897461,
|
| 528 |
+
"step": 74
|
| 529 |
+
},
|
| 530 |
+
{
|
| 531 |
+
"epoch": 0.20435967302452315,
|
| 532 |
+
"grad_norm": 55.5,
|
| 533 |
+
"learning_rate": 1.9747167849908305e-05,
|
| 534 |
+
"loss": 10.784921646118164,
|
| 535 |
+
"step": 75
|
| 536 |
+
},
|
| 537 |
+
{
|
| 538 |
+
"epoch": 0.20708446866485014,
|
| 539 |
+
"grad_norm": 61.0,
|
| 540 |
+
"learning_rate": 1.9737199739130123e-05,
|
| 541 |
+
"loss": 11.930859565734863,
|
| 542 |
+
"step": 76
|
| 543 |
+
},
|
| 544 |
+
{
|
| 545 |
+
"epoch": 0.2098092643051771,
|
| 546 |
+
"grad_norm": 45.0,
|
| 547 |
+
"learning_rate": 1.9727041523187083e-05,
|
| 548 |
+
"loss": 13.60090446472168,
|
| 549 |
+
"step": 77
|
| 550 |
+
},
|
| 551 |
+
{
|
| 552 |
+
"epoch": 0.2125340599455041,
|
| 553 |
+
"grad_norm": 40.5,
|
| 554 |
+
"learning_rate": 1.97166934004041e-05,
|
| 555 |
+
"loss": 12.982333183288574,
|
| 556 |
+
"step": 78
|
| 557 |
+
},
|
| 558 |
+
{
|
| 559 |
+
"epoch": 0.21525885558583105,
|
| 560 |
+
"grad_norm": 59.75,
|
| 561 |
+
"learning_rate": 1.970615557281376e-05,
|
| 562 |
+
"loss": 9.924541473388672,
|
| 563 |
+
"step": 79
|
| 564 |
+
},
|
| 565 |
+
{
|
| 566 |
+
"epoch": 0.21798365122615804,
|
| 567 |
+
"grad_norm": 57.25,
|
| 568 |
+
"learning_rate": 1.969542824615235e-05,
|
| 569 |
+
"loss": 11.274691581726074,
|
| 570 |
+
"step": 80
|
| 571 |
+
},
|
| 572 |
+
{
|
| 573 |
+
"epoch": 0.22070844686648503,
|
| 574 |
+
"grad_norm": 50.75,
|
| 575 |
+
"learning_rate": 1.968451162985589e-05,
|
| 576 |
+
"loss": 9.735274314880371,
|
| 577 |
+
"step": 81
|
| 578 |
+
},
|
| 579 |
+
{
|
| 580 |
+
"epoch": 0.22343324250681199,
|
| 581 |
+
"grad_norm": 78.5,
|
| 582 |
+
"learning_rate": 1.9673405937055986e-05,
|
| 583 |
+
"loss": 10.165392875671387,
|
| 584 |
+
"step": 82
|
| 585 |
+
},
|
| 586 |
+
{
|
| 587 |
+
"epoch": 0.22615803814713897,
|
| 588 |
+
"grad_norm": 74.5,
|
| 589 |
+
"learning_rate": 1.9662111384575716e-05,
|
| 590 |
+
"loss": 9.077415466308594,
|
| 591 |
+
"step": 83
|
| 592 |
+
},
|
| 593 |
+
{
|
| 594 |
+
"epoch": 0.22888283378746593,
|
| 595 |
+
"grad_norm": 54.75,
|
| 596 |
+
"learning_rate": 1.9650628192925372e-05,
|
| 597 |
+
"loss": 10.11076831817627,
|
| 598 |
+
"step": 84
|
| 599 |
+
},
|
| 600 |
+
{
|
| 601 |
+
"epoch": 0.23160762942779292,
|
| 602 |
+
"grad_norm": 74.0,
|
| 603 |
+
"learning_rate": 1.963895658629816e-05,
|
| 604 |
+
"loss": 11.903621673583984,
|
| 605 |
+
"step": 85
|
| 606 |
+
},
|
| 607 |
+
{
|
| 608 |
+
"epoch": 0.23433242506811988,
|
| 609 |
+
"grad_norm": 47.25,
|
| 610 |
+
"learning_rate": 1.9627096792565825e-05,
|
| 611 |
+
"loss": 9.115705490112305,
|
| 612 |
+
"step": 86
|
| 613 |
+
},
|
| 614 |
+
{
|
| 615 |
+
"epoch": 0.23705722070844687,
|
| 616 |
+
"grad_norm": 78.5,
|
| 617 |
+
"learning_rate": 1.9615049043274207e-05,
|
| 618 |
+
"loss": 11.530861854553223,
|
| 619 |
+
"step": 87
|
| 620 |
+
},
|
| 621 |
+
{
|
| 622 |
+
"epoch": 0.23978201634877383,
|
| 623 |
+
"grad_norm": 54.75,
|
| 624 |
+
"learning_rate": 1.9602813573638705e-05,
|
| 625 |
+
"loss": 10.342988014221191,
|
| 626 |
+
"step": 88
|
| 627 |
+
},
|
| 628 |
+
{
|
| 629 |
+
"epoch": 0.24250681198910082,
|
| 630 |
+
"grad_norm": 46.5,
|
| 631 |
+
"learning_rate": 1.9590390622539696e-05,
|
| 632 |
+
"loss": 10.499998092651367,
|
| 633 |
+
"step": 89
|
| 634 |
+
},
|
| 635 |
+
{
|
| 636 |
+
"epoch": 0.2452316076294278,
|
| 637 |
+
"grad_norm": 61.75,
|
| 638 |
+
"learning_rate": 1.957778043251788e-05,
|
| 639 |
+
"loss": 10.014358520507812,
|
| 640 |
+
"step": 90
|
| 641 |
+
},
|
| 642 |
+
{
|
| 643 |
+
"epoch": 0.24795640326975477,
|
| 644 |
+
"grad_norm": 84.0,
|
| 645 |
+
"learning_rate": 1.9564983249769518e-05,
|
| 646 |
+
"loss": 12.045997619628906,
|
| 647 |
+
"step": 91
|
| 648 |
+
},
|
| 649 |
+
{
|
| 650 |
+
"epoch": 0.2506811989100817,
|
| 651 |
+
"grad_norm": 110.0,
|
| 652 |
+
"learning_rate": 1.9551999324141656e-05,
|
| 653 |
+
"loss": 10.226362228393555,
|
| 654 |
+
"step": 92
|
| 655 |
+
},
|
| 656 |
+
{
|
| 657 |
+
"epoch": 0.25340599455040874,
|
| 658 |
+
"grad_norm": 88.5,
|
| 659 |
+
"learning_rate": 1.953882890912723e-05,
|
| 660 |
+
"loss": 10.071401596069336,
|
| 661 |
+
"step": 93
|
| 662 |
+
},
|
| 663 |
+
{
|
| 664 |
+
"epoch": 0.2561307901907357,
|
| 665 |
+
"grad_norm": 92.0,
|
| 666 |
+
"learning_rate": 1.9525472261860112e-05,
|
| 667 |
+
"loss": 11.945771217346191,
|
| 668 |
+
"step": 94
|
| 669 |
+
},
|
| 670 |
+
{
|
| 671 |
+
"epoch": 0.25885558583106266,
|
| 672 |
+
"grad_norm": 59.25,
|
| 673 |
+
"learning_rate": 1.9511929643110095e-05,
|
| 674 |
+
"loss": 10.799688339233398,
|
| 675 |
+
"step": 95
|
| 676 |
+
},
|
| 677 |
+
{
|
| 678 |
+
"epoch": 0.2615803814713896,
|
| 679 |
+
"grad_norm": 85.0,
|
| 680 |
+
"learning_rate": 1.949820131727783e-05,
|
| 681 |
+
"loss": 12.050772666931152,
|
| 682 |
+
"step": 96
|
| 683 |
+
},
|
| 684 |
+
{
|
| 685 |
+
"epoch": 0.26430517711171664,
|
| 686 |
+
"grad_norm": 75.5,
|
| 687 |
+
"learning_rate": 1.9484287552389603e-05,
|
| 688 |
+
"loss": 10.570755004882812,
|
| 689 |
+
"step": 97
|
| 690 |
+
},
|
| 691 |
+
{
|
| 692 |
+
"epoch": 0.2670299727520436,
|
| 693 |
+
"grad_norm": 101.0,
|
| 694 |
+
"learning_rate": 1.9470188620092162e-05,
|
| 695 |
+
"loss": 10.214563369750977,
|
| 696 |
+
"step": 98
|
| 697 |
+
},
|
| 698 |
+
{
|
| 699 |
+
"epoch": 0.26975476839237056,
|
| 700 |
+
"grad_norm": 59.25,
|
| 701 |
+
"learning_rate": 1.945590479564738e-05,
|
| 702 |
+
"loss": 10.041733741760254,
|
| 703 |
+
"step": 99
|
| 704 |
+
},
|
| 705 |
+
{
|
| 706 |
+
"epoch": 0.2724795640326976,
|
| 707 |
+
"grad_norm": 80.0,
|
| 708 |
+
"learning_rate": 1.9441436357926892e-05,
|
| 709 |
+
"loss": 12.891487121582031,
|
| 710 |
+
"step": 100
|
| 711 |
+
},
|
| 712 |
+
{
|
| 713 |
+
"epoch": 0.27520435967302453,
|
| 714 |
+
"grad_norm": 67.5,
|
| 715 |
+
"learning_rate": 1.9426783589406645e-05,
|
| 716 |
+
"loss": 10.844165802001953,
|
| 717 |
+
"step": 101
|
| 718 |
+
},
|
| 719 |
+
{
|
| 720 |
+
"epoch": 0.2779291553133515,
|
| 721 |
+
"grad_norm": 48.75,
|
| 722 |
+
"learning_rate": 1.9411946776161388e-05,
|
| 723 |
+
"loss": 11.822603225708008,
|
| 724 |
+
"step": 102
|
| 725 |
+
},
|
| 726 |
+
{
|
| 727 |
+
"epoch": 0.28065395095367845,
|
| 728 |
+
"grad_norm": 68.5,
|
| 729 |
+
"learning_rate": 1.9396926207859085e-05,
|
| 730 |
+
"loss": 10.97657585144043,
|
| 731 |
+
"step": 103
|
| 732 |
+
},
|
| 733 |
+
{
|
| 734 |
+
"epoch": 0.28337874659400547,
|
| 735 |
+
"grad_norm": 134.0,
|
| 736 |
+
"learning_rate": 1.9381722177755266e-05,
|
| 737 |
+
"loss": 10.612011909484863,
|
| 738 |
+
"step": 104
|
| 739 |
+
},
|
| 740 |
+
{
|
| 741 |
+
"epoch": 0.28610354223433243,
|
| 742 |
+
"grad_norm": 154.0,
|
| 743 |
+
"learning_rate": 1.936633498268728e-05,
|
| 744 |
+
"loss": 9.453835487365723,
|
| 745 |
+
"step": 105
|
| 746 |
+
},
|
| 747 |
+
{
|
| 748 |
+
"epoch": 0.2888283378746594,
|
| 749 |
+
"grad_norm": 127.0,
|
| 750 |
+
"learning_rate": 1.9350764923068533e-05,
|
| 751 |
+
"loss": 9.9420166015625,
|
| 752 |
+
"step": 106
|
| 753 |
+
},
|
| 754 |
+
{
|
| 755 |
+
"epoch": 0.29155313351498635,
|
| 756 |
+
"grad_norm": 65.5,
|
| 757 |
+
"learning_rate": 1.933501230288259e-05,
|
| 758 |
+
"loss": 9.418241500854492,
|
| 759 |
+
"step": 107
|
| 760 |
+
},
|
| 761 |
+
{
|
| 762 |
+
"epoch": 0.29427792915531337,
|
| 763 |
+
"grad_norm": 62.75,
|
| 764 |
+
"learning_rate": 1.931907742967727e-05,
|
| 765 |
+
"loss": 8.981918334960938,
|
| 766 |
+
"step": 108
|
| 767 |
+
},
|
| 768 |
+
{
|
| 769 |
+
"epoch": 0.2970027247956403,
|
| 770 |
+
"grad_norm": 82.5,
|
| 771 |
+
"learning_rate": 1.9302960614558604e-05,
|
| 772 |
+
"loss": 10.584541320800781,
|
| 773 |
+
"step": 109
|
| 774 |
+
},
|
| 775 |
+
{
|
| 776 |
+
"epoch": 0.2997275204359673,
|
| 777 |
+
"grad_norm": 117.5,
|
| 778 |
+
"learning_rate": 1.928666217218481e-05,
|
| 779 |
+
"loss": 9.602861404418945,
|
| 780 |
+
"step": 110
|
| 781 |
+
},
|
| 782 |
+
{
|
| 783 |
+
"epoch": 0.3024523160762943,
|
| 784 |
+
"grad_norm": 148.0,
|
| 785 |
+
"learning_rate": 1.9270182420760104e-05,
|
| 786 |
+
"loss": 11.30278205871582,
|
| 787 |
+
"step": 111
|
| 788 |
+
},
|
| 789 |
+
{
|
| 790 |
+
"epoch": 0.30517711171662126,
|
| 791 |
+
"grad_norm": 62.5,
|
| 792 |
+
"learning_rate": 1.9253521682028515e-05,
|
| 793 |
+
"loss": 9.8443021774292,
|
| 794 |
+
"step": 112
|
| 795 |
+
},
|
| 796 |
+
{
|
| 797 |
+
"epoch": 0.3079019073569482,
|
| 798 |
+
"grad_norm": 84.0,
|
| 799 |
+
"learning_rate": 1.9236680281267594e-05,
|
| 800 |
+
"loss": 7.5392961502075195,
|
| 801 |
+
"step": 113
|
| 802 |
+
},
|
| 803 |
+
{
|
| 804 |
+
"epoch": 0.3106267029972752,
|
| 805 |
+
"grad_norm": 56.75,
|
| 806 |
+
"learning_rate": 1.921965854728207e-05,
|
| 807 |
+
"loss": 10.067930221557617,
|
| 808 |
+
"step": 114
|
| 809 |
+
},
|
| 810 |
+
{
|
| 811 |
+
"epoch": 0.3133514986376022,
|
| 812 |
+
"grad_norm": 44.75,
|
| 813 |
+
"learning_rate": 1.920245681239741e-05,
|
| 814 |
+
"loss": 8.589845657348633,
|
| 815 |
+
"step": 115
|
| 816 |
+
},
|
| 817 |
+
{
|
| 818 |
+
"epoch": 0.31607629427792916,
|
| 819 |
+
"grad_norm": 122.0,
|
| 820 |
+
"learning_rate": 1.918507541245336e-05,
|
| 821 |
+
"loss": 11.69874382019043,
|
| 822 |
+
"step": 116
|
| 823 |
+
},
|
| 824 |
+
{
|
| 825 |
+
"epoch": 0.3188010899182561,
|
| 826 |
+
"grad_norm": 89.0,
|
| 827 |
+
"learning_rate": 1.916751468679737e-05,
|
| 828 |
+
"loss": 9.99834156036377,
|
| 829 |
+
"step": 117
|
| 830 |
+
},
|
| 831 |
+
{
|
| 832 |
+
"epoch": 0.3215258855585831,
|
| 833 |
+
"grad_norm": 84.0,
|
| 834 |
+
"learning_rate": 1.9149774978277975e-05,
|
| 835 |
+
"loss": 9.743596076965332,
|
| 836 |
+
"step": 118
|
| 837 |
+
},
|
| 838 |
+
{
|
| 839 |
+
"epoch": 0.3242506811989101,
|
| 840 |
+
"grad_norm": 86.0,
|
| 841 |
+
"learning_rate": 1.9131856633238096e-05,
|
| 842 |
+
"loss": 9.140531539916992,
|
| 843 |
+
"step": 119
|
| 844 |
+
},
|
| 845 |
+
{
|
| 846 |
+
"epoch": 0.32697547683923706,
|
| 847 |
+
"grad_norm": 65.0,
|
| 848 |
+
"learning_rate": 1.911376000150828e-05,
|
| 849 |
+
"loss": 8.819114685058594,
|
| 850 |
+
"step": 120
|
| 851 |
+
},
|
| 852 |
+
{
|
| 853 |
+
"epoch": 0.329700272479564,
|
| 854 |
+
"grad_norm": 73.0,
|
| 855 |
+
"learning_rate": 1.9095485436399878e-05,
|
| 856 |
+
"loss": 9.055301666259766,
|
| 857 |
+
"step": 121
|
| 858 |
+
},
|
| 859 |
+
{
|
| 860 |
+
"epoch": 0.33242506811989103,
|
| 861 |
+
"grad_norm": 69.0,
|
| 862 |
+
"learning_rate": 1.9077033294698135e-05,
|
| 863 |
+
"loss": 9.458704948425293,
|
| 864 |
+
"step": 122
|
| 865 |
+
},
|
| 866 |
+
{
|
| 867 |
+
"epoch": 0.335149863760218,
|
| 868 |
+
"grad_norm": 64.0,
|
| 869 |
+
"learning_rate": 1.9058403936655235e-05,
|
| 870 |
+
"loss": 9.699943542480469,
|
| 871 |
+
"step": 123
|
| 872 |
+
},
|
| 873 |
+
{
|
| 874 |
+
"epoch": 0.33787465940054495,
|
| 875 |
+
"grad_norm": 59.5,
|
| 876 |
+
"learning_rate": 1.9039597725983254e-05,
|
| 877 |
+
"loss": 8.256848335266113,
|
| 878 |
+
"step": 124
|
| 879 |
+
},
|
| 880 |
+
{
|
| 881 |
+
"epoch": 0.3405994550408719,
|
| 882 |
+
"grad_norm": 59.25,
|
| 883 |
+
"learning_rate": 1.9020615029847073e-05,
|
| 884 |
+
"loss": 9.696537017822266,
|
| 885 |
+
"step": 125
|
| 886 |
+
},
|
| 887 |
+
{
|
| 888 |
+
"epoch": 0.34332425068119893,
|
| 889 |
+
"grad_norm": 53.75,
|
| 890 |
+
"learning_rate": 1.9001456218857207e-05,
|
| 891 |
+
"loss": 9.273826599121094,
|
| 892 |
+
"step": 126
|
| 893 |
+
},
|
| 894 |
+
{
|
| 895 |
+
"epoch": 0.3460490463215259,
|
| 896 |
+
"grad_norm": 57.5,
|
| 897 |
+
"learning_rate": 1.8982121667062566e-05,
|
| 898 |
+
"loss": 8.918879508972168,
|
| 899 |
+
"step": 127
|
| 900 |
+
},
|
| 901 |
+
{
|
| 902 |
+
"epoch": 0.34877384196185285,
|
| 903 |
+
"grad_norm": 130.0,
|
| 904 |
+
"learning_rate": 1.8962611751943142e-05,
|
| 905 |
+
"loss": 9.746708869934082,
|
| 906 |
+
"step": 128
|
| 907 |
+
},
|
| 908 |
+
{
|
| 909 |
+
"epoch": 0.35149863760217986,
|
| 910 |
+
"grad_norm": 73.0,
|
| 911 |
+
"learning_rate": 1.894292685440266e-05,
|
| 912 |
+
"loss": 9.20458984375,
|
| 913 |
+
"step": 129
|
| 914 |
+
},
|
| 915 |
+
{
|
| 916 |
+
"epoch": 0.3542234332425068,
|
| 917 |
+
"grad_norm": 57.25,
|
| 918 |
+
"learning_rate": 1.8923067358761135e-05,
|
| 919 |
+
"loss": 9.030914306640625,
|
| 920 |
+
"step": 130
|
| 921 |
+
},
|
| 922 |
+
{
|
| 923 |
+
"epoch": 0.3569482288828338,
|
| 924 |
+
"grad_norm": 48.25,
|
| 925 |
+
"learning_rate": 1.8903033652747352e-05,
|
| 926 |
+
"loss": 10.621173858642578,
|
| 927 |
+
"step": 131
|
| 928 |
+
},
|
| 929 |
+
{
|
| 930 |
+
"epoch": 0.35967302452316074,
|
| 931 |
+
"grad_norm": 55.5,
|
| 932 |
+
"learning_rate": 1.888282612749132e-05,
|
| 933 |
+
"loss": 10.09680461883545,
|
| 934 |
+
"step": 132
|
| 935 |
+
},
|
| 936 |
+
{
|
| 937 |
+
"epoch": 0.36239782016348776,
|
| 938 |
+
"grad_norm": 39.75,
|
| 939 |
+
"learning_rate": 1.8862445177516622e-05,
|
| 940 |
+
"loss": 9.972148895263672,
|
| 941 |
+
"step": 133
|
| 942 |
+
},
|
| 943 |
+
{
|
| 944 |
+
"epoch": 0.3651226158038147,
|
| 945 |
+
"grad_norm": 44.5,
|
| 946 |
+
"learning_rate": 1.8841891200732706e-05,
|
| 947 |
+
"loss": 9.76202392578125,
|
| 948 |
+
"step": 134
|
| 949 |
+
},
|
| 950 |
+
{
|
| 951 |
+
"epoch": 0.3678474114441417,
|
| 952 |
+
"grad_norm": 60.75,
|
| 953 |
+
"learning_rate": 1.8821164598427148e-05,
|
| 954 |
+
"loss": 8.579317092895508,
|
| 955 |
+
"step": 135
|
| 956 |
+
},
|
| 957 |
+
{
|
| 958 |
+
"epoch": 0.37057220708446864,
|
| 959 |
+
"grad_norm": 46.0,
|
| 960 |
+
"learning_rate": 1.8800265775257772e-05,
|
| 961 |
+
"loss": 9.23803424835205,
|
| 962 |
+
"step": 136
|
| 963 |
+
},
|
| 964 |
+
{
|
| 965 |
+
"epoch": 0.37329700272479566,
|
| 966 |
+
"grad_norm": 41.25,
|
| 967 |
+
"learning_rate": 1.877919513924478e-05,
|
| 968 |
+
"loss": 9.676480293273926,
|
| 969 |
+
"step": 137
|
| 970 |
+
},
|
| 971 |
+
{
|
| 972 |
+
"epoch": 0.3760217983651226,
|
| 973 |
+
"grad_norm": 52.0,
|
| 974 |
+
"learning_rate": 1.8757953101762786e-05,
|
| 975 |
+
"loss": 10.324712753295898,
|
| 976 |
+
"step": 138
|
| 977 |
+
},
|
| 978 |
+
{
|
| 979 |
+
"epoch": 0.3787465940054496,
|
| 980 |
+
"grad_norm": 42.75,
|
| 981 |
+
"learning_rate": 1.8736540077532773e-05,
|
| 982 |
+
"loss": 9.265958786010742,
|
| 983 |
+
"step": 139
|
| 984 |
+
},
|
| 985 |
+
{
|
| 986 |
+
"epoch": 0.3814713896457766,
|
| 987 |
+
"grad_norm": 60.75,
|
| 988 |
+
"learning_rate": 1.8714956484613996e-05,
|
| 989 |
+
"loss": 8.837886810302734,
|
| 990 |
+
"step": 140
|
| 991 |
+
},
|
| 992 |
+
{
|
| 993 |
+
"epoch": 0.38419618528610355,
|
| 994 |
+
"grad_norm": 56.75,
|
| 995 |
+
"learning_rate": 1.869320274439583e-05,
|
| 996 |
+
"loss": 10.104880332946777,
|
| 997 |
+
"step": 141
|
| 998 |
+
},
|
| 999 |
+
{
|
| 1000 |
+
"epoch": 0.3869209809264305,
|
| 1001 |
+
"grad_norm": 54.75,
|
| 1002 |
+
"learning_rate": 1.8671279281589528e-05,
|
| 1003 |
+
"loss": 8.19149398803711,
|
| 1004 |
+
"step": 142
|
| 1005 |
+
},
|
| 1006 |
+
{
|
| 1007 |
+
"epoch": 0.3896457765667575,
|
| 1008 |
+
"grad_norm": 149.0,
|
| 1009 |
+
"learning_rate": 1.8649186524219956e-05,
|
| 1010 |
+
"loss": 8.385530471801758,
|
| 1011 |
+
"step": 143
|
| 1012 |
+
},
|
| 1013 |
+
{
|
| 1014 |
+
"epoch": 0.3923705722070845,
|
| 1015 |
+
"grad_norm": 61.75,
|
| 1016 |
+
"learning_rate": 1.86269249036172e-05,
|
| 1017 |
+
"loss": 8.006965637207031,
|
| 1018 |
+
"step": 144
|
| 1019 |
+
},
|
| 1020 |
+
{
|
| 1021 |
+
"epoch": 0.39509536784741145,
|
| 1022 |
+
"grad_norm": 142.0,
|
| 1023 |
+
"learning_rate": 1.8604494854408176e-05,
|
| 1024 |
+
"loss": 7.986896514892578,
|
| 1025 |
+
"step": 145
|
| 1026 |
+
},
|
| 1027 |
+
{
|
| 1028 |
+
"epoch": 0.3978201634877384,
|
| 1029 |
+
"grad_norm": 62.75,
|
| 1030 |
+
"learning_rate": 1.858189681450813e-05,
|
| 1031 |
+
"loss": 8.249701499938965,
|
| 1032 |
+
"step": 146
|
| 1033 |
+
},
|
| 1034 |
+
{
|
| 1035 |
+
"epoch": 0.40054495912806537,
|
| 1036 |
+
"grad_norm": 117.0,
|
| 1037 |
+
"learning_rate": 1.8559131225112085e-05,
|
| 1038 |
+
"loss": 10.889843940734863,
|
| 1039 |
+
"step": 147
|
| 1040 |
+
},
|
| 1041 |
+
{
|
| 1042 |
+
"epoch": 0.4032697547683924,
|
| 1043 |
+
"grad_norm": 73.5,
|
| 1044 |
+
"learning_rate": 1.853619853068624e-05,
|
| 1045 |
+
"loss": 9.433284759521484,
|
| 1046 |
+
"step": 148
|
| 1047 |
+
},
|
| 1048 |
+
{
|
| 1049 |
+
"epoch": 0.40599455040871935,
|
| 1050 |
+
"grad_norm": 55.75,
|
| 1051 |
+
"learning_rate": 1.851309917895928e-05,
|
| 1052 |
+
"loss": 9.875059127807617,
|
| 1053 |
+
"step": 149
|
| 1054 |
+
},
|
| 1055 |
+
{
|
| 1056 |
+
"epoch": 0.4087193460490463,
|
| 1057 |
+
"grad_norm": 47.75,
|
| 1058 |
+
"learning_rate": 1.8489833620913644e-05,
|
| 1059 |
+
"loss": 9.996278762817383,
|
| 1060 |
+
"step": 150
|
| 1061 |
+
},
|
| 1062 |
+
{
|
| 1063 |
+
"epoch": 0.4114441416893733,
|
| 1064 |
+
"grad_norm": 97.5,
|
| 1065 |
+
"learning_rate": 1.846640231077671e-05,
|
| 1066 |
+
"loss": 8.902766227722168,
|
| 1067 |
+
"step": 151
|
| 1068 |
+
},
|
| 1069 |
+
{
|
| 1070 |
+
"epoch": 0.4141689373297003,
|
| 1071 |
+
"grad_norm": 59.5,
|
| 1072 |
+
"learning_rate": 1.8442805706011936e-05,
|
| 1073 |
+
"loss": 9.887271881103516,
|
| 1074 |
+
"step": 152
|
| 1075 |
+
},
|
| 1076 |
+
{
|
| 1077 |
+
"epoch": 0.41689373297002724,
|
| 1078 |
+
"grad_norm": 110.0,
|
| 1079 |
+
"learning_rate": 1.841904426730994e-05,
|
| 1080 |
+
"loss": 7.887417793273926,
|
| 1081 |
+
"step": 153
|
| 1082 |
+
},
|
| 1083 |
+
{
|
| 1084 |
+
"epoch": 0.4196185286103542,
|
| 1085 |
+
"grad_norm": 74.0,
|
| 1086 |
+
"learning_rate": 1.839511845857946e-05,
|
| 1087 |
+
"loss": 8.48383903503418,
|
| 1088 |
+
"step": 154
|
| 1089 |
+
},
|
| 1090 |
+
{
|
| 1091 |
+
"epoch": 0.4223433242506812,
|
| 1092 |
+
"grad_norm": 72.5,
|
| 1093 |
+
"learning_rate": 1.837102874693836e-05,
|
| 1094 |
+
"loss": 7.879996299743652,
|
| 1095 |
+
"step": 155
|
| 1096 |
+
},
|
| 1097 |
+
{
|
| 1098 |
+
"epoch": 0.4250681198910082,
|
| 1099 |
+
"grad_norm": 249.0,
|
| 1100 |
+
"learning_rate": 1.8346775602704464e-05,
|
| 1101 |
+
"loss": 8.765167236328125,
|
| 1102 |
+
"step": 156
|
| 1103 |
+
},
|
| 1104 |
+
{
|
| 1105 |
+
"epoch": 0.42779291553133514,
|
| 1106 |
+
"grad_norm": 93.5,
|
| 1107 |
+
"learning_rate": 1.832235949938638e-05,
|
| 1108 |
+
"loss": 7.563960075378418,
|
| 1109 |
+
"step": 157
|
| 1110 |
+
},
|
| 1111 |
+
{
|
| 1112 |
+
"epoch": 0.4305177111716621,
|
| 1113 |
+
"grad_norm": 247.0,
|
| 1114 |
+
"learning_rate": 1.8297780913674286e-05,
|
| 1115 |
+
"loss": 10.175262451171875,
|
| 1116 |
+
"step": 158
|
| 1117 |
+
},
|
| 1118 |
+
{
|
| 1119 |
+
"epoch": 0.4332425068119891,
|
| 1120 |
+
"grad_norm": 101.0,
|
| 1121 |
+
"learning_rate": 1.8273040325430575e-05,
|
| 1122 |
+
"loss": 9.55147647857666,
|
| 1123 |
+
"step": 159
|
| 1124 |
+
},
|
| 1125 |
+
{
|
| 1126 |
+
"epoch": 0.4359673024523161,
|
| 1127 |
+
"grad_norm": 113.5,
|
| 1128 |
+
"learning_rate": 1.824813821768053e-05,
|
| 1129 |
+
"loss": 10.279187202453613,
|
| 1130 |
+
"step": 160
|
| 1131 |
+
},
|
| 1132 |
+
{
|
| 1133 |
+
"epoch": 0.43869209809264303,
|
| 1134 |
+
"grad_norm": 57.75,
|
| 1135 |
+
"learning_rate": 1.822307507660287e-05,
|
| 1136 |
+
"loss": 7.288547515869141,
|
| 1137 |
+
"step": 161
|
| 1138 |
+
},
|
| 1139 |
+
{
|
| 1140 |
+
"epoch": 0.44141689373297005,
|
| 1141 |
+
"grad_norm": 62.75,
|
| 1142 |
+
"learning_rate": 1.8197851391520265e-05,
|
| 1143 |
+
"loss": 8.8092679977417,
|
| 1144 |
+
"step": 162
|
| 1145 |
+
},
|
| 1146 |
+
{
|
| 1147 |
+
"epoch": 0.444141689373297,
|
| 1148 |
+
"grad_norm": 62.25,
|
| 1149 |
+
"learning_rate": 1.817246765488978e-05,
|
| 1150 |
+
"loss": 9.367995262145996,
|
| 1151 |
+
"step": 163
|
| 1152 |
+
},
|
| 1153 |
+
{
|
| 1154 |
+
"epoch": 0.44686648501362397,
|
| 1155 |
+
"grad_norm": 87.5,
|
| 1156 |
+
"learning_rate": 1.814692436229326e-05,
|
| 1157 |
+
"loss": 9.748262405395508,
|
| 1158 |
+
"step": 164
|
| 1159 |
+
},
|
| 1160 |
+
{
|
| 1161 |
+
"epoch": 0.44959128065395093,
|
| 1162 |
+
"grad_norm": 228.0,
|
| 1163 |
+
"learning_rate": 1.8121222012427666e-05,
|
| 1164 |
+
"loss": 8.287470817565918,
|
| 1165 |
+
"step": 165
|
| 1166 |
+
},
|
| 1167 |
+
{
|
| 1168 |
+
"epoch": 0.45231607629427795,
|
| 1169 |
+
"grad_norm": 115.0,
|
| 1170 |
+
"learning_rate": 1.809536110709531e-05,
|
| 1171 |
+
"loss": 6.930819988250732,
|
| 1172 |
+
"step": 166
|
| 1173 |
+
},
|
| 1174 |
+
{
|
| 1175 |
+
"epoch": 0.4550408719346049,
|
| 1176 |
+
"grad_norm": 74.5,
|
| 1177 |
+
"learning_rate": 1.8069342151194105e-05,
|
| 1178 |
+
"loss": 8.564351081848145,
|
| 1179 |
+
"step": 167
|
| 1180 |
+
},
|
| 1181 |
+
{
|
| 1182 |
+
"epoch": 0.45776566757493187,
|
| 1183 |
+
"grad_norm": 73.5,
|
| 1184 |
+
"learning_rate": 1.804316565270765e-05,
|
| 1185 |
+
"loss": 8.866043090820312,
|
| 1186 |
+
"step": 168
|
| 1187 |
+
},
|
| 1188 |
+
{
|
| 1189 |
+
"epoch": 0.4604904632152589,
|
| 1190 |
+
"grad_norm": 59.0,
|
| 1191 |
+
"learning_rate": 1.801683212269536e-05,
|
| 1192 |
+
"loss": 8.809003829956055,
|
| 1193 |
+
"step": 169
|
| 1194 |
+
},
|
| 1195 |
+
{
|
| 1196 |
+
"epoch": 0.46321525885558584,
|
| 1197 |
+
"grad_norm": 62.25,
|
| 1198 |
+
"learning_rate": 1.799034207528247e-05,
|
| 1199 |
+
"loss": 8.33181381225586,
|
| 1200 |
+
"step": 170
|
| 1201 |
+
},
|
| 1202 |
+
{
|
| 1203 |
+
"epoch": 0.4659400544959128,
|
| 1204 |
+
"grad_norm": 47.5,
|
| 1205 |
+
"learning_rate": 1.796369602764999e-05,
|
| 1206 |
+
"loss": 8.698205947875977,
|
| 1207 |
+
"step": 171
|
| 1208 |
+
},
|
| 1209 |
+
{
|
| 1210 |
+
"epoch": 0.46866485013623976,
|
| 1211 |
+
"grad_norm": 53.5,
|
| 1212 |
+
"learning_rate": 1.7936894500024614e-05,
|
| 1213 |
+
"loss": 6.74378776550293,
|
| 1214 |
+
"step": 172
|
| 1215 |
+
},
|
| 1216 |
+
{
|
| 1217 |
+
"epoch": 0.4713896457765668,
|
| 1218 |
+
"grad_norm": 388.0,
|
| 1219 |
+
"learning_rate": 1.790993801566858e-05,
|
| 1220 |
+
"loss": 9.079641342163086,
|
| 1221 |
+
"step": 173
|
| 1222 |
+
},
|
| 1223 |
+
{
|
| 1224 |
+
"epoch": 0.47411444141689374,
|
| 1225 |
+
"grad_norm": 77.0,
|
| 1226 |
+
"learning_rate": 1.788282710086942e-05,
|
| 1227 |
+
"loss": 9.122142791748047,
|
| 1228 |
+
"step": 174
|
| 1229 |
+
},
|
| 1230 |
+
{
|
| 1231 |
+
"epoch": 0.4768392370572207,
|
| 1232 |
+
"grad_norm": 588.0,
|
| 1233 |
+
"learning_rate": 1.785556228492972e-05,
|
| 1234 |
+
"loss": 7.489294528961182,
|
| 1235 |
+
"step": 175
|
| 1236 |
+
},
|
| 1237 |
+
{
|
| 1238 |
+
"epoch": 0.47956403269754766,
|
| 1239 |
+
"grad_norm": 52.25,
|
| 1240 |
+
"learning_rate": 1.7828144100156754e-05,
|
| 1241 |
+
"loss": 9.699580192565918,
|
| 1242 |
+
"step": 176
|
| 1243 |
+
},
|
| 1244 |
+
{
|
| 1245 |
+
"epoch": 0.4822888283378747,
|
| 1246 |
+
"grad_norm": 68.0,
|
| 1247 |
+
"learning_rate": 1.7800573081852124e-05,
|
| 1248 |
+
"loss": 8.443748474121094,
|
| 1249 |
+
"step": 177
|
| 1250 |
+
},
|
| 1251 |
+
{
|
| 1252 |
+
"epoch": 0.48501362397820164,
|
| 1253 |
+
"grad_norm": 59.25,
|
| 1254 |
+
"learning_rate": 1.7772849768301273e-05,
|
| 1255 |
+
"loss": 8.995189666748047,
|
| 1256 |
+
"step": 178
|
| 1257 |
+
},
|
| 1258 |
+
{
|
| 1259 |
+
"epoch": 0.4877384196185286,
|
| 1260 |
+
"grad_norm": 70.5,
|
| 1261 |
+
"learning_rate": 1.7744974700763018e-05,
|
| 1262 |
+
"loss": 9.576644897460938,
|
| 1263 |
+
"step": 179
|
| 1264 |
+
},
|
| 1265 |
+
{
|
| 1266 |
+
"epoch": 0.4904632152588556,
|
| 1267 |
+
"grad_norm": 57.25,
|
| 1268 |
+
"learning_rate": 1.771694842345894e-05,
|
| 1269 |
+
"loss": 9.02816390991211,
|
| 1270 |
+
"step": 180
|
| 1271 |
+
},
|
| 1272 |
+
{
|
| 1273 |
+
"epoch": 0.49318801089918257,
|
| 1274 |
+
"grad_norm": 70.5,
|
| 1275 |
+
"learning_rate": 1.7688771483562788e-05,
|
| 1276 |
+
"loss": 7.724009990692139,
|
| 1277 |
+
"step": 181
|
| 1278 |
+
},
|
| 1279 |
+
{
|
| 1280 |
+
"epoch": 0.49591280653950953,
|
| 1281 |
+
"grad_norm": 47.75,
|
| 1282 |
+
"learning_rate": 1.766044443118978e-05,
|
| 1283 |
+
"loss": 8.413365364074707,
|
| 1284 |
+
"step": 182
|
| 1285 |
+
},
|
| 1286 |
+
{
|
| 1287 |
+
"epoch": 0.4986376021798365,
|
| 1288 |
+
"grad_norm": 55.5,
|
| 1289 |
+
"learning_rate": 1.7631967819385883e-05,
|
| 1290 |
+
"loss": 7.405316352844238,
|
| 1291 |
+
"step": 183
|
| 1292 |
+
},
|
| 1293 |
+
{
|
| 1294 |
+
"epoch": 0.5013623978201635,
|
| 1295 |
+
"grad_norm": 81.5,
|
| 1296 |
+
"learning_rate": 1.760334220411699e-05,
|
| 1297 |
+
"loss": 10.031204223632812,
|
| 1298 |
+
"step": 184
|
| 1299 |
+
},
|
| 1300 |
+
{
|
| 1301 |
+
"epoch": 0.5040871934604905,
|
| 1302 |
+
"grad_norm": 86.0,
|
| 1303 |
+
"learning_rate": 1.7574568144258078e-05,
|
| 1304 |
+
"loss": 8.520164489746094,
|
| 1305 |
+
"step": 185
|
| 1306 |
+
},
|
| 1307 |
+
{
|
| 1308 |
+
"epoch": 0.5068119891008175,
|
| 1309 |
+
"grad_norm": 100.5,
|
| 1310 |
+
"learning_rate": 1.7545646201582304e-05,
|
| 1311 |
+
"loss": 9.04115104675293,
|
| 1312 |
+
"step": 186
|
| 1313 |
+
},
|
| 1314 |
+
{
|
| 1315 |
+
"epoch": 0.5095367847411444,
|
| 1316 |
+
"grad_norm": 71.5,
|
| 1317 |
+
"learning_rate": 1.751657694075002e-05,
|
| 1318 |
+
"loss": 7.026916027069092,
|
| 1319 |
+
"step": 187
|
| 1320 |
+
},
|
| 1321 |
+
{
|
| 1322 |
+
"epoch": 0.5122615803814714,
|
| 1323 |
+
"grad_norm": 41.5,
|
| 1324 |
+
"learning_rate": 1.7487360929297765e-05,
|
| 1325 |
+
"loss": 8.15958023071289,
|
| 1326 |
+
"step": 188
|
| 1327 |
+
},
|
| 1328 |
+
{
|
| 1329 |
+
"epoch": 0.5149863760217984,
|
| 1330 |
+
"grad_norm": 51.75,
|
| 1331 |
+
"learning_rate": 1.7457998737627183e-05,
|
| 1332 |
+
"loss": 7.412751197814941,
|
| 1333 |
+
"step": 189
|
| 1334 |
+
},
|
| 1335 |
+
{
|
| 1336 |
+
"epoch": 0.5177111716621253,
|
| 1337 |
+
"grad_norm": 100.0,
|
| 1338 |
+
"learning_rate": 1.7428490938993864e-05,
|
| 1339 |
+
"loss": 8.202327728271484,
|
| 1340 |
+
"step": 190
|
| 1341 |
+
},
|
| 1342 |
+
{
|
| 1343 |
+
"epoch": 0.5204359673024523,
|
| 1344 |
+
"grad_norm": 288.0,
|
| 1345 |
+
"learning_rate": 1.7398838109496187e-05,
|
| 1346 |
+
"loss": 10.258552551269531,
|
| 1347 |
+
"step": 191
|
| 1348 |
+
},
|
| 1349 |
+
{
|
| 1350 |
+
"epoch": 0.5231607629427792,
|
| 1351 |
+
"grad_norm": 131.0,
|
| 1352 |
+
"learning_rate": 1.7369040828064046e-05,
|
| 1353 |
+
"loss": 8.944820404052734,
|
| 1354 |
+
"step": 192
|
| 1355 |
+
},
|
| 1356 |
+
{
|
| 1357 |
+
"epoch": 0.5258855585831063,
|
| 1358 |
+
"grad_norm": 67.5,
|
| 1359 |
+
"learning_rate": 1.7339099676447564e-05,
|
| 1360 |
+
"loss": 8.260212898254395,
|
| 1361 |
+
"step": 193
|
| 1362 |
+
},
|
| 1363 |
+
{
|
| 1364 |
+
"epoch": 0.5286103542234333,
|
| 1365 |
+
"grad_norm": 60.0,
|
| 1366 |
+
"learning_rate": 1.7309015239205717e-05,
|
| 1367 |
+
"loss": 7.93248176574707,
|
| 1368 |
+
"step": 194
|
| 1369 |
+
},
|
| 1370 |
+
{
|
| 1371 |
+
"epoch": 0.5313351498637602,
|
| 1372 |
+
"grad_norm": 98.0,
|
| 1373 |
+
"learning_rate": 1.7278788103694944e-05,
|
| 1374 |
+
"loss": 8.025236129760742,
|
| 1375 |
+
"step": 195
|
| 1376 |
+
},
|
| 1377 |
+
{
|
| 1378 |
+
"epoch": 0.5340599455040872,
|
| 1379 |
+
"grad_norm": 57.5,
|
| 1380 |
+
"learning_rate": 1.7248418860057653e-05,
|
| 1381 |
+
"loss": 8.118586540222168,
|
| 1382 |
+
"step": 196
|
| 1383 |
+
},
|
| 1384 |
+
{
|
| 1385 |
+
"epoch": 0.5367847411444142,
|
| 1386 |
+
"grad_norm": 50.75,
|
| 1387 |
+
"learning_rate": 1.7217908101210725e-05,
|
| 1388 |
+
"loss": 8.220122337341309,
|
| 1389 |
+
"step": 197
|
| 1390 |
+
},
|
| 1391 |
+
{
|
| 1392 |
+
"epoch": 0.5395095367847411,
|
| 1393 |
+
"grad_norm": 60.75,
|
| 1394 |
+
"learning_rate": 1.7187256422833928e-05,
|
| 1395 |
+
"loss": 8.953962326049805,
|
| 1396 |
+
"step": 198
|
| 1397 |
+
},
|
| 1398 |
+
{
|
| 1399 |
+
"epoch": 0.5422343324250681,
|
| 1400 |
+
"grad_norm": 36.25,
|
| 1401 |
+
"learning_rate": 1.7156464423358277e-05,
|
| 1402 |
+
"loss": 8.30789566040039,
|
| 1403 |
+
"step": 199
|
| 1404 |
+
},
|
| 1405 |
+
{
|
| 1406 |
+
"epoch": 0.5449591280653951,
|
| 1407 |
+
"grad_norm": 44.0,
|
| 1408 |
+
"learning_rate": 1.7125532703954366e-05,
|
| 1409 |
+
"loss": 8.25827407836914,
|
| 1410 |
+
"step": 200
|
| 1411 |
+
},
|
| 1412 |
+
{
|
| 1413 |
+
"epoch": 0.547683923705722,
|
| 1414 |
+
"grad_norm": 43.0,
|
| 1415 |
+
"learning_rate": 1.7094461868520625e-05,
|
| 1416 |
+
"loss": 9.002181053161621,
|
| 1417 |
+
"step": 201
|
| 1418 |
+
},
|
| 1419 |
+
{
|
| 1420 |
+
"epoch": 0.5504087193460491,
|
| 1421 |
+
"grad_norm": 45.25,
|
| 1422 |
+
"learning_rate": 1.706325252367152e-05,
|
| 1423 |
+
"loss": 8.918088912963867,
|
| 1424 |
+
"step": 202
|
| 1425 |
+
},
|
| 1426 |
+
{
|
| 1427 |
+
"epoch": 0.553133514986376,
|
| 1428 |
+
"grad_norm": 60.25,
|
| 1429 |
+
"learning_rate": 1.703190527872574e-05,
|
| 1430 |
+
"loss": 8.397649765014648,
|
| 1431 |
+
"step": 203
|
| 1432 |
+
},
|
| 1433 |
+
{
|
| 1434 |
+
"epoch": 0.555858310626703,
|
| 1435 |
+
"grad_norm": 59.5,
|
| 1436 |
+
"learning_rate": 1.7000420745694256e-05,
|
| 1437 |
+
"loss": 8.530458450317383,
|
| 1438 |
+
"step": 204
|
| 1439 |
+
},
|
| 1440 |
+
{
|
| 1441 |
+
"epoch": 0.55858310626703,
|
| 1442 |
+
"grad_norm": 336.0,
|
| 1443 |
+
"learning_rate": 1.6968799539268408e-05,
|
| 1444 |
+
"loss": 11.207830429077148,
|
| 1445 |
+
"step": 205
|
| 1446 |
+
},
|
| 1447 |
+
{
|
| 1448 |
+
"epoch": 0.5613079019073569,
|
| 1449 |
+
"grad_norm": 51.75,
|
| 1450 |
+
"learning_rate": 1.6937042276807893e-05,
|
| 1451 |
+
"loss": 7.851648807525635,
|
| 1452 |
+
"step": 206
|
| 1453 |
+
},
|
| 1454 |
+
{
|
| 1455 |
+
"epoch": 0.5640326975476839,
|
| 1456 |
+
"grad_norm": 46.75,
|
| 1457 |
+
"learning_rate": 1.6905149578328705e-05,
|
| 1458 |
+
"loss": 8.705131530761719,
|
| 1459 |
+
"step": 207
|
| 1460 |
+
},
|
| 1461 |
+
{
|
| 1462 |
+
"epoch": 0.5667574931880109,
|
| 1463 |
+
"grad_norm": 46.25,
|
| 1464 |
+
"learning_rate": 1.6873122066491046e-05,
|
| 1465 |
+
"loss": 8.54839038848877,
|
| 1466 |
+
"step": 208
|
| 1467 |
+
},
|
| 1468 |
+
{
|
| 1469 |
+
"epoch": 0.5694822888283378,
|
| 1470 |
+
"grad_norm": 45.5,
|
| 1471 |
+
"learning_rate": 1.6840960366587153e-05,
|
| 1472 |
+
"loss": 9.251383781433105,
|
| 1473 |
+
"step": 209
|
| 1474 |
+
},
|
| 1475 |
+
{
|
| 1476 |
+
"epoch": 0.5722070844686649,
|
| 1477 |
+
"grad_norm": 48.25,
|
| 1478 |
+
"learning_rate": 1.6808665106529096e-05,
|
| 1479 |
+
"loss": 8.868568420410156,
|
| 1480 |
+
"step": 210
|
| 1481 |
+
},
|
| 1482 |
+
{
|
| 1483 |
+
"epoch": 0.5749318801089919,
|
| 1484 |
+
"grad_norm": 53.5,
|
| 1485 |
+
"learning_rate": 1.6776236916836518e-05,
|
| 1486 |
+
"loss": 7.161401271820068,
|
| 1487 |
+
"step": 211
|
| 1488 |
+
},
|
| 1489 |
+
{
|
| 1490 |
+
"epoch": 0.5776566757493188,
|
| 1491 |
+
"grad_norm": 155.0,
|
| 1492 |
+
"learning_rate": 1.674367643062434e-05,
|
| 1493 |
+
"loss": 8.508842468261719,
|
| 1494 |
+
"step": 212
|
| 1495 |
+
},
|
| 1496 |
+
{
|
| 1497 |
+
"epoch": 0.5803814713896458,
|
| 1498 |
+
"grad_norm": 52.5,
|
| 1499 |
+
"learning_rate": 1.671098428359037e-05,
|
| 1500 |
+
"loss": 7.233345985412598,
|
| 1501 |
+
"step": 213
|
| 1502 |
+
},
|
| 1503 |
+
{
|
| 1504 |
+
"epoch": 0.5831062670299727,
|
| 1505 |
+
"grad_norm": 56.5,
|
| 1506 |
+
"learning_rate": 1.6678161114002916e-05,
|
| 1507 |
+
"loss": 9.324285507202148,
|
| 1508 |
+
"step": 214
|
| 1509 |
+
},
|
| 1510 |
+
{
|
| 1511 |
+
"epoch": 0.5858310626702997,
|
| 1512 |
+
"grad_norm": 43.0,
|
| 1513 |
+
"learning_rate": 1.664520756268832e-05,
|
| 1514 |
+
"loss": 9.344024658203125,
|
| 1515 |
+
"step": 215
|
| 1516 |
+
},
|
| 1517 |
+
{
|
| 1518 |
+
"epoch": 0.5885558583106267,
|
| 1519 |
+
"grad_norm": 59.0,
|
| 1520 |
+
"learning_rate": 1.661212427301844e-05,
|
| 1521 |
+
"loss": 9.818446159362793,
|
| 1522 |
+
"step": 216
|
| 1523 |
+
},
|
| 1524 |
+
{
|
| 1525 |
+
"epoch": 0.5912806539509536,
|
| 1526 |
+
"grad_norm": 63.75,
|
| 1527 |
+
"learning_rate": 1.6578911890898095e-05,
|
| 1528 |
+
"loss": 9.475311279296875,
|
| 1529 |
+
"step": 217
|
| 1530 |
+
},
|
| 1531 |
+
{
|
| 1532 |
+
"epoch": 0.5940054495912807,
|
| 1533 |
+
"grad_norm": 54.25,
|
| 1534 |
+
"learning_rate": 1.6545571064752454e-05,
|
| 1535 |
+
"loss": 8.2189302444458,
|
| 1536 |
+
"step": 218
|
| 1537 |
+
},
|
| 1538 |
+
{
|
| 1539 |
+
"epoch": 0.5967302452316077,
|
| 1540 |
+
"grad_norm": 88.5,
|
| 1541 |
+
"learning_rate": 1.6512102445514376e-05,
|
| 1542 |
+
"loss": 6.581336975097656,
|
| 1543 |
+
"step": 219
|
| 1544 |
+
},
|
| 1545 |
+
{
|
| 1546 |
+
"epoch": 0.5994550408719346,
|
| 1547 |
+
"grad_norm": 167.0,
|
| 1548 |
+
"learning_rate": 1.6478506686611698e-05,
|
| 1549 |
+
"loss": 7.07267951965332,
|
| 1550 |
+
"step": 220
|
| 1551 |
+
},
|
| 1552 |
+
{
|
| 1553 |
+
"epoch": 0.6021798365122616,
|
| 1554 |
+
"grad_norm": 123.0,
|
| 1555 |
+
"learning_rate": 1.644478444395448e-05,
|
| 1556 |
+
"loss": 8.498826026916504,
|
| 1557 |
+
"step": 221
|
| 1558 |
+
},
|
| 1559 |
+
{
|
| 1560 |
+
"epoch": 0.6049046321525886,
|
| 1561 |
+
"grad_norm": 93.0,
|
| 1562 |
+
"learning_rate": 1.64109363759222e-05,
|
| 1563 |
+
"loss": 8.827077865600586,
|
| 1564 |
+
"step": 222
|
| 1565 |
+
},
|
| 1566 |
+
{
|
| 1567 |
+
"epoch": 0.6076294277929155,
|
| 1568 |
+
"grad_norm": 94.5,
|
| 1569 |
+
"learning_rate": 1.6376963143350915e-05,
|
| 1570 |
+
"loss": 7.177187919616699,
|
| 1571 |
+
"step": 223
|
| 1572 |
+
},
|
| 1573 |
+
{
|
| 1574 |
+
"epoch": 0.6103542234332425,
|
| 1575 |
+
"grad_norm": 62.0,
|
| 1576 |
+
"learning_rate": 1.6342865409520318e-05,
|
| 1577 |
+
"loss": 7.975133419036865,
|
| 1578 |
+
"step": 224
|
| 1579 |
+
},
|
| 1580 |
+
{
|
| 1581 |
+
"epoch": 0.6130790190735694,
|
| 1582 |
+
"grad_norm": 70.0,
|
| 1583 |
+
"learning_rate": 1.630864384014083e-05,
|
| 1584 |
+
"loss": 8.900384902954102,
|
| 1585 |
+
"step": 225
|
| 1586 |
+
},
|
| 1587 |
+
{
|
| 1588 |
+
"epoch": 0.6158038147138964,
|
| 1589 |
+
"grad_norm": 60.25,
|
| 1590 |
+
"learning_rate": 1.627429910334058e-05,
|
| 1591 |
+
"loss": 7.536081314086914,
|
| 1592 |
+
"step": 226
|
| 1593 |
+
},
|
| 1594 |
+
{
|
| 1595 |
+
"epoch": 0.6185286103542235,
|
| 1596 |
+
"grad_norm": 58.25,
|
| 1597 |
+
"learning_rate": 1.6239831869652384e-05,
|
| 1598 |
+
"loss": 7.778719902038574,
|
| 1599 |
+
"step": 227
|
| 1600 |
+
},
|
| 1601 |
+
{
|
| 1602 |
+
"epoch": 0.6212534059945504,
|
| 1603 |
+
"grad_norm": 78.5,
|
| 1604 |
+
"learning_rate": 1.620524281200062e-05,
|
| 1605 |
+
"loss": 9.885849952697754,
|
| 1606 |
+
"step": 228
|
| 1607 |
+
},
|
| 1608 |
+
{
|
| 1609 |
+
"epoch": 0.6239782016348774,
|
| 1610 |
+
"grad_norm": 65.5,
|
| 1611 |
+
"learning_rate": 1.6170532605688115e-05,
|
| 1612 |
+
"loss": 8.622196197509766,
|
| 1613 |
+
"step": 229
|
| 1614 |
+
},
|
| 1615 |
+
{
|
| 1616 |
+
"epoch": 0.6267029972752044,
|
| 1617 |
+
"grad_norm": 77.5,
|
| 1618 |
+
"learning_rate": 1.6135701928382952e-05,
|
| 1619 |
+
"loss": 10.154062271118164,
|
| 1620 |
+
"step": 230
|
| 1621 |
+
},
|
| 1622 |
+
{
|
| 1623 |
+
"epoch": 0.6294277929155313,
|
| 1624 |
+
"grad_norm": 78.5,
|
| 1625 |
+
"learning_rate": 1.6100751460105244e-05,
|
| 1626 |
+
"loss": 9.700957298278809,
|
| 1627 |
+
"step": 231
|
| 1628 |
+
},
|
| 1629 |
+
{
|
| 1630 |
+
"epoch": 0.6321525885558583,
|
| 1631 |
+
"grad_norm": 106.5,
|
| 1632 |
+
"learning_rate": 1.6065681883213854e-05,
|
| 1633 |
+
"loss": 6.72788667678833,
|
| 1634 |
+
"step": 232
|
| 1635 |
+
},
|
| 1636 |
+
{
|
| 1637 |
+
"epoch": 0.6348773841961853,
|
| 1638 |
+
"grad_norm": 91.0,
|
| 1639 |
+
"learning_rate": 1.6030493882393076e-05,
|
| 1640 |
+
"loss": 8.668846130371094,
|
| 1641 |
+
"step": 233
|
| 1642 |
+
},
|
| 1643 |
+
{
|
| 1644 |
+
"epoch": 0.6376021798365122,
|
| 1645 |
+
"grad_norm": 106.0,
|
| 1646 |
+
"learning_rate": 1.599518814463925e-05,
|
| 1647 |
+
"loss": 8.67601203918457,
|
| 1648 |
+
"step": 234
|
| 1649 |
+
},
|
| 1650 |
+
{
|
| 1651 |
+
"epoch": 0.6403269754768393,
|
| 1652 |
+
"grad_norm": 121.0,
|
| 1653 |
+
"learning_rate": 1.595976535924739e-05,
|
| 1654 |
+
"loss": 9.827007293701172,
|
| 1655 |
+
"step": 235
|
| 1656 |
+
},
|
| 1657 |
+
{
|
| 1658 |
+
"epoch": 0.6430517711171662,
|
| 1659 |
+
"grad_norm": 588.0,
|
| 1660 |
+
"learning_rate": 1.5924226217797677e-05,
|
| 1661 |
+
"loss": 9.226984024047852,
|
| 1662 |
+
"step": 236
|
| 1663 |
+
},
|
| 1664 |
+
{
|
| 1665 |
+
"epoch": 0.6457765667574932,
|
| 1666 |
+
"grad_norm": 64.0,
|
| 1667 |
+
"learning_rate": 1.5888571414141997e-05,
|
| 1668 |
+
"loss": 8.387163162231445,
|
| 1669 |
+
"step": 237
|
| 1670 |
+
},
|
| 1671 |
+
{
|
| 1672 |
+
"epoch": 0.6485013623978202,
|
| 1673 |
+
"grad_norm": 118.0,
|
| 1674 |
+
"learning_rate": 1.585280164439037e-05,
|
| 1675 |
+
"loss": 8.13496208190918,
|
| 1676 |
+
"step": 238
|
| 1677 |
+
},
|
| 1678 |
+
{
|
| 1679 |
+
"epoch": 0.6512261580381471,
|
| 1680 |
+
"grad_norm": 81.5,
|
| 1681 |
+
"learning_rate": 1.581691760689737e-05,
|
| 1682 |
+
"loss": 9.463398933410645,
|
| 1683 |
+
"step": 239
|
| 1684 |
+
},
|
| 1685 |
+
{
|
| 1686 |
+
"epoch": 0.6539509536784741,
|
| 1687 |
+
"grad_norm": 63.0,
|
| 1688 |
+
"learning_rate": 1.5780920002248484e-05,
|
| 1689 |
+
"loss": 8.129623413085938,
|
| 1690 |
+
"step": 240
|
| 1691 |
+
},
|
| 1692 |
+
{
|
| 1693 |
+
"epoch": 0.6566757493188011,
|
| 1694 |
+
"grad_norm": 76.5,
|
| 1695 |
+
"learning_rate": 1.574480953324645e-05,
|
| 1696 |
+
"loss": 8.715579986572266,
|
| 1697 |
+
"step": 241
|
| 1698 |
+
},
|
| 1699 |
+
{
|
| 1700 |
+
"epoch": 0.659400544959128,
|
| 1701 |
+
"grad_norm": 56.5,
|
| 1702 |
+
"learning_rate": 1.5708586904897518e-05,
|
| 1703 |
+
"loss": 7.299056053161621,
|
| 1704 |
+
"step": 242
|
| 1705 |
+
},
|
| 1706 |
+
{
|
| 1707 |
+
"epoch": 0.662125340599455,
|
| 1708 |
+
"grad_norm": 54.25,
|
| 1709 |
+
"learning_rate": 1.5672252824397683e-05,
|
| 1710 |
+
"loss": 7.277167320251465,
|
| 1711 |
+
"step": 243
|
| 1712 |
+
},
|
| 1713 |
+
{
|
| 1714 |
+
"epoch": 0.6648501362397821,
|
| 1715 |
+
"grad_norm": 55.0,
|
| 1716 |
+
"learning_rate": 1.56358080011189e-05,
|
| 1717 |
+
"loss": 7.999053955078125,
|
| 1718 |
+
"step": 244
|
| 1719 |
+
},
|
| 1720 |
+
{
|
| 1721 |
+
"epoch": 0.667574931880109,
|
| 1722 |
+
"grad_norm": 78.5,
|
| 1723 |
+
"learning_rate": 1.559925314659521e-05,
|
| 1724 |
+
"loss": 7.08182954788208,
|
| 1725 |
+
"step": 245
|
| 1726 |
+
},
|
| 1727 |
+
{
|
| 1728 |
+
"epoch": 0.670299727520436,
|
| 1729 |
+
"grad_norm": 68.0,
|
| 1730 |
+
"learning_rate": 1.556258897450887e-05,
|
| 1731 |
+
"loss": 7.931889533996582,
|
| 1732 |
+
"step": 246
|
| 1733 |
+
},
|
| 1734 |
+
{
|
| 1735 |
+
"epoch": 0.6730245231607629,
|
| 1736 |
+
"grad_norm": 84.5,
|
| 1737 |
+
"learning_rate": 1.552581620067641e-05,
|
| 1738 |
+
"loss": 9.470329284667969,
|
| 1739 |
+
"step": 247
|
| 1740 |
+
},
|
| 1741 |
+
{
|
| 1742 |
+
"epoch": 0.6757493188010899,
|
| 1743 |
+
"grad_norm": 228.0,
|
| 1744 |
+
"learning_rate": 1.5488935543034644e-05,
|
| 1745 |
+
"loss": 8.88481616973877,
|
| 1746 |
+
"step": 248
|
| 1747 |
+
},
|
| 1748 |
+
{
|
| 1749 |
+
"epoch": 0.6784741144414169,
|
| 1750 |
+
"grad_norm": 137.0,
|
| 1751 |
+
"learning_rate": 1.5451947721626676e-05,
|
| 1752 |
+
"loss": 7.863848686218262,
|
| 1753 |
+
"step": 249
|
| 1754 |
+
},
|
| 1755 |
+
{
|
| 1756 |
+
"epoch": 0.6811989100817438,
|
| 1757 |
+
"grad_norm": 47.75,
|
| 1758 |
+
"learning_rate": 1.5414853458587834e-05,
|
| 1759 |
+
"loss": 8.018930435180664,
|
| 1760 |
+
"step": 250
|
| 1761 |
+
},
|
| 1762 |
+
{
|
| 1763 |
+
"epoch": 0.6839237057220708,
|
| 1764 |
+
"grad_norm": 53.25,
|
| 1765 |
+
"learning_rate": 1.5377653478131557e-05,
|
| 1766 |
+
"loss": 8.23213005065918,
|
| 1767 |
+
"step": 251
|
| 1768 |
+
},
|
| 1769 |
+
{
|
| 1770 |
+
"epoch": 0.6866485013623979,
|
| 1771 |
+
"grad_norm": 143.0,
|
| 1772 |
+
"learning_rate": 1.534034850653528e-05,
|
| 1773 |
+
"loss": 6.6429572105407715,
|
| 1774 |
+
"step": 252
|
| 1775 |
+
},
|
| 1776 |
+
{
|
| 1777 |
+
"epoch": 0.6893732970027248,
|
| 1778 |
+
"grad_norm": 320.0,
|
| 1779 |
+
"learning_rate": 1.5302939272126243e-05,
|
| 1780 |
+
"loss": 8.471845626831055,
|
| 1781 |
+
"step": 253
|
| 1782 |
+
},
|
| 1783 |
+
{
|
| 1784 |
+
"epoch": 0.6920980926430518,
|
| 1785 |
+
"grad_norm": 56.25,
|
| 1786 |
+
"learning_rate": 1.5265426505267265e-05,
|
| 1787 |
+
"loss": 9.73794937133789,
|
| 1788 |
+
"step": 254
|
| 1789 |
+
},
|
| 1790 |
+
{
|
| 1791 |
+
"epoch": 0.6948228882833788,
|
| 1792 |
+
"grad_norm": 136.0,
|
| 1793 |
+
"learning_rate": 1.5227810938342493e-05,
|
| 1794 |
+
"loss": 7.138307571411133,
|
| 1795 |
+
"step": 255
|
| 1796 |
+
},
|
| 1797 |
+
{
|
| 1798 |
+
"epoch": 0.6975476839237057,
|
| 1799 |
+
"grad_norm": 81.5,
|
| 1800 |
+
"learning_rate": 1.5190093305743103e-05,
|
| 1801 |
+
"loss": 7.136944770812988,
|
| 1802 |
+
"step": 256
|
| 1803 |
+
},
|
| 1804 |
+
{
|
| 1805 |
+
"epoch": 0.7002724795640327,
|
| 1806 |
+
"grad_norm": 65.5,
|
| 1807 |
+
"learning_rate": 1.5152274343852953e-05,
|
| 1808 |
+
"loss": 9.011394500732422,
|
| 1809 |
+
"step": 257
|
| 1810 |
+
},
|
| 1811 |
+
{
|
| 1812 |
+
"epoch": 0.7029972752043597,
|
| 1813 |
+
"grad_norm": 88.5,
|
| 1814 |
+
"learning_rate": 1.5114354791034225e-05,
|
| 1815 |
+
"loss": 8.616395950317383,
|
| 1816 |
+
"step": 258
|
| 1817 |
+
},
|
| 1818 |
+
{
|
| 1819 |
+
"epoch": 0.7057220708446866,
|
| 1820 |
+
"grad_norm": 97.0,
|
| 1821 |
+
"learning_rate": 1.5076335387612987e-05,
|
| 1822 |
+
"loss": 8.706403732299805,
|
| 1823 |
+
"step": 259
|
| 1824 |
+
},
|
| 1825 |
+
{
|
| 1826 |
+
"epoch": 0.7084468664850136,
|
| 1827 |
+
"grad_norm": 53.25,
|
| 1828 |
+
"learning_rate": 1.5038216875864758e-05,
|
| 1829 |
+
"loss": 9.25063419342041,
|
| 1830 |
+
"step": 260
|
| 1831 |
+
},
|
| 1832 |
+
{
|
| 1833 |
+
"epoch": 0.7111716621253406,
|
| 1834 |
+
"grad_norm": 55.0,
|
| 1835 |
+
"learning_rate": 1.5000000000000002e-05,
|
| 1836 |
+
"loss": 7.913337230682373,
|
| 1837 |
+
"step": 261
|
| 1838 |
+
},
|
| 1839 |
+
{
|
| 1840 |
+
"epoch": 0.7138964577656676,
|
| 1841 |
+
"grad_norm": 51.5,
|
| 1842 |
+
"learning_rate": 1.4961685506149608e-05,
|
| 1843 |
+
"loss": 7.538181304931641,
|
| 1844 |
+
"step": 262
|
| 1845 |
+
},
|
| 1846 |
+
{
|
| 1847 |
+
"epoch": 0.7166212534059946,
|
| 1848 |
+
"grad_norm": 50.25,
|
| 1849 |
+
"learning_rate": 1.492327414235032e-05,
|
| 1850 |
+
"loss": 9.69723892211914,
|
| 1851 |
+
"step": 263
|
| 1852 |
+
},
|
| 1853 |
+
{
|
| 1854 |
+
"epoch": 0.7193460490463215,
|
| 1855 |
+
"grad_norm": 70.0,
|
| 1856 |
+
"learning_rate": 1.4884766658530126e-05,
|
| 1857 |
+
"loss": 9.871997833251953,
|
| 1858 |
+
"step": 264
|
| 1859 |
+
},
|
| 1860 |
+
{
|
| 1861 |
+
"epoch": 0.7220708446866485,
|
| 1862 |
+
"grad_norm": 47.5,
|
| 1863 |
+
"learning_rate": 1.4846163806493628e-05,
|
| 1864 |
+
"loss": 9.25969123840332,
|
| 1865 |
+
"step": 265
|
| 1866 |
+
},
|
| 1867 |
+
{
|
| 1868 |
+
"epoch": 0.7247956403269755,
|
| 1869 |
+
"grad_norm": 272.0,
|
| 1870 |
+
"learning_rate": 1.4807466339907358e-05,
|
| 1871 |
+
"loss": 8.33348274230957,
|
| 1872 |
+
"step": 266
|
| 1873 |
+
},
|
| 1874 |
+
{
|
| 1875 |
+
"epoch": 0.7275204359673024,
|
| 1876 |
+
"grad_norm": 1504.0,
|
| 1877 |
+
"learning_rate": 1.4768675014285063e-05,
|
| 1878 |
+
"loss": 9.026241302490234,
|
| 1879 |
+
"step": 267
|
| 1880 |
+
},
|
| 1881 |
+
{
|
| 1882 |
+
"epoch": 0.7302452316076294,
|
| 1883 |
+
"grad_norm": 168.0,
|
| 1884 |
+
"learning_rate": 1.4729790586972957e-05,
|
| 1885 |
+
"loss": 7.3931403160095215,
|
| 1886 |
+
"step": 268
|
| 1887 |
+
},
|
| 1888 |
+
{
|
| 1889 |
+
"epoch": 0.7329700272479565,
|
| 1890 |
+
"grad_norm": 103.5,
|
| 1891 |
+
"learning_rate": 1.469081381713493e-05,
|
| 1892 |
+
"loss": 8.33013916015625,
|
| 1893 |
+
"step": 269
|
| 1894 |
+
},
|
| 1895 |
+
{
|
| 1896 |
+
"epoch": 0.7356948228882834,
|
| 1897 |
+
"grad_norm": 105.0,
|
| 1898 |
+
"learning_rate": 1.465174546573774e-05,
|
| 1899 |
+
"loss": 7.207721710205078,
|
| 1900 |
+
"step": 270
|
| 1901 |
+
},
|
| 1902 |
+
{
|
| 1903 |
+
"epoch": 0.7384196185286104,
|
| 1904 |
+
"grad_norm": 73.0,
|
| 1905 |
+
"learning_rate": 1.4612586295536136e-05,
|
| 1906 |
+
"loss": 7.389970779418945,
|
| 1907 |
+
"step": 271
|
| 1908 |
+
},
|
| 1909 |
+
{
|
| 1910 |
+
"epoch": 0.7411444141689373,
|
| 1911 |
+
"grad_norm": 60.0,
|
| 1912 |
+
"learning_rate": 1.457333707105798e-05,
|
| 1913 |
+
"loss": 7.272927761077881,
|
| 1914 |
+
"step": 272
|
| 1915 |
+
},
|
| 1916 |
+
{
|
| 1917 |
+
"epoch": 0.7438692098092643,
|
| 1918 |
+
"grad_norm": 73.0,
|
| 1919 |
+
"learning_rate": 1.4533998558589319e-05,
|
| 1920 |
+
"loss": 7.018216133117676,
|
| 1921 |
+
"step": 273
|
| 1922 |
+
},
|
| 1923 |
+
{
|
| 1924 |
+
"epoch": 0.7465940054495913,
|
| 1925 |
+
"grad_norm": 75.0,
|
| 1926 |
+
"learning_rate": 1.4494571526159427e-05,
|
| 1927 |
+
"loss": 8.663573265075684,
|
| 1928 |
+
"step": 274
|
| 1929 |
+
},
|
| 1930 |
+
{
|
| 1931 |
+
"epoch": 0.7493188010899182,
|
| 1932 |
+
"grad_norm": 71.5,
|
| 1933 |
+
"learning_rate": 1.4455056743525793e-05,
|
| 1934 |
+
"loss": 7.3470258712768555,
|
| 1935 |
+
"step": 275
|
| 1936 |
+
},
|
| 1937 |
+
{
|
| 1938 |
+
"epoch": 0.7520435967302452,
|
| 1939 |
+
"grad_norm": 61.5,
|
| 1940 |
+
"learning_rate": 1.4415454982159121e-05,
|
| 1941 |
+
"loss": 6.416076183319092,
|
| 1942 |
+
"step": 276
|
| 1943 |
+
},
|
| 1944 |
+
{
|
| 1945 |
+
"epoch": 0.7547683923705722,
|
| 1946 |
+
"grad_norm": 45.25,
|
| 1947 |
+
"learning_rate": 1.437576701522824e-05,
|
| 1948 |
+
"loss": 7.636316299438477,
|
| 1949 |
+
"step": 277
|
| 1950 |
+
},
|
| 1951 |
+
{
|
| 1952 |
+
"epoch": 0.7574931880108992,
|
| 1953 |
+
"grad_norm": 75.5,
|
| 1954 |
+
"learning_rate": 1.433599361758503e-05,
|
| 1955 |
+
"loss": 7.864310264587402,
|
| 1956 |
+
"step": 278
|
| 1957 |
+
},
|
| 1958 |
+
{
|
| 1959 |
+
"epoch": 0.7602179836512262,
|
| 1960 |
+
"grad_norm": 86.5,
|
| 1961 |
+
"learning_rate": 1.429613556574928e-05,
|
| 1962 |
+
"loss": 6.941385746002197,
|
| 1963 |
+
"step": 279
|
| 1964 |
+
},
|
| 1965 |
+
{
|
| 1966 |
+
"epoch": 0.7629427792915532,
|
| 1967 |
+
"grad_norm": 83.5,
|
| 1968 |
+
"learning_rate": 1.425619363789354e-05,
|
| 1969 |
+
"loss": 9.594515800476074,
|
| 1970 |
+
"step": 280
|
| 1971 |
+
},
|
| 1972 |
+
{
|
| 1973 |
+
"epoch": 0.7656675749318801,
|
| 1974 |
+
"grad_norm": 71.5,
|
| 1975 |
+
"learning_rate": 1.4216168613827918e-05,
|
| 1976 |
+
"loss": 7.111987113952637,
|
| 1977 |
+
"step": 281
|
| 1978 |
+
},
|
| 1979 |
+
{
|
| 1980 |
+
"epoch": 0.7683923705722071,
|
| 1981 |
+
"grad_norm": 63.5,
|
| 1982 |
+
"learning_rate": 1.4176061274984858e-05,
|
| 1983 |
+
"loss": 7.9280242919921875,
|
| 1984 |
+
"step": 282
|
| 1985 |
+
},
|
| 1986 |
+
{
|
| 1987 |
+
"epoch": 0.771117166212534,
|
| 1988 |
+
"grad_norm": 112.5,
|
| 1989 |
+
"learning_rate": 1.4135872404403881e-05,
|
| 1990 |
+
"loss": 6.869634628295898,
|
| 1991 |
+
"step": 283
|
| 1992 |
+
},
|
| 1993 |
+
{
|
| 1994 |
+
"epoch": 0.773841961852861,
|
| 1995 |
+
"grad_norm": 46.0,
|
| 1996 |
+
"learning_rate": 1.4095602786716312e-05,
|
| 1997 |
+
"loss": 9.552452087402344,
|
| 1998 |
+
"step": 284
|
| 1999 |
+
},
|
| 2000 |
+
{
|
| 2001 |
+
"epoch": 0.776566757493188,
|
| 2002 |
+
"grad_norm": 131.0,
|
| 2003 |
+
"learning_rate": 1.405525320812994e-05,
|
| 2004 |
+
"loss": 6.404139041900635,
|
| 2005 |
+
"step": 285
|
| 2006 |
+
},
|
| 2007 |
+
{
|
| 2008 |
+
"epoch": 0.779291553133515,
|
| 2009 |
+
"grad_norm": 79.5,
|
| 2010 |
+
"learning_rate": 1.401482445641368e-05,
|
| 2011 |
+
"loss": 8.160365104675293,
|
| 2012 |
+
"step": 286
|
| 2013 |
+
},
|
| 2014 |
+
{
|
| 2015 |
+
"epoch": 0.782016348773842,
|
| 2016 |
+
"grad_norm": 57.5,
|
| 2017 |
+
"learning_rate": 1.39743173208822e-05,
|
| 2018 |
+
"loss": 8.898149490356445,
|
| 2019 |
+
"step": 287
|
| 2020 |
+
},
|
| 2021 |
+
{
|
| 2022 |
+
"epoch": 0.784741144414169,
|
| 2023 |
+
"grad_norm": 73.5,
|
| 2024 |
+
"learning_rate": 1.3933732592380485e-05,
|
| 2025 |
+
"loss": 8.005890846252441,
|
| 2026 |
+
"step": 288
|
| 2027 |
+
},
|
| 2028 |
+
{
|
| 2029 |
+
"epoch": 0.7874659400544959,
|
| 2030 |
+
"grad_norm": 74.5,
|
| 2031 |
+
"learning_rate": 1.3893071063268431e-05,
|
| 2032 |
+
"loss": 7.600529193878174,
|
| 2033 |
+
"step": 289
|
| 2034 |
+
},
|
| 2035 |
+
{
|
| 2036 |
+
"epoch": 0.7901907356948229,
|
| 2037 |
+
"grad_norm": 143.0,
|
| 2038 |
+
"learning_rate": 1.3852333527405346e-05,
|
| 2039 |
+
"loss": 8.386226654052734,
|
| 2040 |
+
"step": 290
|
| 2041 |
+
},
|
| 2042 |
+
{
|
| 2043 |
+
"epoch": 0.7929155313351499,
|
| 2044 |
+
"grad_norm": 64.0,
|
| 2045 |
+
"learning_rate": 1.3811520780134471e-05,
|
| 2046 |
+
"loss": 8.49716567993164,
|
| 2047 |
+
"step": 291
|
| 2048 |
+
},
|
| 2049 |
+
{
|
| 2050 |
+
"epoch": 0.7956403269754768,
|
| 2051 |
+
"grad_norm": 64.5,
|
| 2052 |
+
"learning_rate": 1.3770633618267444e-05,
|
| 2053 |
+
"loss": 6.701350212097168,
|
| 2054 |
+
"step": 292
|
| 2055 |
+
},
|
| 2056 |
+
{
|
| 2057 |
+
"epoch": 0.7983651226158038,
|
| 2058 |
+
"grad_norm": 106.5,
|
| 2059 |
+
"learning_rate": 1.3729672840068732e-05,
|
| 2060 |
+
"loss": 11.180490493774414,
|
| 2061 |
+
"step": 293
|
| 2062 |
+
},
|
| 2063 |
+
{
|
| 2064 |
+
"epoch": 0.8010899182561307,
|
| 2065 |
+
"grad_norm": 157.0,
|
| 2066 |
+
"learning_rate": 1.3688639245240078e-05,
|
| 2067 |
+
"loss": 7.627303123474121,
|
| 2068 |
+
"step": 294
|
| 2069 |
+
},
|
| 2070 |
+
{
|
| 2071 |
+
"epoch": 0.8038147138964578,
|
| 2072 |
+
"grad_norm": 46.0,
|
| 2073 |
+
"learning_rate": 1.364753363490485e-05,
|
| 2074 |
+
"loss": 6.636218547821045,
|
| 2075 |
+
"step": 295
|
| 2076 |
+
},
|
| 2077 |
+
{
|
| 2078 |
+
"epoch": 0.8065395095367848,
|
| 2079 |
+
"grad_norm": 75.5,
|
| 2080 |
+
"learning_rate": 1.3606356811592427e-05,
|
| 2081 |
+
"loss": 9.643957138061523,
|
| 2082 |
+
"step": 296
|
| 2083 |
+
},
|
| 2084 |
+
{
|
| 2085 |
+
"epoch": 0.8092643051771117,
|
| 2086 |
+
"grad_norm": 110.5,
|
| 2087 |
+
"learning_rate": 1.3565109579222511e-05,
|
| 2088 |
+
"loss": 8.615606307983398,
|
| 2089 |
+
"step": 297
|
| 2090 |
+
},
|
| 2091 |
+
{
|
| 2092 |
+
"epoch": 0.8119891008174387,
|
| 2093 |
+
"grad_norm": 76.0,
|
| 2094 |
+
"learning_rate": 1.3523792743089457e-05,
|
| 2095 |
+
"loss": 7.899325370788574,
|
| 2096 |
+
"step": 298
|
| 2097 |
+
},
|
| 2098 |
+
{
|
| 2099 |
+
"epoch": 0.8147138964577657,
|
| 2100 |
+
"grad_norm": 63.25,
|
| 2101 |
+
"learning_rate": 1.3482407109846527e-05,
|
| 2102 |
+
"loss": 8.536578178405762,
|
| 2103 |
+
"step": 299
|
| 2104 |
+
},
|
| 2105 |
+
{
|
| 2106 |
+
"epoch": 0.8174386920980926,
|
| 2107 |
+
"grad_norm": 94.5,
|
| 2108 |
+
"learning_rate": 1.3440953487490145e-05,
|
| 2109 |
+
"loss": 8.565481185913086,
|
| 2110 |
+
"step": 300
|
| 2111 |
+
},
|
| 2112 |
+
{
|
| 2113 |
+
"epoch": 0.8201634877384196,
|
| 2114 |
+
"grad_norm": 55.75,
|
| 2115 |
+
"learning_rate": 1.3399432685344143e-05,
|
| 2116 |
+
"loss": 7.926910877227783,
|
| 2117 |
+
"step": 301
|
| 2118 |
+
},
|
| 2119 |
+
{
|
| 2120 |
+
"epoch": 0.8228882833787466,
|
| 2121 |
+
"grad_norm": 57.25,
|
| 2122 |
+
"learning_rate": 1.3357845514043927e-05,
|
| 2123 |
+
"loss": 8.481698989868164,
|
| 2124 |
+
"step": 302
|
| 2125 |
+
},
|
| 2126 |
+
{
|
| 2127 |
+
"epoch": 0.8256130790190735,
|
| 2128 |
+
"grad_norm": 53.5,
|
| 2129 |
+
"learning_rate": 1.331619278552068e-05,
|
| 2130 |
+
"loss": 7.775982856750488,
|
| 2131 |
+
"step": 303
|
| 2132 |
+
},
|
| 2133 |
+
{
|
| 2134 |
+
"epoch": 0.8283378746594006,
|
| 2135 |
+
"grad_norm": 178.0,
|
| 2136 |
+
"learning_rate": 1.327447531298549e-05,
|
| 2137 |
+
"loss": 7.186558723449707,
|
| 2138 |
+
"step": 304
|
| 2139 |
+
},
|
| 2140 |
+
{
|
| 2141 |
+
"epoch": 0.8310626702997275,
|
| 2142 |
+
"grad_norm": 42.25,
|
| 2143 |
+
"learning_rate": 1.3232693910913486e-05,
|
| 2144 |
+
"loss": 7.542721271514893,
|
| 2145 |
+
"step": 305
|
| 2146 |
+
},
|
| 2147 |
+
{
|
| 2148 |
+
"epoch": 0.8337874659400545,
|
| 2149 |
+
"grad_norm": 58.25,
|
| 2150 |
+
"learning_rate": 1.3190849395027926e-05,
|
| 2151 |
+
"loss": 8.921777725219727,
|
| 2152 |
+
"step": 306
|
| 2153 |
+
},
|
| 2154 |
+
{
|
| 2155 |
+
"epoch": 0.8365122615803815,
|
| 2156 |
+
"grad_norm": 51.0,
|
| 2157 |
+
"learning_rate": 1.3148942582284286e-05,
|
| 2158 |
+
"loss": 6.938803195953369,
|
| 2159 |
+
"step": 307
|
| 2160 |
+
},
|
| 2161 |
+
{
|
| 2162 |
+
"epoch": 0.8392370572207084,
|
| 2163 |
+
"grad_norm": 69.0,
|
| 2164 |
+
"learning_rate": 1.3106974290854286e-05,
|
| 2165 |
+
"loss": 6.134668350219727,
|
| 2166 |
+
"step": 308
|
| 2167 |
+
},
|
| 2168 |
+
{
|
| 2169 |
+
"epoch": 0.8419618528610354,
|
| 2170 |
+
"grad_norm": 54.0,
|
| 2171 |
+
"learning_rate": 1.306494534010995e-05,
|
| 2172 |
+
"loss": 8.931164741516113,
|
| 2173 |
+
"step": 309
|
| 2174 |
+
},
|
| 2175 |
+
{
|
| 2176 |
+
"epoch": 0.8446866485013624,
|
| 2177 |
+
"grad_norm": 87.5,
|
| 2178 |
+
"learning_rate": 1.3022856550607572e-05,
|
| 2179 |
+
"loss": 9.727581024169922,
|
| 2180 |
+
"step": 310
|
| 2181 |
+
},
|
| 2182 |
+
{
|
| 2183 |
+
"epoch": 0.8474114441416893,
|
| 2184 |
+
"grad_norm": 392.0,
|
| 2185 |
+
"learning_rate": 1.298070874407173e-05,
|
| 2186 |
+
"loss": 9.479921340942383,
|
| 2187 |
+
"step": 311
|
| 2188 |
+
},
|
| 2189 |
+
{
|
| 2190 |
+
"epoch": 0.8501362397820164,
|
| 2191 |
+
"grad_norm": 78.0,
|
| 2192 |
+
"learning_rate": 1.2938502743379212e-05,
|
| 2193 |
+
"loss": 7.574161052703857,
|
| 2194 |
+
"step": 312
|
| 2195 |
+
},
|
| 2196 |
+
{
|
| 2197 |
+
"epoch": 0.8528610354223434,
|
| 2198 |
+
"grad_norm": 98.5,
|
| 2199 |
+
"learning_rate": 1.2896239372542971e-05,
|
| 2200 |
+
"loss": 6.311966896057129,
|
| 2201 |
+
"step": 313
|
| 2202 |
+
},
|
| 2203 |
+
{
|
| 2204 |
+
"epoch": 0.8555858310626703,
|
| 2205 |
+
"grad_norm": 89.5,
|
| 2206 |
+
"learning_rate": 1.2853919456696038e-05,
|
| 2207 |
+
"loss": 7.752774238586426,
|
| 2208 |
+
"step": 314
|
| 2209 |
+
},
|
| 2210 |
+
{
|
| 2211 |
+
"epoch": 0.8583106267029973,
|
| 2212 |
+
"grad_norm": 128.0,
|
| 2213 |
+
"learning_rate": 1.2811543822075396e-05,
|
| 2214 |
+
"loss": 8.187653541564941,
|
| 2215 |
+
"step": 315
|
| 2216 |
+
},
|
| 2217 |
+
{
|
| 2218 |
+
"epoch": 0.8610354223433242,
|
| 2219 |
+
"grad_norm": 352.0,
|
| 2220 |
+
"learning_rate": 1.2769113296005868e-05,
|
| 2221 |
+
"loss": 8.210296630859375,
|
| 2222 |
+
"step": 316
|
| 2223 |
+
},
|
| 2224 |
+
{
|
| 2225 |
+
"epoch": 0.8637602179836512,
|
| 2226 |
+
"grad_norm": 146.0,
|
| 2227 |
+
"learning_rate": 1.2726628706883947e-05,
|
| 2228 |
+
"loss": 8.545489311218262,
|
| 2229 |
+
"step": 317
|
| 2230 |
+
},
|
| 2231 |
+
{
|
| 2232 |
+
"epoch": 0.8664850136239782,
|
| 2233 |
+
"grad_norm": 52.5,
|
| 2234 |
+
"learning_rate": 1.2684090884161636e-05,
|
| 2235 |
+
"loss": 7.061089515686035,
|
| 2236 |
+
"step": 318
|
| 2237 |
+
},
|
| 2238 |
+
{
|
| 2239 |
+
"epoch": 0.8692098092643051,
|
| 2240 |
+
"grad_norm": 129.0,
|
| 2241 |
+
"learning_rate": 1.2641500658330248e-05,
|
| 2242 |
+
"loss": 6.323040008544922,
|
| 2243 |
+
"step": 319
|
| 2244 |
+
},
|
| 2245 |
+
{
|
| 2246 |
+
"epoch": 0.8719346049046321,
|
| 2247 |
+
"grad_norm": 54.75,
|
| 2248 |
+
"learning_rate": 1.2598858860904193e-05,
|
| 2249 |
+
"loss": 8.90510368347168,
|
| 2250 |
+
"step": 320
|
| 2251 |
+
},
|
| 2252 |
+
{
|
| 2253 |
+
"epoch": 0.8746594005449592,
|
| 2254 |
+
"grad_norm": 57.25,
|
| 2255 |
+
"learning_rate": 1.2556166324404747e-05,
|
| 2256 |
+
"loss": 7.848992347717285,
|
| 2257 |
+
"step": 321
|
| 2258 |
+
},
|
| 2259 |
+
{
|
| 2260 |
+
"epoch": 0.8773841961852861,
|
| 2261 |
+
"grad_norm": 125.5,
|
| 2262 |
+
"learning_rate": 1.2513423882343797e-05,
|
| 2263 |
+
"loss": 9.337868690490723,
|
| 2264 |
+
"step": 322
|
| 2265 |
+
},
|
| 2266 |
+
{
|
| 2267 |
+
"epoch": 0.8801089918256131,
|
| 2268 |
+
"grad_norm": 71.5,
|
| 2269 |
+
"learning_rate": 1.247063236920755e-05,
|
| 2270 |
+
"loss": 7.9343061447143555,
|
| 2271 |
+
"step": 323
|
| 2272 |
+
},
|
| 2273 |
+
{
|
| 2274 |
+
"epoch": 0.8828337874659401,
|
| 2275 |
+
"grad_norm": 51.75,
|
| 2276 |
+
"learning_rate": 1.242779262044028e-05,
|
| 2277 |
+
"loss": 7.241304397583008,
|
| 2278 |
+
"step": 324
|
| 2279 |
+
},
|
| 2280 |
+
{
|
| 2281 |
+
"epoch": 0.885558583106267,
|
| 2282 |
+
"grad_norm": 62.0,
|
| 2283 |
+
"learning_rate": 1.2384905472427975e-05,
|
| 2284 |
+
"loss": 8.429121017456055,
|
| 2285 |
+
"step": 325
|
| 2286 |
+
},
|
| 2287 |
+
{
|
| 2288 |
+
"epoch": 0.888283378746594,
|
| 2289 |
+
"grad_norm": 53.5,
|
| 2290 |
+
"learning_rate": 1.2341971762482043e-05,
|
| 2291 |
+
"loss": 7.462927341461182,
|
| 2292 |
+
"step": 326
|
| 2293 |
+
},
|
| 2294 |
+
{
|
| 2295 |
+
"epoch": 0.8910081743869209,
|
| 2296 |
+
"grad_norm": 83.0,
|
| 2297 |
+
"learning_rate": 1.2298992328822937e-05,
|
| 2298 |
+
"loss": 6.1312575340271,
|
| 2299 |
+
"step": 327
|
| 2300 |
+
},
|
| 2301 |
+
{
|
| 2302 |
+
"epoch": 0.8937329700272479,
|
| 2303 |
+
"grad_norm": 133.0,
|
| 2304 |
+
"learning_rate": 1.2255968010563799e-05,
|
| 2305 |
+
"loss": 7.932398796081543,
|
| 2306 |
+
"step": 328
|
| 2307 |
+
},
|
| 2308 |
+
{
|
| 2309 |
+
"epoch": 0.896457765667575,
|
| 2310 |
+
"grad_norm": 115.5,
|
| 2311 |
+
"learning_rate": 1.2212899647694094e-05,
|
| 2312 |
+
"loss": 9.538064956665039,
|
| 2313 |
+
"step": 329
|
| 2314 |
+
},
|
| 2315 |
+
{
|
| 2316 |
+
"epoch": 0.8991825613079019,
|
| 2317 |
+
"grad_norm": 108.0,
|
| 2318 |
+
"learning_rate": 1.2169788081063181e-05,
|
| 2319 |
+
"loss": 8.497495651245117,
|
| 2320 |
+
"step": 330
|
| 2321 |
+
},
|
| 2322 |
+
{
|
| 2323 |
+
"epoch": 0.9019073569482289,
|
| 2324 |
+
"grad_norm": 160.0,
|
| 2325 |
+
"learning_rate": 1.2126634152363924e-05,
|
| 2326 |
+
"loss": 8.135430335998535,
|
| 2327 |
+
"step": 331
|
| 2328 |
+
},
|
| 2329 |
+
{
|
| 2330 |
+
"epoch": 0.9046321525885559,
|
| 2331 |
+
"grad_norm": 47.5,
|
| 2332 |
+
"learning_rate": 1.2083438704116235e-05,
|
| 2333 |
+
"loss": 8.22928524017334,
|
| 2334 |
+
"step": 332
|
| 2335 |
+
},
|
| 2336 |
+
{
|
| 2337 |
+
"epoch": 0.9073569482288828,
|
| 2338 |
+
"grad_norm": 60.0,
|
| 2339 |
+
"learning_rate": 1.2040202579650649e-05,
|
| 2340 |
+
"loss": 8.291242599487305,
|
| 2341 |
+
"step": 333
|
| 2342 |
+
},
|
| 2343 |
+
{
|
| 2344 |
+
"epoch": 0.9100817438692098,
|
| 2345 |
+
"grad_norm": 54.0,
|
| 2346 |
+
"learning_rate": 1.1996926623091839e-05,
|
| 2347 |
+
"loss": 7.9037251472473145,
|
| 2348 |
+
"step": 334
|
| 2349 |
+
},
|
| 2350 |
+
{
|
| 2351 |
+
"epoch": 0.9128065395095368,
|
| 2352 |
+
"grad_norm": 154.0,
|
| 2353 |
+
"learning_rate": 1.1953611679342144e-05,
|
| 2354 |
+
"loss": 7.170064449310303,
|
| 2355 |
+
"step": 335
|
| 2356 |
+
},
|
| 2357 |
+
{
|
| 2358 |
+
"epoch": 0.9155313351498637,
|
| 2359 |
+
"grad_norm": 206.0,
|
| 2360 |
+
"learning_rate": 1.1910258594065079e-05,
|
| 2361 |
+
"loss": 8.21196460723877,
|
| 2362 |
+
"step": 336
|
| 2363 |
+
},
|
| 2364 |
+
{
|
| 2365 |
+
"epoch": 0.9182561307901907,
|
| 2366 |
+
"grad_norm": 140.0,
|
| 2367 |
+
"learning_rate": 1.1866868213668813e-05,
|
| 2368 |
+
"loss": 8.195924758911133,
|
| 2369 |
+
"step": 337
|
| 2370 |
+
},
|
| 2371 |
+
{
|
| 2372 |
+
"epoch": 0.9209809264305178,
|
| 2373 |
+
"grad_norm": 75.5,
|
| 2374 |
+
"learning_rate": 1.1823441385289656e-05,
|
| 2375 |
+
"loss": 8.583342552185059,
|
| 2376 |
+
"step": 338
|
| 2377 |
+
},
|
| 2378 |
+
{
|
| 2379 |
+
"epoch": 0.9237057220708447,
|
| 2380 |
+
"grad_norm": 69.0,
|
| 2381 |
+
"learning_rate": 1.1779978956775507e-05,
|
| 2382 |
+
"loss": 7.357507228851318,
|
| 2383 |
+
"step": 339
|
| 2384 |
+
},
|
| 2385 |
+
{
|
| 2386 |
+
"epoch": 0.9264305177111717,
|
| 2387 |
+
"grad_norm": 40.25,
|
| 2388 |
+
"learning_rate": 1.1736481776669307e-05,
|
| 2389 |
+
"loss": 9.229513168334961,
|
| 2390 |
+
"step": 340
|
| 2391 |
+
},
|
| 2392 |
+
{
|
| 2393 |
+
"epoch": 0.9291553133514986,
|
| 2394 |
+
"grad_norm": 146.0,
|
| 2395 |
+
"learning_rate": 1.169295069419248e-05,
|
| 2396 |
+
"loss": 6.533137321472168,
|
| 2397 |
+
"step": 341
|
| 2398 |
+
},
|
| 2399 |
+
{
|
| 2400 |
+
"epoch": 0.9318801089918256,
|
| 2401 |
+
"grad_norm": 61.5,
|
| 2402 |
+
"learning_rate": 1.1649386559228342e-05,
|
| 2403 |
+
"loss": 7.507099628448486,
|
| 2404 |
+
"step": 342
|
| 2405 |
+
},
|
| 2406 |
+
{
|
| 2407 |
+
"epoch": 0.9346049046321526,
|
| 2408 |
+
"grad_norm": 80.0,
|
| 2409 |
+
"learning_rate": 1.1605790222305516e-05,
|
| 2410 |
+
"loss": 7.3725810050964355,
|
| 2411 |
+
"step": 343
|
| 2412 |
+
},
|
| 2413 |
+
{
|
| 2414 |
+
"epoch": 0.9373297002724795,
|
| 2415 |
+
"grad_norm": 81.0,
|
| 2416 |
+
"learning_rate": 1.1562162534581318e-05,
|
| 2417 |
+
"loss": 9.221755981445312,
|
| 2418 |
+
"step": 344
|
| 2419 |
+
},
|
| 2420 |
+
{
|
| 2421 |
+
"epoch": 0.9400544959128065,
|
| 2422 |
+
"grad_norm": 334.0,
|
| 2423 |
+
"learning_rate": 1.1518504347825146e-05,
|
| 2424 |
+
"loss": 6.867805004119873,
|
| 2425 |
+
"step": 345
|
| 2426 |
+
},
|
| 2427 |
+
{
|
| 2428 |
+
"epoch": 0.9427792915531336,
|
| 2429 |
+
"grad_norm": 97.5,
|
| 2430 |
+
"learning_rate": 1.1474816514401851e-05,
|
| 2431 |
+
"loss": 8.168418884277344,
|
| 2432 |
+
"step": 346
|
| 2433 |
+
},
|
| 2434 |
+
{
|
| 2435 |
+
"epoch": 0.9455040871934605,
|
| 2436 |
+
"grad_norm": 116.5,
|
| 2437 |
+
"learning_rate": 1.143109988725509e-05,
|
| 2438 |
+
"loss": 8.540360450744629,
|
| 2439 |
+
"step": 347
|
| 2440 |
+
},
|
| 2441 |
+
{
|
| 2442 |
+
"epoch": 0.9482288828337875,
|
| 2443 |
+
"grad_norm": 50.0,
|
| 2444 |
+
"learning_rate": 1.1387355319890685e-05,
|
| 2445 |
+
"loss": 5.956089973449707,
|
| 2446 |
+
"step": 348
|
| 2447 |
+
},
|
| 2448 |
+
{
|
| 2449 |
+
"epoch": 0.9509536784741145,
|
| 2450 |
+
"grad_norm": 65.5,
|
| 2451 |
+
"learning_rate": 1.1343583666359938e-05,
|
| 2452 |
+
"loss": 7.404401779174805,
|
| 2453 |
+
"step": 349
|
| 2454 |
+
},
|
| 2455 |
+
{
|
| 2456 |
+
"epoch": 0.9536784741144414,
|
| 2457 |
+
"grad_norm": 79.0,
|
| 2458 |
+
"learning_rate": 1.1299785781242982e-05,
|
| 2459 |
+
"loss": 6.322681427001953,
|
| 2460 |
+
"step": 350
|
| 2461 |
+
},
|
| 2462 |
+
{
|
| 2463 |
+
"epoch": 0.9564032697547684,
|
| 2464 |
+
"grad_norm": 60.0,
|
| 2465 |
+
"learning_rate": 1.1255962519632082e-05,
|
| 2466 |
+
"loss": 7.368110656738281,
|
| 2467 |
+
"step": 351
|
| 2468 |
+
},
|
| 2469 |
+
{
|
| 2470 |
+
"epoch": 0.9591280653950953,
|
| 2471 |
+
"grad_norm": 118.5,
|
| 2472 |
+
"learning_rate": 1.1212114737114941e-05,
|
| 2473 |
+
"loss": 7.17164945602417,
|
| 2474 |
+
"step": 352
|
| 2475 |
+
},
|
| 2476 |
+
{
|
| 2477 |
+
"epoch": 0.9618528610354223,
|
| 2478 |
+
"grad_norm": 52.75,
|
| 2479 |
+
"learning_rate": 1.1168243289758001e-05,
|
| 2480 |
+
"loss": 7.229589462280273,
|
| 2481 |
+
"step": 353
|
| 2482 |
+
},
|
| 2483 |
+
{
|
| 2484 |
+
"epoch": 0.9645776566757494,
|
| 2485 |
+
"grad_norm": 63.75,
|
| 2486 |
+
"learning_rate": 1.1124349034089724e-05,
|
| 2487 |
+
"loss": 7.301548957824707,
|
| 2488 |
+
"step": 354
|
| 2489 |
+
},
|
| 2490 |
+
{
|
| 2491 |
+
"epoch": 0.9673024523160763,
|
| 2492 |
+
"grad_norm": 53.5,
|
| 2493 |
+
"learning_rate": 1.1080432827083874e-05,
|
| 2494 |
+
"loss": 7.822205543518066,
|
| 2495 |
+
"step": 355
|
| 2496 |
+
},
|
| 2497 |
+
{
|
| 2498 |
+
"epoch": 0.9700272479564033,
|
| 2499 |
+
"grad_norm": 165.0,
|
| 2500 |
+
"learning_rate": 1.1036495526142784e-05,
|
| 2501 |
+
"loss": 7.196988105773926,
|
| 2502 |
+
"step": 356
|
| 2503 |
+
},
|
| 2504 |
+
{
|
| 2505 |
+
"epoch": 0.9727520435967303,
|
| 2506 |
+
"grad_norm": 109.0,
|
| 2507 |
+
"learning_rate": 1.0992537989080618e-05,
|
| 2508 |
+
"loss": 7.927482604980469,
|
| 2509 |
+
"step": 357
|
| 2510 |
+
},
|
| 2511 |
+
{
|
| 2512 |
+
"epoch": 0.9754768392370572,
|
| 2513 |
+
"grad_norm": 63.25,
|
| 2514 |
+
"learning_rate": 1.0948561074106618e-05,
|
| 2515 |
+
"loss": 8.574819564819336,
|
| 2516 |
+
"step": 358
|
| 2517 |
+
},
|
| 2518 |
+
{
|
| 2519 |
+
"epoch": 0.9782016348773842,
|
| 2520 |
+
"grad_norm": 219.0,
|
| 2521 |
+
"learning_rate": 1.0904565639808358e-05,
|
| 2522 |
+
"loss": 8.466644287109375,
|
| 2523 |
+
"step": 359
|
| 2524 |
+
},
|
| 2525 |
+
{
|
| 2526 |
+
"epoch": 0.9809264305177112,
|
| 2527 |
+
"grad_norm": 62.75,
|
| 2528 |
+
"learning_rate": 1.086055254513497e-05,
|
| 2529 |
+
"loss": 8.004752159118652,
|
| 2530 |
+
"step": 360
|
| 2531 |
+
},
|
| 2532 |
+
{
|
| 2533 |
+
"epoch": 0.9836512261580381,
|
| 2534 |
+
"grad_norm": 672.0,
|
| 2535 |
+
"learning_rate": 1.0816522649380383e-05,
|
| 2536 |
+
"loss": 8.849076271057129,
|
| 2537 |
+
"step": 361
|
| 2538 |
+
},
|
| 2539 |
+
{
|
| 2540 |
+
"epoch": 0.9863760217983651,
|
| 2541 |
+
"grad_norm": 80.0,
|
| 2542 |
+
"learning_rate": 1.0772476812166545e-05,
|
| 2543 |
+
"loss": 7.5196661949157715,
|
| 2544 |
+
"step": 362
|
| 2545 |
+
},
|
| 2546 |
+
{
|
| 2547 |
+
"epoch": 0.989100817438692,
|
| 2548 |
+
"grad_norm": 60.5,
|
| 2549 |
+
"learning_rate": 1.0728415893426636e-05,
|
| 2550 |
+
"loss": 7.944910049438477,
|
| 2551 |
+
"step": 363
|
| 2552 |
+
},
|
| 2553 |
+
{
|
| 2554 |
+
"epoch": 0.9918256130790191,
|
| 2555 |
+
"grad_norm": 676.0,
|
| 2556 |
+
"learning_rate": 1.0684340753388283e-05,
|
| 2557 |
+
"loss": 8.418794631958008,
|
| 2558 |
+
"step": 364
|
| 2559 |
+
},
|
| 2560 |
+
{
|
| 2561 |
+
"epoch": 0.9945504087193461,
|
| 2562 |
+
"grad_norm": 46.75,
|
| 2563 |
+
"learning_rate": 1.064025225255676e-05,
|
| 2564 |
+
"loss": 7.800658226013184,
|
| 2565 |
+
"step": 365
|
| 2566 |
+
},
|
| 2567 |
+
{
|
| 2568 |
+
"epoch": 0.997275204359673,
|
| 2569 |
+
"grad_norm": 50.25,
|
| 2570 |
+
"learning_rate": 1.05961512516982e-05,
|
| 2571 |
+
"loss": 8.47831916809082,
|
| 2572 |
+
"step": 366
|
| 2573 |
+
},
|
| 2574 |
+
{
|
| 2575 |
+
"epoch": 1.0,
|
| 2576 |
+
"grad_norm": 103.0,
|
| 2577 |
+
"learning_rate": 1.0552038611822774e-05,
|
| 2578 |
+
"loss": 8.185615539550781,
|
| 2579 |
+
"step": 367
|
| 2580 |
+
}
|
| 2581 |
+
],
|
| 2582 |
+
"logging_steps": 1,
|
| 2583 |
+
"max_steps": 734,
|
| 2584 |
+
"num_input_tokens_seen": 0,
|
| 2585 |
+
"num_train_epochs": 2,
|
| 2586 |
+
"save_steps": 100,
|
| 2587 |
+
"stateful_callbacks": {
|
| 2588 |
+
"TrainerControl": {
|
| 2589 |
+
"args": {
|
| 2590 |
+
"should_epoch_stop": false,
|
| 2591 |
+
"should_evaluate": false,
|
| 2592 |
+
"should_log": false,
|
| 2593 |
+
"should_save": true,
|
| 2594 |
+
"should_training_stop": false
|
| 2595 |
+
},
|
| 2596 |
+
"attributes": {}
|
| 2597 |
+
}
|
| 2598 |
+
},
|
| 2599 |
+
"total_flos": 3.422627732599603e+17,
|
| 2600 |
+
"train_batch_size": 16,
|
| 2601 |
+
"trial_name": null,
|
| 2602 |
+
"trial_params": null
|
| 2603 |
+
}
|
checkpoint-367/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:44a5b0119e9d82a5dcc1a2b61a8003766a1c33b373ef82e43492f5f35742352d
|
| 3 |
+
size 5265
|
checkpoint-734/chat_template.jinja
ADDED
|
@@ -0,0 +1,344 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- macro format_parameters(properties, required) -%}
|
| 2 |
+
{%- set standard_keys = ['description', 'type', 'properties', 'required', 'nullable'] -%}
|
| 3 |
+
{%- set ns = namespace(found_first=false) -%}
|
| 4 |
+
{%- for key, value in properties | dictsort -%}
|
| 5 |
+
{%- set add_comma = false -%}
|
| 6 |
+
{%- if key not in standard_keys -%}
|
| 7 |
+
{%- if ns.found_first %},{% endif -%}
|
| 8 |
+
{%- set ns.found_first = true -%}
|
| 9 |
+
{{ key }}:{
|
| 10 |
+
{%- if value['description'] -%}
|
| 11 |
+
description:<|"|>{{ value['description'] }}<|"|>
|
| 12 |
+
{%- set add_comma = true -%}
|
| 13 |
+
{%- endif -%}
|
| 14 |
+
{%- if value['type'] | upper == 'STRING' -%}
|
| 15 |
+
{%- if value['enum'] -%}
|
| 16 |
+
{%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}
|
| 17 |
+
enum:{{ format_argument(value['enum']) }}
|
| 18 |
+
{%- endif -%}
|
| 19 |
+
{%- elif value['type'] | upper == 'ARRAY' -%}
|
| 20 |
+
{%- if value['items'] is mapping and value['items'] -%}
|
| 21 |
+
{%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}
|
| 22 |
+
items:{
|
| 23 |
+
{%- set ns_items = namespace(found_first=false) -%}
|
| 24 |
+
{%- for item_key, item_value in value['items'] | dictsort -%}
|
| 25 |
+
{%- if item_value is not none -%}
|
| 26 |
+
{%- if ns_items.found_first %},{% endif -%}
|
| 27 |
+
{%- set ns_items.found_first = true -%}
|
| 28 |
+
{%- if item_key == 'properties' -%}
|
| 29 |
+
properties:{
|
| 30 |
+
{%- if item_value is mapping -%}
|
| 31 |
+
{{- format_parameters(item_value, value['items']['required'] | default([])) -}}
|
| 32 |
+
{%- endif -%}
|
| 33 |
+
}
|
| 34 |
+
{%- elif item_key == 'required' -%}
|
| 35 |
+
required:[
|
| 36 |
+
{%- for req_item in item_value -%}
|
| 37 |
+
<|"|>{{- req_item -}}<|"|>
|
| 38 |
+
{%- if not loop.last %},{% endif -%}
|
| 39 |
+
{%- endfor -%}
|
| 40 |
+
]
|
| 41 |
+
{%- elif item_key == 'type' -%}
|
| 42 |
+
{%- if item_value is string -%}
|
| 43 |
+
type:{{ format_argument(item_value | upper) }}
|
| 44 |
+
{%- else -%}
|
| 45 |
+
type:{{ format_argument(item_value | map('upper') | list) }}
|
| 46 |
+
{%- endif -%}
|
| 47 |
+
{%- else -%}
|
| 48 |
+
{{ item_key }}:{{ format_argument(item_value) }}
|
| 49 |
+
{%- endif -%}
|
| 50 |
+
{%- endif -%}
|
| 51 |
+
{%- endfor -%}
|
| 52 |
+
}
|
| 53 |
+
{%- endif -%}
|
| 54 |
+
{%- endif -%}
|
| 55 |
+
{%- if value['nullable'] %}
|
| 56 |
+
{%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}
|
| 57 |
+
nullable:true
|
| 58 |
+
{%- endif -%}
|
| 59 |
+
{%- if value['type'] | upper == 'OBJECT' -%}
|
| 60 |
+
{%- if value['properties'] is defined and value['properties'] is mapping -%}
|
| 61 |
+
{%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}
|
| 62 |
+
properties:{
|
| 63 |
+
{{- format_parameters(value['properties'], value['required'] | default([])) -}}
|
| 64 |
+
}
|
| 65 |
+
{%- elif value is mapping -%}
|
| 66 |
+
{%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}
|
| 67 |
+
properties:{
|
| 68 |
+
{{- format_parameters(value, value['required'] | default([])) -}}
|
| 69 |
+
}
|
| 70 |
+
{%- endif -%}
|
| 71 |
+
{%- if value['required'] -%}
|
| 72 |
+
{%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}
|
| 73 |
+
required:[
|
| 74 |
+
{%- for item in value['required'] | default([]) -%}
|
| 75 |
+
<|"|>{{- item -}}<|"|>
|
| 76 |
+
{%- if not loop.last %},{% endif -%}
|
| 77 |
+
{%- endfor -%}
|
| 78 |
+
]
|
| 79 |
+
{%- endif -%}
|
| 80 |
+
{%- endif -%}
|
| 81 |
+
{%- if add_comma %},{%- else -%} {%- set add_comma = true -%} {% endif -%}
|
| 82 |
+
type:<|"|>{{ value['type'] | upper }}<|"|>}
|
| 83 |
+
{%- endif -%}
|
| 84 |
+
{%- endfor -%}
|
| 85 |
+
{%- endmacro -%}
|
| 86 |
+
{%- macro format_function_declaration(tool_data) -%}
|
| 87 |
+
declaration:{{- tool_data['function']['name'] -}}{description:<|"|>{{- tool_data['function']['description'] -}}<|"|>
|
| 88 |
+
{%- set params = tool_data['function']['parameters'] -%}
|
| 89 |
+
{%- if params -%}
|
| 90 |
+
,parameters:{
|
| 91 |
+
{%- if params['properties'] -%}
|
| 92 |
+
properties:{ {{- format_parameters(params['properties'], params['required']) -}} },
|
| 93 |
+
{%- endif -%}
|
| 94 |
+
{%- if params['required'] -%}
|
| 95 |
+
required:[
|
| 96 |
+
{%- for item in params['required'] -%}
|
| 97 |
+
<|"|>{{- item -}}<|"|>
|
| 98 |
+
{{- ',' if not loop.last -}}
|
| 99 |
+
{%- endfor -%}
|
| 100 |
+
],
|
| 101 |
+
{%- endif -%}
|
| 102 |
+
{%- if params['type'] -%}
|
| 103 |
+
type:<|"|>{{- params['type'] | upper -}}<|"|>}
|
| 104 |
+
{%- endif -%}
|
| 105 |
+
{%- endif -%}
|
| 106 |
+
{%- if 'response' in tool_data['function'] -%}
|
| 107 |
+
{%- set response_declaration = tool_data['function']['response'] -%}
|
| 108 |
+
,response:{
|
| 109 |
+
{%- if response_declaration['description'] -%}
|
| 110 |
+
description:<|"|>{{- response_declaration['description'] -}}<|"|>,
|
| 111 |
+
{%- endif -%}
|
| 112 |
+
{%- if response_declaration['type'] | upper == 'OBJECT' -%}
|
| 113 |
+
type:<|"|>{{- response_declaration['type'] | upper -}}<|"|>}
|
| 114 |
+
{%- endif -%}
|
| 115 |
+
{%- endif -%}
|
| 116 |
+
}
|
| 117 |
+
{%- endmacro -%}
|
| 118 |
+
{%- macro format_argument(argument, escape_keys=True) -%}
|
| 119 |
+
{%- if argument is string -%}
|
| 120 |
+
{{- '<|"|>' + argument + '<|"|>' -}}
|
| 121 |
+
{%- elif argument is boolean -%}
|
| 122 |
+
{{- 'true' if argument else 'false' -}}
|
| 123 |
+
{%- elif argument is mapping -%}
|
| 124 |
+
{{- '{' -}}
|
| 125 |
+
{%- set ns = namespace(found_first=false) -%}
|
| 126 |
+
{%- for key, value in argument | dictsort -%}
|
| 127 |
+
{%- if ns.found_first %},{% endif -%}
|
| 128 |
+
{%- set ns.found_first = true -%}
|
| 129 |
+
{%- if escape_keys -%}
|
| 130 |
+
{{- '<|"|>' + key + '<|"|>' -}}
|
| 131 |
+
{%- else -%}
|
| 132 |
+
{{- key -}}
|
| 133 |
+
{%- endif -%}
|
| 134 |
+
:{{- format_argument(value, escape_keys=escape_keys) -}}
|
| 135 |
+
{%- endfor -%}
|
| 136 |
+
{{- '}' -}}
|
| 137 |
+
{%- elif argument is sequence -%}
|
| 138 |
+
{{- '[' -}}
|
| 139 |
+
{%- for item in argument -%}
|
| 140 |
+
{{- format_argument(item, escape_keys=escape_keys) -}}
|
| 141 |
+
{%- if not loop.last %},{% endif -%}
|
| 142 |
+
{%- endfor -%}
|
| 143 |
+
{{- ']' -}}
|
| 144 |
+
{%- else -%}
|
| 145 |
+
{{- argument -}}
|
| 146 |
+
{%- endif -%}
|
| 147 |
+
{%- endmacro -%}
|
| 148 |
+
{%- macro strip_thinking(text) -%}
|
| 149 |
+
{%- set ns = namespace(result='') -%}
|
| 150 |
+
{%- for part in text.split('<channel|>') -%}
|
| 151 |
+
{%- if '<|channel>' in part -%}
|
| 152 |
+
{%- set ns.result = ns.result + part.split('<|channel>')[0] -%}
|
| 153 |
+
{%- else -%}
|
| 154 |
+
{%- set ns.result = ns.result + part -%}
|
| 155 |
+
{%- endif -%}
|
| 156 |
+
{%- endfor -%}
|
| 157 |
+
{{- ns.result | trim -}}
|
| 158 |
+
{%- endmacro -%}
|
| 159 |
+
|
| 160 |
+
{%- macro format_tool_response_block(tool_name, response) -%}
|
| 161 |
+
{{- '<|tool_response>' -}}
|
| 162 |
+
{%- if response is mapping -%}
|
| 163 |
+
{{- 'response:' + tool_name + '{' -}}
|
| 164 |
+
{%- for key, value in response | dictsort -%}
|
| 165 |
+
{{- key -}}:{{- format_argument(value, escape_keys=False) -}}
|
| 166 |
+
{%- if not loop.last %},{% endif -%}
|
| 167 |
+
{%- endfor -%}
|
| 168 |
+
{{- '}' -}}
|
| 169 |
+
{%- else -%}
|
| 170 |
+
{{- 'response:' + tool_name + '{value:' + format_argument(response, escape_keys=False) + '}' -}}
|
| 171 |
+
{%- endif -%}
|
| 172 |
+
{{- '<tool_response|>' -}}
|
| 173 |
+
{%- endmacro -%}
|
| 174 |
+
|
| 175 |
+
{%- set ns = namespace(prev_message_type=None) -%}
|
| 176 |
+
{%- set loop_messages = messages -%}
|
| 177 |
+
{{- bos_token -}}
|
| 178 |
+
{#- Handle System/Tool Definitions Block -#}
|
| 179 |
+
{%- if (enable_thinking is defined and enable_thinking) or tools or messages[0]['role'] in ['system', 'developer'] -%}
|
| 180 |
+
{{- '<|turn>system\n' -}}
|
| 181 |
+
|
| 182 |
+
{#- Inject Thinking token at the very top of the FIRST system turn -#}
|
| 183 |
+
{%- if enable_thinking is defined and enable_thinking -%}
|
| 184 |
+
{{- '<|think|>\n' -}}
|
| 185 |
+
{%- set ns.prev_message_type = 'think' -%}
|
| 186 |
+
{%- endif -%}
|
| 187 |
+
|
| 188 |
+
{%- if messages[0]['role'] in ['system', 'developer'] -%}
|
| 189 |
+
{{- messages[0]['content'] | trim -}}
|
| 190 |
+
{%- set loop_messages = messages[1:] -%}
|
| 191 |
+
{%- endif -%}
|
| 192 |
+
|
| 193 |
+
{%- if tools -%}
|
| 194 |
+
{%- for tool in tools %}
|
| 195 |
+
{{- '<|tool>' -}}
|
| 196 |
+
{{- format_function_declaration(tool) | trim -}}
|
| 197 |
+
{{- '<tool|>' -}}
|
| 198 |
+
{%- endfor %}
|
| 199 |
+
{%- set ns.prev_message_type = 'tool' -%}
|
| 200 |
+
{%- endif -%}
|
| 201 |
+
|
| 202 |
+
{{- '<turn|>\n' -}}
|
| 203 |
+
{%- endif %}
|
| 204 |
+
|
| 205 |
+
{#- Pre-scan: find last user message index for reasoning guard -#}
|
| 206 |
+
{%- set ns_turn = namespace(last_user_idx=-1) -%}
|
| 207 |
+
{%- for i in range(loop_messages | length) -%}
|
| 208 |
+
{%- if loop_messages[i]['role'] == 'user' -%}
|
| 209 |
+
{%- set ns_turn.last_user_idx = i -%}
|
| 210 |
+
{%- endif -%}
|
| 211 |
+
{%- endfor -%}
|
| 212 |
+
|
| 213 |
+
{#- Loop through messages -#}
|
| 214 |
+
{%- for message in loop_messages -%}
|
| 215 |
+
{%- if message['role'] != 'tool' -%}
|
| 216 |
+
{%- set ns.prev_message_type = None -%}
|
| 217 |
+
{%- set role = 'model' if message['role'] == 'assistant' else message['role'] -%}
|
| 218 |
+
{#- Detect continuation: suppress duplicate <|turn>model when previous non-tool message was also assistant -#}
|
| 219 |
+
{%- set prev_nt = namespace(role=None, found=false) -%}
|
| 220 |
+
{%- if loop.index0 > 0 -%}
|
| 221 |
+
{%- for j in range(loop.index0 - 1, -1, -1) -%}
|
| 222 |
+
{%- if not prev_nt.found -%}
|
| 223 |
+
{%- if loop_messages[j]['role'] != 'tool' -%}
|
| 224 |
+
{%- set prev_nt.role = loop_messages[j]['role'] -%}
|
| 225 |
+
{%- set prev_nt.found = true -%}
|
| 226 |
+
{%- endif -%}
|
| 227 |
+
{%- endif -%}
|
| 228 |
+
{%- endfor -%}
|
| 229 |
+
{%- endif -%}
|
| 230 |
+
{%- set continue_same_model_turn = (role == 'model' and prev_nt.role == 'assistant') -%}
|
| 231 |
+
{%- if not continue_same_model_turn -%}
|
| 232 |
+
{{- '<|turn>' + role + '\n' }}
|
| 233 |
+
{%- endif -%}
|
| 234 |
+
|
| 235 |
+
{#- Render reasoning/reasoning_content as thinking channel -#}
|
| 236 |
+
{%- set thinking_text = message.get('reasoning') or message.get('reasoning_content') -%}
|
| 237 |
+
{%- if thinking_text and loop.index0 > ns_turn.last_user_idx and message.get('tool_calls') -%}
|
| 238 |
+
{{- '<|channel>thought\n' + thinking_text + '\n<channel|>' -}}
|
| 239 |
+
{%- endif -%}
|
| 240 |
+
|
| 241 |
+
{%- if message['tool_calls'] -%}
|
| 242 |
+
{%- for tool_call in message['tool_calls'] -%}
|
| 243 |
+
{%- set function = tool_call['function'] -%}
|
| 244 |
+
{{- '<|tool_call>call:' + function['name'] + '{' -}}
|
| 245 |
+
{%- if function['arguments'] is mapping -%}
|
| 246 |
+
{%- set ns_args = namespace(found_first=false) -%}
|
| 247 |
+
{%- for key, value in function['arguments'] | dictsort -%}
|
| 248 |
+
{%- if ns_args.found_first %},{% endif -%}
|
| 249 |
+
{%- set ns_args.found_first = true -%}
|
| 250 |
+
{{- key -}}:{{- format_argument(value, escape_keys=False) -}}
|
| 251 |
+
{%- endfor -%}
|
| 252 |
+
{%- elif function['arguments'] is string -%}
|
| 253 |
+
{{- function['arguments'] -}}
|
| 254 |
+
{%- endif -%}
|
| 255 |
+
{{- '}<tool_call|>' -}}
|
| 256 |
+
{%- endfor -%}
|
| 257 |
+
{%- set ns.prev_message_type = 'tool_call' -%}
|
| 258 |
+
{%- endif -%}
|
| 259 |
+
|
| 260 |
+
{%- set ns_tr_out = namespace(flag=false) -%}
|
| 261 |
+
{%- if message.get('tool_responses') -%}
|
| 262 |
+
{#- Legacy: tool_responses embedded on the assistant message (Google/Gemma native) -#}
|
| 263 |
+
{%- for tool_response in message['tool_responses'] -%}
|
| 264 |
+
{{- format_tool_response_block(tool_response['name'] | default('unknown'), tool_response['response']) -}}
|
| 265 |
+
{%- set ns_tr_out.flag = true -%}
|
| 266 |
+
{%- set ns.prev_message_type = 'tool_response' -%}
|
| 267 |
+
{%- endfor -%}
|
| 268 |
+
{%- elif message.get('tool_calls') -%}
|
| 269 |
+
{#- OpenAI Chat Completions: forward-scan consecutive role:tool messages -#}
|
| 270 |
+
{%- set ns_tool_scan = namespace(stopped=false) -%}
|
| 271 |
+
{%- for k in range(loop.index0 + 1, loop_messages | length) -%}
|
| 272 |
+
{%- if ns_tool_scan.stopped -%}
|
| 273 |
+
{%- elif loop_messages[k]['role'] != 'tool' -%}
|
| 274 |
+
{%- set ns_tool_scan.stopped = true -%}
|
| 275 |
+
{%- else -%}
|
| 276 |
+
{%- set follow = loop_messages[k] -%}
|
| 277 |
+
{#- Resolve tool_call_id to function name -#}
|
| 278 |
+
{%- set ns_tname = namespace(name=follow.get('name') | default('unknown')) -%}
|
| 279 |
+
{%- for tc in message['tool_calls'] -%}
|
| 280 |
+
{%- if tc.get('id') == follow.get('tool_call_id') -%}
|
| 281 |
+
{%- set ns_tname.name = tc['function']['name'] -%}
|
| 282 |
+
{%- endif -%}
|
| 283 |
+
{%- endfor -%}
|
| 284 |
+
{#- Handle content as string or content-parts array -#}
|
| 285 |
+
{%- set tool_body = follow.get('content') -%}
|
| 286 |
+
{%- if tool_body is string -%}
|
| 287 |
+
{{- format_tool_response_block(ns_tname.name, tool_body) -}}
|
| 288 |
+
{%- elif tool_body is sequence and tool_body is not string -%}
|
| 289 |
+
{%- set ns_txt = namespace(s='') -%}
|
| 290 |
+
{%- for part in tool_body -%}
|
| 291 |
+
{%- if part.get('type') == 'text' -%}
|
| 292 |
+
{%- set ns_txt.s = ns_txt.s + (part.get('text') | default('')) -%}
|
| 293 |
+
{%- endif -%}
|
| 294 |
+
{%- endfor -%}
|
| 295 |
+
{{- format_tool_response_block(ns_tname.name, ns_txt.s) -}}
|
| 296 |
+
{%- else -%}
|
| 297 |
+
{{- format_tool_response_block(ns_tname.name, tool_body) -}}
|
| 298 |
+
{%- endif -%}
|
| 299 |
+
{%- set ns_tr_out.flag = true -%}
|
| 300 |
+
{%- set ns.prev_message_type = 'tool_response' -%}
|
| 301 |
+
{%- endif -%}
|
| 302 |
+
{%- endfor -%}
|
| 303 |
+
{%- endif -%}
|
| 304 |
+
|
| 305 |
+
{%- if message['content'] is string -%}
|
| 306 |
+
{%- if role == 'model' -%}
|
| 307 |
+
{{- strip_thinking(message['content']) -}}
|
| 308 |
+
{%- else -%}
|
| 309 |
+
{{- message['content'] | trim -}}
|
| 310 |
+
{%- endif -%}
|
| 311 |
+
{%- elif message['content'] is sequence -%}
|
| 312 |
+
{%- for item in message['content'] -%}
|
| 313 |
+
{%- if item['type'] == 'text' -%}
|
| 314 |
+
{%- if role == 'model' -%}
|
| 315 |
+
{{- strip_thinking(item['text']) -}}
|
| 316 |
+
{%- else -%}
|
| 317 |
+
{{- item['text'] | trim -}}
|
| 318 |
+
{%- endif -%}
|
| 319 |
+
{%- elif item['type'] == 'image' -%}
|
| 320 |
+
{{- '<|image|>' -}}
|
| 321 |
+
{%- set ns.prev_message_type = 'image' -%}
|
| 322 |
+
{%- elif item['type'] == 'audio' -%}
|
| 323 |
+
{{- '<|audio|>' -}}
|
| 324 |
+
{%- set ns.prev_message_type = 'audio' -%}
|
| 325 |
+
{%- elif item['type'] == 'video' -%}
|
| 326 |
+
{{- '<|video|>' -}}
|
| 327 |
+
{%- set ns.prev_message_type = 'video' -%}
|
| 328 |
+
{%- endif -%}
|
| 329 |
+
{%- endfor -%}
|
| 330 |
+
{%- endif -%}
|
| 331 |
+
|
| 332 |
+
{%- if ns.prev_message_type == 'tool_call' and not ns_tr_out.flag -%}
|
| 333 |
+
{{- '<|tool_response>' -}}
|
| 334 |
+
{%- elif not (ns_tr_out.flag and not message.get('content')) -%}
|
| 335 |
+
{{- '<turn|>\n' -}}
|
| 336 |
+
{%- endif -%}
|
| 337 |
+
{%- endif -%}
|
| 338 |
+
{%- endfor -%}
|
| 339 |
+
|
| 340 |
+
{%- if add_generation_prompt -%}
|
| 341 |
+
{%- if ns.prev_message_type != 'tool_response' and ns.prev_message_type != 'tool_call' -%}
|
| 342 |
+
{{- '<|turn>model\n' -}}
|
| 343 |
+
{%- endif -%}
|
| 344 |
+
{%- endif -%}
|
checkpoint-734/config.json
ADDED
|
@@ -0,0 +1,192 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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|
| 5 |
+
"audio_config": {
|
| 6 |
+
"_name_or_path": "",
|
| 7 |
+
"architectures": null,
|
| 8 |
+
"attention_chunk_size": 12,
|
| 9 |
+
"attention_context_left": 13,
|
| 10 |
+
"attention_context_right": 0,
|
| 11 |
+
"attention_invalid_logits_value": -1000000000.0,
|
| 12 |
+
"attention_logit_cap": 50.0,
|
| 13 |
+
"chunk_size_feed_forward": 0,
|
| 14 |
+
"conv_kernel_size": 5,
|
| 15 |
+
"dtype": "bfloat16",
|
| 16 |
+
"gradient_clipping": 10000000000.0,
|
| 17 |
+
"hidden_act": "silu",
|
| 18 |
+
"hidden_size": 1024,
|
| 19 |
+
"id2label": {
|
| 20 |
+
"0": "LABEL_0",
|
| 21 |
+
"1": "LABEL_1"
|
| 22 |
+
},
|
| 23 |
+
"initializer_range": 0.02,
|
| 24 |
+
"is_encoder_decoder": false,
|
| 25 |
+
"label2id": {
|
| 26 |
+
"LABEL_0": 0,
|
| 27 |
+
"LABEL_1": 1
|
| 28 |
+
},
|
| 29 |
+
"model_type": "gemma4_audio",
|
| 30 |
+
"num_attention_heads": 8,
|
| 31 |
+
"num_hidden_layers": 12,
|
| 32 |
+
"output_attentions": false,
|
| 33 |
+
"output_hidden_states": false,
|
| 34 |
+
"output_proj_dims": 1536,
|
| 35 |
+
"problem_type": null,
|
| 36 |
+
"residual_weight": 0.5,
|
| 37 |
+
"return_dict": true,
|
| 38 |
+
"rms_norm_eps": 1e-06,
|
| 39 |
+
"subsampling_conv_channels": [
|
| 40 |
+
128,
|
| 41 |
+
32
|
| 42 |
+
],
|
| 43 |
+
"use_clipped_linears": true
|
| 44 |
+
},
|
| 45 |
+
"audio_token_id": 258881,
|
| 46 |
+
"boa_token_id": 256000,
|
| 47 |
+
"boi_token_id": 255999,
|
| 48 |
+
"dtype": "bfloat16",
|
| 49 |
+
"eoa_token_id": 258883,
|
| 50 |
+
"eoa_token_index": 258883,
|
| 51 |
+
"eoi_token_id": 258882,
|
| 52 |
+
"eos_token_id": [
|
| 53 |
+
1,
|
| 54 |
+
106
|
| 55 |
+
],
|
| 56 |
+
"image_token_id": 258880,
|
| 57 |
+
"initializer_range": 0.02,
|
| 58 |
+
"model_type": "gemma4",
|
| 59 |
+
"text_config": {
|
| 60 |
+
"attention_bias": false,
|
| 61 |
+
"attention_dropout": 0.0,
|
| 62 |
+
"attention_k_eq_v": false,
|
| 63 |
+
"bos_token_id": 2,
|
| 64 |
+
"dtype": "bfloat16",
|
| 65 |
+
"enable_moe_block": false,
|
| 66 |
+
"eos_token_id": 1,
|
| 67 |
+
"expert_intermediate_size": null,
|
| 68 |
+
"final_logit_softcapping": 30.0,
|
| 69 |
+
"global_head_dim": 512,
|
| 70 |
+
"head_dim": 256,
|
| 71 |
+
"hidden_activation": "gelu_pytorch_tanh",
|
| 72 |
+
"hidden_size": 1536,
|
| 73 |
+
"hidden_size_per_layer_input": 256,
|
| 74 |
+
"initializer_range": 0.02,
|
| 75 |
+
"intermediate_size": 6144,
|
| 76 |
+
"layer_types": [
|
| 77 |
+
"sliding_attention",
|
| 78 |
+
"sliding_attention",
|
| 79 |
+
"sliding_attention",
|
| 80 |
+
"sliding_attention",
|
| 81 |
+
"full_attention",
|
| 82 |
+
"sliding_attention",
|
| 83 |
+
"sliding_attention",
|
| 84 |
+
"sliding_attention",
|
| 85 |
+
"sliding_attention",
|
| 86 |
+
"full_attention",
|
| 87 |
+
"sliding_attention",
|
| 88 |
+
"sliding_attention",
|
| 89 |
+
"sliding_attention",
|
| 90 |
+
"sliding_attention",
|
| 91 |
+
"full_attention",
|
| 92 |
+
"sliding_attention",
|
| 93 |
+
"sliding_attention",
|
| 94 |
+
"sliding_attention",
|
| 95 |
+
"sliding_attention",
|
| 96 |
+
"full_attention",
|
| 97 |
+
"sliding_attention",
|
| 98 |
+
"sliding_attention",
|
| 99 |
+
"sliding_attention",
|
| 100 |
+
"sliding_attention",
|
| 101 |
+
"full_attention",
|
| 102 |
+
"sliding_attention",
|
| 103 |
+
"sliding_attention",
|
| 104 |
+
"sliding_attention",
|
| 105 |
+
"sliding_attention",
|
| 106 |
+
"full_attention",
|
| 107 |
+
"sliding_attention",
|
| 108 |
+
"sliding_attention",
|
| 109 |
+
"sliding_attention",
|
| 110 |
+
"sliding_attention",
|
| 111 |
+
"full_attention"
|
| 112 |
+
],
|
| 113 |
+
"max_position_embeddings": 131072,
|
| 114 |
+
"model_type": "gemma4_text",
|
| 115 |
+
"moe_intermediate_size": null,
|
| 116 |
+
"num_attention_heads": 8,
|
| 117 |
+
"num_experts": null,
|
| 118 |
+
"num_global_key_value_heads": null,
|
| 119 |
+
"num_hidden_layers": 35,
|
| 120 |
+
"num_key_value_heads": 1,
|
| 121 |
+
"num_kv_shared_layers": 20,
|
| 122 |
+
"pad_token_id": 0,
|
| 123 |
+
"rms_norm_eps": 1e-06,
|
| 124 |
+
"rope_parameters": {
|
| 125 |
+
"full_attention": {
|
| 126 |
+
"partial_rotary_factor": 0.25,
|
| 127 |
+
"rope_theta": 1000000.0,
|
| 128 |
+
"rope_type": "proportional"
|
| 129 |
+
},
|
| 130 |
+
"sliding_attention": {
|
| 131 |
+
"rope_theta": 10000.0,
|
| 132 |
+
"rope_type": "default"
|
| 133 |
+
}
|
| 134 |
+
},
|
| 135 |
+
"sliding_window": 512,
|
| 136 |
+
"tie_word_embeddings": true,
|
| 137 |
+
"top_k_experts": null,
|
| 138 |
+
"use_bidirectional_attention": null,
|
| 139 |
+
"use_cache": true,
|
| 140 |
+
"use_double_wide_mlp": true,
|
| 141 |
+
"vocab_size": 262144,
|
| 142 |
+
"vocab_size_per_layer_input": 262144
|
| 143 |
+
},
|
| 144 |
+
"tie_word_embeddings": true,
|
| 145 |
+
"transformers_version": "5.5.0",
|
| 146 |
+
"use_cache": false,
|
| 147 |
+
"video_token_id": 258884,
|
| 148 |
+
"vision_config": {
|
| 149 |
+
"_name_or_path": "",
|
| 150 |
+
"architectures": null,
|
| 151 |
+
"attention_bias": false,
|
| 152 |
+
"attention_dropout": 0.0,
|
| 153 |
+
"chunk_size_feed_forward": 0,
|
| 154 |
+
"default_output_length": 280,
|
| 155 |
+
"dtype": "bfloat16",
|
| 156 |
+
"global_head_dim": 64,
|
| 157 |
+
"head_dim": 64,
|
| 158 |
+
"hidden_activation": "gelu_pytorch_tanh",
|
| 159 |
+
"hidden_size": 768,
|
| 160 |
+
"id2label": {
|
| 161 |
+
"0": "LABEL_0",
|
| 162 |
+
"1": "LABEL_1"
|
| 163 |
+
},
|
| 164 |
+
"initializer_range": 0.02,
|
| 165 |
+
"intermediate_size": 3072,
|
| 166 |
+
"is_encoder_decoder": false,
|
| 167 |
+
"label2id": {
|
| 168 |
+
"LABEL_0": 0,
|
| 169 |
+
"LABEL_1": 1
|
| 170 |
+
},
|
| 171 |
+
"max_position_embeddings": 131072,
|
| 172 |
+
"model_type": "gemma4_vision",
|
| 173 |
+
"num_attention_heads": 12,
|
| 174 |
+
"num_hidden_layers": 16,
|
| 175 |
+
"num_key_value_heads": 12,
|
| 176 |
+
"output_attentions": false,
|
| 177 |
+
"output_hidden_states": false,
|
| 178 |
+
"patch_size": 16,
|
| 179 |
+
"pooling_kernel_size": 3,
|
| 180 |
+
"position_embedding_size": 10240,
|
| 181 |
+
"problem_type": null,
|
| 182 |
+
"return_dict": true,
|
| 183 |
+
"rms_norm_eps": 1e-06,
|
| 184 |
+
"rope_parameters": {
|
| 185 |
+
"rope_theta": 100.0,
|
| 186 |
+
"rope_type": "default"
|
| 187 |
+
},
|
| 188 |
+
"standardize": false,
|
| 189 |
+
"use_clipped_linears": true
|
| 190 |
+
},
|
| 191 |
+
"vision_soft_tokens_per_image": 280
|
| 192 |
+
}
|
checkpoint-734/generation_config.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token_id": 2,
|
| 3 |
+
"do_sample": true,
|
| 4 |
+
"eos_token_id": [
|
| 5 |
+
1,
|
| 6 |
+
106,
|
| 7 |
+
50
|
| 8 |
+
],
|
| 9 |
+
"pad_token_id": 0,
|
| 10 |
+
"temperature": 1.0,
|
| 11 |
+
"top_k": 64,
|
| 12 |
+
"top_p": 0.95,
|
| 13 |
+
"transformers_version": "5.5.0"
|
| 14 |
+
}
|
checkpoint-734/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2c104602d53cd5d0f9855100cc55106d8781b81fc1c4ad1f0650234c605fb903
|
| 3 |
+
size 10246621918
|
checkpoint-734/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cc8d3a0ce36466ccc1278bf987df5f71db1719b9ca6b4118264f45cb627bfe0f
|
| 3 |
+
size 32169626
|
checkpoint-734/tokenizer_config.json
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"audio_token": "<|audio|>",
|
| 3 |
+
"backend": "tokenizers",
|
| 4 |
+
"boa_token": "<|audio>",
|
| 5 |
+
"boi_token": "<|image>",
|
| 6 |
+
"bos_token": "<bos>",
|
| 7 |
+
"eoa_token": "<audio|>",
|
| 8 |
+
"eoc_token": "<channel|>",
|
| 9 |
+
"eoi_token": "<image|>",
|
| 10 |
+
"eos_token": "<eos>",
|
| 11 |
+
"eot_token": "<turn|>",
|
| 12 |
+
"escape_token": "<|\"|>",
|
| 13 |
+
"etc_token": "<tool_call|>",
|
| 14 |
+
"etd_token": "<tool|>",
|
| 15 |
+
"etr_token": "<tool_response|>",
|
| 16 |
+
"extra_special_tokens": [
|
| 17 |
+
"<|video|>"
|
| 18 |
+
],
|
| 19 |
+
"image_token": "<|image|>",
|
| 20 |
+
"is_local": true,
|
| 21 |
+
"mask_token": "<mask>",
|
| 22 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 23 |
+
"model_specific_special_tokens": {
|
| 24 |
+
"audio_token": "<|audio|>",
|
| 25 |
+
"boa_token": "<|audio>",
|
| 26 |
+
"boi_token": "<|image>",
|
| 27 |
+
"eoa_token": "<audio|>",
|
| 28 |
+
"eoc_token": "<channel|>",
|
| 29 |
+
"eoi_token": "<image|>",
|
| 30 |
+
"eot_token": "<turn|>",
|
| 31 |
+
"escape_token": "<|\"|>",
|
| 32 |
+
"etc_token": "<tool_call|>",
|
| 33 |
+
"etd_token": "<tool|>",
|
| 34 |
+
"etr_token": "<tool_response|>",
|
| 35 |
+
"image_token": "<|image|>",
|
| 36 |
+
"soc_token": "<|channel>",
|
| 37 |
+
"sot_token": "<|turn>",
|
| 38 |
+
"stc_token": "<|tool_call>",
|
| 39 |
+
"std_token": "<|tool>",
|
| 40 |
+
"str_token": "<|tool_response>",
|
| 41 |
+
"think_token": "<|think|>"
|
| 42 |
+
},
|
| 43 |
+
"pad_token": "<pad>",
|
| 44 |
+
"padding_side": "left",
|
| 45 |
+
"processor_class": "Gemma4Processor",
|
| 46 |
+
"response_schema": {
|
| 47 |
+
"properties": {
|
| 48 |
+
"content": {
|
| 49 |
+
"type": "string"
|
| 50 |
+
},
|
| 51 |
+
"role": {
|
| 52 |
+
"const": "assistant"
|
| 53 |
+
},
|
| 54 |
+
"thinking": {
|
| 55 |
+
"type": "string"
|
| 56 |
+
},
|
| 57 |
+
"tool_calls": {
|
| 58 |
+
"items": {
|
| 59 |
+
"properties": {
|
| 60 |
+
"function": {
|
| 61 |
+
"properties": {
|
| 62 |
+
"arguments": {
|
| 63 |
+
"additionalProperties": {},
|
| 64 |
+
"type": "object",
|
| 65 |
+
"x-parser": "gemma4-tool-call"
|
| 66 |
+
},
|
| 67 |
+
"name": {
|
| 68 |
+
"type": "string"
|
| 69 |
+
}
|
| 70 |
+
},
|
| 71 |
+
"type": "object",
|
| 72 |
+
"x-regex": "call\\:(?P<name>\\w+)(?P<arguments>\\{.*\\})"
|
| 73 |
+
},
|
| 74 |
+
"type": {
|
| 75 |
+
"const": "function"
|
| 76 |
+
}
|
| 77 |
+
},
|
| 78 |
+
"type": "object"
|
| 79 |
+
},
|
| 80 |
+
"type": "array",
|
| 81 |
+
"x-regex-iterator": "<\\|tool_call>(.*?)<tool_call\\|>"
|
| 82 |
+
}
|
| 83 |
+
},
|
| 84 |
+
"type": "object",
|
| 85 |
+
"x-regex": "(\\<\\|channel\\>thought\\n(?P<thinking>.*?)\\<channel\\|\\>)?(?P<tool_calls>\\<\\|tool_call\\>.*\\<tool_call\\|\\>)?(?P<content>(?:(?!\\<turn\\|\\>)(?!\\<\\|tool_response\\>).)+)?(?:\\<turn\\|\\>|\\<\\|tool_response\\>)?"
|
| 86 |
+
},
|
| 87 |
+
"soc_token": "<|channel>",
|
| 88 |
+
"sot_token": "<|turn>",
|
| 89 |
+
"stc_token": "<|tool_call>",
|
| 90 |
+
"std_token": "<|tool>",
|
| 91 |
+
"str_token": "<|tool_response>",
|
| 92 |
+
"think_token": "<|think|>",
|
| 93 |
+
"tokenizer_class": "GemmaTokenizer",
|
| 94 |
+
"unk_token": "<unk>"
|
| 95 |
+
}
|
checkpoint-734/trainer_state.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
checkpoint-734/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:44a5b0119e9d82a5dcc1a2b61a8003766a1c33b373ef82e43492f5f35742352d
|
| 3 |
+
size 5265
|
config.json
ADDED
|
@@ -0,0 +1,192 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Gemma4ForConditionalGeneration"
|
| 4 |
+
],
|
| 5 |
+
"audio_config": {
|
| 6 |
+
"_name_or_path": "",
|
| 7 |
+
"architectures": null,
|
| 8 |
+
"attention_chunk_size": 12,
|
| 9 |
+
"attention_context_left": 13,
|
| 10 |
+
"attention_context_right": 0,
|
| 11 |
+
"attention_invalid_logits_value": -1000000000.0,
|
| 12 |
+
"attention_logit_cap": 50.0,
|
| 13 |
+
"chunk_size_feed_forward": 0,
|
| 14 |
+
"conv_kernel_size": 5,
|
| 15 |
+
"dtype": "bfloat16",
|
| 16 |
+
"gradient_clipping": 10000000000.0,
|
| 17 |
+
"hidden_act": "silu",
|
| 18 |
+
"hidden_size": 1024,
|
| 19 |
+
"id2label": {
|
| 20 |
+
"0": "LABEL_0",
|
| 21 |
+
"1": "LABEL_1"
|
| 22 |
+
},
|
| 23 |
+
"initializer_range": 0.02,
|
| 24 |
+
"is_encoder_decoder": false,
|
| 25 |
+
"label2id": {
|
| 26 |
+
"LABEL_0": 0,
|
| 27 |
+
"LABEL_1": 1
|
| 28 |
+
},
|
| 29 |
+
"model_type": "gemma4_audio",
|
| 30 |
+
"num_attention_heads": 8,
|
| 31 |
+
"num_hidden_layers": 12,
|
| 32 |
+
"output_attentions": false,
|
| 33 |
+
"output_hidden_states": false,
|
| 34 |
+
"output_proj_dims": 1536,
|
| 35 |
+
"problem_type": null,
|
| 36 |
+
"residual_weight": 0.5,
|
| 37 |
+
"return_dict": true,
|
| 38 |
+
"rms_norm_eps": 1e-06,
|
| 39 |
+
"subsampling_conv_channels": [
|
| 40 |
+
128,
|
| 41 |
+
32
|
| 42 |
+
],
|
| 43 |
+
"use_clipped_linears": true
|
| 44 |
+
},
|
| 45 |
+
"audio_token_id": 258881,
|
| 46 |
+
"boa_token_id": 256000,
|
| 47 |
+
"boi_token_id": 255999,
|
| 48 |
+
"dtype": "bfloat16",
|
| 49 |
+
"eoa_token_id": 258883,
|
| 50 |
+
"eoa_token_index": 258883,
|
| 51 |
+
"eoi_token_id": 258882,
|
| 52 |
+
"eos_token_id": [
|
| 53 |
+
1,
|
| 54 |
+
106
|
| 55 |
+
],
|
| 56 |
+
"image_token_id": 258880,
|
| 57 |
+
"initializer_range": 0.02,
|
| 58 |
+
"model_type": "gemma4",
|
| 59 |
+
"text_config": {
|
| 60 |
+
"attention_bias": false,
|
| 61 |
+
"attention_dropout": 0.0,
|
| 62 |
+
"attention_k_eq_v": false,
|
| 63 |
+
"bos_token_id": 2,
|
| 64 |
+
"dtype": "bfloat16",
|
| 65 |
+
"enable_moe_block": false,
|
| 66 |
+
"eos_token_id": 1,
|
| 67 |
+
"expert_intermediate_size": null,
|
| 68 |
+
"final_logit_softcapping": 30.0,
|
| 69 |
+
"global_head_dim": 512,
|
| 70 |
+
"head_dim": 256,
|
| 71 |
+
"hidden_activation": "gelu_pytorch_tanh",
|
| 72 |
+
"hidden_size": 1536,
|
| 73 |
+
"hidden_size_per_layer_input": 256,
|
| 74 |
+
"initializer_range": 0.02,
|
| 75 |
+
"intermediate_size": 6144,
|
| 76 |
+
"layer_types": [
|
| 77 |
+
"sliding_attention",
|
| 78 |
+
"sliding_attention",
|
| 79 |
+
"sliding_attention",
|
| 80 |
+
"sliding_attention",
|
| 81 |
+
"full_attention",
|
| 82 |
+
"sliding_attention",
|
| 83 |
+
"sliding_attention",
|
| 84 |
+
"sliding_attention",
|
| 85 |
+
"sliding_attention",
|
| 86 |
+
"full_attention",
|
| 87 |
+
"sliding_attention",
|
| 88 |
+
"sliding_attention",
|
| 89 |
+
"sliding_attention",
|
| 90 |
+
"sliding_attention",
|
| 91 |
+
"full_attention",
|
| 92 |
+
"sliding_attention",
|
| 93 |
+
"sliding_attention",
|
| 94 |
+
"sliding_attention",
|
| 95 |
+
"sliding_attention",
|
| 96 |
+
"full_attention",
|
| 97 |
+
"sliding_attention",
|
| 98 |
+
"sliding_attention",
|
| 99 |
+
"sliding_attention",
|
| 100 |
+
"sliding_attention",
|
| 101 |
+
"full_attention",
|
| 102 |
+
"sliding_attention",
|
| 103 |
+
"sliding_attention",
|
| 104 |
+
"sliding_attention",
|
| 105 |
+
"sliding_attention",
|
| 106 |
+
"full_attention",
|
| 107 |
+
"sliding_attention",
|
| 108 |
+
"sliding_attention",
|
| 109 |
+
"sliding_attention",
|
| 110 |
+
"sliding_attention",
|
| 111 |
+
"full_attention"
|
| 112 |
+
],
|
| 113 |
+
"max_position_embeddings": 131072,
|
| 114 |
+
"model_type": "gemma4_text",
|
| 115 |
+
"moe_intermediate_size": null,
|
| 116 |
+
"num_attention_heads": 8,
|
| 117 |
+
"num_experts": null,
|
| 118 |
+
"num_global_key_value_heads": null,
|
| 119 |
+
"num_hidden_layers": 35,
|
| 120 |
+
"num_key_value_heads": 1,
|
| 121 |
+
"num_kv_shared_layers": 20,
|
| 122 |
+
"pad_token_id": 0,
|
| 123 |
+
"rms_norm_eps": 1e-06,
|
| 124 |
+
"rope_parameters": {
|
| 125 |
+
"full_attention": {
|
| 126 |
+
"partial_rotary_factor": 0.25,
|
| 127 |
+
"rope_theta": 1000000.0,
|
| 128 |
+
"rope_type": "proportional"
|
| 129 |
+
},
|
| 130 |
+
"sliding_attention": {
|
| 131 |
+
"rope_theta": 10000.0,
|
| 132 |
+
"rope_type": "default"
|
| 133 |
+
}
|
| 134 |
+
},
|
| 135 |
+
"sliding_window": 512,
|
| 136 |
+
"tie_word_embeddings": true,
|
| 137 |
+
"top_k_experts": null,
|
| 138 |
+
"use_bidirectional_attention": null,
|
| 139 |
+
"use_cache": true,
|
| 140 |
+
"use_double_wide_mlp": true,
|
| 141 |
+
"vocab_size": 262144,
|
| 142 |
+
"vocab_size_per_layer_input": 262144
|
| 143 |
+
},
|
| 144 |
+
"tie_word_embeddings": true,
|
| 145 |
+
"transformers_version": "5.5.0",
|
| 146 |
+
"use_cache": false,
|
| 147 |
+
"video_token_id": 258884,
|
| 148 |
+
"vision_config": {
|
| 149 |
+
"_name_or_path": "",
|
| 150 |
+
"architectures": null,
|
| 151 |
+
"attention_bias": false,
|
| 152 |
+
"attention_dropout": 0.0,
|
| 153 |
+
"chunk_size_feed_forward": 0,
|
| 154 |
+
"default_output_length": 280,
|
| 155 |
+
"dtype": "bfloat16",
|
| 156 |
+
"global_head_dim": 64,
|
| 157 |
+
"head_dim": 64,
|
| 158 |
+
"hidden_activation": "gelu_pytorch_tanh",
|
| 159 |
+
"hidden_size": 768,
|
| 160 |
+
"id2label": {
|
| 161 |
+
"0": "LABEL_0",
|
| 162 |
+
"1": "LABEL_1"
|
| 163 |
+
},
|
| 164 |
+
"initializer_range": 0.02,
|
| 165 |
+
"intermediate_size": 3072,
|
| 166 |
+
"is_encoder_decoder": false,
|
| 167 |
+
"label2id": {
|
| 168 |
+
"LABEL_0": 0,
|
| 169 |
+
"LABEL_1": 1
|
| 170 |
+
},
|
| 171 |
+
"max_position_embeddings": 131072,
|
| 172 |
+
"model_type": "gemma4_vision",
|
| 173 |
+
"num_attention_heads": 12,
|
| 174 |
+
"num_hidden_layers": 16,
|
| 175 |
+
"num_key_value_heads": 12,
|
| 176 |
+
"output_attentions": false,
|
| 177 |
+
"output_hidden_states": false,
|
| 178 |
+
"patch_size": 16,
|
| 179 |
+
"pooling_kernel_size": 3,
|
| 180 |
+
"position_embedding_size": 10240,
|
| 181 |
+
"problem_type": null,
|
| 182 |
+
"return_dict": true,
|
| 183 |
+
"rms_norm_eps": 1e-06,
|
| 184 |
+
"rope_parameters": {
|
| 185 |
+
"rope_theta": 100.0,
|
| 186 |
+
"rope_type": "default"
|
| 187 |
+
},
|
| 188 |
+
"standardize": false,
|
| 189 |
+
"use_clipped_linears": true
|
| 190 |
+
},
|
| 191 |
+
"vision_soft_tokens_per_image": 280
|
| 192 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token_id": 2,
|
| 3 |
+
"do_sample": true,
|
| 4 |
+
"eos_token_id": [
|
| 5 |
+
1,
|
| 6 |
+
106,
|
| 7 |
+
50
|
| 8 |
+
],
|
| 9 |
+
"pad_token_id": 0,
|
| 10 |
+
"temperature": 1.0,
|
| 11 |
+
"top_k": 64,
|
| 12 |
+
"top_p": 0.95,
|
| 13 |
+
"transformers_version": "5.5.0"
|
| 14 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2c104602d53cd5d0f9855100cc55106d8781b81fc1c4ad1f0650234c605fb903
|
| 3 |
+
size 10246621918
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cc8d3a0ce36466ccc1278bf987df5f71db1719b9ca6b4118264f45cb627bfe0f
|
| 3 |
+
size 32169626
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"audio_token": "<|audio|>",
|
| 3 |
+
"backend": "tokenizers",
|
| 4 |
+
"boa_token": "<|audio>",
|
| 5 |
+
"boi_token": "<|image>",
|
| 6 |
+
"bos_token": "<bos>",
|
| 7 |
+
"eoa_token": "<audio|>",
|
| 8 |
+
"eoc_token": "<channel|>",
|
| 9 |
+
"eoi_token": "<image|>",
|
| 10 |
+
"eos_token": "<eos>",
|
| 11 |
+
"eot_token": "<turn|>",
|
| 12 |
+
"escape_token": "<|\"|>",
|
| 13 |
+
"etc_token": "<tool_call|>",
|
| 14 |
+
"etd_token": "<tool|>",
|
| 15 |
+
"etr_token": "<tool_response|>",
|
| 16 |
+
"extra_special_tokens": [
|
| 17 |
+
"<|video|>"
|
| 18 |
+
],
|
| 19 |
+
"image_token": "<|image|>",
|
| 20 |
+
"is_local": true,
|
| 21 |
+
"mask_token": "<mask>",
|
| 22 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 23 |
+
"model_specific_special_tokens": {
|
| 24 |
+
"audio_token": "<|audio|>",
|
| 25 |
+
"boa_token": "<|audio>",
|
| 26 |
+
"boi_token": "<|image>",
|
| 27 |
+
"eoa_token": "<audio|>",
|
| 28 |
+
"eoc_token": "<channel|>",
|
| 29 |
+
"eoi_token": "<image|>",
|
| 30 |
+
"eot_token": "<turn|>",
|
| 31 |
+
"escape_token": "<|\"|>",
|
| 32 |
+
"etc_token": "<tool_call|>",
|
| 33 |
+
"etd_token": "<tool|>",
|
| 34 |
+
"etr_token": "<tool_response|>",
|
| 35 |
+
"image_token": "<|image|>",
|
| 36 |
+
"soc_token": "<|channel>",
|
| 37 |
+
"sot_token": "<|turn>",
|
| 38 |
+
"stc_token": "<|tool_call>",
|
| 39 |
+
"std_token": "<|tool>",
|
| 40 |
+
"str_token": "<|tool_response>",
|
| 41 |
+
"think_token": "<|think|>"
|
| 42 |
+
},
|
| 43 |
+
"pad_token": "<pad>",
|
| 44 |
+
"padding_side": "left",
|
| 45 |
+
"processor_class": "Gemma4Processor",
|
| 46 |
+
"response_schema": {
|
| 47 |
+
"properties": {
|
| 48 |
+
"content": {
|
| 49 |
+
"type": "string"
|
| 50 |
+
},
|
| 51 |
+
"role": {
|
| 52 |
+
"const": "assistant"
|
| 53 |
+
},
|
| 54 |
+
"thinking": {
|
| 55 |
+
"type": "string"
|
| 56 |
+
},
|
| 57 |
+
"tool_calls": {
|
| 58 |
+
"items": {
|
| 59 |
+
"properties": {
|
| 60 |
+
"function": {
|
| 61 |
+
"properties": {
|
| 62 |
+
"arguments": {
|
| 63 |
+
"additionalProperties": {},
|
| 64 |
+
"type": "object",
|
| 65 |
+
"x-parser": "gemma4-tool-call"
|
| 66 |
+
},
|
| 67 |
+
"name": {
|
| 68 |
+
"type": "string"
|
| 69 |
+
}
|
| 70 |
+
},
|
| 71 |
+
"type": "object",
|
| 72 |
+
"x-regex": "call\\:(?P<name>\\w+)(?P<arguments>\\{.*\\})"
|
| 73 |
+
},
|
| 74 |
+
"type": {
|
| 75 |
+
"const": "function"
|
| 76 |
+
}
|
| 77 |
+
},
|
| 78 |
+
"type": "object"
|
| 79 |
+
},
|
| 80 |
+
"type": "array",
|
| 81 |
+
"x-regex-iterator": "<\\|tool_call>(.*?)<tool_call\\|>"
|
| 82 |
+
}
|
| 83 |
+
},
|
| 84 |
+
"type": "object",
|
| 85 |
+
"x-regex": "(\\<\\|channel\\>thought\\n(?P<thinking>.*?)\\<channel\\|\\>)?(?P<tool_calls>\\<\\|tool_call\\>.*\\<tool_call\\|\\>)?(?P<content>(?:(?!\\<turn\\|\\>)(?!\\<\\|tool_response\\>).)+)?(?:\\<turn\\|\\>|\\<\\|tool_response\\>)?"
|
| 86 |
+
},
|
| 87 |
+
"soc_token": "<|channel>",
|
| 88 |
+
"sot_token": "<|turn>",
|
| 89 |
+
"stc_token": "<|tool_call>",
|
| 90 |
+
"std_token": "<|tool>",
|
| 91 |
+
"str_token": "<|tool_response>",
|
| 92 |
+
"think_token": "<|think|>",
|
| 93 |
+
"tokenizer_class": "GemmaTokenizer",
|
| 94 |
+
"unk_token": "<unk>"
|
| 95 |
+
}
|
trainer_state.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:44a5b0119e9d82a5dcc1a2b61a8003766a1c33b373ef82e43492f5f35742352d
|
| 3 |
+
size 5265
|