lym0302 commited on
Commit
5d465e5
·
verified ·
1 Parent(s): 4a8600c

Upload folder using huggingface_hub

Browse files
README.md CHANGED
@@ -1,3 +1,169 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ datasets:
4
+ - lmms-lab/ClothoAQA
5
+ - Loie/VGGSound
6
+ language:
7
+ - en
8
+ metrics:
9
+ - accuracy
10
+ pipeline_tag: visual-question-answering
11
+ library_name: transformers
12
+ tags:
13
+ - Audio-visual Question Answering
14
+ - Audio Question Answering
15
+ - multimodal large language model
16
+ ---
17
+
18
+
19
+ <p align="center">
20
+ <img src="https://cdn-uploads.huggingface.co/production/uploads/63913b120cf6b11c487ca31d/ROs4bHIp4zJ7g7vzgUycu.png" width="150" style="margin-bottom: 0.2;"/>
21
+ <p>
22
+
23
+
24
+ <h3 align="center"><a href="https://arxiv.org/abs/2406.07476">VideoLLaMA 2: Advancing Spatial-Temporal Modeling and Audio Understanding in Video-LLMs</a></h3>
25
+ <h5 align="center"> If you like our project, please give us a star ⭐ on <a href="https://github.com/DAMO-NLP-SG/VideoLLaMA2">Github</a> for the latest update. </h2>
26
+
27
+ <p align="center"><video src="https://cdn-uploads.huggingface.co/production/uploads/63913b120cf6b11c487ca31d/Wj7GuqQ0CB9JRoPo6_GoH.webm" width="800"></p>
28
+
29
+ ## 📰 News
30
+ * **[2024.10.22]** Release checkpoints of [VideoLLaMA2.1-7B-AV](https://huggingface.co/DAMO-NLP-SG/VideoLLaMA2.1-7B-AV)
31
+ * **[2024.10.15]** Release checkpoints of [VideoLLaMA2.1-7B-16F-Base](https://huggingface.co/DAMO-NLP-SG/VideoLLaMA2.1-7B-16F-Base) and [VideoLLaMA2.1-7B-16F](https://huggingface.co/DAMO-NLP-SG/VideoLLaMA2.1-7B-16F)
32
+ * **[2024.08.14]** Release checkpoints of [VideoLLaMA2-72B-Base](https://huggingface.co/DAMO-NLP-SG/VideoLLaMA2-72B-Base) and [VideoLLaMA2-72B](https://huggingface.co/DAMO-NLP-SG/VideoLLaMA2-72B)
33
+ * **[2024.07.30]** Release checkpoints of [VideoLLaMA2-8x7B-Base](https://huggingface.co/DAMO-NLP-SG/VideoLLaMA2-8x7B-Base) and [VideoLLaMA2-8x7B](https://huggingface.co/DAMO-NLP-SG/VideoLLaMA2-8x7B).
34
+ * **[2024.06.25]** 🔥🔥 As of Jun 25, our [VideoLLaMA2-7B-16F](https://huggingface.co/DAMO-NLP-SG/VideoLLaMA2-7B-16F) is the **Top-1** ~7B-sized VideoLLM on the [MLVU Leaderboard](https://github.com/JUNJIE99/MLVU?tab=readme-ov-file#trophy-mini-leaderboard).
35
+ * **[2024.06.18]** 🔥🔥 As of Jun 18, our [VideoLLaMA2-7B-16F](https://huggingface.co/DAMO-NLP-SG/VideoLLaMA2-7B-16F) is the **Top-1** ~7B-sized VideoLLM on the [VideoMME Leaderboard](https://video-mme.github.io/home_page.html#leaderboard).
36
+ * **[2024.06.17]** 👋👋 Update technical report with the latest results and the missing references. If you have works closely related to VideoLLaMA 2 but not mentioned in the paper, feel free to let us know.
37
+ * **[2024.06.14]** 🔥🔥 [Online Demo](https://huggingface.co/spaces/lixin4ever/VideoLLaMA2) is available.
38
+ * **[2024.06.03]** Release training, evaluation, and serving codes of VideoLLaMA 2.
39
+
40
+
41
+ ## 🌎 Model Zoo
42
+ ### Vision-Only Checkpoints
43
+ | Model Name | Type | Visual Encoder | Language Decoder | # Training Frames |
44
+ |:-------------------|:--------------:|:----------------|:------------------|:----------------------:|
45
+ | [VideoLLaMA2-7B-Base](https://huggingface.co/DAMO-NLP-SG/VideoLLaMA2-7B-Base) | Base | [clip-vit-large-patch14-336](https://huggingface.co/openai/clip-vit-large-patch14-336) | [Mistral-7B-Instruct-v0.2](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.2) | 8 |
46
+ | [VideoLLaMA2-7B](https://huggingface.co/DAMO-NLP-SG/VideoLLaMA2-7B) | Chat | [clip-vit-large-patch14-336](https://huggingface.co/openai/clip-vit-large-patch14-336) | [Mistral-7B-Instruct-v0.2](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.2) | 8 |
47
+ | [VideoLLaMA2-7B-16F-Base](https://huggingface.co/DAMO-NLP-SG/VideoLLaMA2-7B-16F-Base) | Base | [clip-vit-large-patch14-336](https://huggingface.co/openai/clip-vit-large-patch14-336) | [Mistral-7B-Instruct-v0.2](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.2) | 16 |
48
+ | [VideoLLaMA2-7B-16F](https://huggingface.co/DAMO-NLP-SG/VideoLLaMA2-7B-16F) | Chat | [clip-vit-large-patch14-336](https://huggingface.co/openai/clip-vit-large-patch14-336) | [Mistral-7B-Instruct-v0.2](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.2) | 16 |
49
+ | [VideoLLaMA2-8x7B-Base](https://huggingface.co/DAMO-NLP-SG/VideoLLaMA2-8x7B-Base) | Base | [clip-vit-large-patch14-336](https://huggingface.co/openai/clip-vit-large-patch14-336) | [Mixtral-8x7B-Instruct-v0.1](https://huggingface.co/mistralai/Mixtral-8x7B-Instruct-v0.1) | 8 |
50
+ | [VideoLLaMA2-8x7B](https://huggingface.co/DAMO-NLP-SG/VideoLLaMA2-8x7B) | Chat | [clip-vit-large-patch14-336](https://huggingface.co/openai/clip-vit-large-patch14-336) | [Mixtral-8x7B-Instruct-v0.1](https://huggingface.co/mistralai/Mixtral-8x7B-Instruct-v0.1) | 8 |
51
+ | [VideoLLaMA2-72B-Base](https://huggingface.co/DAMO-NLP-SG/VideoLLaMA2-72B-Base) | Base | [clip-vit-large-patch14-336](https://huggingface.co/openai/clip-vit-large-patch14-336) | [Qwen2-72B-Instruct](https://huggingface.co/Qwen/Qwen2-72B-Instruct) | 8 |
52
+ | [VideoLLaMA2-72B](https://huggingface.co/DAMO-NLP-SG/VideoLLaMA2-72B) | Chat | [clip-vit-large-patch14-336](https://huggingface.co/openai/clip-vit-large-patch14-336) | [Qwen2-72B-Instruct](https://huggingface.co/Qwen/Qwen2-72B-Instruct) | 8 |
53
+ | [VideoLLaMA2.1-7B-16F-Base](https://huggingface.co/DAMO-NLP-SG/VideoLLaMA2.1-7B-16F-Base) | Base | [siglip-so400m-patch14-384](https://huggingface.co/google/siglip-so400m-patch14-384) | [Qwen2-7B-Instruct](https://huggingface.co/Qwen/Qwen2-7B-Instruct) | 16 |
54
+ | [VideoLLaMA2.1-7B-16F](https://huggingface.co/DAMO-NLP-SG/VideoLLaMA2.1-7B-16F) | Chat | [siglip-so400m-patch14-384](https://huggingface.co/google/siglip-so400m-patch14-384) | [Qwen2-7B-Instruct](https://huggingface.co/Qwen/Qwen2-7B-Instruct) | 16 |
55
+
56
+ ### Audio-Visual Checkpoints
57
+ | Model Name | Type | Audio Encoder | Language Decoder |
58
+ |:-------------------|:--------------:|:----------------|:----------------------:|
59
+ | [VideoLLaMA2.1-7B-AV](https://huggingface.co/DAMO-NLP-SG/VideoLLaMA2.1-7B-AV) (**This Checkpoint**) | Chat | [Fine-tuned BEATs_iter3+(AS2M)(cpt2)](https://1drv.ms/u/s!AqeByhGUtINrgcpj8ujXH1YUtxooEg?e=E9Ncea) | [VideoLLaMA2.1-7B-16F](https://huggingface.co/DAMO-NLP-SG/VideoLLaMA2.1-7B-16F) |
60
+
61
+
62
+ ## 🚀 Main Results
63
+
64
+ ### Multi-Choice Video QA & Video Captioning
65
+ <p><img src="https://cdn-uploads.huggingface.co/production/uploads/63913b120cf6b11c487ca31d/Z81Dl2MeVlg8wLbYOyTvI.png" width="800" "/></p>
66
+
67
+ ### Open-Ended Video QA
68
+ <p><img src="https://cdn-uploads.huggingface.co/production/uploads/63913b120cf6b11c487ca31d/UoAr7SjbPSPe1z23HBsUh.png" width="800" "/></p>
69
+
70
+ ### Multi-Choice & Open-Ended Audio QA
71
+ <p><img src="https://huggingface.co/YifeiXin/xin/resolve/main/VideoLLaMA2-audio.png" width="800" "/></p>
72
+
73
+ ### Open-Ended Audio-Visual QA
74
+ <p><img src="https://huggingface.co/YifeiXin/xin/resolve/main/VideoLLaAM2.1-AV.png" width="800" "/></p>
75
+
76
+
77
+
78
+ ## 🤖 Inference with VideoLLaMA2-AV
79
+ ```python
80
+ import sys
81
+ sys.path.append('./')
82
+ from videollama2 import model_init, mm_infer
83
+ from videollama2.utils import disable_torch_init
84
+ import argparse
85
+
86
+ def inference(args):
87
+
88
+ model_path = args.model_path
89
+ model, processor, tokenizer = model_init(model_path)
90
+
91
+ if args.modal_type == "a":
92
+ model.model.vision_tower = None
93
+ elif args.modal_type == "v":
94
+ model.model.audio_tower = None
95
+ elif args.modal_type == "av":
96
+ pass
97
+ else:
98
+ raise NotImplementedError
99
+ # Audio-visual Inference
100
+ audio_video_path = "assets/00003491.mp4"
101
+ preprocess = processor['audio' if args.modal_type == "a" else "video"]
102
+ if args.modal_type == "a":
103
+ audio_video_tensor = preprocess(audio_video_path)
104
+ else:
105
+ audio_video_tensor = preprocess(audio_video_path, va=True if args.modal_type == "av" else False)
106
+ question = f"Please describe the video with audio information."
107
+
108
+ # Audio Inference
109
+ audio_video_path = "assets/bird-twitter-car.wav"
110
+ preprocess = processor['audio' if args.modal_type == "a" else "video"]
111
+ if args.modal_type == "a":
112
+ audio_video_tensor = preprocess(audio_video_path)
113
+ else:
114
+ audio_video_tensor = preprocess(audio_video_path, va=True if args.modal_type == "av" else False)
115
+ question = f"Please describe the audio."
116
+
117
+ # Video Inference
118
+ audio_video_path = "assets/output_v_1jgsRbGzCls.mp4"
119
+ preprocess = processor['audio' if args.modal_type == "a" else "video"]
120
+ if args.modal_type == "a":
121
+ audio_video_tensor = preprocess(audio_video_path)
122
+ else:
123
+ audio_video_tensor = preprocess(audio_video_path, va=True if args.modal_type == "av" else False)
124
+ question = f"What activity are the people practicing in the video?"
125
+
126
+ output = mm_infer(
127
+ audio_video_tensor,
128
+ question,
129
+ model=model,
130
+ tokenizer=tokenizer,
131
+ modal='audio' if args.modal_type == "a" else "video",
132
+ do_sample=False,
133
+ )
134
+
135
+ print(output)
136
+
137
+
138
+ if __name__ == "__main__":
139
+ parser = argparse.ArgumentParser()
140
+
141
+ parser.add_argument('--model-path', help='', , required=False, default='DAMO-NLP-SG/VideoLLaMA2.1-7B-AV')
142
+ parser.add_argument('--modal-type', choices=["a", "v", "av"], help='', required=True)
143
+ args = parser.parse_args()
144
+
145
+ inference(args)
146
+
147
+ ```
148
+
149
+
150
+ ## Citation
151
+
152
+ If you find VideoLLaMA useful for your research and applications, please cite using this BibTeX:
153
+ ```bibtex
154
+ @article{damonlpsg2024videollama2,
155
+ title={VideoLLaMA 2: Advancing Spatial-Temporal Modeling and Audio Understanding in Video-LLMs},
156
+ author={Cheng, Zesen and Leng, Sicong and Zhang, Hang and Xin, Yifei and Li, Xin and Chen, Guanzheng and Zhu, Yongxin and Zhang, Wenqi and Luo, Ziyang and Zhao, Deli and Bing, Lidong},
157
+ journal={arXiv preprint arXiv:2406.07476},
158
+ year={2024},
159
+ url = {https://arxiv.org/abs/2406.07476}
160
+ }
161
+
162
+ @article{damonlpsg2023videollama,
163
+ title = {Video-LLaMA: An Instruction-tuned Audio-Visual Language Model for Video Understanding},
164
+ author = {Zhang, Hang and Li, Xin and Bing, Lidong},
165
+ journal = {arXiv preprint arXiv:2306.02858},
166
+ year = {2023},
167
+ url = {https://arxiv.org/abs/2306.02858}
168
+ }
169
+ ```
added_tokens.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "<|endoftext|>": 151643,
3
+ "<|im_end|>": 151645,
4
+ "<|im_start|>": 151644
5
+ }
audio_tower.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cb2ae5c2d39ef3e5550cf3af103503c3a970941d7d3ae37bfea3464e980f002c
3
+ size 181514532
config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "pretrained_models/VideoLLaMA2.1-7B-AV",
3
+ "architectures": [
4
+ "Videollama2Qwen2ForCausalLM"
5
+ ],
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 151643,
8
+ "eos_token_id": 151645,
9
+ "freeze_mm_mlp_adapter": false,
10
+ "hidden_act": "silu",
11
+ "hidden_size": 3584,
12
+ "hidden_size_a": 3584,
13
+ "image_aspect_ratio": "pad",
14
+ "initializer_range": 0.02,
15
+ "intermediate_size": 18944,
16
+ "max_position_embeddings": 32768,
17
+ "max_window_layers": 28,
18
+ "mm_audio_tower": "pretrained_models/VideoLLaMA2.1-7B-AV/audio_tower.bin",
19
+ "mm_hidden_size": 1152,
20
+ "mm_hidden_size_a": 768,
21
+ "mm_projector_a_type": "mlp2x_gelu",
22
+ "mm_projector_lr": null,
23
+ "mm_projector_type": "stc_connector_v35",
24
+ "mm_vision_select_feature": "patch",
25
+ "mm_vision_select_layer": -2,
26
+ "mm_vision_tower": "/ailab-train/speech/liangyunming/20250212/VideoLLaMA2/siglip-so400m-patch14-384",
27
+ "model_type": "videollama2_qwen2",
28
+ "num_attention_heads": 28,
29
+ "num_frames": 8,
30
+ "num_hidden_layers": 28,
31
+ "num_key_value_heads": 4,
32
+ "rms_norm_eps": 1e-06,
33
+ "rope_theta": 1000000.0,
34
+ "sliding_window": 131072,
35
+ "tie_word_embeddings": false,
36
+ "tokenizer_model_max_length": 2048,
37
+ "tokenizer_padding_side": "right",
38
+ "torch_dtype": "bfloat16",
39
+ "transformers_version": "4.42.3",
40
+ "tune_mm_mlp_adapter": false,
41
+ "tune_mm_mlp_adapter_a": true,
42
+ "use_cache": true,
43
+ "use_mm_proj": true,
44
+ "use_sliding_window": false,
45
+ "vocab_size": 152064
46
+ }
generation_config.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 151643,
3
+ "do_sample": true,
4
+ "eos_token_id": [
5
+ 151645,
6
+ 151643
7
+ ],
8
+ "pad_token_id": 151643,
9
+ "repetition_penalty": 1.05,
10
+ "temperature": 0.7,
11
+ "top_k": 20,
12
+ "top_p": 0.8,
13
+ "transformers_version": "4.42.3"
14
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
mm_projector_a.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:63f46c2dabfef0675a69e80fcef9461fc7d6063db1eaf6179315ea8be3feeb9b
3
+ size 31211592
model-00001-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c783b994bcd80f60759fe61323cb76778366c53cde476881e13a7cb92eef8fd
3
+ size 4877660776
model-00002-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:51ba39cd8714b28c9450eb515c3a0ee0df27d0d97e9a86097f4f72b56087d959
3
+ size 4932751008
model-00003-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2c242ddbfa1f7d0fd2bff0cd5751c8f8dbbb61608faa10439ceaf80f76addd93
3
+ size 4994571904
model-00004-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8a0d17de74510e66dc52774cd6f3ff18002b42e6417a9ce48177d088c731b42e
3
+ size 2249362518
model.safetensors.index.json ADDED
The diff for this file is too large to render. See raw diff
 
special_tokens_map.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|im_start|>",
4
+ "<|im_end|>"
5
+ ],
6
+ "eos_token": {
7
+ "content": "<|im_end|>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false
12
+ },
13
+ "pad_token": {
14
+ "content": "<|endoftext|>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false
19
+ }
20
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "151643": {
5
+ "content": "<|endoftext|>",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "151644": {
13
+ "content": "<|im_start|>",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "151645": {
21
+ "content": "<|im_end|>",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ }
28
+ },
29
+ "additional_special_tokens": [
30
+ "<|im_start|>",
31
+ "<|im_end|>"
32
+ ],
33
+ "bos_token": null,
34
+ "chat_template": "{% for message in messages %}{% if loop.first and messages[0]['role'] != 'system' %}{{ '<|im_start|>system\nYou are a helpful assistant.<|im_end|>\n' }}{% endif %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
35
+ "clean_up_tokenization_spaces": false,
36
+ "eos_token": "<|im_end|>",
37
+ "errors": "replace",
38
+ "model_max_length": 2048,
39
+ "pad_token": "<|endoftext|>",
40
+ "padding_side": "right",
41
+ "split_special_tokens": false,
42
+ "tokenizer_class": "Qwen2Tokenizer",
43
+ "unk_token": null
44
+ }
trainer_state.json ADDED
@@ -0,0 +1,1050 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.9965397923875432,
5
+ "eval_steps": 500,
6
+ "global_step": 144,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.006920415224913495,
13
+ "grad_norm": 5.909927412110894,
14
+ "learning_rate": 4.000000000000001e-06,
15
+ "loss": 0.1796,
16
+ "step": 1
17
+ },
18
+ {
19
+ "epoch": 0.01384083044982699,
20
+ "grad_norm": 5.814173094234023,
21
+ "learning_rate": 8.000000000000001e-06,
22
+ "loss": 0.1745,
23
+ "step": 2
24
+ },
25
+ {
26
+ "epoch": 0.020761245674740483,
27
+ "grad_norm": 7.527394332552472,
28
+ "learning_rate": 1.2e-05,
29
+ "loss": 0.1664,
30
+ "step": 3
31
+ },
32
+ {
33
+ "epoch": 0.02768166089965398,
34
+ "grad_norm": 6.411723498568909,
35
+ "learning_rate": 1.6000000000000003e-05,
36
+ "loss": 0.1111,
37
+ "step": 4
38
+ },
39
+ {
40
+ "epoch": 0.03460207612456748,
41
+ "grad_norm": 29.463780179754565,
42
+ "learning_rate": 2e-05,
43
+ "loss": 0.3775,
44
+ "step": 5
45
+ },
46
+ {
47
+ "epoch": 0.04152249134948097,
48
+ "grad_norm": 25.873155743529786,
49
+ "learning_rate": 1.999744599547812e-05,
50
+ "loss": 0.5048,
51
+ "step": 6
52
+ },
53
+ {
54
+ "epoch": 0.04844290657439446,
55
+ "grad_norm": 6.21107647977612,
56
+ "learning_rate": 1.9989785286500294e-05,
57
+ "loss": 0.1919,
58
+ "step": 7
59
+ },
60
+ {
61
+ "epoch": 0.05536332179930796,
62
+ "grad_norm": 2.467176199809234,
63
+ "learning_rate": 1.99770217861636e-05,
64
+ "loss": 0.1488,
65
+ "step": 8
66
+ },
67
+ {
68
+ "epoch": 0.06228373702422145,
69
+ "grad_norm": 3.511922315343916,
70
+ "learning_rate": 1.9959162014075553e-05,
71
+ "loss": 0.1299,
72
+ "step": 9
73
+ },
74
+ {
75
+ "epoch": 0.06920415224913495,
76
+ "grad_norm": 1.5637990196383564,
77
+ "learning_rate": 1.9936215093023884e-05,
78
+ "loss": 0.1313,
79
+ "step": 10
80
+ },
81
+ {
82
+ "epoch": 0.07612456747404844,
83
+ "grad_norm": 5.108268285094946,
84
+ "learning_rate": 1.990819274431662e-05,
85
+ "loss": 0.092,
86
+ "step": 11
87
+ },
88
+ {
89
+ "epoch": 0.08304498269896193,
90
+ "grad_norm": 4.9693481281925465,
91
+ "learning_rate": 1.9875109281794828e-05,
92
+ "loss": 0.1171,
93
+ "step": 12
94
+ },
95
+ {
96
+ "epoch": 0.08996539792387544,
97
+ "grad_norm": 7.995002644534826,
98
+ "learning_rate": 1.9836981604521077e-05,
99
+ "loss": 0.1178,
100
+ "step": 13
101
+ },
102
+ {
103
+ "epoch": 0.09688581314878893,
104
+ "grad_norm": 3.4504191020747883,
105
+ "learning_rate": 1.9793829188147406e-05,
106
+ "loss": 0.0989,
107
+ "step": 14
108
+ },
109
+ {
110
+ "epoch": 0.10380622837370242,
111
+ "grad_norm": 8.263808135194267,
112
+ "learning_rate": 1.974567407496712e-05,
113
+ "loss": 0.1486,
114
+ "step": 15
115
+ },
116
+ {
117
+ "epoch": 0.11072664359861592,
118
+ "grad_norm": 1.367572738961488,
119
+ "learning_rate": 1.9692540862655587e-05,
120
+ "loss": 0.0847,
121
+ "step": 16
122
+ },
123
+ {
124
+ "epoch": 0.11764705882352941,
125
+ "grad_norm": 5.4076849647712635,
126
+ "learning_rate": 1.9634456691705705e-05,
127
+ "loss": 0.1004,
128
+ "step": 17
129
+ },
130
+ {
131
+ "epoch": 0.1245674740484429,
132
+ "grad_norm": 1.455150235552633,
133
+ "learning_rate": 1.9571451231564523e-05,
134
+ "loss": 0.0776,
135
+ "step": 18
136
+ },
137
+ {
138
+ "epoch": 0.1314878892733564,
139
+ "grad_norm": 0.9765353662178354,
140
+ "learning_rate": 1.9503556665478066e-05,
141
+ "loss": 0.0501,
142
+ "step": 19
143
+ },
144
+ {
145
+ "epoch": 0.1384083044982699,
146
+ "grad_norm": 3.1660835804785594,
147
+ "learning_rate": 1.9430807674052092e-05,
148
+ "loss": 0.0676,
149
+ "step": 20
150
+ },
151
+ {
152
+ "epoch": 0.1453287197231834,
153
+ "grad_norm": 4.601906713563019,
154
+ "learning_rate": 1.9353241417537216e-05,
155
+ "loss": 0.1148,
156
+ "step": 21
157
+ },
158
+ {
159
+ "epoch": 0.1522491349480969,
160
+ "grad_norm": 0.9410185517641271,
161
+ "learning_rate": 1.9270897516847406e-05,
162
+ "loss": 0.0644,
163
+ "step": 22
164
+ },
165
+ {
166
+ "epoch": 0.15916955017301038,
167
+ "grad_norm": 2.003001609282354,
168
+ "learning_rate": 1.9183818033321612e-05,
169
+ "loss": 0.0365,
170
+ "step": 23
171
+ },
172
+ {
173
+ "epoch": 0.16608996539792387,
174
+ "grad_norm": 3.8004697116265125,
175
+ "learning_rate": 1.9092047447238775e-05,
176
+ "loss": 0.0601,
177
+ "step": 24
178
+ },
179
+ {
180
+ "epoch": 0.17301038062283736,
181
+ "grad_norm": 1.505231605536048,
182
+ "learning_rate": 1.899563263509725e-05,
183
+ "loss": 0.032,
184
+ "step": 25
185
+ },
186
+ {
187
+ "epoch": 0.17993079584775087,
188
+ "grad_norm": 1.4483444591893908,
189
+ "learning_rate": 1.8894622845670282e-05,
190
+ "loss": 0.0814,
191
+ "step": 26
192
+ },
193
+ {
194
+ "epoch": 0.18685121107266436,
195
+ "grad_norm": 1.769291133502307,
196
+ "learning_rate": 1.878906967484966e-05,
197
+ "loss": 0.0835,
198
+ "step": 27
199
+ },
200
+ {
201
+ "epoch": 0.19377162629757785,
202
+ "grad_norm": 1.6052993878109532,
203
+ "learning_rate": 1.86790270392905e-05,
204
+ "loss": 0.0508,
205
+ "step": 28
206
+ },
207
+ {
208
+ "epoch": 0.20069204152249134,
209
+ "grad_norm": 3.4046119290691355,
210
+ "learning_rate": 1.856455114887056e-05,
211
+ "loss": 0.0769,
212
+ "step": 29
213
+ },
214
+ {
215
+ "epoch": 0.20761245674740483,
216
+ "grad_norm": 2.3275130236844026,
217
+ "learning_rate": 1.8445700477978207e-05,
218
+ "loss": 0.1246,
219
+ "step": 30
220
+ },
221
+ {
222
+ "epoch": 0.21453287197231835,
223
+ "grad_norm": 3.059909729816116,
224
+ "learning_rate": 1.8322535735643604e-05,
225
+ "loss": 0.07,
226
+ "step": 31
227
+ },
228
+ {
229
+ "epoch": 0.22145328719723184,
230
+ "grad_norm": 4.494006378640971,
231
+ "learning_rate": 1.8195119834528535e-05,
232
+ "loss": 0.0606,
233
+ "step": 32
234
+ },
235
+ {
236
+ "epoch": 0.22837370242214533,
237
+ "grad_norm": 1.1539839844534825,
238
+ "learning_rate": 1.8063517858790517e-05,
239
+ "loss": 0.0648,
240
+ "step": 33
241
+ },
242
+ {
243
+ "epoch": 0.23529411764705882,
244
+ "grad_norm": 1.5380191902785147,
245
+ "learning_rate": 1.792779703083777e-05,
246
+ "loss": 0.0913,
247
+ "step": 34
248
+ },
249
+ {
250
+ "epoch": 0.2422145328719723,
251
+ "grad_norm": 0.7918508463404255,
252
+ "learning_rate": 1.778802667699196e-05,
253
+ "loss": 0.0299,
254
+ "step": 35
255
+ },
256
+ {
257
+ "epoch": 0.2491349480968858,
258
+ "grad_norm": 2.1853629013025704,
259
+ "learning_rate": 1.764427819207624e-05,
260
+ "loss": 0.0583,
261
+ "step": 36
262
+ },
263
+ {
264
+ "epoch": 0.2560553633217993,
265
+ "grad_norm": 2.316866722784186,
266
+ "learning_rate": 1.7496625002946702e-05,
267
+ "loss": 0.0543,
268
+ "step": 37
269
+ },
270
+ {
271
+ "epoch": 0.2629757785467128,
272
+ "grad_norm": 0.6907292526164213,
273
+ "learning_rate": 1.734514253098589e-05,
274
+ "loss": 0.0436,
275
+ "step": 38
276
+ },
277
+ {
278
+ "epoch": 0.2698961937716263,
279
+ "grad_norm": 0.6929541264038483,
280
+ "learning_rate": 1.7189908153577473e-05,
281
+ "loss": 0.059,
282
+ "step": 39
283
+ },
284
+ {
285
+ "epoch": 0.2768166089965398,
286
+ "grad_norm": 0.766614669335446,
287
+ "learning_rate": 1.7031001164581828e-05,
288
+ "loss": 0.0364,
289
+ "step": 40
290
+ },
291
+ {
292
+ "epoch": 0.2837370242214533,
293
+ "grad_norm": 1.1432954678059355,
294
+ "learning_rate": 1.6868502733832647e-05,
295
+ "loss": 0.0639,
296
+ "step": 41
297
+ },
298
+ {
299
+ "epoch": 0.2906574394463668,
300
+ "grad_norm": 1.4246783694756413,
301
+ "learning_rate": 1.670249586567531e-05,
302
+ "loss": 0.028,
303
+ "step": 42
304
+ },
305
+ {
306
+ "epoch": 0.2975778546712803,
307
+ "grad_norm": 0.6960925404059692,
308
+ "learning_rate": 1.6533065356568206e-05,
309
+ "loss": 0.0563,
310
+ "step": 43
311
+ },
312
+ {
313
+ "epoch": 0.3044982698961938,
314
+ "grad_norm": 0.917801830468414,
315
+ "learning_rate": 1.636029775176862e-05,
316
+ "loss": 0.0645,
317
+ "step": 44
318
+ },
319
+ {
320
+ "epoch": 0.31141868512110726,
321
+ "grad_norm": 1.147360995244464,
322
+ "learning_rate": 1.618428130112533e-05,
323
+ "loss": 0.0483,
324
+ "step": 45
325
+ },
326
+ {
327
+ "epoch": 0.31833910034602075,
328
+ "grad_norm": 1.0760514929547755,
329
+ "learning_rate": 1.6005105914000508e-05,
330
+ "loss": 0.0466,
331
+ "step": 46
332
+ },
333
+ {
334
+ "epoch": 0.32525951557093424,
335
+ "grad_norm": 2.0668922589924006,
336
+ "learning_rate": 1.5822863113343934e-05,
337
+ "loss": 0.0343,
338
+ "step": 47
339
+ },
340
+ {
341
+ "epoch": 0.33217993079584773,
342
+ "grad_norm": 1.1035230066017743,
343
+ "learning_rate": 1.5637645988943008e-05,
344
+ "loss": 0.0198,
345
+ "step": 48
346
+ },
347
+ {
348
+ "epoch": 0.3391003460207612,
349
+ "grad_norm": 0.5094633252436404,
350
+ "learning_rate": 1.544954914987238e-05,
351
+ "loss": 0.0405,
352
+ "step": 49
353
+ },
354
+ {
355
+ "epoch": 0.3460207612456747,
356
+ "grad_norm": 1.4387866581529392,
357
+ "learning_rate": 1.5258668676167548e-05,
358
+ "loss": 0.046,
359
+ "step": 50
360
+ },
361
+ {
362
+ "epoch": 0.35294117647058826,
363
+ "grad_norm": 0.7482935385793746,
364
+ "learning_rate": 1.5065102069747117e-05,
365
+ "loss": 0.027,
366
+ "step": 51
367
+ },
368
+ {
369
+ "epoch": 0.35986159169550175,
370
+ "grad_norm": 3.7792094686292246,
371
+ "learning_rate": 1.48689482046087e-05,
372
+ "loss": 0.0581,
373
+ "step": 52
374
+ },
375
+ {
376
+ "epoch": 0.36678200692041524,
377
+ "grad_norm": 1.3731751352374644,
378
+ "learning_rate": 1.467030727632401e-05,
379
+ "loss": 0.0228,
380
+ "step": 53
381
+ },
382
+ {
383
+ "epoch": 0.3737024221453287,
384
+ "grad_norm": 0.7887909443777626,
385
+ "learning_rate": 1.4469280750858854e-05,
386
+ "loss": 0.0739,
387
+ "step": 54
388
+ },
389
+ {
390
+ "epoch": 0.3806228373702422,
391
+ "grad_norm": 0.8647483470113037,
392
+ "learning_rate": 1.4265971312744252e-05,
393
+ "loss": 0.0551,
394
+ "step": 55
395
+ },
396
+ {
397
+ "epoch": 0.3875432525951557,
398
+ "grad_norm": 1.2742301466453625,
399
+ "learning_rate": 1.4060482812625055e-05,
400
+ "loss": 0.0364,
401
+ "step": 56
402
+ },
403
+ {
404
+ "epoch": 0.3944636678200692,
405
+ "grad_norm": 0.37834231118319656,
406
+ "learning_rate": 1.3852920214212966e-05,
407
+ "loss": 0.0229,
408
+ "step": 57
409
+ },
410
+ {
411
+ "epoch": 0.4013840830449827,
412
+ "grad_norm": 0.38818516965237315,
413
+ "learning_rate": 1.3643389540670963e-05,
414
+ "loss": 0.0188,
415
+ "step": 58
416
+ },
417
+ {
418
+ "epoch": 0.4083044982698962,
419
+ "grad_norm": 1.1203564083475976,
420
+ "learning_rate": 1.3431997820456592e-05,
421
+ "loss": 0.0295,
422
+ "step": 59
423
+ },
424
+ {
425
+ "epoch": 0.41522491349480967,
426
+ "grad_norm": 2.7193984196484697,
427
+ "learning_rate": 1.3218853032651719e-05,
428
+ "loss": 0.0592,
429
+ "step": 60
430
+ },
431
+ {
432
+ "epoch": 0.42214532871972316,
433
+ "grad_norm": 0.8457919661498918,
434
+ "learning_rate": 1.3004064051806712e-05,
435
+ "loss": 0.0559,
436
+ "step": 61
437
+ },
438
+ {
439
+ "epoch": 0.4290657439446367,
440
+ "grad_norm": 1.9644511219937209,
441
+ "learning_rate": 1.2787740592327232e-05,
442
+ "loss": 0.0755,
443
+ "step": 62
444
+ },
445
+ {
446
+ "epoch": 0.4359861591695502,
447
+ "grad_norm": 2.8810823496302977,
448
+ "learning_rate": 1.2569993152432028e-05,
449
+ "loss": 0.0771,
450
+ "step": 63
451
+ },
452
+ {
453
+ "epoch": 0.4429065743944637,
454
+ "grad_norm": 1.237673547458137,
455
+ "learning_rate": 1.2350932957710322e-05,
456
+ "loss": 0.0161,
457
+ "step": 64
458
+ },
459
+ {
460
+ "epoch": 0.44982698961937717,
461
+ "grad_norm": 1.0351256257207866,
462
+ "learning_rate": 1.2130671904307692e-05,
463
+ "loss": 0.0285,
464
+ "step": 65
465
+ },
466
+ {
467
+ "epoch": 0.45674740484429066,
468
+ "grad_norm": 2.390190069024017,
469
+ "learning_rate": 1.1909322501769407e-05,
470
+ "loss": 0.0595,
471
+ "step": 66
472
+ },
473
+ {
474
+ "epoch": 0.46366782006920415,
475
+ "grad_norm": 0.4602512676359961,
476
+ "learning_rate": 1.1686997815570473e-05,
477
+ "loss": 0.0565,
478
+ "step": 67
479
+ },
480
+ {
481
+ "epoch": 0.47058823529411764,
482
+ "grad_norm": 0.5724949291122662,
483
+ "learning_rate": 1.1463811409361667e-05,
484
+ "loss": 0.0306,
485
+ "step": 68
486
+ },
487
+ {
488
+ "epoch": 0.47750865051903113,
489
+ "grad_norm": 0.6234367847233119,
490
+ "learning_rate": 1.1239877286961123e-05,
491
+ "loss": 0.041,
492
+ "step": 69
493
+ },
494
+ {
495
+ "epoch": 0.4844290657439446,
496
+ "grad_norm": 0.6525151506863333,
497
+ "learning_rate": 1.1015309834121083e-05,
498
+ "loss": 0.0315,
499
+ "step": 70
500
+ },
501
+ {
502
+ "epoch": 0.4913494809688581,
503
+ "grad_norm": 1.2107180201820262,
504
+ "learning_rate": 1.079022376009955e-05,
505
+ "loss": 0.0463,
506
+ "step": 71
507
+ },
508
+ {
509
+ "epoch": 0.4982698961937716,
510
+ "grad_norm": 0.36904102477700823,
511
+ "learning_rate": 1.05647340390667e-05,
512
+ "loss": 0.0354,
513
+ "step": 72
514
+ },
515
+ {
516
+ "epoch": 0.5051903114186851,
517
+ "grad_norm": 0.4623564155552934,
518
+ "learning_rate": 1.0338955851375962e-05,
519
+ "loss": 0.0401,
520
+ "step": 73
521
+ },
522
+ {
523
+ "epoch": 0.5121107266435986,
524
+ "grad_norm": 0.4464635221070512,
525
+ "learning_rate": 1.01130045247298e-05,
526
+ "loss": 0.0178,
527
+ "step": 74
528
+ },
529
+ {
530
+ "epoch": 0.5190311418685121,
531
+ "grad_norm": 0.8151026231175525,
532
+ "learning_rate": 9.886995475270205e-06,
533
+ "loss": 0.0339,
534
+ "step": 75
535
+ },
536
+ {
537
+ "epoch": 0.5259515570934256,
538
+ "grad_norm": 0.8737807325813413,
539
+ "learning_rate": 9.661044148624038e-06,
540
+ "loss": 0.0431,
541
+ "step": 76
542
+ },
543
+ {
544
+ "epoch": 0.532871972318339,
545
+ "grad_norm": 0.5650128573973728,
546
+ "learning_rate": 9.435265960933304e-06,
547
+ "loss": 0.0429,
548
+ "step": 77
549
+ },
550
+ {
551
+ "epoch": 0.5397923875432526,
552
+ "grad_norm": 2.3196808467192658,
553
+ "learning_rate": 9.209776239900453e-06,
554
+ "loss": 0.0744,
555
+ "step": 78
556
+ },
557
+ {
558
+ "epoch": 0.5467128027681661,
559
+ "grad_norm": 0.6763919787895529,
560
+ "learning_rate": 8.98469016587892e-06,
561
+ "loss": 0.0273,
562
+ "step": 79
563
+ },
564
+ {
565
+ "epoch": 0.5536332179930796,
566
+ "grad_norm": 0.73804041555226,
567
+ "learning_rate": 8.76012271303888e-06,
568
+ "loss": 0.0414,
569
+ "step": 80
570
+ },
571
+ {
572
+ "epoch": 0.5605536332179931,
573
+ "grad_norm": 0.4375261353904343,
574
+ "learning_rate": 8.536188590638334e-06,
575
+ "loss": 0.0489,
576
+ "step": 81
577
+ },
578
+ {
579
+ "epoch": 0.5674740484429066,
580
+ "grad_norm": 1.9813329567182527,
581
+ "learning_rate": 8.313002184429529e-06,
582
+ "loss": 0.0455,
583
+ "step": 82
584
+ },
585
+ {
586
+ "epoch": 0.5743944636678201,
587
+ "grad_norm": 0.448941103281106,
588
+ "learning_rate": 8.090677498230598e-06,
589
+ "loss": 0.0432,
590
+ "step": 83
591
+ },
592
+ {
593
+ "epoch": 0.5813148788927336,
594
+ "grad_norm": 0.9180761063192592,
595
+ "learning_rate": 7.869328095692313e-06,
596
+ "loss": 0.0234,
597
+ "step": 84
598
+ },
599
+ {
600
+ "epoch": 0.5882352941176471,
601
+ "grad_norm": 0.5883629574508615,
602
+ "learning_rate": 7.649067042289681e-06,
603
+ "loss": 0.0509,
604
+ "step": 85
605
+ },
606
+ {
607
+ "epoch": 0.5951557093425606,
608
+ "grad_norm": 0.8009555104412699,
609
+ "learning_rate": 7.430006847567972e-06,
610
+ "loss": 0.0282,
611
+ "step": 86
612
+ },
613
+ {
614
+ "epoch": 0.6020761245674741,
615
+ "grad_norm": 1.3285299052953212,
616
+ "learning_rate": 7.2122594076727705e-06,
617
+ "loss": 0.0514,
618
+ "step": 87
619
+ },
620
+ {
621
+ "epoch": 0.6089965397923875,
622
+ "grad_norm": 0.8852543518710448,
623
+ "learning_rate": 6.995935948193294e-06,
624
+ "loss": 0.0248,
625
+ "step": 88
626
+ },
627
+ {
628
+ "epoch": 0.615916955017301,
629
+ "grad_norm": 2.3353752448807725,
630
+ "learning_rate": 6.781146967348283e-06,
631
+ "loss": 0.0693,
632
+ "step": 89
633
+ },
634
+ {
635
+ "epoch": 0.6228373702422145,
636
+ "grad_norm": 1.3882240308976475,
637
+ "learning_rate": 6.568002179543409e-06,
638
+ "loss": 0.0407,
639
+ "step": 90
640
+ },
641
+ {
642
+ "epoch": 0.629757785467128,
643
+ "grad_norm": 1.183088785309517,
644
+ "learning_rate": 6.356610459329038e-06,
645
+ "loss": 0.0234,
646
+ "step": 91
647
+ },
648
+ {
649
+ "epoch": 0.6366782006920415,
650
+ "grad_norm": 1.0365553239602958,
651
+ "learning_rate": 6.147079785787038e-06,
652
+ "loss": 0.0672,
653
+ "step": 92
654
+ },
655
+ {
656
+ "epoch": 0.643598615916955,
657
+ "grad_norm": 0.6479773351825772,
658
+ "learning_rate": 5.93951718737495e-06,
659
+ "loss": 0.0516,
660
+ "step": 93
661
+ },
662
+ {
663
+ "epoch": 0.6505190311418685,
664
+ "grad_norm": 0.5248885554897967,
665
+ "learning_rate": 5.7340286872557515e-06,
666
+ "loss": 0.0302,
667
+ "step": 94
668
+ },
669
+ {
670
+ "epoch": 0.657439446366782,
671
+ "grad_norm": 0.6857902639461477,
672
+ "learning_rate": 5.530719249141148e-06,
673
+ "loss": 0.0418,
674
+ "step": 95
675
+ },
676
+ {
677
+ "epoch": 0.6643598615916955,
678
+ "grad_norm": 0.7622230565978657,
679
+ "learning_rate": 5.329692723675994e-06,
680
+ "loss": 0.0302,
681
+ "step": 96
682
+ },
683
+ {
684
+ "epoch": 0.671280276816609,
685
+ "grad_norm": 0.5694955322805975,
686
+ "learning_rate": 5.131051795391302e-06,
687
+ "loss": 0.0297,
688
+ "step": 97
689
+ },
690
+ {
691
+ "epoch": 0.6782006920415224,
692
+ "grad_norm": 0.48280429993709745,
693
+ "learning_rate": 4.934897930252887e-06,
694
+ "loss": 0.0467,
695
+ "step": 98
696
+ },
697
+ {
698
+ "epoch": 0.6851211072664359,
699
+ "grad_norm": 0.7969826708541765,
700
+ "learning_rate": 4.7413313238324556e-06,
701
+ "loss": 0.0431,
702
+ "step": 99
703
+ },
704
+ {
705
+ "epoch": 0.6920415224913494,
706
+ "grad_norm": 0.40791439903766624,
707
+ "learning_rate": 4.550450850127626e-06,
708
+ "loss": 0.0296,
709
+ "step": 100
710
+ },
711
+ {
712
+ "epoch": 0.698961937716263,
713
+ "grad_norm": 0.8229666980540179,
714
+ "learning_rate": 4.3623540110569935e-06,
715
+ "loss": 0.068,
716
+ "step": 101
717
+ },
718
+ {
719
+ "epoch": 0.7058823529411765,
720
+ "grad_norm": 0.3873805504039957,
721
+ "learning_rate": 4.177136886656067e-06,
722
+ "loss": 0.0395,
723
+ "step": 102
724
+ },
725
+ {
726
+ "epoch": 0.71280276816609,
727
+ "grad_norm": 0.6160253305799199,
728
+ "learning_rate": 3.9948940859994964e-06,
729
+ "loss": 0.0426,
730
+ "step": 103
731
+ },
732
+ {
733
+ "epoch": 0.7197231833910035,
734
+ "grad_norm": 0.437203350354127,
735
+ "learning_rate": 3.815718698874672e-06,
736
+ "loss": 0.0493,
737
+ "step": 104
738
+ },
739
+ {
740
+ "epoch": 0.726643598615917,
741
+ "grad_norm": 0.970248480584735,
742
+ "learning_rate": 3.6397022482313804e-06,
743
+ "loss": 0.0157,
744
+ "step": 105
745
+ },
746
+ {
747
+ "epoch": 0.7335640138408305,
748
+ "grad_norm": 1.0489044138676327,
749
+ "learning_rate": 3.466934643431795e-06,
750
+ "loss": 0.0223,
751
+ "step": 106
752
+ },
753
+ {
754
+ "epoch": 0.740484429065744,
755
+ "grad_norm": 0.8154744910449274,
756
+ "learning_rate": 3.2975041343246937e-06,
757
+ "loss": 0.0372,
758
+ "step": 107
759
+ },
760
+ {
761
+ "epoch": 0.7474048442906575,
762
+ "grad_norm": 0.8284356354573794,
763
+ "learning_rate": 3.1314972661673572e-06,
764
+ "loss": 0.0595,
765
+ "step": 108
766
+ },
767
+ {
768
+ "epoch": 0.754325259515571,
769
+ "grad_norm": 0.891688730913265,
770
+ "learning_rate": 2.9689988354181742e-06,
771
+ "loss": 0.0371,
772
+ "step": 109
773
+ },
774
+ {
775
+ "epoch": 0.7612456747404844,
776
+ "grad_norm": 0.5373575786911854,
777
+ "learning_rate": 2.8100918464225304e-06,
778
+ "loss": 0.0359,
779
+ "step": 110
780
+ },
781
+ {
782
+ "epoch": 0.7681660899653979,
783
+ "grad_norm": 1.5437209149978486,
784
+ "learning_rate": 2.654857469014113e-06,
785
+ "loss": 0.0377,
786
+ "step": 111
787
+ },
788
+ {
789
+ "epoch": 0.7750865051903114,
790
+ "grad_norm": 0.8917767418171114,
791
+ "learning_rate": 2.5033749970533015e-06,
792
+ "loss": 0.0489,
793
+ "step": 112
794
+ },
795
+ {
796
+ "epoch": 0.7820069204152249,
797
+ "grad_norm": 0.6967641711242976,
798
+ "learning_rate": 2.3557218079237608e-06,
799
+ "loss": 0.0412,
800
+ "step": 113
801
+ },
802
+ {
803
+ "epoch": 0.7889273356401384,
804
+ "grad_norm": 0.6010523621864098,
805
+ "learning_rate": 2.211973323008041e-06,
806
+ "loss": 0.0496,
807
+ "step": 114
808
+ },
809
+ {
810
+ "epoch": 0.7958477508650519,
811
+ "grad_norm": 0.9326834234151709,
812
+ "learning_rate": 2.072202969162234e-06,
813
+ "loss": 0.0382,
814
+ "step": 115
815
+ },
816
+ {
817
+ "epoch": 0.8027681660899654,
818
+ "grad_norm": 0.28932924745655303,
819
+ "learning_rate": 1.936482141209486e-06,
820
+ "loss": 0.0246,
821
+ "step": 116
822
+ },
823
+ {
824
+ "epoch": 0.8096885813148789,
825
+ "grad_norm": 0.3646152590947324,
826
+ "learning_rate": 1.8048801654714687e-06,
827
+ "loss": 0.0363,
828
+ "step": 117
829
+ },
830
+ {
831
+ "epoch": 0.8166089965397924,
832
+ "grad_norm": 0.8316990911384655,
833
+ "learning_rate": 1.6774642643563955e-06,
834
+ "loss": 0.015,
835
+ "step": 118
836
+ },
837
+ {
838
+ "epoch": 0.8235294117647058,
839
+ "grad_norm": 0.7109476986868478,
840
+ "learning_rate": 1.5542995220217961e-06,
841
+ "loss": 0.0466,
842
+ "step": 119
843
+ },
844
+ {
845
+ "epoch": 0.8304498269896193,
846
+ "grad_norm": 0.6558256138579013,
847
+ "learning_rate": 1.4354488511294418e-06,
848
+ "loss": 0.0493,
849
+ "step": 120
850
+ },
851
+ {
852
+ "epoch": 0.8373702422145328,
853
+ "grad_norm": 0.6071205282852766,
854
+ "learning_rate": 1.3209729607095022e-06,
855
+ "loss": 0.0185,
856
+ "step": 121
857
+ },
858
+ {
859
+ "epoch": 0.8442906574394463,
860
+ "grad_norm": 0.8574874934268059,
861
+ "learning_rate": 1.2109303251503434e-06,
862
+ "loss": 0.0409,
863
+ "step": 122
864
+ },
865
+ {
866
+ "epoch": 0.8512110726643599,
867
+ "grad_norm": 0.26203721412837916,
868
+ "learning_rate": 1.1053771543297198e-06,
869
+ "loss": 0.03,
870
+ "step": 123
871
+ },
872
+ {
873
+ "epoch": 0.8581314878892734,
874
+ "grad_norm": 0.36209922289830276,
875
+ "learning_rate": 1.0043673649027519e-06,
876
+ "loss": 0.014,
877
+ "step": 124
878
+ },
879
+ {
880
+ "epoch": 0.8650519031141869,
881
+ "grad_norm": 0.37375093500576706,
882
+ "learning_rate": 9.079525527612321e-07,
883
+ "loss": 0.0208,
884
+ "step": 125
885
+ },
886
+ {
887
+ "epoch": 0.8719723183391004,
888
+ "grad_norm": 0.9164555453155439,
889
+ "learning_rate": 8.161819666783888e-07,
890
+ "loss": 0.0563,
891
+ "step": 126
892
+ },
893
+ {
894
+ "epoch": 0.8788927335640139,
895
+ "grad_norm": 0.7396537836277686,
896
+ "learning_rate": 7.291024831525961e-07,
897
+ "loss": 0.0516,
898
+ "step": 127
899
+ },
900
+ {
901
+ "epoch": 0.8858131487889274,
902
+ "grad_norm": 0.7564027962900852,
903
+ "learning_rate": 6.467585824627886e-07,
904
+ "loss": 0.0797,
905
+ "step": 128
906
+ },
907
+ {
908
+ "epoch": 0.8927335640138409,
909
+ "grad_norm": 0.701813356416935,
910
+ "learning_rate": 5.691923259479093e-07,
911
+ "loss": 0.0323,
912
+ "step": 129
913
+ },
914
+ {
915
+ "epoch": 0.8996539792387543,
916
+ "grad_norm": 0.6642690626780311,
917
+ "learning_rate": 4.964433345219354e-07,
918
+ "loss": 0.027,
919
+ "step": 130
920
+ },
921
+ {
922
+ "epoch": 0.9065743944636678,
923
+ "grad_norm": 0.5832787512217212,
924
+ "learning_rate": 4.285487684354772e-07,
925
+ "loss": 0.0227,
926
+ "step": 131
927
+ },
928
+ {
929
+ "epoch": 0.9134948096885813,
930
+ "grad_norm": 1.301649161039514,
931
+ "learning_rate": 3.6554330829429716e-07,
932
+ "loss": 0.0778,
933
+ "step": 132
934
+ },
935
+ {
936
+ "epoch": 0.9204152249134948,
937
+ "grad_norm": 0.8528660745704756,
938
+ "learning_rate": 3.0745913734441357e-07,
939
+ "loss": 0.033,
940
+ "step": 133
941
+ },
942
+ {
943
+ "epoch": 0.9273356401384083,
944
+ "grad_norm": 1.1082351009137044,
945
+ "learning_rate": 2.5432592503288e-07,
946
+ "loss": 0.0306,
947
+ "step": 134
948
+ },
949
+ {
950
+ "epoch": 0.9342560553633218,
951
+ "grad_norm": 0.9544686893620227,
952
+ "learning_rate": 2.0617081185259512e-07,
953
+ "loss": 0.0434,
954
+ "step": 135
955
+ },
956
+ {
957
+ "epoch": 0.9411764705882353,
958
+ "grad_norm": 0.4186137702661263,
959
+ "learning_rate": 1.630183954789233e-07,
960
+ "loss": 0.0275,
961
+ "step": 136
962
+ },
963
+ {
964
+ "epoch": 0.9480968858131488,
965
+ "grad_norm": 0.8661220155566242,
966
+ "learning_rate": 1.2489071820517394e-07,
967
+ "loss": 0.0397,
968
+ "step": 137
969
+ },
970
+ {
971
+ "epoch": 0.9550173010380623,
972
+ "grad_norm": 0.9542879421585415,
973
+ "learning_rate": 9.180725568338045e-08,
974
+ "loss": 0.0177,
975
+ "step": 138
976
+ },
977
+ {
978
+ "epoch": 0.9619377162629758,
979
+ "grad_norm": 1.221781165267405,
980
+ "learning_rate": 6.378490697611761e-08,
981
+ "loss": 0.0439,
982
+ "step": 139
983
+ },
984
+ {
985
+ "epoch": 0.9688581314878892,
986
+ "grad_norm": 0.47755949195114916,
987
+ "learning_rate": 4.083798592444899e-08,
988
+ "loss": 0.0573,
989
+ "step": 140
990
+ },
991
+ {
992
+ "epoch": 0.9757785467128027,
993
+ "grad_norm": 0.562330479749174,
994
+ "learning_rate": 2.2978213836400974e-08,
995
+ "loss": 0.045,
996
+ "step": 141
997
+ },
998
+ {
999
+ "epoch": 0.9826989619377162,
1000
+ "grad_norm": 0.5335816510886274,
1001
+ "learning_rate": 1.0214713499706596e-08,
1002
+ "loss": 0.0416,
1003
+ "step": 142
1004
+ },
1005
+ {
1006
+ "epoch": 0.9896193771626297,
1007
+ "grad_norm": 0.3303782652790597,
1008
+ "learning_rate": 2.5540045218819256e-09,
1009
+ "loss": 0.0314,
1010
+ "step": 143
1011
+ },
1012
+ {
1013
+ "epoch": 0.9965397923875432,
1014
+ "grad_norm": 0.8440597744595137,
1015
+ "learning_rate": 0.0,
1016
+ "loss": 0.0266,
1017
+ "step": 144
1018
+ },
1019
+ {
1020
+ "epoch": 0.9965397923875432,
1021
+ "step": 144,
1022
+ "total_flos": 4.85462032515072e+16,
1023
+ "train_loss": 0.05981730037860365,
1024
+ "train_runtime": 2168.0646,
1025
+ "train_samples_per_second": 8.526,
1026
+ "train_steps_per_second": 0.066
1027
+ }
1028
+ ],
1029
+ "logging_steps": 1.0,
1030
+ "max_steps": 144,
1031
+ "num_input_tokens_seen": 0,
1032
+ "num_train_epochs": 1,
1033
+ "save_steps": 2000,
1034
+ "stateful_callbacks": {
1035
+ "TrainerControl": {
1036
+ "args": {
1037
+ "should_epoch_stop": false,
1038
+ "should_evaluate": false,
1039
+ "should_log": false,
1040
+ "should_save": true,
1041
+ "should_training_stop": true
1042
+ },
1043
+ "attributes": {}
1044
+ }
1045
+ },
1046
+ "total_flos": 4.85462032515072e+16,
1047
+ "train_batch_size": 4,
1048
+ "trial_name": null,
1049
+ "trial_params": null
1050
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e5c1aec160f970dd7f051a11cf368ffb25bd33880921204414ed90fa25b101af
3
+ size 6904
vocab.json ADDED
The diff for this file is too large to render. See raw diff