lym0302 commited on
Commit
1178867
·
verified ·
1 Parent(s): 936460b

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:7afcafb3a7ba5640cc79e8a6741e215dea015286a2963ef9ff845c115fe445e9
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:8d38f880ad4ea6a4a55a3dafce476137857edbcdd5e23abb6342bae98a7332f1
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:a4fe85086019948241aaecd3deb6317182a98dd3be85051bf9ecc4cb2e797208
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:2360f34ccbefcdf6e6d1b69332f50543fca080a0e84b522e543b06bba3011574
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:4772cece868ce7cff8898b65ab9e2745196145f5467dced47355be96fb9167c1
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:87c9d27142c0f2175928b61253435cf6166662c7676684358c7c1f7c1c887291
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,1064 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 1.0,
5
+ "eval_steps": 500,
6
+ "global_step": 146,
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.00684931506849315,
13
+ "grad_norm": 19.29674702806549,
14
+ "learning_rate": 4.000000000000001e-06,
15
+ "loss": 1.7245,
16
+ "step": 1
17
+ },
18
+ {
19
+ "epoch": 0.0136986301369863,
20
+ "grad_norm": 19.21857209627261,
21
+ "learning_rate": 8.000000000000001e-06,
22
+ "loss": 1.7229,
23
+ "step": 2
24
+ },
25
+ {
26
+ "epoch": 0.02054794520547945,
27
+ "grad_norm": 17.41514384667566,
28
+ "learning_rate": 1.2e-05,
29
+ "loss": 1.5905,
30
+ "step": 3
31
+ },
32
+ {
33
+ "epoch": 0.0273972602739726,
34
+ "grad_norm": 11.529843794329034,
35
+ "learning_rate": 1.6000000000000003e-05,
36
+ "loss": 0.8558,
37
+ "step": 4
38
+ },
39
+ {
40
+ "epoch": 0.03424657534246575,
41
+ "grad_norm": 10.40509960722128,
42
+ "learning_rate": 2e-05,
43
+ "loss": 0.4032,
44
+ "step": 5
45
+ },
46
+ {
47
+ "epoch": 0.0410958904109589,
48
+ "grad_norm": 7.504234388952183,
49
+ "learning_rate": 1.9997517932672592e-05,
50
+ "loss": 0.1401,
51
+ "step": 6
52
+ },
53
+ {
54
+ "epoch": 0.04794520547945205,
55
+ "grad_norm": 3.122635162419864,
56
+ "learning_rate": 1.999007296282201e-05,
57
+ "loss": 0.0589,
58
+ "step": 7
59
+ },
60
+ {
61
+ "epoch": 0.0547945205479452,
62
+ "grad_norm": 1.0239540198472452,
63
+ "learning_rate": 1.9977668786231536e-05,
64
+ "loss": 0.015,
65
+ "step": 8
66
+ },
67
+ {
68
+ "epoch": 0.06164383561643835,
69
+ "grad_norm": 0.7641911750868134,
70
+ "learning_rate": 1.9960311560501457e-05,
71
+ "loss": 0.0112,
72
+ "step": 9
73
+ },
74
+ {
75
+ "epoch": 0.0684931506849315,
76
+ "grad_norm": 0.7361915045518228,
77
+ "learning_rate": 1.993800990199235e-05,
78
+ "loss": 0.0198,
79
+ "step": 10
80
+ },
81
+ {
82
+ "epoch": 0.07534246575342465,
83
+ "grad_norm": 0.48133196299135517,
84
+ "learning_rate": 1.9910774881547803e-05,
85
+ "loss": 0.0233,
86
+ "step": 11
87
+ },
88
+ {
89
+ "epoch": 0.0821917808219178,
90
+ "grad_norm": 0.45830620408895073,
91
+ "learning_rate": 1.9878620018998696e-05,
92
+ "loss": 0.0205,
93
+ "step": 12
94
+ },
95
+ {
96
+ "epoch": 0.08904109589041095,
97
+ "grad_norm": 0.40251365492026353,
98
+ "learning_rate": 1.984156127645178e-05,
99
+ "loss": 0.0135,
100
+ "step": 13
101
+ },
102
+ {
103
+ "epoch": 0.0958904109589041,
104
+ "grad_norm": 0.21100873184731916,
105
+ "learning_rate": 1.979961705036587e-05,
106
+ "loss": 0.01,
107
+ "step": 14
108
+ },
109
+ {
110
+ "epoch": 0.10273972602739725,
111
+ "grad_norm": 0.10663215007709867,
112
+ "learning_rate": 1.975280816241959e-05,
113
+ "loss": 0.0059,
114
+ "step": 15
115
+ },
116
+ {
117
+ "epoch": 0.1095890410958904,
118
+ "grad_norm": 0.2136985001931379,
119
+ "learning_rate": 1.970115784917523e-05,
120
+ "loss": 0.0066,
121
+ "step": 16
122
+ },
123
+ {
124
+ "epoch": 0.11643835616438356,
125
+ "grad_norm": 0.19320727681702302,
126
+ "learning_rate": 1.964469175054377e-05,
127
+ "loss": 0.0061,
128
+ "step": 17
129
+ },
130
+ {
131
+ "epoch": 0.1232876712328767,
132
+ "grad_norm": 0.22488490193570698,
133
+ "learning_rate": 1.9583437897056915e-05,
134
+ "loss": 0.0054,
135
+ "step": 18
136
+ },
137
+ {
138
+ "epoch": 0.13013698630136986,
139
+ "grad_norm": 0.12949314004112783,
140
+ "learning_rate": 1.9517426695952358e-05,
141
+ "loss": 0.0048,
142
+ "step": 19
143
+ },
144
+ {
145
+ "epoch": 0.136986301369863,
146
+ "grad_norm": 0.07325589720293409,
147
+ "learning_rate": 1.944669091607919e-05,
148
+ "loss": 0.0046,
149
+ "step": 20
150
+ },
151
+ {
152
+ "epoch": 0.14383561643835616,
153
+ "grad_norm": 0.2667026911328205,
154
+ "learning_rate": 1.9371265671631038e-05,
155
+ "loss": 0.0049,
156
+ "step": 21
157
+ },
158
+ {
159
+ "epoch": 0.1506849315068493,
160
+ "grad_norm": 0.23774565539015635,
161
+ "learning_rate": 1.9291188404714876e-05,
162
+ "loss": 0.0047,
163
+ "step": 22
164
+ },
165
+ {
166
+ "epoch": 0.15753424657534246,
167
+ "grad_norm": 0.06311021183333536,
168
+ "learning_rate": 1.920649886676429e-05,
169
+ "loss": 0.0038,
170
+ "step": 23
171
+ },
172
+ {
173
+ "epoch": 0.1643835616438356,
174
+ "grad_norm": 0.18265444495687314,
175
+ "learning_rate": 1.9117239098806296e-05,
176
+ "loss": 0.0036,
177
+ "step": 24
178
+ },
179
+ {
180
+ "epoch": 0.17123287671232876,
181
+ "grad_norm": 0.17871695956695147,
182
+ "learning_rate": 1.902345341059164e-05,
183
+ "loss": 0.0034,
184
+ "step": 25
185
+ },
186
+ {
187
+ "epoch": 0.1780821917808219,
188
+ "grad_norm": 0.14022615585862463,
189
+ "learning_rate": 1.8925188358598815e-05,
190
+ "loss": 0.003,
191
+ "step": 26
192
+ },
193
+ {
194
+ "epoch": 0.18493150684931506,
195
+ "grad_norm": 0.4217735239695949,
196
+ "learning_rate": 1.882249272292282e-05,
197
+ "loss": 0.0036,
198
+ "step": 27
199
+ },
200
+ {
201
+ "epoch": 0.1917808219178082,
202
+ "grad_norm": 0.2745329088554571,
203
+ "learning_rate": 1.871541748306005e-05,
204
+ "loss": 0.003,
205
+ "step": 28
206
+ },
207
+ {
208
+ "epoch": 0.19863013698630136,
209
+ "grad_norm": 0.23380507547266036,
210
+ "learning_rate": 1.8604015792601395e-05,
211
+ "loss": 0.0028,
212
+ "step": 29
213
+ },
214
+ {
215
+ "epoch": 0.2054794520547945,
216
+ "grad_norm": 0.1428536424621058,
217
+ "learning_rate": 1.8488342952846074e-05,
218
+ "loss": 0.0023,
219
+ "step": 30
220
+ },
221
+ {
222
+ "epoch": 0.21232876712328766,
223
+ "grad_norm": 0.16718027431083146,
224
+ "learning_rate": 1.8368456385349333e-05,
225
+ "loss": 0.0025,
226
+ "step": 31
227
+ },
228
+ {
229
+ "epoch": 0.2191780821917808,
230
+ "grad_norm": 0.18797868021085826,
231
+ "learning_rate": 1.8244415603417603e-05,
232
+ "loss": 0.0027,
233
+ "step": 32
234
+ },
235
+ {
236
+ "epoch": 0.22602739726027396,
237
+ "grad_norm": 0.12331990781903307,
238
+ "learning_rate": 1.8116282182565313e-05,
239
+ "loss": 0.0024,
240
+ "step": 33
241
+ },
242
+ {
243
+ "epoch": 0.2328767123287671,
244
+ "grad_norm": 0.16756761059169867,
245
+ "learning_rate": 1.7984119729947944e-05,
246
+ "loss": 0.002,
247
+ "step": 34
248
+ },
249
+ {
250
+ "epoch": 0.23972602739726026,
251
+ "grad_norm": 0.14512823117742887,
252
+ "learning_rate": 1.7847993852786612e-05,
253
+ "loss": 0.0022,
254
+ "step": 35
255
+ },
256
+ {
257
+ "epoch": 0.2465753424657534,
258
+ "grad_norm": 0.033276917673730214,
259
+ "learning_rate": 1.7707972125799738e-05,
260
+ "loss": 0.0018,
261
+ "step": 36
262
+ },
263
+ {
264
+ "epoch": 0.2534246575342466,
265
+ "grad_norm": 0.05328530240886233,
266
+ "learning_rate": 1.7564124057658057e-05,
267
+ "loss": 0.0017,
268
+ "step": 37
269
+ },
270
+ {
271
+ "epoch": 0.2602739726027397,
272
+ "grad_norm": 0.17408349740736515,
273
+ "learning_rate": 1.7416521056479577e-05,
274
+ "loss": 0.0024,
275
+ "step": 38
276
+ },
277
+ {
278
+ "epoch": 0.2671232876712329,
279
+ "grad_norm": 0.1289878517079893,
280
+ "learning_rate": 1.7265236394381634e-05,
281
+ "loss": 0.002,
282
+ "step": 39
283
+ },
284
+ {
285
+ "epoch": 0.273972602739726,
286
+ "grad_norm": 0.07727670281756385,
287
+ "learning_rate": 1.711034517110761e-05,
288
+ "loss": 0.0018,
289
+ "step": 40
290
+ },
291
+ {
292
+ "epoch": 0.2808219178082192,
293
+ "grad_norm": 0.0935035121293635,
294
+ "learning_rate": 1.6951924276746425e-05,
295
+ "loss": 0.002,
296
+ "step": 41
297
+ },
298
+ {
299
+ "epoch": 0.2876712328767123,
300
+ "grad_norm": 0.10355890785277629,
301
+ "learning_rate": 1.6790052353563254e-05,
302
+ "loss": 0.0022,
303
+ "step": 42
304
+ },
305
+ {
306
+ "epoch": 0.2945205479452055,
307
+ "grad_norm": 0.04714349399211733,
308
+ "learning_rate": 1.6624809756960445e-05,
309
+ "loss": 0.0013,
310
+ "step": 43
311
+ },
312
+ {
313
+ "epoch": 0.3013698630136986,
314
+ "grad_norm": 0.054834818605121315,
315
+ "learning_rate": 1.6456278515588023e-05,
316
+ "loss": 0.0015,
317
+ "step": 44
318
+ },
319
+ {
320
+ "epoch": 0.3082191780821918,
321
+ "grad_norm": 0.06250829705501665,
322
+ "learning_rate": 1.6284542290623568e-05,
323
+ "loss": 0.0013,
324
+ "step": 45
325
+ },
326
+ {
327
+ "epoch": 0.3150684931506849,
328
+ "grad_norm": 0.0563640070785858,
329
+ "learning_rate": 1.6109686334241655e-05,
330
+ "loss": 0.0016,
331
+ "step": 46
332
+ },
333
+ {
334
+ "epoch": 0.3219178082191781,
335
+ "grad_norm": 0.09704124691215613,
336
+ "learning_rate": 1.5931797447293553e-05,
337
+ "loss": 0.0017,
338
+ "step": 47
339
+ },
340
+ {
341
+ "epoch": 0.3287671232876712,
342
+ "grad_norm": 0.07610196592393692,
343
+ "learning_rate": 1.5750963936218104e-05,
344
+ "loss": 0.0014,
345
+ "step": 48
346
+ },
347
+ {
348
+ "epoch": 0.3356164383561644,
349
+ "grad_norm": 0.11034470568619353,
350
+ "learning_rate": 1.5567275569205216e-05,
351
+ "loss": 0.0018,
352
+ "step": 49
353
+ },
354
+ {
355
+ "epoch": 0.3424657534246575,
356
+ "grad_norm": 0.05344287464292232,
357
+ "learning_rate": 1.5380823531633727e-05,
358
+ "loss": 0.0019,
359
+ "step": 50
360
+ },
361
+ {
362
+ "epoch": 0.3493150684931507,
363
+ "grad_norm": 0.06818765213019927,
364
+ "learning_rate": 1.5191700380805754e-05,
365
+ "loss": 0.001,
366
+ "step": 51
367
+ },
368
+ {
369
+ "epoch": 0.3561643835616438,
370
+ "grad_norm": 0.07736500670457502,
371
+ "learning_rate": 1.5000000000000002e-05,
372
+ "loss": 0.0013,
373
+ "step": 52
374
+ },
375
+ {
376
+ "epoch": 0.363013698630137,
377
+ "grad_norm": 0.08416203716950547,
378
+ "learning_rate": 1.4805817551866839e-05,
379
+ "loss": 0.0013,
380
+ "step": 53
381
+ },
382
+ {
383
+ "epoch": 0.3698630136986301,
384
+ "grad_norm": 0.08000624861117452,
385
+ "learning_rate": 1.460924943118828e-05,
386
+ "loss": 0.0017,
387
+ "step": 54
388
+ },
389
+ {
390
+ "epoch": 0.3767123287671233,
391
+ "grad_norm": 0.026831863602624892,
392
+ "learning_rate": 1.4410393217026317e-05,
393
+ "loss": 0.0014,
394
+ "step": 55
395
+ },
396
+ {
397
+ "epoch": 0.3835616438356164,
398
+ "grad_norm": 0.026046969137480933,
399
+ "learning_rate": 1.4209347624283352e-05,
400
+ "loss": 0.0012,
401
+ "step": 56
402
+ },
403
+ {
404
+ "epoch": 0.3904109589041096,
405
+ "grad_norm": 0.06996591904539229,
406
+ "learning_rate": 1.4006212454698798e-05,
407
+ "loss": 0.0015,
408
+ "step": 57
409
+ },
410
+ {
411
+ "epoch": 0.3972602739726027,
412
+ "grad_norm": 0.08076573337383759,
413
+ "learning_rate": 1.3801088547306149e-05,
414
+ "loss": 0.0015,
415
+ "step": 58
416
+ },
417
+ {
418
+ "epoch": 0.4041095890410959,
419
+ "grad_norm": 0.06814214008336002,
420
+ "learning_rate": 1.3594077728375129e-05,
421
+ "loss": 0.0013,
422
+ "step": 59
423
+ },
424
+ {
425
+ "epoch": 0.410958904109589,
426
+ "grad_norm": 0.045916785375625435,
427
+ "learning_rate": 1.3385282760863758e-05,
428
+ "loss": 0.0017,
429
+ "step": 60
430
+ },
431
+ {
432
+ "epoch": 0.4178082191780822,
433
+ "grad_norm": 0.03587505653315555,
434
+ "learning_rate": 1.3174807293405427e-05,
435
+ "loss": 0.0012,
436
+ "step": 61
437
+ },
438
+ {
439
+ "epoch": 0.4246575342465753,
440
+ "grad_norm": 0.04958824946765545,
441
+ "learning_rate": 1.2962755808856341e-05,
442
+ "loss": 0.0017,
443
+ "step": 62
444
+ },
445
+ {
446
+ "epoch": 0.4315068493150685,
447
+ "grad_norm": 0.055768018261520134,
448
+ "learning_rate": 1.2749233572428805e-05,
449
+ "loss": 0.0015,
450
+ "step": 63
451
+ },
452
+ {
453
+ "epoch": 0.4383561643835616,
454
+ "grad_norm": 0.022968020713589454,
455
+ "learning_rate": 1.2534346579436158e-05,
456
+ "loss": 0.0012,
457
+ "step": 64
458
+ },
459
+ {
460
+ "epoch": 0.4452054794520548,
461
+ "grad_norm": 0.029150590324992027,
462
+ "learning_rate": 1.2318201502675285e-05,
463
+ "loss": 0.0017,
464
+ "step": 65
465
+ },
466
+ {
467
+ "epoch": 0.4520547945205479,
468
+ "grad_norm": 0.0838087444466505,
469
+ "learning_rate": 1.210090563947278e-05,
470
+ "loss": 0.0012,
471
+ "step": 66
472
+ },
473
+ {
474
+ "epoch": 0.4589041095890411,
475
+ "grad_norm": 0.03256867146120048,
476
+ "learning_rate": 1.1882566858421137e-05,
477
+ "loss": 0.0014,
478
+ "step": 67
479
+ },
480
+ {
481
+ "epoch": 0.4657534246575342,
482
+ "grad_norm": 0.05522775344747511,
483
+ "learning_rate": 1.1663293545831302e-05,
484
+ "loss": 0.0016,
485
+ "step": 68
486
+ },
487
+ {
488
+ "epoch": 0.4726027397260274,
489
+ "grad_norm": 0.04414044075585935,
490
+ "learning_rate": 1.1443194551928267e-05,
491
+ "loss": 0.0015,
492
+ "step": 69
493
+ },
494
+ {
495
+ "epoch": 0.4794520547945205,
496
+ "grad_norm": 0.03049587207603872,
497
+ "learning_rate": 1.1222379136816347e-05,
498
+ "loss": 0.0012,
499
+ "step": 70
500
+ },
501
+ {
502
+ "epoch": 0.4863013698630137,
503
+ "grad_norm": 0.04682460462951094,
504
+ "learning_rate": 1.1000956916240985e-05,
505
+ "loss": 0.0012,
506
+ "step": 71
507
+ },
508
+ {
509
+ "epoch": 0.4931506849315068,
510
+ "grad_norm": 0.05892485409761165,
511
+ "learning_rate": 1.0779037807174032e-05,
512
+ "loss": 0.0011,
513
+ "step": 72
514
+ },
515
+ {
516
+ "epoch": 0.5,
517
+ "grad_norm": 0.03550653877962121,
518
+ "learning_rate": 1.0556731973249486e-05,
519
+ "loss": 0.0013,
520
+ "step": 73
521
+ },
522
+ {
523
+ "epoch": 0.5068493150684932,
524
+ "grad_norm": 0.0894703655391614,
525
+ "learning_rate": 1.0334149770076747e-05,
526
+ "loss": 0.0008,
527
+ "step": 74
528
+ },
529
+ {
530
+ "epoch": 0.5136986301369864,
531
+ "grad_norm": 0.030497628260740314,
532
+ "learning_rate": 1.0111401690458655e-05,
533
+ "loss": 0.0013,
534
+ "step": 75
535
+ },
536
+ {
537
+ "epoch": 0.5205479452054794,
538
+ "grad_norm": 0.06677410842425625,
539
+ "learning_rate": 9.888598309541347e-06,
540
+ "loss": 0.0017,
541
+ "step": 76
542
+ },
543
+ {
544
+ "epoch": 0.5273972602739726,
545
+ "grad_norm": 0.07484818283470532,
546
+ "learning_rate": 9.665850229923258e-06,
547
+ "loss": 0.0011,
548
+ "step": 77
549
+ },
550
+ {
551
+ "epoch": 0.5342465753424658,
552
+ "grad_norm": 0.025732343070697165,
553
+ "learning_rate": 9.443268026750521e-06,
554
+ "loss": 0.0008,
555
+ "step": 78
556
+ },
557
+ {
558
+ "epoch": 0.541095890410959,
559
+ "grad_norm": 0.034210499510211344,
560
+ "learning_rate": 9.22096219282597e-06,
561
+ "loss": 0.0007,
562
+ "step": 79
563
+ },
564
+ {
565
+ "epoch": 0.547945205479452,
566
+ "grad_norm": 0.10015949753448726,
567
+ "learning_rate": 8.999043083759016e-06,
568
+ "loss": 0.0015,
569
+ "step": 80
570
+ },
571
+ {
572
+ "epoch": 0.5547945205479452,
573
+ "grad_norm": 0.09275161932686507,
574
+ "learning_rate": 8.777620863183658e-06,
575
+ "loss": 0.0011,
576
+ "step": 81
577
+ },
578
+ {
579
+ "epoch": 0.5616438356164384,
580
+ "grad_norm": 0.05947458847354757,
581
+ "learning_rate": 8.556805448071736e-06,
582
+ "loss": 0.0008,
583
+ "step": 82
584
+ },
585
+ {
586
+ "epoch": 0.5684931506849316,
587
+ "grad_norm": 0.0294571121538469,
588
+ "learning_rate": 8.336706454168701e-06,
589
+ "loss": 0.001,
590
+ "step": 83
591
+ },
592
+ {
593
+ "epoch": 0.5753424657534246,
594
+ "grad_norm": 0.04241767860802742,
595
+ "learning_rate": 8.117433141578865e-06,
596
+ "loss": 0.0011,
597
+ "step": 84
598
+ },
599
+ {
600
+ "epoch": 0.5821917808219178,
601
+ "grad_norm": 0.06495783919409748,
602
+ "learning_rate": 7.89909436052722e-06,
603
+ "loss": 0.0016,
604
+ "step": 85
605
+ },
606
+ {
607
+ "epoch": 0.589041095890411,
608
+ "grad_norm": 0.032464640498104755,
609
+ "learning_rate": 7.681798497324717e-06,
610
+ "loss": 0.0013,
611
+ "step": 86
612
+ },
613
+ {
614
+ "epoch": 0.5958904109589042,
615
+ "grad_norm": 0.05908691816887433,
616
+ "learning_rate": 7.465653420563846e-06,
617
+ "loss": 0.0013,
618
+ "step": 87
619
+ },
620
+ {
621
+ "epoch": 0.6027397260273972,
622
+ "grad_norm": 0.027918707497596708,
623
+ "learning_rate": 7.2507664275712e-06,
624
+ "loss": 0.0009,
625
+ "step": 88
626
+ },
627
+ {
628
+ "epoch": 0.6095890410958904,
629
+ "grad_norm": 0.04718877763216423,
630
+ "learning_rate": 7.037244191143662e-06,
631
+ "loss": 0.0012,
632
+ "step": 89
633
+ },
634
+ {
635
+ "epoch": 0.6164383561643836,
636
+ "grad_norm": 0.029120200990469487,
637
+ "learning_rate": 6.8251927065945755e-06,
638
+ "loss": 0.0009,
639
+ "step": 90
640
+ },
641
+ {
642
+ "epoch": 0.6232876712328768,
643
+ "grad_norm": 0.04632805174112383,
644
+ "learning_rate": 6.614717239136246e-06,
645
+ "loss": 0.0008,
646
+ "step": 91
647
+ },
648
+ {
649
+ "epoch": 0.6301369863013698,
650
+ "grad_norm": 0.02233614952979064,
651
+ "learning_rate": 6.405922271624874e-06,
652
+ "loss": 0.0012,
653
+ "step": 92
654
+ },
655
+ {
656
+ "epoch": 0.636986301369863,
657
+ "grad_norm": 0.03987865814667557,
658
+ "learning_rate": 6.1989114526938535e-06,
659
+ "loss": 0.0007,
660
+ "step": 93
661
+ },
662
+ {
663
+ "epoch": 0.6438356164383562,
664
+ "grad_norm": 0.04518664140322487,
665
+ "learning_rate": 5.993787545301204e-06,
666
+ "loss": 0.0013,
667
+ "step": 94
668
+ },
669
+ {
670
+ "epoch": 0.6506849315068494,
671
+ "grad_norm": 0.05916217857082617,
672
+ "learning_rate": 5.790652375716653e-06,
673
+ "loss": 0.0012,
674
+ "step": 95
675
+ },
676
+ {
677
+ "epoch": 0.6575342465753424,
678
+ "grad_norm": 0.05563218539193664,
679
+ "learning_rate": 5.589606782973683e-06,
680
+ "loss": 0.0013,
681
+ "step": 96
682
+ },
683
+ {
684
+ "epoch": 0.6643835616438356,
685
+ "grad_norm": 0.06101113089335977,
686
+ "learning_rate": 5.39075056881172e-06,
687
+ "loss": 0.0008,
688
+ "step": 97
689
+ },
690
+ {
691
+ "epoch": 0.6712328767123288,
692
+ "grad_norm": 0.028524450712115297,
693
+ "learning_rate": 5.194182448133163e-06,
694
+ "loss": 0.0008,
695
+ "step": 98
696
+ },
697
+ {
698
+ "epoch": 0.678082191780822,
699
+ "grad_norm": 0.04585647335088978,
700
+ "learning_rate": 5.000000000000003e-06,
701
+ "loss": 0.001,
702
+ "step": 99
703
+ },
704
+ {
705
+ "epoch": 0.684931506849315,
706
+ "grad_norm": 0.03557767533880564,
707
+ "learning_rate": 4.808299619194251e-06,
708
+ "loss": 0.001,
709
+ "step": 100
710
+ },
711
+ {
712
+ "epoch": 0.6917808219178082,
713
+ "grad_norm": 0.035139350217428346,
714
+ "learning_rate": 4.619176468366274e-06,
715
+ "loss": 0.0012,
716
+ "step": 101
717
+ },
718
+ {
719
+ "epoch": 0.6986301369863014,
720
+ "grad_norm": 0.03923989663420306,
721
+ "learning_rate": 4.432724430794786e-06,
722
+ "loss": 0.0014,
723
+ "step": 102
724
+ },
725
+ {
726
+ "epoch": 0.7054794520547946,
727
+ "grad_norm": 0.05465108299814873,
728
+ "learning_rate": 4.2490360637818965e-06,
729
+ "loss": 0.001,
730
+ "step": 103
731
+ },
732
+ {
733
+ "epoch": 0.7123287671232876,
734
+ "grad_norm": 0.05277740141204182,
735
+ "learning_rate": 4.0682025527064486e-06,
736
+ "loss": 0.0012,
737
+ "step": 104
738
+ },
739
+ {
740
+ "epoch": 0.7191780821917808,
741
+ "grad_norm": 0.04069062627827433,
742
+ "learning_rate": 3.890313665758348e-06,
743
+ "loss": 0.001,
744
+ "step": 105
745
+ },
746
+ {
747
+ "epoch": 0.726027397260274,
748
+ "grad_norm": 0.027683781214485625,
749
+ "learning_rate": 3.7154577093764334e-06,
750
+ "loss": 0.0012,
751
+ "step": 106
752
+ },
753
+ {
754
+ "epoch": 0.7328767123287672,
755
+ "grad_norm": 0.04082961220757915,
756
+ "learning_rate": 3.543721484411976e-06,
757
+ "loss": 0.0013,
758
+ "step": 107
759
+ },
760
+ {
761
+ "epoch": 0.7397260273972602,
762
+ "grad_norm": 0.057665851827404115,
763
+ "learning_rate": 3.3751902430395558e-06,
764
+ "loss": 0.0012,
765
+ "step": 108
766
+ },
767
+ {
768
+ "epoch": 0.7465753424657534,
769
+ "grad_norm": 0.03184853057743126,
770
+ "learning_rate": 3.209947646436752e-06,
771
+ "loss": 0.0015,
772
+ "step": 109
773
+ },
774
+ {
775
+ "epoch": 0.7534246575342466,
776
+ "grad_norm": 0.03058775070190777,
777
+ "learning_rate": 3.0480757232535773e-06,
778
+ "loss": 0.001,
779
+ "step": 110
780
+ },
781
+ {
782
+ "epoch": 0.7602739726027398,
783
+ "grad_norm": 0.021197542044870794,
784
+ "learning_rate": 2.889654828892393e-06,
785
+ "loss": 0.001,
786
+ "step": 111
787
+ },
788
+ {
789
+ "epoch": 0.7671232876712328,
790
+ "grad_norm": 0.026836346212118074,
791
+ "learning_rate": 2.73476360561837e-06,
792
+ "loss": 0.001,
793
+ "step": 112
794
+ },
795
+ {
796
+ "epoch": 0.773972602739726,
797
+ "grad_norm": 0.02567047668470243,
798
+ "learning_rate": 2.5834789435204245e-06,
799
+ "loss": 0.0013,
800
+ "step": 113
801
+ },
802
+ {
803
+ "epoch": 0.7808219178082192,
804
+ "grad_norm": 0.02644076542732853,
805
+ "learning_rate": 2.4358759423419476e-06,
806
+ "loss": 0.001,
807
+ "step": 114
808
+ },
809
+ {
810
+ "epoch": 0.7876712328767124,
811
+ "grad_norm": 0.028839912523458685,
812
+ "learning_rate": 2.2920278742002677e-06,
813
+ "loss": 0.0011,
814
+ "step": 115
815
+ },
816
+ {
817
+ "epoch": 0.7945205479452054,
818
+ "grad_norm": 0.04738085952559155,
819
+ "learning_rate": 2.1520061472133903e-06,
820
+ "loss": 0.0017,
821
+ "step": 116
822
+ },
823
+ {
824
+ "epoch": 0.8013698630136986,
825
+ "grad_norm": 0.06809650532157646,
826
+ "learning_rate": 2.0158802700520576e-06,
827
+ "loss": 0.0011,
828
+ "step": 117
829
+ },
830
+ {
831
+ "epoch": 0.8082191780821918,
832
+ "grad_norm": 0.023735350189323164,
833
+ "learning_rate": 1.8837178174346882e-06,
834
+ "loss": 0.0012,
835
+ "step": 118
836
+ },
837
+ {
838
+ "epoch": 0.815068493150685,
839
+ "grad_norm": 0.04205761142071848,
840
+ "learning_rate": 1.7555843965823992e-06,
841
+ "loss": 0.0014,
842
+ "step": 119
843
+ },
844
+ {
845
+ "epoch": 0.821917808219178,
846
+ "grad_norm": 0.036552531951304985,
847
+ "learning_rate": 1.6315436146506702e-06,
848
+ "loss": 0.0008,
849
+ "step": 120
850
+ },
851
+ {
852
+ "epoch": 0.8287671232876712,
853
+ "grad_norm": 0.04975466008883568,
854
+ "learning_rate": 1.5116570471539294e-06,
855
+ "loss": 0.0014,
856
+ "step": 121
857
+ },
858
+ {
859
+ "epoch": 0.8356164383561644,
860
+ "grad_norm": 0.04244581829003469,
861
+ "learning_rate": 1.3959842073986085e-06,
862
+ "loss": 0.0017,
863
+ "step": 122
864
+ },
865
+ {
866
+ "epoch": 0.8424657534246576,
867
+ "grad_norm": 0.03061287445805811,
868
+ "learning_rate": 1.2845825169399506e-06,
869
+ "loss": 0.0014,
870
+ "step": 123
871
+ },
872
+ {
873
+ "epoch": 0.8493150684931506,
874
+ "grad_norm": 0.03212166979592859,
875
+ "learning_rate": 1.1775072770771833e-06,
876
+ "loss": 0.001,
877
+ "step": 124
878
+ },
879
+ {
880
+ "epoch": 0.8561643835616438,
881
+ "grad_norm": 0.030081381253936994,
882
+ "learning_rate": 1.074811641401189e-06,
883
+ "loss": 0.0009,
884
+ "step": 125
885
+ },
886
+ {
887
+ "epoch": 0.863013698630137,
888
+ "grad_norm": 0.02162685436714291,
889
+ "learning_rate": 9.765465894083637e-07,
890
+ "loss": 0.0011,
891
+ "step": 126
892
+ },
893
+ {
894
+ "epoch": 0.8698630136986302,
895
+ "grad_norm": 0.06344389689997086,
896
+ "learning_rate": 8.827609011937066e-07,
897
+ "loss": 0.001,
898
+ "step": 127
899
+ },
900
+ {
901
+ "epoch": 0.8767123287671232,
902
+ "grad_norm": 0.028695281312298433,
903
+ "learning_rate": 7.935011332357113e-07,
904
+ "loss": 0.0013,
905
+ "step": 128
906
+ },
907
+ {
908
+ "epoch": 0.8835616438356164,
909
+ "grad_norm": 0.04658193757911157,
910
+ "learning_rate": 7.088115952851238e-07,
911
+ "loss": 0.0008,
912
+ "step": 129
913
+ },
914
+ {
915
+ "epoch": 0.8904109589041096,
916
+ "grad_norm": 0.06588466626095466,
917
+ "learning_rate": 6.287343283689662e-07,
918
+ "loss": 0.0012,
919
+ "step": 130
920
+ },
921
+ {
922
+ "epoch": 0.8972602739726028,
923
+ "grad_norm": 0.0596321795178758,
924
+ "learning_rate": 5.533090839208133e-07,
925
+ "loss": 0.0009,
926
+ "step": 131
927
+ },
928
+ {
929
+ "epoch": 0.9041095890410958,
930
+ "grad_norm": 0.026161831276280006,
931
+ "learning_rate": 4.825733040476465e-07,
932
+ "loss": 0.0013,
933
+ "step": 132
934
+ },
935
+ {
936
+ "epoch": 0.910958904109589,
937
+ "grad_norm": 0.05665994704513745,
938
+ "learning_rate": 4.165621029430855e-07,
939
+ "loss": 0.0012,
940
+ "step": 133
941
+ },
942
+ {
943
+ "epoch": 0.9178082191780822,
944
+ "grad_norm": 0.03186905845651481,
945
+ "learning_rate": 3.553082494562354e-07,
946
+ "loss": 0.0013,
947
+ "step": 134
948
+ },
949
+ {
950
+ "epoch": 0.9246575342465754,
951
+ "grad_norm": 0.026290462399068817,
952
+ "learning_rate": 2.988421508247741e-07,
953
+ "loss": 0.001,
954
+ "step": 135
955
+ },
956
+ {
957
+ "epoch": 0.9315068493150684,
958
+ "grad_norm": 0.027234972781248173,
959
+ "learning_rate": 2.4719183758041056e-07,
960
+ "loss": 0.0014,
961
+ "step": 136
962
+ },
963
+ {
964
+ "epoch": 0.9383561643835616,
965
+ "grad_norm": 0.02358313731833951,
966
+ "learning_rate": 2.0038294963413251e-07,
967
+ "loss": 0.0012,
968
+ "step": 137
969
+ },
970
+ {
971
+ "epoch": 0.9452054794520548,
972
+ "grad_norm": 0.024465700570268718,
973
+ "learning_rate": 1.5843872354822099e-07,
974
+ "loss": 0.0012,
975
+ "step": 138
976
+ },
977
+ {
978
+ "epoch": 0.952054794520548,
979
+ "grad_norm": 0.026052644199600516,
980
+ "learning_rate": 1.21379981001305e-07,
981
+ "loss": 0.0013,
982
+ "step": 139
983
+ },
984
+ {
985
+ "epoch": 0.958904109589041,
986
+ "grad_norm": 0.03726493241217445,
987
+ "learning_rate": 8.922511845219972e-08,
988
+ "loss": 0.0013,
989
+ "step": 140
990
+ },
991
+ {
992
+ "epoch": 0.9657534246575342,
993
+ "grad_norm": 0.02392684919003666,
994
+ "learning_rate": 6.199009800765265e-08,
995
+ "loss": 0.0008,
996
+ "step": 141
997
+ },
998
+ {
999
+ "epoch": 0.9726027397260274,
1000
+ "grad_norm": 0.03581373833161317,
1001
+ "learning_rate": 3.96884394985475e-08,
1002
+ "loss": 0.0009,
1003
+ "step": 142
1004
+ },
1005
+ {
1006
+ "epoch": 0.9794520547945206,
1007
+ "grad_norm": 0.051353061359069495,
1008
+ "learning_rate": 2.2331213768468363e-08,
1009
+ "loss": 0.0011,
1010
+ "step": 143
1011
+ },
1012
+ {
1013
+ "epoch": 0.9863013698630136,
1014
+ "grad_norm": 0.03743681014771785,
1015
+ "learning_rate": 9.927037177993593e-09,
1016
+ "loss": 0.0013,
1017
+ "step": 144
1018
+ },
1019
+ {
1020
+ "epoch": 0.9931506849315068,
1021
+ "grad_norm": 0.040135491167517835,
1022
+ "learning_rate": 2.4820673274095207e-09,
1023
+ "loss": 0.0016,
1024
+ "step": 145
1025
+ },
1026
+ {
1027
+ "epoch": 1.0,
1028
+ "grad_norm": 0.032445402371938076,
1029
+ "learning_rate": 0.0,
1030
+ "loss": 0.0012,
1031
+ "step": 146
1032
+ },
1033
+ {
1034
+ "epoch": 1.0,
1035
+ "step": 146,
1036
+ "total_flos": 2.8412514950499533e+17,
1037
+ "train_loss": 0.046784546577901105,
1038
+ "train_runtime": 2768.684,
1039
+ "train_samples_per_second": 6.743,
1040
+ "train_steps_per_second": 0.053
1041
+ }
1042
+ ],
1043
+ "logging_steps": 1.0,
1044
+ "max_steps": 146,
1045
+ "num_input_tokens_seen": 0,
1046
+ "num_train_epochs": 1,
1047
+ "save_steps": 2000,
1048
+ "stateful_callbacks": {
1049
+ "TrainerControl": {
1050
+ "args": {
1051
+ "should_epoch_stop": false,
1052
+ "should_evaluate": false,
1053
+ "should_log": false,
1054
+ "should_save": true,
1055
+ "should_training_stop": true
1056
+ },
1057
+ "attributes": {}
1058
+ }
1059
+ },
1060
+ "total_flos": 2.8412514950499533e+17,
1061
+ "train_batch_size": 4,
1062
+ "trial_name": null,
1063
+ "trial_params": null
1064
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:00760658f9340604217342ba0009dcc5678cd094d63e1198a060a02187a27cbc
3
+ size 6840
vocab.json ADDED
The diff for this file is too large to render. See raw diff