graph_epoch_0
Browse files- .gitattributes +1 -0
- graph_epoch_0/.gitattributes +36 -0
- graph_epoch_0/MODELCARD.md +9 -0
- graph_epoch_0/all_results.json +8 -0
- graph_epoch_0/chat_template.jinja +120 -0
- graph_epoch_0/config.json +70 -0
- graph_epoch_0/generation_config.json +14 -0
- graph_epoch_0/model.safetensors +3 -0
- graph_epoch_0/processor_config.json +60 -0
- graph_epoch_0/sft.yaml +53 -0
- graph_epoch_0/tokenizer.json +3 -0
- graph_epoch_0/tokenizer_config.json +32 -0
- graph_epoch_0/train_results.json +8 -0
- graph_epoch_0/trainer_state.json +400 -0
- graph_epoch_0/training_loss.png +0 -0
.gitattributes
CHANGED
|
@@ -35,3 +35,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
gnemi_epoch_0/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 37 |
gnemi_epoch_1_final/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
gnemi_epoch_0/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 37 |
gnemi_epoch_1_final/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
graph_epoch_0/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
graph_epoch_0/.gitattributes
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.xz 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 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
graph_epoch_0/MODELCARD.md
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# graph_epoch_0
|
| 2 |
+
|
| 3 |
+
Qwen3-VL-8B-Instruct checkpoint of the ViewAgent GraphRL pipeline (interactive view planning,
|
| 4 |
+
ScanNet).
|
| 5 |
+
|
| 6 |
+
```python
|
| 7 |
+
from huggingface_hub import snapshot_download
|
| 8 |
+
path = snapshot_download("JamesK2W/viewagent", allow_patterns=["graph_epoch_0/*"]) + "/graph_epoch_0"
|
| 9 |
+
```
|
graph_epoch_0/all_results.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"epoch": 1.790861159929701,
|
| 3 |
+
"total_flos": 60959187533824.0,
|
| 4 |
+
"train_loss": 0.6313069558611103,
|
| 5 |
+
"train_runtime": 1292.1645,
|
| 6 |
+
"train_samples_per_second": 6.315,
|
| 7 |
+
"train_steps_per_second": 0.395
|
| 8 |
+
}
|
graph_epoch_0/chat_template.jinja
ADDED
|
@@ -0,0 +1,120 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- if tools %}
|
| 2 |
+
{{- '<|im_start|>system\n' }}
|
| 3 |
+
{%- if messages[0].role == 'system' %}
|
| 4 |
+
{%- if messages[0].content is string %}
|
| 5 |
+
{{- messages[0].content }}
|
| 6 |
+
{%- else %}
|
| 7 |
+
{%- for content in messages[0].content %}
|
| 8 |
+
{%- if 'text' in content %}
|
| 9 |
+
{{- content.text }}
|
| 10 |
+
{%- endif %}
|
| 11 |
+
{%- endfor %}
|
| 12 |
+
{%- endif %}
|
| 13 |
+
{{- '\n\n' }}
|
| 14 |
+
{%- endif %}
|
| 15 |
+
{{- "# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
|
| 16 |
+
{%- for tool in tools %}
|
| 17 |
+
{{- "\n" }}
|
| 18 |
+
{{- tool | tojson }}
|
| 19 |
+
{%- endfor %}
|
| 20 |
+
{{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
|
| 21 |
+
{%- else %}
|
| 22 |
+
{%- if messages[0].role == 'system' %}
|
| 23 |
+
{{- '<|im_start|>system\n' }}
|
| 24 |
+
{%- if messages[0].content is string %}
|
| 25 |
+
{{- messages[0].content }}
|
| 26 |
+
{%- else %}
|
| 27 |
+
{%- for content in messages[0].content %}
|
| 28 |
+
{%- if 'text' in content %}
|
| 29 |
+
{{- content.text }}
|
| 30 |
+
{%- endif %}
|
| 31 |
+
{%- endfor %}
|
| 32 |
+
{%- endif %}
|
| 33 |
+
{{- '<|im_end|>\n' }}
|
| 34 |
+
{%- endif %}
|
| 35 |
+
{%- endif %}
|
| 36 |
+
{%- set image_count = namespace(value=0) %}
|
| 37 |
+
{%- set video_count = namespace(value=0) %}
|
| 38 |
+
{%- for message in messages %}
|
| 39 |
+
{%- if message.role == "user" %}
|
| 40 |
+
{{- '<|im_start|>' + message.role + '\n' }}
|
| 41 |
+
{%- if message.content is string %}
|
| 42 |
+
{{- message.content }}
|
| 43 |
+
{%- else %}
|
| 44 |
+
{%- for content in message.content %}
|
| 45 |
+
{%- if content.type == 'image' or 'image' in content or 'image_url' in content %}
|
| 46 |
+
{%- set image_count.value = image_count.value + 1 %}
|
| 47 |
+
{%- if add_vision_id %}Picture {{ image_count.value }}: {% endif -%}
|
| 48 |
+
<|vision_start|><|image_pad|><|vision_end|>
|
| 49 |
+
{%- elif content.type == 'video' or 'video' in content %}
|
| 50 |
+
{%- set video_count.value = video_count.value + 1 %}
|
| 51 |
+
{%- if add_vision_id %}Video {{ video_count.value }}: {% endif -%}
|
| 52 |
+
<|vision_start|><|video_pad|><|vision_end|>
|
| 53 |
+
{%- elif 'text' in content %}
|
| 54 |
+
{{- content.text }}
|
| 55 |
+
{%- endif %}
|
| 56 |
+
{%- endfor %}
|
| 57 |
+
{%- endif %}
|
| 58 |
+
{{- '<|im_end|>\n' }}
|
| 59 |
+
{%- elif message.role == "assistant" %}
|
| 60 |
+
{{- '<|im_start|>' + message.role + '\n' }}
|
| 61 |
+
{%- if message.content is string %}
|
| 62 |
+
{{- message.content }}
|
| 63 |
+
{%- else %}
|
| 64 |
+
{%- for content_item in message.content %}
|
| 65 |
+
{%- if 'text' in content_item %}
|
| 66 |
+
{{- content_item.text }}
|
| 67 |
+
{%- endif %}
|
| 68 |
+
{%- endfor %}
|
| 69 |
+
{%- endif %}
|
| 70 |
+
{%- if message.tool_calls %}
|
| 71 |
+
{%- for tool_call in message.tool_calls %}
|
| 72 |
+
{%- if (loop.first and message.content) or (not loop.first) %}
|
| 73 |
+
{{- '\n' }}
|
| 74 |
+
{%- endif %}
|
| 75 |
+
{%- if tool_call.function %}
|
| 76 |
+
{%- set tool_call = tool_call.function %}
|
| 77 |
+
{%- endif %}
|
| 78 |
+
{{- '<tool_call>\n{"name": "' }}
|
| 79 |
+
{{- tool_call.name }}
|
| 80 |
+
{{- '", "arguments": ' }}
|
| 81 |
+
{%- if tool_call.arguments is string %}
|
| 82 |
+
{{- tool_call.arguments }}
|
| 83 |
+
{%- else %}
|
| 84 |
+
{{- tool_call.arguments | tojson }}
|
| 85 |
+
{%- endif %}
|
| 86 |
+
{{- '}\n</tool_call>' }}
|
| 87 |
+
{%- endfor %}
|
| 88 |
+
{%- endif %}
|
| 89 |
+
{{- '<|im_end|>\n' }}
|
| 90 |
+
{%- elif message.role == "tool" %}
|
| 91 |
+
{%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
|
| 92 |
+
{{- '<|im_start|>user' }}
|
| 93 |
+
{%- endif %}
|
| 94 |
+
{{- '\n<tool_response>\n' }}
|
| 95 |
+
{%- if message.content is string %}
|
| 96 |
+
{{- message.content }}
|
| 97 |
+
{%- else %}
|
| 98 |
+
{%- for content in message.content %}
|
| 99 |
+
{%- if content.type == 'image' or 'image' in content or 'image_url' in content %}
|
| 100 |
+
{%- set image_count.value = image_count.value + 1 %}
|
| 101 |
+
{%- if add_vision_id %}Picture {{ image_count.value }}: {% endif -%}
|
| 102 |
+
<|vision_start|><|image_pad|><|vision_end|>
|
| 103 |
+
{%- elif content.type == 'video' or 'video' in content %}
|
| 104 |
+
{%- set video_count.value = video_count.value + 1 %}
|
| 105 |
+
{%- if add_vision_id %}Video {{ video_count.value }}: {% endif -%}
|
| 106 |
+
<|vision_start|><|video_pad|><|vision_end|>
|
| 107 |
+
{%- elif 'text' in content %}
|
| 108 |
+
{{- content.text }}
|
| 109 |
+
{%- endif %}
|
| 110 |
+
{%- endfor %}
|
| 111 |
+
{%- endif %}
|
| 112 |
+
{{- '\n</tool_response>' }}
|
| 113 |
+
{%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
|
| 114 |
+
{{- '<|im_end|>\n' }}
|
| 115 |
+
{%- endif %}
|
| 116 |
+
{%- endif %}
|
| 117 |
+
{%- endfor %}
|
| 118 |
+
{%- if add_generation_prompt %}
|
| 119 |
+
{{- '<|im_start|>assistant\n' }}
|
| 120 |
+
{%- endif %}
|
graph_epoch_0/config.json
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Qwen3VLForConditionalGeneration"
|
| 4 |
+
],
|
| 5 |
+
"bos_token_id": null,
|
| 6 |
+
"dtype": "bfloat16",
|
| 7 |
+
"eos_token_id": 151645,
|
| 8 |
+
"hidden_size": 4096,
|
| 9 |
+
"image_token_id": 151655,
|
| 10 |
+
"model_type": "qwen3_vl",
|
| 11 |
+
"pad_token_id": 151643,
|
| 12 |
+
"text_config": {
|
| 13 |
+
"attention_bias": false,
|
| 14 |
+
"attention_dropout": 0.0,
|
| 15 |
+
"bos_token_id": 151643,
|
| 16 |
+
"dtype": "bfloat16",
|
| 17 |
+
"eos_token_id": 151645,
|
| 18 |
+
"head_dim": 128,
|
| 19 |
+
"hidden_act": "silu",
|
| 20 |
+
"hidden_size": 4096,
|
| 21 |
+
"initializer_range": 0.02,
|
| 22 |
+
"intermediate_size": 12288,
|
| 23 |
+
"max_position_embeddings": 262144,
|
| 24 |
+
"model_type": "qwen3_vl_text",
|
| 25 |
+
"num_attention_heads": 32,
|
| 26 |
+
"num_hidden_layers": 36,
|
| 27 |
+
"num_key_value_heads": 8,
|
| 28 |
+
"pad_token_id": null,
|
| 29 |
+
"rms_norm_eps": 1e-06,
|
| 30 |
+
"rope_parameters": {
|
| 31 |
+
"mrope_interleaved": true,
|
| 32 |
+
"mrope_section": [
|
| 33 |
+
24,
|
| 34 |
+
20,
|
| 35 |
+
20
|
| 36 |
+
],
|
| 37 |
+
"rope_theta": 5000000,
|
| 38 |
+
"rope_type": "default"
|
| 39 |
+
},
|
| 40 |
+
"use_cache": false,
|
| 41 |
+
"vocab_size": 151936
|
| 42 |
+
},
|
| 43 |
+
"tie_word_embeddings": false,
|
| 44 |
+
"transformers_version": "5.8.0",
|
| 45 |
+
"use_cache": false,
|
| 46 |
+
"video_token_id": 151656,
|
| 47 |
+
"vision_config": {
|
| 48 |
+
"deepstack_visual_indexes": [
|
| 49 |
+
8,
|
| 50 |
+
16,
|
| 51 |
+
24
|
| 52 |
+
],
|
| 53 |
+
"depth": 27,
|
| 54 |
+
"dtype": "bfloat16",
|
| 55 |
+
"hidden_act": "gelu_pytorch_tanh",
|
| 56 |
+
"hidden_size": 1152,
|
| 57 |
+
"in_channels": 3,
|
| 58 |
+
"initializer_range": 0.02,
|
| 59 |
+
"intermediate_size": 4304,
|
| 60 |
+
"model_type": "qwen3_vl_vision",
|
| 61 |
+
"num_heads": 16,
|
| 62 |
+
"num_position_embeddings": 2304,
|
| 63 |
+
"out_hidden_size": 4096,
|
| 64 |
+
"patch_size": 16,
|
| 65 |
+
"spatial_merge_size": 2,
|
| 66 |
+
"temporal_patch_size": 2
|
| 67 |
+
},
|
| 68 |
+
"vision_end_token_id": 151653,
|
| 69 |
+
"vision_start_token_id": 151652
|
| 70 |
+
}
|
graph_epoch_0/generation_config.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"do_sample": true,
|
| 3 |
+
"eos_token_id": [
|
| 4 |
+
151645,
|
| 5 |
+
151645,
|
| 6 |
+
151643
|
| 7 |
+
],
|
| 8 |
+
"pad_token_id": 151643,
|
| 9 |
+
"repetition_penalty": 1.0,
|
| 10 |
+
"temperature": 0.7,
|
| 11 |
+
"top_k": 20,
|
| 12 |
+
"top_p": 0.8,
|
| 13 |
+
"transformers_version": "5.8.0"
|
| 14 |
+
}
|
graph_epoch_0/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7fc08268e219d06710554b95af9805d6889454536e2dd8e7c8363f6e28fcfa6a
|
| 3 |
+
size 17534340584
|
graph_epoch_0/processor_config.json
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"image_processor": {
|
| 3 |
+
"do_convert_rgb": true,
|
| 4 |
+
"do_normalize": true,
|
| 5 |
+
"do_rescale": true,
|
| 6 |
+
"do_resize": true,
|
| 7 |
+
"image_mean": [
|
| 8 |
+
0.5,
|
| 9 |
+
0.5,
|
| 10 |
+
0.5
|
| 11 |
+
],
|
| 12 |
+
"image_processor_type": "Qwen2VLImageProcessor",
|
| 13 |
+
"image_std": [
|
| 14 |
+
0.5,
|
| 15 |
+
0.5,
|
| 16 |
+
0.5
|
| 17 |
+
],
|
| 18 |
+
"merge_size": 2,
|
| 19 |
+
"patch_size": 16,
|
| 20 |
+
"resample": 3,
|
| 21 |
+
"rescale_factor": 0.00392156862745098,
|
| 22 |
+
"size": {
|
| 23 |
+
"longest_edge": 16777216,
|
| 24 |
+
"shortest_edge": 65536
|
| 25 |
+
},
|
| 26 |
+
"temporal_patch_size": 2
|
| 27 |
+
},
|
| 28 |
+
"processor_class": "Qwen3VLProcessor",
|
| 29 |
+
"video_processor": {
|
| 30 |
+
"do_convert_rgb": true,
|
| 31 |
+
"do_normalize": true,
|
| 32 |
+
"do_rescale": true,
|
| 33 |
+
"do_resize": true,
|
| 34 |
+
"do_sample_frames": true,
|
| 35 |
+
"fps": 2,
|
| 36 |
+
"image_mean": [
|
| 37 |
+
0.5,
|
| 38 |
+
0.5,
|
| 39 |
+
0.5
|
| 40 |
+
],
|
| 41 |
+
"image_std": [
|
| 42 |
+
0.5,
|
| 43 |
+
0.5,
|
| 44 |
+
0.5
|
| 45 |
+
],
|
| 46 |
+
"max_frames": 768,
|
| 47 |
+
"merge_size": 2,
|
| 48 |
+
"min_frames": 4,
|
| 49 |
+
"patch_size": 16,
|
| 50 |
+
"resample": 3,
|
| 51 |
+
"rescale_factor": 0.00392156862745098,
|
| 52 |
+
"return_metadata": false,
|
| 53 |
+
"size": {
|
| 54 |
+
"longest_edge": 25165824,
|
| 55 |
+
"shortest_edge": 4096
|
| 56 |
+
},
|
| 57 |
+
"temporal_patch_size": 2,
|
| 58 |
+
"video_processor_type": "Qwen3VLVideoProcessor"
|
| 59 |
+
}
|
| 60 |
+
}
|
graph_epoch_0/sft.yaml
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# LLaMA-Factory full-parameter SFT of Qwen3-VL-8B-Instruct on one HER-final dataset.
|
| 2 |
+
# Four L40S (46 GB), one run at a time: DeepSpeed ZeRO-3 with optimizer offload to host
|
| 3 |
+
# RAM (~130 GB per run, so two runs do not fit in 372 GB); the vision tower and projector
|
| 4 |
+
# stay frozen (LLaMA-Factory's default for VLMs), the LLM trains.
|
| 5 |
+
# Filled per run by launch_sft.sh: graph_scene_b801010, /root/sft_data/graph_scene_b801010_k1024, /root/runs/graph_scene_b801010.
|
| 6 |
+
### model
|
| 7 |
+
model_name_or_path: /root/models/Qwen3-VL-8B-Instruct
|
| 8 |
+
template: qwen3_vl_nothink
|
| 9 |
+
trust_remote_code: true
|
| 10 |
+
image_max_pixels: 65536 # frames are 256x256 already; never upscale
|
| 11 |
+
image_min_pixels: 4096
|
| 12 |
+
|
| 13 |
+
### method
|
| 14 |
+
stage: sft
|
| 15 |
+
do_train: true
|
| 16 |
+
finetuning_type: full
|
| 17 |
+
freeze_vision_tower: true
|
| 18 |
+
freeze_multi_modal_projector: true
|
| 19 |
+
freeze_language_model: false
|
| 20 |
+
deepspeed: /root/LlamaFactory/examples/deepspeed/ds_z3_config.json
|
| 21 |
+
|
| 22 |
+
### dataset
|
| 23 |
+
dataset: graph_scene_b801010
|
| 24 |
+
dataset_dir: /root/sft_data/graph_scene_b801010_k1024
|
| 25 |
+
media_dir: /root/viewagent_private
|
| 26 |
+
cutoff_len: 8192
|
| 27 |
+
overwrite_cache: true
|
| 28 |
+
preprocessing_num_workers: 16
|
| 29 |
+
dataloader_num_workers: 4
|
| 30 |
+
|
| 31 |
+
### output
|
| 32 |
+
output_dir: /root/runs/graph_scene_b801010
|
| 33 |
+
logging_steps: 10
|
| 34 |
+
save_strategy: steps
|
| 35 |
+
save_steps: 170
|
| 36 |
+
save_total_limit: 3
|
| 37 |
+
save_only_model: true
|
| 38 |
+
plot_loss: true
|
| 39 |
+
overwrite_output_dir: true
|
| 40 |
+
report_to: none
|
| 41 |
+
|
| 42 |
+
### train
|
| 43 |
+
per_device_train_batch_size: 1
|
| 44 |
+
gradient_accumulation_steps: 2
|
| 45 |
+
max_steps: 510 # equal update budget for both runs (~1 pass over 8,173 rows)
|
| 46 |
+
learning_rate: 1.0e-5
|
| 47 |
+
lr_scheduler_type: cosine
|
| 48 |
+
warmup_ratio: 0.03
|
| 49 |
+
weight_decay: 0.01
|
| 50 |
+
bf16: true
|
| 51 |
+
gradient_checkpointing: true
|
| 52 |
+
ddp_timeout: 180000000
|
| 53 |
+
seed: 0
|
graph_epoch_0/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:be75606093db2094d7cd20f3c2f385c212750648bd6ea4fb2bf507a6a4c55506
|
| 3 |
+
size 11422650
|
graph_epoch_0/tokenizer_config.json
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"backend": "tokenizers",
|
| 4 |
+
"bos_token": null,
|
| 5 |
+
"clean_up_tokenization_spaces": false,
|
| 6 |
+
"eos_token": "<|im_end|>",
|
| 7 |
+
"errors": "replace",
|
| 8 |
+
"extra_special_tokens": [
|
| 9 |
+
"<|im_start|>",
|
| 10 |
+
"<|im_end|>",
|
| 11 |
+
"<|object_ref_start|>",
|
| 12 |
+
"<|object_ref_end|>",
|
| 13 |
+
"<|box_start|>",
|
| 14 |
+
"<|box_end|>",
|
| 15 |
+
"<|quad_start|>",
|
| 16 |
+
"<|quad_end|>",
|
| 17 |
+
"<|vision_start|>",
|
| 18 |
+
"<|vision_end|>",
|
| 19 |
+
"<|vision_pad|>",
|
| 20 |
+
"<|image_pad|>",
|
| 21 |
+
"<|video_pad|>"
|
| 22 |
+
],
|
| 23 |
+
"is_local": true,
|
| 24 |
+
"local_files_only": false,
|
| 25 |
+
"model_max_length": 262144,
|
| 26 |
+
"pad_token": "<|endoftext|>",
|
| 27 |
+
"padding_side": "right",
|
| 28 |
+
"processor_class": "Qwen3VLProcessor",
|
| 29 |
+
"split_special_tokens": false,
|
| 30 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 31 |
+
"unk_token": null
|
| 32 |
+
}
|
graph_epoch_0/train_results.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"epoch": 1.790861159929701,
|
| 3 |
+
"total_flos": 60959187533824.0,
|
| 4 |
+
"train_loss": 0.6313069558611103,
|
| 5 |
+
"train_runtime": 1292.1645,
|
| 6 |
+
"train_samples_per_second": 6.315,
|
| 7 |
+
"train_steps_per_second": 0.395
|
| 8 |
+
}
|
graph_epoch_0/trainer_state.json
ADDED
|
@@ -0,0 +1,400 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": null,
|
| 3 |
+
"best_metric": null,
|
| 4 |
+
"best_model_checkpoint": null,
|
| 5 |
+
"epoch": 1.790861159929701,
|
| 6 |
+
"eval_steps": 500,
|
| 7 |
+
"global_step": 510,
|
| 8 |
+
"is_hyper_param_search": false,
|
| 9 |
+
"is_local_process_zero": true,
|
| 10 |
+
"is_world_process_zero": true,
|
| 11 |
+
"log_history": [
|
| 12 |
+
{
|
| 13 |
+
"epoch": 0.0351493848857645,
|
| 14 |
+
"grad_norm": 6.278096259282107,
|
| 15 |
+
"learning_rate": 5.625e-06,
|
| 16 |
+
"loss": 0.9084915161132813,
|
| 17 |
+
"step": 10
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"epoch": 0.070298769771529,
|
| 21 |
+
"grad_norm": 3.6331372712446486,
|
| 22 |
+
"learning_rate": 9.999090054896397e-06,
|
| 23 |
+
"loss": 0.8169801712036133,
|
| 24 |
+
"step": 20
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"epoch": 0.1054481546572935,
|
| 28 |
+
"grad_norm": 2.9908653115492245,
|
| 29 |
+
"learning_rate": 9.98292246503335e-06,
|
| 30 |
+
"loss": 0.7732008934020996,
|
| 31 |
+
"step": 30
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"epoch": 0.140597539543058,
|
| 35 |
+
"grad_norm": 3.0042485647099246,
|
| 36 |
+
"learning_rate": 9.946609117610508e-06,
|
| 37 |
+
"loss": 0.7605951309204102,
|
| 38 |
+
"step": 40
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
"epoch": 0.1757469244288225,
|
| 42 |
+
"grad_norm": 3.223296409918759,
|
| 43 |
+
"learning_rate": 9.89029682604881e-06,
|
| 44 |
+
"loss": 0.7571172714233398,
|
| 45 |
+
"step": 50
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"epoch": 0.210896309314587,
|
| 49 |
+
"grad_norm": 3.006856371599571,
|
| 50 |
+
"learning_rate": 9.814213258705813e-06,
|
| 51 |
+
"loss": 0.7587286949157714,
|
| 52 |
+
"step": 60
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"epoch": 0.2460456942003515,
|
| 56 |
+
"grad_norm": 2.831241538535402,
|
| 57 |
+
"learning_rate": 9.71866601842156e-06,
|
| 58 |
+
"loss": 0.7482702255249023,
|
| 59 |
+
"step": 70
|
| 60 |
+
},
|
| 61 |
+
{
|
| 62 |
+
"epoch": 0.281195079086116,
|
| 63 |
+
"grad_norm": 2.952447234736118,
|
| 64 |
+
"learning_rate": 9.604041398892528e-06,
|
| 65 |
+
"loss": 0.7249799728393554,
|
| 66 |
+
"step": 80
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"epoch": 0.3163444639718805,
|
| 70 |
+
"grad_norm": 2.653656602471469,
|
| 71 |
+
"learning_rate": 9.470802822901558e-06,
|
| 72 |
+
"loss": 0.7315261840820313,
|
| 73 |
+
"step": 90
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"epoch": 0.351493848857645,
|
| 77 |
+
"grad_norm": 2.864053404566767,
|
| 78 |
+
"learning_rate": 9.31948896871795e-06,
|
| 79 |
+
"loss": 0.7015914440155029,
|
| 80 |
+
"step": 100
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"epoch": 0.3866432337434095,
|
| 84 |
+
"grad_norm": 2.3045514301049708,
|
| 85 |
+
"learning_rate": 9.150711592242627e-06,
|
| 86 |
+
"loss": 0.7025287628173829,
|
| 87 |
+
"step": 110
|
| 88 |
+
},
|
| 89 |
+
{
|
| 90 |
+
"epoch": 0.421792618629174,
|
| 91 |
+
"grad_norm": 2.5545038781024387,
|
| 92 |
+
"learning_rate": 8.965153053703325e-06,
|
| 93 |
+
"loss": 0.7210351943969726,
|
| 94 |
+
"step": 120
|
| 95 |
+
},
|
| 96 |
+
{
|
| 97 |
+
"epoch": 0.45694200351493847,
|
| 98 |
+
"grad_norm": 2.4553034267827023,
|
| 99 |
+
"learning_rate": 8.763563558899317e-06,
|
| 100 |
+
"loss": 0.6796262741088868,
|
| 101 |
+
"step": 130
|
| 102 |
+
},
|
| 103 |
+
{
|
| 104 |
+
"epoch": 0.492091388400703,
|
| 105 |
+
"grad_norm": 2.221687697158951,
|
| 106 |
+
"learning_rate": 8.546758126149148e-06,
|
| 107 |
+
"loss": 0.6920151710510254,
|
| 108 |
+
"step": 140
|
| 109 |
+
},
|
| 110 |
+
{
|
| 111 |
+
"epoch": 0.5272407732864675,
|
| 112 |
+
"grad_norm": 2.2066268668928903,
|
| 113 |
+
"learning_rate": 8.315613291203977e-06,
|
| 114 |
+
"loss": 0.7003077030181885,
|
| 115 |
+
"step": 150
|
| 116 |
+
},
|
| 117 |
+
{
|
| 118 |
+
"epoch": 0.562390158172232,
|
| 119 |
+
"grad_norm": 2.1448081876793483,
|
| 120 |
+
"learning_rate": 8.071063563448341e-06,
|
| 121 |
+
"loss": 0.7108040809631347,
|
| 122 |
+
"step": 160
|
| 123 |
+
},
|
| 124 |
+
{
|
| 125 |
+
"epoch": 0.5975395430579965,
|
| 126 |
+
"grad_norm": 2.1756459600523694,
|
| 127 |
+
"learning_rate": 7.814097647715848e-06,
|
| 128 |
+
"loss": 0.7066202163696289,
|
| 129 |
+
"step": 170
|
| 130 |
+
},
|
| 131 |
+
{
|
| 132 |
+
"epoch": 0.632688927943761,
|
| 133 |
+
"grad_norm": 2.629165746175461,
|
| 134 |
+
"learning_rate": 7.5457544469948164e-06,
|
| 135 |
+
"loss": 0.6910131454467774,
|
| 136 |
+
"step": 180
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"epoch": 0.6678383128295254,
|
| 140 |
+
"grad_norm": 2.3229845016911375,
|
| 141 |
+
"learning_rate": 7.267118862184767e-06,
|
| 142 |
+
"loss": 0.6542898654937744,
|
| 143 |
+
"step": 190
|
| 144 |
+
},
|
| 145 |
+
{
|
| 146 |
+
"epoch": 0.70298769771529,
|
| 147 |
+
"grad_norm": 2.1923869810324756,
|
| 148 |
+
"learning_rate": 6.9793174058851805e-06,
|
| 149 |
+
"loss": 0.693804931640625,
|
| 150 |
+
"step": 200
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"epoch": 0.7381370826010545,
|
| 154 |
+
"grad_norm": 2.1367751639035713,
|
| 155 |
+
"learning_rate": 6.683513647949826e-06,
|
| 156 |
+
"loss": 0.7076559066772461,
|
| 157 |
+
"step": 210
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"epoch": 0.773286467486819,
|
| 161 |
+
"grad_norm": 2.0456065016164997,
|
| 162 |
+
"learning_rate": 6.38090351122006e-06,
|
| 163 |
+
"loss": 0.6664181709289551,
|
| 164 |
+
"step": 220
|
| 165 |
+
},
|
| 166 |
+
{
|
| 167 |
+
"epoch": 0.8084358523725835,
|
| 168 |
+
"grad_norm": 2.123407040948006,
|
| 169 |
+
"learning_rate": 6.072710436456293e-06,
|
| 170 |
+
"loss": 0.7038721084594727,
|
| 171 |
+
"step": 230
|
| 172 |
+
},
|
| 173 |
+
{
|
| 174 |
+
"epoch": 0.843585237258348,
|
| 175 |
+
"grad_norm": 2.1497633512403014,
|
| 176 |
+
"learning_rate": 5.760180436015604e-06,
|
| 177 |
+
"loss": 0.6690019607543946,
|
| 178 |
+
"step": 240
|
| 179 |
+
},
|
| 180 |
+
{
|
| 181 |
+
"epoch": 0.8787346221441125,
|
| 182 |
+
"grad_norm": 2.2002946157420222,
|
| 183 |
+
"learning_rate": 5.444577056273284e-06,
|
| 184 |
+
"loss": 0.7084089279174804,
|
| 185 |
+
"step": 250
|
| 186 |
+
},
|
| 187 |
+
{
|
| 188 |
+
"epoch": 0.9138840070298769,
|
| 189 |
+
"grad_norm": 2.424827713866129,
|
| 190 |
+
"learning_rate": 5.1271762691550375e-06,
|
| 191 |
+
"loss": 0.6761907577514649,
|
| 192 |
+
"step": 260
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"epoch": 0.9490333919156415,
|
| 196 |
+
"grad_norm": 2.224520502627956,
|
| 197 |
+
"learning_rate": 4.809261313433176e-06,
|
| 198 |
+
"loss": 0.6852016448974609,
|
| 199 |
+
"step": 270
|
| 200 |
+
},
|
| 201 |
+
{
|
| 202 |
+
"epoch": 0.984182776801406,
|
| 203 |
+
"grad_norm": 1.8445152026218052,
|
| 204 |
+
"learning_rate": 4.492117506643256e-06,
|
| 205 |
+
"loss": 0.6881031036376953,
|
| 206 |
+
"step": 280
|
| 207 |
+
},
|
| 208 |
+
{
|
| 209 |
+
"epoch": 1.0175746924428823,
|
| 210 |
+
"grad_norm": 1.8230936110227824,
|
| 211 |
+
"learning_rate": 4.17702704859633e-06,
|
| 212 |
+
"loss": 0.6024819374084472,
|
| 213 |
+
"step": 290
|
| 214 |
+
},
|
| 215 |
+
{
|
| 216 |
+
"epoch": 1.0527240773286468,
|
| 217 |
+
"grad_norm": 1.9744350878935748,
|
| 218 |
+
"learning_rate": 3.865263837496072e-06,
|
| 219 |
+
"loss": 0.5643129348754883,
|
| 220 |
+
"step": 300
|
| 221 |
+
},
|
| 222 |
+
{
|
| 223 |
+
"epoch": 1.0878734622144113,
|
| 224 |
+
"grad_norm": 1.9618138490487484,
|
| 225 |
+
"learning_rate": 3.5580883196189265e-06,
|
| 226 |
+
"loss": 0.5441983699798584,
|
| 227 |
+
"step": 310
|
| 228 |
+
},
|
| 229 |
+
{
|
| 230 |
+
"epoch": 1.1230228471001757,
|
| 231 |
+
"grad_norm": 1.9115536703867921,
|
| 232 |
+
"learning_rate": 3.256742393379909e-06,
|
| 233 |
+
"loss": 0.5266704559326172,
|
| 234 |
+
"step": 320
|
| 235 |
+
},
|
| 236 |
+
{
|
| 237 |
+
"epoch": 1.1581722319859402,
|
| 238 |
+
"grad_norm": 2.1347500782458733,
|
| 239 |
+
"learning_rate": 2.9624443883866403e-06,
|
| 240 |
+
"loss": 0.5213542938232422,
|
| 241 |
+
"step": 330
|
| 242 |
+
},
|
| 243 |
+
{
|
| 244 |
+
"epoch": 1.1933216168717047,
|
| 245 |
+
"grad_norm": 1.851494415342933,
|
| 246 |
+
"learning_rate": 2.6763841397811576e-06,
|
| 247 |
+
"loss": 0.5169600486755371,
|
| 248 |
+
"step": 340
|
| 249 |
+
},
|
| 250 |
+
{
|
| 251 |
+
"epoch": 1.2284710017574691,
|
| 252 |
+
"grad_norm": 2.2004480026852096,
|
| 253 |
+
"learning_rate": 2.3997181777836955e-06,
|
| 254 |
+
"loss": 0.5154135704040528,
|
| 255 |
+
"step": 350
|
| 256 |
+
},
|
| 257 |
+
{
|
| 258 |
+
"epoch": 1.2636203866432338,
|
| 259 |
+
"grad_norm": 2.064960097474409,
|
| 260 |
+
"learning_rate": 2.1335650518869555e-06,
|
| 261 |
+
"loss": 0.5326839447021484,
|
| 262 |
+
"step": 360
|
| 263 |
+
},
|
| 264 |
+
{
|
| 265 |
+
"epoch": 1.2987697715289983,
|
| 266 |
+
"grad_norm": 2.2791411946769733,
|
| 267 |
+
"learning_rate": 1.8790008086049534e-06,
|
| 268 |
+
"loss": 0.5299165725708008,
|
| 269 |
+
"step": 370
|
| 270 |
+
},
|
| 271 |
+
{
|
| 272 |
+
"epoch": 1.3339191564147628,
|
| 273 |
+
"grad_norm": 2.1747163997571644,
|
| 274 |
+
"learning_rate": 1.6370546410597066e-06,
|
| 275 |
+
"loss": 0.5298036098480224,
|
| 276 |
+
"step": 380
|
| 277 |
+
},
|
| 278 |
+
{
|
| 279 |
+
"epoch": 1.3690685413005272,
|
| 280 |
+
"grad_norm": 2.1670480068866476,
|
| 281 |
+
"learning_rate": 1.4087047279943267e-06,
|
| 282 |
+
"loss": 0.5323153972625733,
|
| 283 |
+
"step": 390
|
| 284 |
+
},
|
| 285 |
+
{
|
| 286 |
+
"epoch": 1.4042179261862917,
|
| 287 |
+
"grad_norm": 2.178341675043311,
|
| 288 |
+
"learning_rate": 1.1948742790352342e-06,
|
| 289 |
+
"loss": 0.5313343048095703,
|
| 290 |
+
"step": 400
|
| 291 |
+
},
|
| 292 |
+
{
|
| 293 |
+
"epoch": 1.4393673110720562,
|
| 294 |
+
"grad_norm": 2.2167608532468885,
|
| 295 |
+
"learning_rate": 9.964278021923107e-07,
|
| 296 |
+
"loss": 0.5045088768005371,
|
| 297 |
+
"step": 410
|
| 298 |
+
},
|
| 299 |
+
{
|
| 300 |
+
"epoch": 1.4745166959578206,
|
| 301 |
+
"grad_norm": 2.1066242945859392,
|
| 302 |
+
"learning_rate": 8.141676086873574e-07,
|
| 303 |
+
"loss": 0.5003239631652832,
|
| 304 |
+
"step": 420
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"epoch": 1.5096660808435853,
|
| 308 |
+
"grad_norm": 2.1073700284966517,
|
| 309 |
+
"learning_rate": 6.488305692417074e-07,
|
| 310 |
+
"loss": 0.5294024467468261,
|
| 311 |
+
"step": 430
|
| 312 |
+
},
|
| 313 |
+
{
|
| 314 |
+
"epoch": 1.5448154657293496,
|
| 315 |
+
"grad_norm": 2.004653967796236,
|
| 316 |
+
"learning_rate": 5.010851349371704e-07,
|
| 317 |
+
"loss": 0.5233042240142822,
|
| 318 |
+
"step": 440
|
| 319 |
+
},
|
| 320 |
+
{
|
| 321 |
+
"epoch": 1.5799648506151143,
|
| 322 |
+
"grad_norm": 2.2332707746551135,
|
| 323 |
+
"learning_rate": 3.715286346948671e-07,
|
| 324 |
+
"loss": 0.49408349990844724,
|
| 325 |
+
"step": 450
|
| 326 |
+
},
|
| 327 |
+
{
|
| 328 |
+
"epoch": 1.6151142355008787,
|
| 329 |
+
"grad_norm": 2.191790920883347,
|
| 330 |
+
"learning_rate": 2.6068486029813154e-07,
|
| 331 |
+
"loss": 0.5186878204345703,
|
| 332 |
+
"step": 460
|
| 333 |
+
},
|
| 334 |
+
{
|
| 335 |
+
"epoch": 1.6502636203866432,
|
| 336 |
+
"grad_norm": 2.090930593332735,
|
| 337 |
+
"learning_rate": 1.69001948723142e-07,
|
| 338 |
+
"loss": 0.4858062744140625,
|
| 339 |
+
"step": 470
|
| 340 |
+
},
|
| 341 |
+
{
|
| 342 |
+
"epoch": 1.685413005272408,
|
| 343 |
+
"grad_norm": 2.1621725110130487,
|
| 344 |
+
"learning_rate": 9.685057033892998e-08,
|
| 345 |
+
"loss": 0.5107901096343994,
|
| 346 |
+
"step": 480
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"epoch": 1.7205623901581721,
|
| 350 |
+
"grad_norm": 1.8955043517645798,
|
| 351 |
+
"learning_rate": 4.45224303018027e-08,
|
| 352 |
+
"loss": 0.5104897499084473,
|
| 353 |
+
"step": 490
|
| 354 |
+
},
|
| 355 |
+
{
|
| 356 |
+
"epoch": 1.7557117750439368,
|
| 357 |
+
"grad_norm": 2.2608050891582776,
|
| 358 |
+
"learning_rate": 1.2229089202987487e-08,
|
| 359 |
+
"loss": 0.5028838157653809,
|
| 360 |
+
"step": 500
|
| 361 |
+
},
|
| 362 |
+
{
|
| 363 |
+
"epoch": 1.790861159929701,
|
| 364 |
+
"grad_norm": 2.217597617676314,
|
| 365 |
+
"learning_rate": 1.011077375662195e-10,
|
| 366 |
+
"loss": 0.5305490970611573,
|
| 367 |
+
"step": 510
|
| 368 |
+
},
|
| 369 |
+
{
|
| 370 |
+
"epoch": 1.790861159929701,
|
| 371 |
+
"step": 510,
|
| 372 |
+
"total_flos": 60959187533824.0,
|
| 373 |
+
"train_loss": 0.6313069558611103,
|
| 374 |
+
"train_runtime": 1292.1645,
|
| 375 |
+
"train_samples_per_second": 6.315,
|
| 376 |
+
"train_steps_per_second": 0.395
|
| 377 |
+
}
|
| 378 |
+
],
|
| 379 |
+
"logging_steps": 10,
|
| 380 |
+
"max_steps": 510,
|
| 381 |
+
"num_input_tokens_seen": 0,
|
| 382 |
+
"num_train_epochs": 2,
|
| 383 |
+
"save_steps": 170,
|
| 384 |
+
"stateful_callbacks": {
|
| 385 |
+
"TrainerControl": {
|
| 386 |
+
"args": {
|
| 387 |
+
"should_epoch_stop": false,
|
| 388 |
+
"should_evaluate": false,
|
| 389 |
+
"should_log": false,
|
| 390 |
+
"should_save": true,
|
| 391 |
+
"should_training_stop": true
|
| 392 |
+
},
|
| 393 |
+
"attributes": {}
|
| 394 |
+
}
|
| 395 |
+
},
|
| 396 |
+
"total_flos": 60959187533824.0,
|
| 397 |
+
"train_batch_size": 1,
|
| 398 |
+
"trial_name": null,
|
| 399 |
+
"trial_params": null
|
| 400 |
+
}
|
graph_epoch_0/training_loss.png
ADDED
|