MagicCard commited on
Commit
028081c
·
0 Parent(s):
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +68 -0
  2. LF/data/dataset_info.json +79 -0
  3. LF/data/msrh_rag_test_k3_AfriE5_TV.json +0 -0
  4. LF/data/msrh_rag_test_k3_AfriE5_TV_fewshot_k3.json +3 -0
  5. LF/data/msrh_rag_test_k3_AfriE5_TV_fewshot_k4.json +3 -0
  6. LF/data/msrh_rag_test_k3_AfriE5_TV_fewshot_k5.json +3 -0
  7. LF/data/msrh_rag_test_k3_AfriE5_TV_fewshot_k5_v8.json +3 -0
  8. LF/data/msrh_rag_test_k3_AfriE5_TV_fewshot_k7.json +3 -0
  9. LF/data/msrh_rag_test_k3_AfriE5_TV_fewshot_k7_v8.json +3 -0
  10. LF/data/msrh_rag_train_afrie5_TV_k3.json +3 -0
  11. LF/data/msrh_rag_train_afrie5_TV_k3_fewshot.json +3 -0
  12. LF/data/msrh_rag_train_afrie5_TV_k4_fewshot.json +3 -0
  13. LF/data/msrh_rag_train_afrie5_TV_k5_fewshot.json +3 -0
  14. LF/data/msrh_rag_train_afrie5_TV_k5_fewshot_v8.json +3 -0
  15. LF/data/msrh_rag_train_afrie5_TV_k7_fewshot.json +3 -0
  16. LF/data/msrh_rag_train_afrie5_TV_k7_fewshot_v8.json +3 -0
  17. MODEL_CARD.md +165 -0
  18. README.md +165 -0
  19. RECIPE.md +457 -0
  20. checkpoints/Qwen3-32B-3fewshots-bs64-3eps-ckpt-1400/adapter_config.json +46 -0
  21. checkpoints/Qwen3-32B-3fewshots-bs64-3eps-ckpt-1400/adapter_model.safetensors +3 -0
  22. checkpoints/Qwen3-32B-3fewshots-bs64-3eps-ckpt-1400/chat_template.jinja +89 -0
  23. checkpoints/Qwen3-32B-3fewshots-bs64-3eps-ckpt-1400/tokenizer.json +3 -0
  24. checkpoints/Qwen3-32B-3fewshots-bs64-3eps-ckpt-1400/tokenizer_config.json +30 -0
  25. checkpoints/Qwen3-32B-3fewshots-bs64-3eps-ckpt-1400/trainer_state.json +524 -0
  26. checkpoints/Qwen3-32B-5fewshots-bs64-3eps-ckpt-1700/adapter_config.json +46 -0
  27. checkpoints/Qwen3-32B-5fewshots-bs64-3eps-ckpt-1700/adapter_model.safetensors +3 -0
  28. checkpoints/Qwen3-32B-5fewshots-bs64-3eps-ckpt-1700/chat_template.jinja +89 -0
  29. checkpoints/Qwen3-32B-5fewshots-bs64-3eps-ckpt-1700/tokenizer.json +3 -0
  30. checkpoints/Qwen3-32B-5fewshots-bs64-3eps-ckpt-1700/tokenizer_config.json +30 -0
  31. checkpoints/Qwen3-32B-5fewshots-bs64-3eps-ckpt-1700/trainer_state.json +629 -0
  32. checkpoints/Qwen3-32B-7fewshots-bs64-3eps-ckpt-1200/adapter_config.json +46 -0
  33. checkpoints/Qwen3-32B-7fewshots-bs64-3eps-ckpt-1200/adapter_model.safetensors +3 -0
  34. checkpoints/Qwen3-32B-7fewshots-bs64-3eps-ckpt-1200/chat_template.jinja +89 -0
  35. checkpoints/Qwen3-32B-7fewshots-bs64-3eps-ckpt-1200/tokenizer.json +3 -0
  36. checkpoints/Qwen3-32B-7fewshots-bs64-3eps-ckpt-1200/tokenizer_config.json +30 -0
  37. checkpoints/Qwen3-32B-7fewshots-bs64-3eps-ckpt-1200/trainer_state.json +454 -0
  38. checkpoints/Qwen3-32B-7fewshots-bs64-3eps-ckpt-1600/adapter_config.json +46 -0
  39. checkpoints/Qwen3-32B-7fewshots-bs64-3eps-ckpt-1600/adapter_model.safetensors +3 -0
  40. checkpoints/Qwen3-32B-7fewshots-bs64-3eps-ckpt-1600/chat_template.jinja +89 -0
  41. checkpoints/Qwen3-32B-7fewshots-bs64-3eps-ckpt-1600/tokenizer.json +3 -0
  42. checkpoints/Qwen3-32B-7fewshots-bs64-3eps-ckpt-1600/tokenizer_config.json +30 -0
  43. checkpoints/Qwen3-32B-7fewshots-bs64-3eps-ckpt-1600/trainer_state.json +594 -0
  44. checkpoints/Qwen3-32B-NoFewshots-bs64-4eps-ckpt-6500/README.md +208 -0
  45. checkpoints/Qwen3-32B-NoFewshots-bs64-4eps-ckpt-6500/adapter_config.json +48 -0
  46. checkpoints/Qwen3-32B-NoFewshots-bs64-4eps-ckpt-6500/adapter_model.safetensors +3 -0
  47. checkpoints/Qwen3-32B-NoFewshots-bs64-4eps-ckpt-6500/chat_template.jinja +98 -0
  48. checkpoints/Qwen3-32B-NoFewshots-bs64-4eps-ckpt-6500/tokenizer.json +3 -0
  49. checkpoints/Qwen3-32B-NoFewshots-bs64-4eps-ckpt-6500/tokenizer_config.json +16 -0
  50. checkpoints/Qwen3-32B-NoFewshots-bs64-4eps-ckpt-6500/trainer_state.json +1854 -0
.gitattributes ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ LF/data/msrh_rag_test_k3_AfriE5_TV_fewshot_k3.json filter=lfs diff=lfs merge=lfs -text
37
+ LF/data/msrh_rag_test_k3_AfriE5_TV_fewshot_k4.json filter=lfs diff=lfs merge=lfs -text
38
+ LF/data/msrh_rag_test_k3_AfriE5_TV_fewshot_k5.json filter=lfs diff=lfs merge=lfs -text
39
+ LF/data/msrh_rag_test_k3_AfriE5_TV_fewshot_k5_v8.json filter=lfs diff=lfs merge=lfs -text
40
+ LF/data/msrh_rag_test_k3_AfriE5_TV_fewshot_k7.json filter=lfs diff=lfs merge=lfs -text
41
+ LF/data/msrh_rag_test_k3_AfriE5_TV_fewshot_k7_v8.json filter=lfs diff=lfs merge=lfs -text
42
+ LF/data/msrh_rag_train_afrie5_TV_k3.json filter=lfs diff=lfs merge=lfs -text
43
+ LF/data/msrh_rag_train_afrie5_TV_k3_fewshot.json filter=lfs diff=lfs merge=lfs -text
44
+ LF/data/msrh_rag_train_afrie5_TV_k4_fewshot.json filter=lfs diff=lfs merge=lfs -text
45
+ LF/data/msrh_rag_train_afrie5_TV_k5_fewshot.json filter=lfs diff=lfs merge=lfs -text
46
+ LF/data/msrh_rag_train_afrie5_TV_k5_fewshot_v8.json filter=lfs diff=lfs merge=lfs -text
47
+ LF/data/msrh_rag_train_afrie5_TV_k7_fewshot.json filter=lfs diff=lfs merge=lfs -text
48
+ LF/data/msrh_rag_train_afrie5_TV_k7_fewshot_v8.json filter=lfs diff=lfs merge=lfs -text
49
+ checkpoints/Qwen3-32B-3fewshots-bs64-3eps-ckpt-1400/tokenizer.json filter=lfs diff=lfs merge=lfs -text
50
+ checkpoints/Qwen3-32B-5fewshots-bs64-3eps-ckpt-1700/tokenizer.json filter=lfs diff=lfs merge=lfs -text
51
+ checkpoints/Qwen3-32B-7fewshots-bs64-3eps-ckpt-1200/tokenizer.json filter=lfs diff=lfs merge=lfs -text
52
+ checkpoints/Qwen3-32B-7fewshots-bs64-3eps-ckpt-1600/tokenizer.json filter=lfs diff=lfs merge=lfs -text
53
+ checkpoints/Qwen3-32B-NoFewshots-bs64-4eps-ckpt-6500/tokenizer.json filter=lfs diff=lfs merge=lfs -text
54
+ checkpoints/Qwen3.5-27B-3fewshots-bs64-3eps-ckpt-1100/tokenizer.json filter=lfs diff=lfs merge=lfs -text
55
+ checkpoints/Qwen3.5-27B-3fewshots-bs64-3eps-ckpt-1200/tokenizer.json filter=lfs diff=lfs merge=lfs -text
56
+ checkpoints/Qwen3.5-27B-3fewshots-bs64-5eps-ckpt-1200/tokenizer.json filter=lfs diff=lfs merge=lfs -text
57
+ checkpoints/Qwen3.5-27B-4fewshots-bs64-3eps-ckpt-1600/tokenizer.json filter=lfs diff=lfs merge=lfs -text
58
+ checkpoints/Qwen3.5-27B-5fewshots-bs64-3eps-v8prompt-ckpt-1500/tokenizer.json filter=lfs diff=lfs merge=lfs -text
59
+ checkpoints/Qwen3.5-27B-7fewshots-bs64-3eps-ckpt-1200/tokenizer.json filter=lfs diff=lfs merge=lfs -text
60
+ checkpoints/Qwen3.5-27B-7fewshots-bs64-3eps-ckpt-1600/tokenizer.json filter=lfs diff=lfs merge=lfs -text
61
+ checkpoints/Qwen3.5-27B-NoFewshots-bs64-5eps-ckpt-2800/tokenizer.json filter=lfs diff=lfs merge=lfs -text
62
+ checkpoints/Qwen3.6-27B-3fewshots-bs64-3eps-ckpt-1600/tokenizer.json filter=lfs diff=lfs merge=lfs -text
63
+ checkpoints/Qwen3.6-27B-4fewshots-bs64-3eps-ckpt-1400/tokenizer.json filter=lfs diff=lfs merge=lfs -text
64
+ checkpoints/Qwen3.6-27B-5fewshots-bs64-3eps-ckpt-1000/tokenizer.json filter=lfs diff=lfs merge=lfs -text
65
+ checkpoints/Qwen3.6-27B-5fewshots-bs64-3eps-ckpt-1200/tokenizer.json filter=lfs diff=lfs merge=lfs -text
66
+ checkpoints/Qwen3.6-27B-7fewshots-bs64-3eps-ckpt-1600/tokenizer.json filter=lfs diff=lfs merge=lfs -text
67
+ checkpoints/Qwen3.6-27B-NoFewshots-bs64-5eps-ckpt-2600/tokenizer.json filter=lfs diff=lfs merge=lfs -text
68
+ data/Train.csv filter=lfs diff=lfs merge=lfs -text
LF/data/dataset_info.json ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "msrh_rag_train_afrie5_TV_k3": {
3
+ "file_name": "msrh_rag_train_afrie5_TV_k3.json",
4
+ "formatting": "sharegpt",
5
+ "columns": {"messages": "messages"},
6
+ "tags": {
7
+ "role_tag": "role",
8
+ "content_tag": "content",
9
+ "user_tag": "user",
10
+ "assistant_tag": "assistant"
11
+ }
12
+ },
13
+ "msrh_rag_train_afrie5_TV_k3_fewshot": {
14
+ "file_name": "msrh_rag_train_afrie5_TV_k3_fewshot.json",
15
+ "formatting": "sharegpt",
16
+ "columns": {"messages": "messages"},
17
+ "tags": {
18
+ "role_tag": "role",
19
+ "content_tag": "content",
20
+ "user_tag": "user",
21
+ "assistant_tag": "assistant"
22
+ }
23
+ },
24
+ "msrh_rag_train_afrie5_TV_k4_fewshot": {
25
+ "file_name": "msrh_rag_train_afrie5_TV_k4_fewshot.json",
26
+ "formatting": "sharegpt",
27
+ "columns": {"messages": "messages"},
28
+ "tags": {
29
+ "role_tag": "role",
30
+ "content_tag": "content",
31
+ "user_tag": "user",
32
+ "assistant_tag": "assistant"
33
+ }
34
+ },
35
+ "msrh_rag_train_afrie5_TV_k5_fewshot": {
36
+ "file_name": "msrh_rag_train_afrie5_TV_k5_fewshot.json",
37
+ "formatting": "sharegpt",
38
+ "columns": {"messages": "messages"},
39
+ "tags": {
40
+ "role_tag": "role",
41
+ "content_tag": "content",
42
+ "user_tag": "user",
43
+ "assistant_tag": "assistant"
44
+ }
45
+ },
46
+ "msrh_rag_train_afrie5_TV_k5_fewshot_v8": {
47
+ "file_name": "msrh_rag_train_afrie5_TV_k5_fewshot_v8.json",
48
+ "formatting": "sharegpt",
49
+ "columns": {"messages": "messages"},
50
+ "tags": {
51
+ "role_tag": "role",
52
+ "content_tag": "content",
53
+ "user_tag": "user",
54
+ "assistant_tag": "assistant"
55
+ }
56
+ },
57
+ "msrh_rag_train_afrie5_TV_k7_fewshot": {
58
+ "file_name": "msrh_rag_train_afrie5_TV_k7_fewshot.json",
59
+ "formatting": "sharegpt",
60
+ "columns": {"messages": "messages"},
61
+ "tags": {
62
+ "role_tag": "role",
63
+ "content_tag": "content",
64
+ "user_tag": "user",
65
+ "assistant_tag": "assistant"
66
+ }
67
+ },
68
+ "msrh_rag_train_afrie5_TV_k7_fewshot_v8": {
69
+ "file_name": "msrh_rag_train_afrie5_TV_k7_fewshot_v8.json",
70
+ "formatting": "sharegpt",
71
+ "columns": {"messages": "messages"},
72
+ "tags": {
73
+ "role_tag": "role",
74
+ "content_tag": "content",
75
+ "user_tag": "user",
76
+ "assistant_tag": "assistant"
77
+ }
78
+ }
79
+ }
LF/data/msrh_rag_test_k3_AfriE5_TV.json ADDED
The diff for this file is too large to render. See raw diff
 
LF/data/msrh_rag_test_k3_AfriE5_TV_fewshot_k3.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e177d64be6a16549044f75038bd13dac09d06620231b55f229c022e6dd90d92e
3
+ size 11500585
LF/data/msrh_rag_test_k3_AfriE5_TV_fewshot_k4.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:09df55629206738d16184cc580559a533d1087e95487b08e722f9ca2f2537583
3
+ size 13138184
LF/data/msrh_rag_test_k3_AfriE5_TV_fewshot_k5.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1081a9cda64f33486f402acfd2c84faeb93b4288a31cb2b9ee5a2ab43b19966a
3
+ size 15122201
LF/data/msrh_rag_test_k3_AfriE5_TV_fewshot_k5_v8.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4b53f4dec86137c08e905dce9ef4fe99bcf26216a68934c7ac774eb4561ccb08
3
+ size 16901122
LF/data/msrh_rag_test_k3_AfriE5_TV_fewshot_k7.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:47801c1b13b99abb097e585bf72c48bc02bb568a6db41d23a571b6d5d17bd747
3
+ size 18531279
LF/data/msrh_rag_test_k3_AfriE5_TV_fewshot_k7_v8.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b124333365bc3c846e55c99ee4d231f040ee5922b5d4f6a7944b1a5b738d2ed3
3
+ size 18654325
LF/data/msrh_rag_train_afrie5_TV_k3.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:79e763337b84bb443e209dcf80fdba5373ef110068cf9c8b5cb9410db334885f
3
+ size 93056027
LF/data/msrh_rag_train_afrie5_TV_k3_fewshot.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a584075e87fc617f134011ce44488dcbf9f6b8d6670a476ac8abe2af9786ae30
3
+ size 164071164
LF/data/msrh_rag_train_afrie5_TV_k4_fewshot.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d42d07f88be9a978553d48087fa85b3b4e45b40e1926c8ea303f1b8273937913
3
+ size 186613345
LF/data/msrh_rag_train_afrie5_TV_k5_fewshot.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3dce22556de5dea051c6f5a0c8fdf248870c9f941491be6d6f4cff96eb97c510
3
+ size 210165221
LF/data/msrh_rag_train_afrie5_TV_k5_fewshot_v8.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bcc06431b5eba56ffd75f2f66456a6664f14546bedf7d76e716d1d1dada6a13c
3
+ size 211880768
LF/data/msrh_rag_train_afrie5_TV_k7_fewshot.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e8534b7c468daa3031fc38e9aee3c1cf49f2b64e41418501511c0480ac7a8aa0
3
+ size 255194569
LF/data/msrh_rag_train_afrie5_TV_k7_fewshot_v8.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d8be1de59a6093c2193753ee8ec05a7f53e19f40de9c46ec0ed88dfbac9424a5
3
+ size 256910116
MODEL_CARD.md ADDED
@@ -0,0 +1,165 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - medical-qa
5
+ - multilingual
6
+ - low-resource-african
7
+ - lora
8
+ - peft
9
+ - rag
10
+ - zindi
11
+ - msrh
12
+ library_name: peft
13
+ pipeline_tag: text-generation
14
+ base_model:
15
+ - Qwen/Qwen3.5-27B
16
+ - Qwen/Qwen3.6-27B
17
+ - Qwen/Qwen3-32B
18
+ ---
19
+
20
+ # Magic — Zindi MSRH Multilingual Health Q&A (Top-1 Solution)
21
+
22
+ A LoRA-adapter ensemble that scored **private LB = 0.730865** on the Zindi
23
+ [Multilingual Sexual & Reproductive Health Q&A](https://zindi.africa/competitions/multilingual-health-question-answering-in-low-resource-african-languages-challenge)
24
+ challenge. Ships 19 LoRA adapters over 3 Qwen base models plus a per-row
25
+ consensus ensemble builder that regenerates the submitted `go.csv`.
26
+
27
+ ## Model architecture
28
+
29
+ - **Base models** (3 backbones): `Qwen3.5-27B`, `Qwen3.6-27B`, `Qwen3-32B`.
30
+ - **Adapter type**: LoRA (`peft`), rank `r=128`, `alpha=256`, dropout `0.05`,
31
+ `target_modules=all` (7 modules: q/k/v/o/gate/up/down proj).
32
+ - **Training**: LlamaFactory + DeepSpeed ZeRO-3, `bf16`, `AdamW`, `lr=2e-4`,
33
+ cosine schedule with `warmup_ratio=0.05`, 3 epochs, effective batch `=64`
34
+ (`per_device=2 × grad_accum=4 × 8 GPUs`).
35
+ - **Retrieval**: `McGill-NLP/AfriE5-Large-instruct` top-3 passages (Train+Val
36
+ as candidate pool, per-subset filtering, self-mask on training queries).
37
+ - **Few-shot demos**: K ∈ {3, 4, 5, 7} same-subset AfriE5-nearest (Q, A)
38
+ pairs prepended to each prompt.
39
+ - **Prompt variants**: v1 baseline + v8 anchored-extraction (shortened
40
+ copy-verbatim instruction).
41
+ - **Ensemble**: per-row consensus pick across the 19 adapter predictions.
42
+ - **Private LB**: `0.730865` on the private test set (see `go.csv`).
43
+
44
+ ## Intended use
45
+
46
+ Answering **maternal, sexual, and reproductive health** questions posed in
47
+ **English** and in four low-resource African languages: **Akan (`Aka_Gha`)**,
48
+ **Amharic (`Amh_Eth`)**, **Luganda (`Lug_Uga`)** and **Swahili (`Swa_Ken`)** —
49
+ together the 8 language×country subsets defined by the competition.
50
+
51
+ Primary intended users are:
52
+
53
+ - Research on retrieval-augmented multilingual medical Q&A.
54
+ - Reviewers reproducing the leaderboard result.
55
+
56
+ Out-of-scope: clinical decision-making, diagnosis, or any use case where
57
+ factual correctness for a specific patient matters. The model has NOT been
58
+ audited for medical safety.
59
+
60
+ ## Dependencies
61
+
62
+ Pinned versions and install instructions are in `requirements/infer.txt`
63
+ (inference) and `requirements/train.txt` (training).
64
+
65
+ Hardware: reproduce on any 80GB GPU (H100 / A100). The launcher
66
+ auto-detects visible GPUs and runs up to `min(8, visible)` predicts
67
+ concurrently, so **1 GPU works** (sequential, ~20-30h wall-clock) and
68
+ **8 GPUs is the sweet spot** (~2h wall-clock). No config changes needed.
69
+
70
+ ## Inference / reproduction (one command)
71
+
72
+ ```bash
73
+ bash scripts/run_all.sh
74
+ ```
75
+
76
+ This driver runs the full end-to-end recipe:
77
+
78
+ 1. Loads each of the 19 LoRA adapters onto its base model via vLLM.
79
+ 2. Generates predictions on the shipped test JSONLs (`LF/data/`).
80
+ 3. Converts each `generated_predictions.jsonl` to a Zindi-format CSV.
81
+ 4. Runs `scripts/build_ensemble.py` over the 19 CSVs to regenerate
82
+ `submission.csv`.
83
+ 5. MD5-verifies the regenerated CSV against the shipped `go.csv`.
84
+
85
+ Step-by-step (if you want to run individually):
86
+
87
+ ```bash
88
+ # 1. Generate 19 per-adapter predictions (writes to predict_out/)
89
+ bash scripts/launch_all_predicts.sh
90
+
91
+ # 2. (JSONL → CSV conversion runs inline inside run_all.sh; no separate script)
92
+
93
+ # 3. Ensemble → final CSV (writes submission.csv + md5 check)
94
+ python scripts/build_ensemble.py
95
+ ```
96
+
97
+ Full detail (env setup, LlamaFactory installation, retraining from scratch)
98
+ is in `README.md`.
99
+
100
+ ## Known caveats & setup notes
101
+
102
+ Before running `scripts/run_all.sh`, be aware of the following (from an
103
+ end-to-end audit of a fresh clone from this repo):
104
+
105
+ 1. **Base models are NOT included** (license reasons). Reviewers must
106
+ download the three Qwen backbones separately from Hugging Face and
107
+ place them under `hub/`:
108
+
109
+ | Base model | HF link | Local path |
110
+ |---|---|---|
111
+ | Qwen3.5-27B | https://huggingface.co/Qwen/Qwen3.5-27B | `hub/Qwen3.5-27B/` |
112
+ | Qwen3.6-27B | https://huggingface.co/Qwen/Qwen3.6-27B | `hub/Qwen3.6-27B/` |
113
+ | Qwen3-32B | https://huggingface.co/Qwen/Qwen3-32B | `hub/Qwen3-32B/` |
114
+
115
+ Example download:
116
+ ```bash
117
+ hf download Qwen/Qwen3.5-27B --local-dir hub/Qwen3.5-27B
118
+ hf download Qwen/Qwen3.6-27B --local-dir hub/Qwen3.6-27B
119
+ hf download Qwen/Qwen3-32B --local-dir hub/Qwen3-32B
120
+ ```
121
+ If a repo ID 404s on your side, use a compatible mirror (e.g. an
122
+ `unsloth/` upload of the same weights).
123
+
124
+ 2. **`base_model_name_or_path` in every `adapter_config.json` points at
125
+ `/mnt/msrh/Magic_submission/hub/<base>`** — this is a submission-time
126
+ fake path. Two options:
127
+ - Extract this repo into `/mnt/msrh/Magic_submission/` (may need `sudo
128
+ mkdir /mnt/msrh` first) and populate `hub/` there — no code changes.
129
+ - Or edit `base_model_name_or_path` in each adapter config to point at
130
+ your local snapshot / HF repo ID.
131
+
132
+ 3. **`scripts/launch_all_predicts.sh` auto-locates its workspace root**
133
+ from the script path (default: parent dir of `scripts/`). If you want
134
+ to point at a different location, override the env var:
135
+ ```bash
136
+ ROOT=/my/extract/path bash scripts/launch_all_predicts.sh
137
+ ```
138
+
139
+ 4. **First-run vLLM warm-up is slow** — the FlashInfer GDN prefill kernel
140
+ is JIT-compiled on the first launch (~1 min extra per GPU). vLLM also
141
+ suggests `--gdn-prefill-backend triton` as an alternative if you want to
142
+ skip JIT; not required for correctness.
143
+
144
+ 5. **Regenerated `submission.csv` matches `go.csv` byte-for-byte only on
145
+ identical hardware / kernel / vLLM state.** vLLM inference is not
146
+ deterministic across hardware, driver versions, or torch.compile /
147
+ FlashInfer cache states. On a fresh environment, expect ~60-70% of rows
148
+ to match `go.csv` byte-for-byte; the remaining rows will be
149
+ paraphrases of the same underlying answer. **Functional LB equivalence
150
+ (ROUGE metrics) is what actually matters for evaluation.**
151
+
152
+ ## Citation
153
+
154
+ If you use this work, please cite the Zindi competition:
155
+
156
+ ```
157
+ Zindi Africa. "Multilingual Health Question Answering in Low-Resource
158
+ African Languages Challenge", 2026. https://zindi.africa/competitions/
159
+ multilingual-health-question-answering-in-low-resource-african-languages-challenge
160
+ ```
161
+
162
+ ## License
163
+
164
+ Apache-2.0 for the adapter weights and code in this repository. The base
165
+ Qwen models carry their own licenses (see the corresponding HF repos).
README.md ADDED
@@ -0,0 +1,165 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - medical-qa
5
+ - multilingual
6
+ - low-resource-african
7
+ - lora
8
+ - peft
9
+ - rag
10
+ - zindi
11
+ - msrh
12
+ library_name: peft
13
+ pipeline_tag: text-generation
14
+ base_model:
15
+ - Qwen/Qwen3.5-27B
16
+ - Qwen/Qwen3.6-27B
17
+ - Qwen/Qwen3-32B
18
+ ---
19
+
20
+ # Magic — Zindi MSRH Multilingual Health Q&A (Top-1 Solution)
21
+
22
+ A LoRA-adapter ensemble that scored **private LB = 0.730865** on the Zindi
23
+ [Multilingual Sexual & Reproductive Health Q&A](https://zindi.africa/competitions/multilingual-health-question-answering-in-low-resource-african-languages-challenge)
24
+ challenge. Ships 19 LoRA adapters over 3 Qwen base models plus a per-row
25
+ consensus ensemble builder that regenerates the submitted `go.csv`.
26
+
27
+ ## Model architecture
28
+
29
+ - **Base models** (3 backbones): `Qwen3.5-27B`, `Qwen3.6-27B`, `Qwen3-32B`.
30
+ - **Adapter type**: LoRA (`peft`), rank `r=128`, `alpha=256`, dropout `0.05`,
31
+ `target_modules=all` (7 modules: q/k/v/o/gate/up/down proj).
32
+ - **Training**: LlamaFactory + DeepSpeed ZeRO-3, `bf16`, `AdamW`, `lr=2e-4`,
33
+ cosine schedule with `warmup_ratio=0.05`, 3 epochs, effective batch `=64`
34
+ (`per_device=2 × grad_accum=4 × 8 GPUs`).
35
+ - **Retrieval**: `McGill-NLP/AfriE5-Large-instruct` top-3 passages (Train+Val
36
+ as candidate pool, per-subset filtering, self-mask on training queries).
37
+ - **Few-shot demos**: K ∈ {3, 4, 5, 7} same-subset AfriE5-nearest (Q, A)
38
+ pairs prepended to each prompt.
39
+ - **Prompt variants**: v1 baseline + v8 anchored-extraction (shortened
40
+ copy-verbatim instruction).
41
+ - **Ensemble**: per-row consensus pick across the 19 adapter predictions.
42
+ - **Private LB**: `0.730865` on the private test set (see `go.csv`).
43
+
44
+ ## Intended use
45
+
46
+ Answering **maternal, sexual, and reproductive health** questions posed in
47
+ **English** and in four low-resource African languages: **Akan (`Aka_Gha`)**,
48
+ **Amharic (`Amh_Eth`)**, **Luganda (`Lug_Uga`)** and **Swahili (`Swa_Ken`)** —
49
+ together the 8 language×country subsets defined by the competition.
50
+
51
+ Primary intended users are:
52
+
53
+ - Research on retrieval-augmented multilingual medical Q&A.
54
+ - Reviewers reproducing the leaderboard result.
55
+
56
+ Out-of-scope: clinical decision-making, diagnosis, or any use case where
57
+ factual correctness for a specific patient matters. The model has NOT been
58
+ audited for medical safety.
59
+
60
+ ## Dependencies
61
+
62
+ Pinned versions and install instructions are in `requirements/infer.txt`
63
+ (inference) and `requirements/train.txt` (training).
64
+
65
+ Hardware: reproduce on any 80GB GPU (H100 / A100). The launcher
66
+ auto-detects visible GPUs and runs up to `min(8, visible)` predicts
67
+ concurrently, so **1 GPU works** (sequential, ~20-30h wall-clock) and
68
+ **8 GPUs is the sweet spot** (~2h wall-clock). No config changes needed.
69
+
70
+ ## Inference / reproduction (one command)
71
+
72
+ ```bash
73
+ bash scripts/run_all.sh
74
+ ```
75
+
76
+ This driver runs the full end-to-end recipe:
77
+
78
+ 1. Loads each of the 19 LoRA adapters onto its base model via vLLM.
79
+ 2. Generates predictions on the shipped test JSONLs (`LF/data/`).
80
+ 3. Converts each `generated_predictions.jsonl` to a Zindi-format CSV.
81
+ 4. Runs `scripts/build_ensemble.py` over the 19 CSVs to regenerate
82
+ `submission.csv`.
83
+ 5. MD5-verifies the regenerated CSV against the shipped `go.csv`.
84
+
85
+ Step-by-step (if you want to run individually):
86
+
87
+ ```bash
88
+ # 1. Generate 19 per-adapter predictions (writes to predict_out/)
89
+ bash scripts/launch_all_predicts.sh
90
+
91
+ # 2. (JSONL → CSV conversion runs inline inside run_all.sh; no separate script)
92
+
93
+ # 3. Ensemble → final CSV (writes submission.csv + md5 check)
94
+ python scripts/build_ensemble.py
95
+ ```
96
+
97
+ Full detail (env setup, LlamaFactory installation, retraining from scratch)
98
+ is in `README.md`.
99
+
100
+ ## Known caveats & setup notes
101
+
102
+ Before running `scripts/run_all.sh`, be aware of the following (from an
103
+ end-to-end audit of a fresh clone from this repo):
104
+
105
+ 1. **Base models are NOT included** (license reasons). Reviewers must
106
+ download the three Qwen backbones separately from Hugging Face and
107
+ place them under `hub/`:
108
+
109
+ | Base model | HF link | Local path |
110
+ |---|---|---|
111
+ | Qwen3.5-27B | https://huggingface.co/Qwen/Qwen3.5-27B | `hub/Qwen3.5-27B/` |
112
+ | Qwen3.6-27B | https://huggingface.co/Qwen/Qwen3.6-27B | `hub/Qwen3.6-27B/` |
113
+ | Qwen3-32B | https://huggingface.co/Qwen/Qwen3-32B | `hub/Qwen3-32B/` |
114
+
115
+ Example download:
116
+ ```bash
117
+ hf download Qwen/Qwen3.5-27B --local-dir hub/Qwen3.5-27B
118
+ hf download Qwen/Qwen3.6-27B --local-dir hub/Qwen3.6-27B
119
+ hf download Qwen/Qwen3-32B --local-dir hub/Qwen3-32B
120
+ ```
121
+ If a repo ID 404s on your side, use a compatible mirror (e.g. an
122
+ `unsloth/` upload of the same weights).
123
+
124
+ 2. **`base_model_name_or_path` in every `adapter_config.json` points at
125
+ `/mnt/msrh/Magic_submission/hub/<base>`** — this is a submission-time
126
+ fake path. Two options:
127
+ - Extract this repo into `/mnt/msrh/Magic_submission/` (may need `sudo
128
+ mkdir /mnt/msrh` first) and populate `hub/` there — no code changes.
129
+ - Or edit `base_model_name_or_path` in each adapter config to point at
130
+ your local snapshot / HF repo ID.
131
+
132
+ 3. **`scripts/launch_all_predicts.sh` auto-locates its workspace root**
133
+ from the script path (default: parent dir of `scripts/`). If you want
134
+ to point at a different location, override the env var:
135
+ ```bash
136
+ ROOT=/my/extract/path bash scripts/launch_all_predicts.sh
137
+ ```
138
+
139
+ 4. **First-run vLLM warm-up is slow** — the FlashInfer GDN prefill kernel
140
+ is JIT-compiled on the first launch (~1 min extra per GPU). vLLM also
141
+ suggests `--gdn-prefill-backend triton` as an alternative if you want to
142
+ skip JIT; not required for correctness.
143
+
144
+ 5. **Regenerated `submission.csv` matches `go.csv` byte-for-byte only on
145
+ identical hardware / kernel / vLLM state.** vLLM inference is not
146
+ deterministic across hardware, driver versions, or torch.compile /
147
+ FlashInfer cache states. On a fresh environment, expect ~60-70% of rows
148
+ to match `go.csv` byte-for-byte; the remaining rows will be
149
+ paraphrases of the same underlying answer. **Functional LB equivalence
150
+ (ROUGE metrics) is what actually matters for evaluation.**
151
+
152
+ ## Citation
153
+
154
+ If you use this work, please cite the Zindi competition:
155
+
156
+ ```
157
+ Zindi Africa. "Multilingual Health Question Answering in Low-Resource
158
+ African Languages Challenge", 2026. https://zindi.africa/competitions/
159
+ multilingual-health-question-answering-in-low-resource-african-languages-challenge
160
+ ```
161
+
162
+ ## License
163
+
164
+ Apache-2.0 for the adapter weights and code in this repository. The base
165
+ Qwen models carry their own licenses (see the corresponding HF repos).
RECIPE.md ADDED
@@ -0,0 +1,457 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Top 1 Private Solution - Magic Team
2
+ **Multilingual Health QA in Low-Resource African Languages Challenge**
3
+
4
+ Submitter: **Magic**
5
+ Best submission: **`go.csv`** (Zindi ID `vtbP7bCH`, submitted 21 Jun 17:12)
6
+ Public LB: **0.738783** · Private LB: **Top 1 🏆**
7
+
8
+ ---
9
+
10
+ ## 1. Solution overview
11
+
12
+
13
+ **19-candidate ensemble** built with **V2 medoid_ngram** consensus:
14
+ - Base: 12 fewshot LoRA adapters across Qwen3.5/Qwen3.6/Qwen3-32B × K=3,4,5,7
15
+ - v8 prompt swap: 1 Qwen3.5-27B K=5 LoRA trained with anchored-extraction prompt
16
+ - 3 cross-arch "less-overfit" checkpoints
17
+ - 3 no-fewshot mediators
18
+
19
+ Per Test row, the medoid (highest sum of pairwise ROUGE-1.F + ROUGE-2.F) is chosen as the final answer.
20
+
21
+ ### Why it wins
22
+ Six independent decorrelation axes simultaneously:
23
+ 1. **Architecture**: Qwen3.5-27B + Qwen3.6-27B + Qwen3-32B (3 base models)
24
+ 2. **K-count**: K=3, K=4, K=5, K=7 fewshot demos
25
+ 3. **Prompt recipe**: v1 baseline vs v8 anchored-extraction
26
+ 4. **Training schedule**: 3ep vs 5ep
27
+ 5. **Mediator**: 3 no-fewshot baselines
28
+
29
+ ---
30
+
31
+ ## 2. Workspace layout
32
+
33
+ **All paths in this package are hard-coded to `/mnt/msrh/Magic_submission/`.** Extract this archive to that exact location (or mount/symlink it there) so every script — data builders, training YAMLs, inference launcher, ensemble — works without editing.
34
+
35
+ ```bash
36
+ # One-time setup — choose ONE of these:
37
+
38
+ # (a) Extract the archive to /mnt/msrh/
39
+ sudo mkdir -p /mnt/msrh && sudo chown $USER /mnt/msrh
40
+ tar -xf Magic_submission.tar -C /mnt/msrh/ # extracts to /mnt/msrh/Magic_submission/
41
+
42
+ # (b) OR symlink an existing copy
43
+ ln -s /path/to/existing/Magic_submission /mnt/msrh/Magic_submission
44
+
45
+ # Verify
46
+ ls /mnt/msrh/Magic_submission/{go.csv,checkpoints,configs,scripts,data_builders}
47
+ ```
48
+
49
+ After extraction, you must also place under `/mnt/msrh/Magic_submission/`:
50
+ - `data/Train.csv`, `data/Val.csv`, `data/Test.csv`, `data/SampleSubmission.csv` (Zindi competition data — download separately). Or you can manually download it from the Zindi data source.
51
+ - `hub/Qwen3.5-27B/`, `hub/Qwen3.6-27B/`, `hub/Qwen3-32B/` (HF snapshot of each base model)
52
+ - `hub/AfriE5-Large-instruct/` (HF snapshot of `McGill-NLP/AfriE5-Large-instruct`)
53
+
54
+ ```
55
+ /mnt/msrh/Magic_submission/
56
+ ├── go.csv # Final submission CSV (== Zindi sub vtbP7bCH)
57
+ ├── README.md # This file — full reproduction guide
58
+ ├── environment.md # All env setup (conda, packages, models)
59
+ ├── checkpoints/ # ⭐ 19 LoRA adapters (35 GB) — INPUT to inference
60
+ │ # Each folder = 1 LoRA adapter with:
61
+ │ # adapter_model.safetensors (1.8 GB for 27B, 2.1 GB for 32B)
62
+ │ # adapter_config.json
63
+ │ # chat_template.jinja
64
+ │ # tokenizer_config.json + tokenizer.json + processor_config.json
65
+ │ ├── Qwen3.5-27B-3fewshots-bs64-3eps-ckpt-1200/
66
+ │ ├── Qwen3.5-27B-3fewshots-bs64-3eps-ckpt-1100/
67
+ │ ├── Qwen3.5-27B-3fewshots-bs64-5eps-ckpt-1200/
68
+ │ ├── Qwen3.5-27B-4fewshots-bs64-3eps-ckpt-1600/
69
+ │ ├── Qwen3.5-27B-5fewshots-bs64-3eps-v8prompt-ckpt-1500/
70
+ │ ├── Qwen3.5-27B-7fewshots-bs64-3eps-ckpt-1600/
71
+ │ ├── Qwen3.5-27B-7fewshots-bs64-3eps-ckpt-1200/
72
+ │ ├── Qwen3.6-27B-3fewshots-bs64-3eps-ckpt-1600/
73
+ │ ├── Qwen3.6-27B-4fewshots-bs64-3eps-ckpt-1400/
74
+ │ ├── Qwen3.6-27B-5fewshots-bs64-3eps-ckpt-1200/
75
+ │ ├── Qwen3.6-27B-5fewshots-bs64-3eps-ckpt-1000/
76
+ │ ├── Qwen3.6-27B-7fewshots-bs64-3eps-ckpt-1600/
77
+ │ ├── Qwen3-32B-3fewshots-bs64-3eps-ckpt-1400/
78
+ │ ├── Qwen3-32B-5fewshots-bs64-3eps-ckpt-1700/
79
+ │ ├── Qwen3-32B-7fewshots-bs64-3eps-ckpt-1600/
80
+ │ ├── Qwen3-32B-7fewshots-bs64-3eps-ckpt-1200/
81
+ │ ├── Qwen3.5-27B-NoFewshots-bs64-5eps-ckpt-2800/
82
+ │ ├── Qwen3.6-27B-NoFewshots-bs64-5eps-ckpt-2600/
83
+ │ └── Qwen3-32B-NoFewshots-bs64-4eps-ckpt-6500/
84
+ ├── candidate_csvs/ # OUTPUT folder for 19 per-model prediction CSVs
85
+ │ # NOTE: any CSVs here are reference/audit-trail copies.
86
+ │ # For verification, REGENERATE all 19 from checkpoints/ via launch_all_predicts.sh.
87
+ │ # The ensemble script (build_ensemble.py) reads CSVs from this folder.
88
+ ├── LF/
89
+ │ └── data/
90
+ │ └── dataset_info.json
91
+ ├── requirements/ # per-phase pip pinned deps
92
+ │ ├── train.txt # Phase 1 (data builders) + Phase 2 (SFT)
93
+ │ ├── infer.txt # Phase 3 (vLLM inference)
94
+ │ └── ensemble.txt # Phase 4 (CPU medoid ensemble)
95
+ ├── data_builders/
96
+ │ ├── build_afrie5_k5.py
97
+ │ ├── build_fewshot_train.py
98
+ │ ├── build_fewshot_train_k4.py
99
+ │ ├── build_fewshot_train_k5.py
100
+ │ ├── build_fewshot_train_k7.py
101
+ │ ├── build_fewshot_test.py
102
+ │ ├── build_fewshot_test_k4.py
103
+ │ ├── build_fewshot_test_k5.py
104
+ │ └── build_fewshot_test_k7.py
105
+ ├── configs/
106
+ │ # ── Fewshot SFT runs (13) ──
107
+ │ ├── qwen35_27b_fewshot_3ep_8gpu.yaml
108
+ │ ├── qwen35_27b_fewshot_k4_3ep_8gpu.yaml
109
+ │ ├── qwen35_27b_fewshot_k5_v8_3ep_8gpu.yaml
110
+ │ ├── qwen35_27b_fewshot_k7_3ep_8gpu.yaml
111
+ │ ├── qwen35_27b_fewshot_2ep_8gpu.yaml
112
+ │ ├── qwen36_27b_fewshot_k4_3ep_8gpu.yaml
113
+ │ ├── qwen36_27b_fewshot_k5_3ep_8gpu.yaml
114
+ │ ├── qwen36_27b_fewshot_k7_v8_3ep_8gpu.yaml # Q3.6 K=7 v8 prompt 3ep → ck-1600
115
+ │ ├── qwen3_32b_fewshot_3ep_bs64_r128_all_8gpu.yaml
116
+ │ ├── qwen3_32b_fewshot_3ep_r128_all_8gpu.yaml
117
+ │ ├── qwen3_32b_fewshot_k5_3ep_bs64_r128_all_8gpu.yaml
118
+ │ ├── qwen3_32b_fewshot_k7_3ep_bs64_r128_all_8gpu.yaml
119
+ │ # ── NoFewshots (mediator) SFT runs (3) ──
120
+ │ ├── qwen35_27b_nofewshots_5ep_bs64_8gpu.yaml
121
+ │ ├── qwen36_27b_nofewshots_5ep_bs64_8gpu.yaml
122
+ │ ├── qwen3_32b_nofewshots_4ep_bs64_8gpu.yaml
123
+ │ ├── fewshot_e3_Q36.sh
124
+ │ ├── ds_z3_config.json
125
+ ├── scripts/ # Inference + ensemble scripts
126
+ │ ├── build_v8_k5_fewshot.py # v8 prompt swap (V1 → V8 prefix)
127
+ │ ├── vllm_predict_extra.py # vLLM batch inference w/ LoRA
128
+ │ ├── jsonl_rowidx_to_csv.py # jsonl → CSV converter
129
+ │ ├── rag_to_zindi.py # Alternate CSV builder (Plan D path)
130
+ │ ├── launch_all_predicts.sh # ⭐ Orchestrator: runs all 19 inferences → candidate_csvs/<descriptive>.csv
131
+ │ ├── build_ensemble.py # ⭐ FINAL ensemble medoid (uses candidate_csvs/)
132
+ │ └── ds_z3_config.json
133
+ └── docs/
134
+ └── (additional documentation if needed)
135
+ ```
136
+
137
+ ---
138
+
139
+ ## 3. Verification flow (RECOMMENDED for reviewers — uses provided checkpoints)
140
+
141
+ The 19 LoRA adapters in `checkpoints/` are the WINNING trained weights — the official artifacts that produced `go.csv`. **Reviewers do NOT need to retrain.** Use them directly to regenerate the 19 prediction CSVs, then run the ensemble.
142
+
143
+ All commands below run from `/mnt/msrh/Magic_submission/` (paths are hard-coded — no editing required).
144
+
145
+ ```bash
146
+ cd /mnt/msrh/Magic_submission
147
+
148
+ # Step 1: Setup envs (see environment.md for full conda setup)
149
+ conda activate llama-qa35 && pip install -r requirements/train.txt # Phase 1 + 2
150
+ conda activate vllm && pip install -r requirements/infer.txt # Phase 3
151
+ conda activate rouge && pip install -r requirements/ensemble.txt # Phase 4
152
+
153
+ # Step 2: Build TEST data (AfriE5 retrieval + fewshot demos) — train data not needed for verification
154
+ conda activate llama-qa35
155
+ python data_builders/build_afrie5_k5.py --k 3 # K=3 base retrieval (NoFewshots test JSON)
156
+ python data_builders/build_fewshot_test.py # K=3 fewshot test demos
157
+ python data_builders/build_fewshot_test_k4.py # K=4 fewshot test demos
158
+ python data_builders/build_fewshot_test_k5.py # K=5 fewshot test demos
159
+ python data_builders/build_fewshot_test_k7.py # K=7 fewshot test demos
160
+ # v8 variants — REQUIRE K=5 / K=7 fewshot files to already exist:
161
+ python scripts/build_v8_k5_fewshot.py # rebuilds *_k5_v8.json from K=5 fewshot
162
+ python scripts/build_v8_k7_fewshot.py # rebuilds *_k7_v8.json from K=7 fewshot
163
+
164
+ # Step 3: Generate 19 prediction CSVs from provided checkpoints (Reads checkpoints/, writes candidate_csvs/)
165
+ conda activate vllm
166
+ bash scripts/launch_all_predicts.sh
167
+
168
+ # Step 4: Run ensemble (V2 medoid_ngram) → final CSV
169
+ conda activate rouge
170
+ python scripts/build_ensemble.py
171
+ # Writes the regenerated submission CSV alongside the shipped go.csv.
172
+ # Reference md5 of shipped go.csv: a2ecca4a8e1aa01acf9a8b9a1d56ebf2
173
+ ```
174
+
175
+ ### Note on byte-identity vs functional reproducibility
176
+
177
+ We E2E-verified this pipeline on a fresh 8×H100 box (vLLM 0.19.1 + torch 2.10+cu128).
178
+ **Expect the regenerated CSV to NOT be md5-equal to the shipped `go.csv`** — but the LB
179
+ will reproduce within ~0.005 public / ~0.001 private of the winning result.
180
+
181
+ | Run | Public LB | Private LB | Row match vs `go.csv` |
182
+ |---|---:|---:|---|
183
+ | Original `vtbP7bCH` (shipped `go.csv`) | 0.738783 | 0.730865 | byte-identical (md5 `a2ecca4a...`) |
184
+ | Re-run #1 — `max_num_seqs=32` hard-coded | 0.734035 | 0.729336 | 65.0% |
185
+ | Re-run #2 — per-cand `max_num_seqs` matched | 0.734104 | 0.729553 | 67.8% |
186
+
187
+ **Root cause of the ~0.005 gap**: vLLM 0.19.1 paged-attention has **inherent non-determinism**
188
+ between runs even at `--temperature 0.0` with identical flags (CUDA atomic ops, bfloat16
189
+ rounding-order in attention, KV-cache block scheduling races). This affects ~30-40% of
190
+ generated tokens at single-cand level; the V2 medoid_ngram ensemble suppresses most of the
191
+ drift, leaving ~32% of per-row picks different but only a ~0.001 private-LB hit.
192
+
193
+ **Acceptance criterion**: if the regenerated CSV yields **Private LB ≥ 0.728** (within −0.003
194
+ of the shipped 0.730865), reproduction is considered successful and the pipeline is verified.
195
+ md5 byte-equality is NOT achievable on a different machine/run.
196
+
197
+ ---
198
+
199
+ ## 3b. Full from-scratch reproduction (optional — trains 13 LoRAs from base models)
200
+
201
+ Only needed if you want to retrain the LoRA adapters yourself instead of using the provided ones.
202
+
203
+ ```bash
204
+ cd /mnt/msrh/Magic_submission
205
+ conda activate llama-qa35 # training env
206
+
207
+ # Build train data (same as Step 2 above but for train set)
208
+ python data_builders/build_afrie5_k5.py --k 3
209
+ python data_builders/build_afrie5_k5.py --k 5
210
+ python data_builders/build_afrie5_k5.py --k 7
211
+ python data_builders/build_fewshot_train.py
212
+ python data_builders/build_fewshot_train_k4.py
213
+ python data_builders/build_fewshot_train_k5.py
214
+ python data_builders/build_fewshot_train_k7.py
215
+ # v8 prompt swap — runs AFTER build_fewshot_train_k5.py and build_fewshot_test_k5.py
216
+ python scripts/build_v8_k5_fewshot.py # rebuilds *_k5_v8.json (train + test)
217
+
218
+ # Train each of the 16 LoRA adapters (configs/*.yaml). Outputs go to
219
+ # /mnt/msrh/Magic_submission/checkpoints_trained/<config-name>/ as set inside each YAML.
220
+ # Example for the key v8 model:
221
+ FORCE_TORCHRUN=1 NPROC_PER_NODE=8 \
222
+ llamafactory-cli train /mnt/msrh/Magic_submission/configs/qwen35_27b_fewshot_k5_v8_3ep_8gpu.yaml
223
+ # ... repeat for all 16 configs (~14h each on 8× H100)
224
+
225
+ # Replace adapters in checkpoints/<descriptive_name>/ with your fresh ckpts, then
226
+ # follow Step 3 + Step 4 from Section 3 above.
227
+ ```
228
+
229
+ ---
230
+
231
+ ## 4. Data preparation (full pipeline)
232
+
233
+ ### Inputs (required)
234
+ - Zindi competition data: `Train.csv`, `Val.csv`, `Test.csv`, `SampleSubmission.csv` (from competition page)
235
+ - Path expected: `/mnt/msrh/Magic_submission/data/{Train,Val,Test,SampleSubmission}.csv` (no editing needed — every builder and script reads from this fixed location)
236
+
237
+ ### Pipeline
238
+
239
+ 1. **AfriE5 base retrieval** (`build_afrie5_k5.py`)
240
+ - For each train query, retrieve top-K from Train+Val pool using AfriE5 cosine similarity
241
+ - For each test query, retrieve top-K from Train+Val pool
242
+ - Output: `msrh_rag_train_afrie5_TV_k{K}.json` + `msrh_rag_test_k3_AfriE5_TV.json`
243
+ - Includes language-specific instruction tag (Akan/Amharic/Luganda/Swahili/English)
244
+
245
+ 2. **Fewshot demo prep** (`build_fewshot_train_k{K}.py` + `build_fewshot_test_k{K}.py`)
246
+ - Per row, retrieve K AfriE5-similar same-subset (Q,A) pairs from Train+Val
247
+ - Prepend as "Example N:" demos in user message
248
+ - Output: `msrh_rag_train_afrie5_TV_k{K}_fewshot.json`
249
+
250
+ 3. **v8 prompt swap** (`build_v8_k5_fewshot.py`)
251
+ - Replace v1 prompt:
252
+ ```
253
+ Use the retrieved contexts as your primary sources — copy exact phrasing where
254
+ the contexts already address the question. Be concise and factually accurate.
255
+ ```
256
+ - With v8 prompt (33 words, 220 chars):
257
+ ```
258
+ The retrieved contexts are your source of truth — copy or paraphrase their
259
+ exact phrasing to answer. Reply in the same language and script as the question.
260
+ Plain prose, no disclaimers or meta-commentary.
261
+ ```
262
+ - Output: `msrh_rag_train_afrie5_TV_k5_fewshot_v8.json`
263
+
264
+ ---
265
+
266
+ ## 5. Training (13 LoRA adapters)
267
+
268
+ All training uses **LlamaFactory + DeepSpeed ZeRO-3** on 8× H100 (80GB).
269
+
270
+ ### Common hyperparameters (all 13 runs)
271
+ ```yaml
272
+ finetuning_type: lora
273
+ lora_rank: 128
274
+ lora_alpha: 256
275
+ lora_dropout: 0.05
276
+ lora_target: all # all linear layers
277
+ learning_rate: 2.0e-4
278
+ lr_scheduler_type: cosine
279
+ warmup_ratio: 0.05
280
+ bf16: true
281
+ gradient_checkpointing: true
282
+ deepspeed: scripts/ds_z3_config.json
283
+ ```
284
+
285
+ ### Per-model details
286
+
287
+ ### Per-model details (16 SFT runs total — all reproducible via configs/*.yaml)
288
+
289
+ The 19 ensemble candidates come from **16 distinct SFT training runs** (3 of the runs export 2 checkpoints each as "early-tap" anti-overfit cands).
290
+
291
+ #### Fewshot runs (13 SFT, each prepends top-K AfriE5-similar (Q,A) demos)
292
+
293
+ | # | Model | K | Prompt | Epochs | cutoff_len | eff_bs | YAML | Best ckpt | Cand(s) |
294
+ |---:|---|:---:|:---:|:---:|:---:|:---:|---|---|---|
295
+ | 1 | Qwen3.5-27B | 3 | v1 | 3 | 4096 | 64 | qwen35_27b_fewshot_3ep_8gpu.yaml | ck-1200 | ck-1200 + ck-1100 (early-tap) |
296
+ | 2 | Qwen3.5-27B | 3 | v1 | 5 | 4096 | 64 | qwen35_27b_fewshot_5ep_8gpu.yaml (modify epochs=5 in run 1's YAML) | ck-1200 | 1 cand |
297
+ | 3 | Qwen3.5-27B | 4 | v1 | 3 | 5120 | 64 | qwen35_27b_fewshot_k4_3ep_8gpu.yaml | ck-1600 | 1 cand |
298
+ | 4 | **Qwen3.5-27B** | **5** | **v8** | **3** | **6144** | **64** | **qwen35_27b_fewshot_k5_v8_3ep_8gpu.yaml** | **ck-1500** ⭐ | 1 cand ⭐ |
299
+ | 5 | Qwen3.5-27B | 7 | v1 | 3 | 8192 | 64 | qwen35_27b_fewshot_k7_3ep_8gpu.yaml | ck-1600 | ck-1600 + ck-1200 (early-tap) |
300
+ | 6 | Qwen3.6-27B | 3 | v1 (RecA) | 3 | 4096 | 64 | qwen36_27b_fewshot_3eps_bs64.yaml (Q3.5 K=3 YAML w/ model+template swap) | ck-1600 | 1 cand |
301
+ | 7 | Qwen3.6-27B | 4 | v1 | 3 | 5120 | 64 | qwen36_27b_fewshot_k4_3ep_8gpu.yaml | ck-1400 | 1 cand |
302
+ | 8 | Qwen3.6-27B | 5 | v1 | 3 | 6144 | 64 | qwen36_27b_fewshot_k5_3ep_8gpu.yaml | ck-1200 | ck-1200 + ck-1000 (early-tap) |
303
+ | 9 | Qwen3.6-27B | 7 | **v8** | 3 | 8192 | 64 | qwen36_27b_fewshot_k7_v8_3ep_8gpu.yaml | ck-1600 | 1 cand |
304
+ | 10 | Qwen3-32B | 3 | v1 | 3 | 4096 | 64 | qwen3_32b_fewshot_3ep_bs64_r128_all_8gpu.yaml | ck-1400 | 1 cand |
305
+ | 11 | Qwen3-32B | 5 | v1 | 3 | 6144 | 64 | qwen3_32b_fewshot_k5_3ep_bs64_r128_all_8gpu.yaml | ck-1700 | 1 cand |
306
+ | 12 | Qwen3-32B | 7 | v1 | 3 | 8192 | 64 | qwen3_32b_fewshot_k7_3ep_bs64_r128_all_8gpu.yaml | ck-1600 | ck-1600 + ck-1200 (early-tap) |
307
+
308
+ #### NoFewshots runs (3 SFT, mediators — same K=3 AfriE5 retrieval but WITHOUT demos prepended)
309
+
310
+ These 3 are **trained the same way** as the fewshot runs but use the **non-fewshot K=3 dataset** (`msrh_rag_train_afrie5_TV_k3.json` — output of `build_afrie5_k5.py --k 3` only, no `build_fewshot_train*.py` step). They serve as decorrelated "no-context-demos" mediators in the ensemble.
311
+
312
+ | # | Model | K | Prompt | Epochs | cutoff_len | eff_bs | YAML | Best ckpt | Cand |
313
+ |---:|---|:---:|:---:|:---:|:---:|:---:|---|---|---|
314
+ | 13 | Qwen3.5-27B | 3 | v1 | 5 | 4096 | 64 | **qwen35_27b_nofewshots_5ep_bs64_8gpu.yaml** | ck-2800 | 1 cand |
315
+ | 14 | Qwen3.6-27B | 3 | v1 | 5 | 4096 | 64 | **qwen36_27b_nofewshots_5ep_bs64_8gpu.yaml** | ck-2600 | 1 cand |
316
+ | 15 | Qwen3-32B | 3 | v1 | 4 | 4096 | 64 | **qwen3_32b_nofewshots_4ep_bs64_8gpu.yaml** | ck-6500 | 1 cand |
317
+
318
+ **Differences vs fewshot runs**: only `dataset: msrh_rag_train_afrie5_TV_k3` (vs `*_k3_fewshot`) and longer epoch budget (4-5 vs 3) since no-demo trains more slowly.
319
+
320
+ #### Total: 15 SFT runs → 19 ensemble cands (3 runs contribute 2 ckpts each)
321
+
322
+ ### Launch example (any config)
323
+ ```bash
324
+ HF_DATASETS_OFFLINE=1 TRANSFORMERS_OFFLINE=1 \
325
+ CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7 \
326
+ FORCE_TORCHRUN=1 NNODES=1 NPROC_PER_NODE=8 \
327
+ llamafactory-cli train /mnt/msrh/Magic_submission/configs/qwen35_27b_fewshot_k5_v8_3ep_8gpu.yaml \
328
+ > /mnt/msrh/Magic_submission/training_logs/q35_k5_v8.log 2>&1
329
+ ```
330
+
331
+ Save_steps=100-500 (depends on config), save_total_limit=25 (keep multiple ckpts for early-tap predictions).
332
+
333
+ ### Wall time per run (8× H100 80GB)
334
+ - Q3.5-27B 3ep: ~7-8h
335
+ - Q3.6-27B 3ep: ~8-10h
336
+ - Q3-32B 3ep: ~13-14h
337
+ - Q3-32B 4ep (NoFewshots): ~18h
338
+ - Q3.5/3.6-27B 5ep (NoFewshots): ~12-15h
339
+ - Total for 15 SFT runs (sequential): ~7-9 days
340
+ - With 2-3 nodes parallel: ~3-4 days
341
+
342
+ ---
343
+
344
+ ## 6. Inference (each LoRA adapter)
345
+
346
+ Single-GPU inference per adapter via vLLM (env: `vllm`). The wrapper `launch_all_predicts.sh` orchestrates all 19 runs and writes outputs into `candidate_csvs/<descriptive_name>.csv` ready for ensemble.
347
+
348
+ ### One-shot run all 19 predictions
349
+ ```bash
350
+ bash /mnt/msrh/Magic_submission/scripts/launch_all_predicts.sh
351
+ # Outputs: /mnt/msrh/Magic_submission/candidate_csvs/{Qwen3.5-27B-..., Qwen3.6-27B-..., Qwen3-32B-...}.csv (19 files)
352
+ ```
353
+
354
+ ### Manual single-cand example (the key v8 ckpt)
355
+ ```bash
356
+ ROOT=/mnt/msrh/Magic_submission
357
+ CUDA_VISIBLE_DEVICES=0 python $ROOT/scripts/vllm_predict_extra.py \
358
+ --base $ROOT/hub/Qwen3.5-27B \
359
+ --adapter $ROOT/checkpoints/Qwen3.5-27B-5fewshots-bs64-3eps-v8prompt-ckpt-1500 \
360
+ --rag_test $ROOT/LF/data/msrh_rag_test_k3_AfriE5_TV_fewshot_k5_v8.json \
361
+ --out_jsonl $ROOT/_predict_workdir/Qwen3.5-27B-5fewshots-bs64-3eps-v8prompt-ckpt-1500/predictions.jsonl \
362
+ --max_lora_rank 128 --max_new 512 \
363
+ --max_model_len 8192 --mem_util 0.88 --max_num_seqs 32 \
364
+ --temperature 0.0 --top_p 1.0 --best_of 1 --no_think
365
+
366
+ python $ROOT/scripts/jsonl_rowidx_to_csv.py \
367
+ --jsonl $ROOT/_predict_workdir/Qwen3.5-27B-5fewshots-bs64-3eps-v8prompt-ckpt-1500/predictions.jsonl \
368
+ --out_csv $ROOT/candidate_csvs/Qwen3.5-27B-5fewshots-bs64-3eps-v8prompt-ckpt-1500.csv
369
+ ```
370
+
371
+ ### Critical inference flags
372
+ - `--no_think` — passes `enable_thinking=False` to chat template (Qwen3.5/6 trained with `qwen3_5_nothink` template). Default ON wastes generation budget on reasoning; LB drops 0.10-0.25.
373
+ - `--temperature 0.0 --best_of 1` — greedy deterministic decoding
374
+ - `--max_model_len`: 6144 for K=3/4; 8192 for K=5; 10240 for K=7 (long prompts)
375
+
376
+ **Provide `--adapter checkpoints/<descriptive_name>`** pointing into the provided `checkpoints/` folder. Run inference for all 19 candidates (each on a different GPU in parallel via the launcher). The output 19 CSVs go to `candidate_csvs/`, ready for ensemble.
377
+
378
+ > **Note**: This package does NOT ship pre-computed `candidate_csvs/*.csv`.
379
+ > They must be regenerated from `checkpoints/` via `scripts/launch_all_predicts.sh`
380
+ > so the reviewer can independently verify the inference step.
381
+
382
+ ---
383
+
384
+ ## 7. Final ensemble (V2 medoid_ngram)
385
+
386
+ ```bash
387
+ # (no GPU needed — pure CPU + ROUGE scoring)
388
+ pip install rouge-score==0.1.2
389
+
390
+ python scripts/build_ensemble.py
391
+ # Reads 19 CSVs from candidate_csvs/<descriptive_name>.csv
392
+ # Computes per-row medoid, writes the regenerated submission CSV
393
+ # Compares md5 against the shipped go.csv: a2ecca4a8e1aa01acf9a8b9a1d56ebf2
394
+ ```
395
+
396
+ ### V2 medoid_ngram algorithm
397
+ For each Test row:
398
+ 1. Compute pairwise ROUGE-1.F + ROUGE-2.F between all 19 candidate answers
399
+ 2. For each candidate, sum its similarities to all OTHERS
400
+ 3. Pick the candidate with HIGHEST sum (the "medoid" of the cluster)
401
+ 4. Use its answer text as final prediction
402
+
403
+ Implementation (excerpt from `build_ensemble.py`):
404
+ ```python
405
+ from rouge_score import rouge_scorer
406
+ scorer = rouge_scorer.RougeScorer(["rouge1", "rouge2"], use_stemmer=False)
407
+
408
+ def medoid(texts):
409
+ best, best_s = 0, -1.0
410
+ for i in range(len(texts)):
411
+ s = sum(
412
+ scorer.score(texts[j], texts[i])["rouge1"].fmeasure
413
+ + scorer.score(texts[j], texts[i])["rouge2"].fmeasure
414
+ for j in range(len(texts)) if i != j
415
+ )
416
+ if s > best_s: best_s, best = s, i
417
+ return best
418
+ ```
419
+
420
+ ---
421
+
422
+ ## 8. Reproducibility
423
+
424
+ ### Hash of final submission
425
+ ```
426
+ $ md5sum go.csv
427
+ a2ecca4a8e1aa01acf9a8b9a1d56ebf2 go.csv
428
+ ```
429
+
430
+ ### Pinned versions (env)
431
+ See `environment.md` — exact `torch` / `transformers` / `vllm` / `llamafactory` versions.
432
+
433
+ ### Random seed
434
+ - LlamaFactory default seed (42) used for all trainings — reproducible LoRA weights given same env/data
435
+ - vLLM inference is deterministic with `--temperature 0.0 --best_of 1`
436
+ - Ensemble medoid is purely deterministic (no random selection)
437
+
438
+ ### Sanity checks
439
+ 1. Verify CSV row order matches `data/Test.csv` (2618 rows, 4 target columns: TargetRLF1, TargetR1F1, TargetLLMJudge, all = same answer)
440
+ 2. Confirm md5sum of `go.csv` matches above
441
+
442
+ ---
443
+
444
+ ## 9. Acknowledgments
445
+
446
+ - **AfriE5** (`McGill-NLP/AfriE5-Large-instruct`) — multilingual retrieval encoder
447
+ - **LlamaFactory** — LoRA training framework
448
+ - **vLLM** — inference engine (LoRA + batched generation)
449
+ - **DeepSpeed** — ZeRO-3 distributed training
450
+ - **Qwen team** (Alibaba) — Qwen3.5/3.6/Qwen3 base models
451
+
452
+ ---
453
+
454
+ ## 10. Contact
455
+
456
+ Submitter: Magic
457
+ Submission deadline: 23 Jun 2026 17:00 GMT (handled in time ✓)
checkpoints/Qwen3-32B-3fewshots-bs64-3eps-ckpt-1400/adapter_config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": null,
6
+ "base_model_name_or_path": "/mnt/msrh/Magic_submission/hub/Qwen3-32B",
7
+ "bias": "none",
8
+ "corda_config": null,
9
+ "ensure_weight_tying": false,
10
+ "eva_config": null,
11
+ "exclude_modules": null,
12
+ "fan_in_fan_out": false,
13
+ "inference_mode": true,
14
+ "init_lora_weights": true,
15
+ "layer_replication": null,
16
+ "layers_pattern": null,
17
+ "layers_to_transform": null,
18
+ "loftq_config": {},
19
+ "lora_alpha": 256,
20
+ "lora_bias": false,
21
+ "lora_dropout": 0.05,
22
+ "megatron_config": null,
23
+ "megatron_core": "megatron.core",
24
+ "modules_to_save": null,
25
+ "peft_type": "LORA",
26
+ "peft_version": "0.18.1",
27
+ "qalora_group_size": 16,
28
+ "r": 128,
29
+ "rank_pattern": {},
30
+ "revision": null,
31
+ "target_modules": [
32
+ "v_proj",
33
+ "up_proj",
34
+ "q_proj",
35
+ "k_proj",
36
+ "o_proj",
37
+ "down_proj",
38
+ "gate_proj"
39
+ ],
40
+ "target_parameters": null,
41
+ "task_type": "CAUSAL_LM",
42
+ "trainable_token_indices": null,
43
+ "use_dora": false,
44
+ "use_qalora": false,
45
+ "use_rslora": false
46
+ }
checkpoints/Qwen3-32B-3fewshots-bs64-3eps-ckpt-1400/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:433a7ea2b4ec4d63d621d18001ba1c207830bb80dda97f0b1c6e6b25da5f83dd
3
+ size 2147607752
checkpoints/Qwen3-32B-3fewshots-bs64-3eps-ckpt-1400/chat_template.jinja ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- if tools %}
2
+ {{- '<|im_start|>system\n' }}
3
+ {%- if messages[0].role == 'system' %}
4
+ {{- messages[0].content + '\n\n' }}
5
+ {%- endif %}
6
+ {{- "# 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>" }}
7
+ {%- for tool in tools %}
8
+ {{- "\n" }}
9
+ {{- tool | tojson }}
10
+ {%- endfor %}
11
+ {{- "\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" }}
12
+ {%- else %}
13
+ {%- if messages[0].role == 'system' %}
14
+ {{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }}
15
+ {%- endif %}
16
+ {%- endif %}
17
+ {%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
18
+ {%- for message in messages[::-1] %}
19
+ {%- set index = (messages|length - 1) - loop.index0 %}
20
+ {%- if ns.multi_step_tool and message.role == "user" and message.content is string and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}
21
+ {%- set ns.multi_step_tool = false %}
22
+ {%- set ns.last_query_index = index %}
23
+ {%- endif %}
24
+ {%- endfor %}
25
+ {%- for message in messages %}
26
+ {%- if message.content is string %}
27
+ {%- set content = message.content %}
28
+ {%- else %}
29
+ {%- set content = '' %}
30
+ {%- endif %}
31
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
32
+ {{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
33
+ {%- elif message.role == "assistant" %}
34
+ {%- set reasoning_content = '' %}
35
+ {%- if message.reasoning_content is string %}
36
+ {%- set reasoning_content = message.reasoning_content %}
37
+ {%- else %}
38
+ {%- if '</think>' in content %}
39
+ {%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
40
+ {%- set content = content.split('</think>')[-1].lstrip('\n') %}
41
+ {%- endif %}
42
+ {%- endif %}
43
+ {%- if loop.index0 > ns.last_query_index %}
44
+ {%- if loop.last or (not loop.last and reasoning_content) %}
45
+ {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }}
46
+ {%- else %}
47
+ {{- '<|im_start|>' + message.role + '\n' + content }}
48
+ {%- endif %}
49
+ {%- else %}
50
+ {{- '<|im_start|>' + message.role + '\n' + content }}
51
+ {%- endif %}
52
+ {%- if message.tool_calls %}
53
+ {%- for tool_call in message.tool_calls %}
54
+ {%- if (loop.first and content) or (not loop.first) %}
55
+ {{- '\n' }}
56
+ {%- endif %}
57
+ {%- if tool_call.function %}
58
+ {%- set tool_call = tool_call.function %}
59
+ {%- endif %}
60
+ {{- '<tool_call>\n{"name": "' }}
61
+ {{- tool_call.name }}
62
+ {{- '", "arguments": ' }}
63
+ {%- if tool_call.arguments is string %}
64
+ {{- tool_call.arguments }}
65
+ {%- else %}
66
+ {{- tool_call.arguments | tojson }}
67
+ {%- endif %}
68
+ {{- '}\n</tool_call>' }}
69
+ {%- endfor %}
70
+ {%- endif %}
71
+ {{- '<|im_end|>\n' }}
72
+ {%- elif message.role == "tool" %}
73
+ {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
74
+ {{- '<|im_start|>user' }}
75
+ {%- endif %}
76
+ {{- '\n<tool_response>\n' }}
77
+ {{- content }}
78
+ {{- '\n</tool_response>' }}
79
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
80
+ {{- '<|im_end|>\n' }}
81
+ {%- endif %}
82
+ {%- endif %}
83
+ {%- endfor %}
84
+ {%- if add_generation_prompt %}
85
+ {{- '<|im_start|>assistant\n' }}
86
+ {%- if enable_thinking is defined and enable_thinking is false %}
87
+ {{- '<think>\n\n</think>\n\n' }}
88
+ {%- endif %}
89
+ {%- endif %}
checkpoints/Qwen3-32B-3fewshots-bs64-3eps-ckpt-1400/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:be75606093db2094d7cd20f3c2f385c212750648bd6ea4fb2bf507a6a4c55506
3
+ size 11422650
checkpoints/Qwen3-32B-3fewshots-bs64-3eps-ckpt-1400/tokenizer_config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "model_max_length": 131072,
25
+ "pad_token": "<|endoftext|>",
26
+ "padding_side": "right",
27
+ "split_special_tokens": false,
28
+ "tokenizer_class": "Qwen2Tokenizer",
29
+ "unk_token": null
30
+ }
checkpoints/Qwen3-32B-3fewshots-bs64-3eps-ckpt-1400/trainer_state.json ADDED
@@ -0,0 +1,524 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 2.4522348816827346,
6
+ "eval_steps": 500,
7
+ "global_step": 1400,
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.035056967572304996,
14
+ "grad_norm": 0.25972092924861306,
15
+ "learning_rate": 4.418604651162791e-05,
16
+ "loss": 1.129275131225586,
17
+ "step": 20
18
+ },
19
+ {
20
+ "epoch": 0.07011393514460999,
21
+ "grad_norm": 0.2422051633438551,
22
+ "learning_rate": 9.069767441860465e-05,
23
+ "loss": 0.8681215286254883,
24
+ "step": 40
25
+ },
26
+ {
27
+ "epoch": 0.10517090271691498,
28
+ "grad_norm": 0.2887073624701644,
29
+ "learning_rate": 0.0001372093023255814,
30
+ "loss": 0.8148941040039063,
31
+ "step": 60
32
+ },
33
+ {
34
+ "epoch": 0.14022787028921999,
35
+ "grad_norm": 0.366313821529039,
36
+ "learning_rate": 0.00018372093023255815,
37
+ "loss": 0.7794719219207764,
38
+ "step": 80
39
+ },
40
+ {
41
+ "epoch": 0.175284837861525,
42
+ "grad_norm": 0.30330125407575625,
43
+ "learning_rate": 0.00019996849651899697,
44
+ "loss": 0.7361757278442382,
45
+ "step": 100
46
+ },
47
+ {
48
+ "epoch": 0.21034180543382996,
49
+ "grad_norm": 0.3051692510470446,
50
+ "learning_rate": 0.00019979705630030178,
51
+ "loss": 0.7342663764953613,
52
+ "step": 120
53
+ },
54
+ {
55
+ "epoch": 0.24539877300613497,
56
+ "grad_norm": 0.2859980613591142,
57
+ "learning_rate": 0.00019947680050653714,
58
+ "loss": 0.706333065032959,
59
+ "step": 140
60
+ },
61
+ {
62
+ "epoch": 0.28045574057843997,
63
+ "grad_norm": 0.2761393123380369,
64
+ "learning_rate": 0.00019900820669738146,
65
+ "loss": 0.7175551891326905,
66
+ "step": 160
67
+ },
68
+ {
69
+ "epoch": 0.31551270815074495,
70
+ "grad_norm": 0.22278342882751814,
71
+ "learning_rate": 0.0001983919736314933,
72
+ "loss": 0.643967580795288,
73
+ "step": 180
74
+ },
75
+ {
76
+ "epoch": 0.35056967572305,
77
+ "grad_norm": 0.308908749150725,
78
+ "learning_rate": 0.00019762902022453483,
79
+ "loss": 0.6350432395935058,
80
+ "step": 200
81
+ },
82
+ {
83
+ "epoch": 0.38562664329535495,
84
+ "grad_norm": 0.24328698982598382,
85
+ "learning_rate": 0.00019672048417890148,
86
+ "loss": 0.6911206245422363,
87
+ "step": 220
88
+ },
89
+ {
90
+ "epoch": 0.42068361086765993,
91
+ "grad_norm": 0.26901727474976633,
92
+ "learning_rate": 0.00019566772028720047,
93
+ "loss": 0.6216803550720215,
94
+ "step": 240
95
+ },
96
+ {
97
+ "epoch": 0.45574057843996496,
98
+ "grad_norm": 0.25743933187713164,
99
+ "learning_rate": 0.0001944722984120086,
100
+ "loss": 0.6582651138305664,
101
+ "step": 260
102
+ },
103
+ {
104
+ "epoch": 0.49079754601226994,
105
+ "grad_norm": 0.247129684938608,
106
+ "learning_rate": 0.0001931360011449213,
107
+ "loss": 0.609255027770996,
108
+ "step": 280
109
+ },
110
+ {
111
+ "epoch": 0.5258545135845749,
112
+ "grad_norm": 0.26408100728659223,
113
+ "learning_rate": 0.00019166082114838404,
114
+ "loss": 0.5517263412475586,
115
+ "step": 300
116
+ },
117
+ {
118
+ "epoch": 0.5609114811568799,
119
+ "grad_norm": 0.2903976116104128,
120
+ "learning_rate": 0.00019004895818427016,
121
+ "loss": 0.6067933559417724,
122
+ "step": 320
123
+ },
124
+ {
125
+ "epoch": 0.595968448729185,
126
+ "grad_norm": 0.30035929820797935,
127
+ "learning_rate": 0.00018830281583363535,
128
+ "loss": 0.588967227935791,
129
+ "step": 340
130
+ },
131
+ {
132
+ "epoch": 0.6310254163014899,
133
+ "grad_norm": 0.3076789784365002,
134
+ "learning_rate": 0.00018642499791254085,
135
+ "loss": 0.5784377098083496,
136
+ "step": 360
137
+ },
138
+ {
139
+ "epoch": 0.6660823838737949,
140
+ "grad_norm": 0.18654871412958857,
141
+ "learning_rate": 0.0001844183045892899,
142
+ "loss": 0.5761405467987061,
143
+ "step": 380
144
+ },
145
+ {
146
+ "epoch": 0.7011393514461,
147
+ "grad_norm": 0.2609291155306374,
148
+ "learning_rate": 0.00018228572820886695,
149
+ "loss": 0.5722132682800293,
150
+ "step": 400
151
+ },
152
+ {
153
+ "epoch": 0.7361963190184049,
154
+ "grad_norm": 0.2545041382974561,
155
+ "learning_rate": 0.00018003044883080685,
156
+ "loss": 0.5407440185546875,
157
+ "step": 420
158
+ },
159
+ {
160
+ "epoch": 0.7712532865907099,
161
+ "grad_norm": 0.22992797521008082,
162
+ "learning_rate": 0.00017765582948714708,
163
+ "loss": 0.5364163398742676,
164
+ "step": 440
165
+ },
166
+ {
167
+ "epoch": 0.8063102541630149,
168
+ "grad_norm": 0.19774875758051882,
169
+ "learning_rate": 0.00017516541116753502,
170
+ "loss": 0.5518630504608154,
171
+ "step": 460
172
+ },
173
+ {
174
+ "epoch": 0.8413672217353199,
175
+ "grad_norm": 0.2574457625045496,
176
+ "learning_rate": 0.00017256290753896782,
177
+ "loss": 0.5212277412414551,
178
+ "step": 480
179
+ },
180
+ {
181
+ "epoch": 0.8764241893076249,
182
+ "grad_norm": 0.21733628753506873,
183
+ "learning_rate": 0.00016985219940803906,
184
+ "loss": 0.5246070384979248,
185
+ "step": 500
186
+ },
187
+ {
188
+ "epoch": 0.9114811568799299,
189
+ "grad_norm": 0.2788941457185204,
190
+ "learning_rate": 0.00016703732893394964,
191
+ "loss": 0.5095488548278808,
192
+ "step": 520
193
+ },
194
+ {
195
+ "epoch": 0.9465381244522348,
196
+ "grad_norm": 0.2786955638768144,
197
+ "learning_rate": 0.00016412249360091277,
198
+ "loss": 0.5111159324645996,
199
+ "step": 540
200
+ },
201
+ {
202
+ "epoch": 0.9815950920245399,
203
+ "grad_norm": 0.21493767193150215,
204
+ "learning_rate": 0.00016111203995894112,
205
+ "loss": 0.4957179069519043,
206
+ "step": 560
207
+ },
208
+ {
209
+ "epoch": 1.0157756354075373,
210
+ "grad_norm": 0.2999874031381283,
211
+ "learning_rate": 0.00015801045714234938,
212
+ "loss": 0.46585869789123535,
213
+ "step": 580
214
+ },
215
+ {
216
+ "epoch": 1.0508326029798423,
217
+ "grad_norm": 0.27182858126516,
218
+ "learning_rate": 0.00015482237017563812,
219
+ "loss": 0.40743699073791506,
220
+ "step": 600
221
+ },
222
+ {
223
+ "epoch": 1.0858895705521472,
224
+ "grad_norm": 0.2315917457694845,
225
+ "learning_rate": 0.00015155253307674055,
226
+ "loss": 0.40488224029541015,
227
+ "step": 620
228
+ },
229
+ {
230
+ "epoch": 1.1209465381244523,
231
+ "grad_norm": 0.2544813878414733,
232
+ "learning_rate": 0.00014820582176791621,
233
+ "loss": 0.39172637462615967,
234
+ "step": 640
235
+ },
236
+ {
237
+ "epoch": 1.1560035056967572,
238
+ "grad_norm": 0.26307335125726106,
239
+ "learning_rate": 0.00014478722680486358,
240
+ "loss": 0.3954883813858032,
241
+ "step": 660
242
+ },
243
+ {
244
+ "epoch": 1.1910604732690622,
245
+ "grad_norm": 0.22950942789781925,
246
+ "learning_rate": 0.00014130184593489327,
247
+ "loss": 0.39145448207855227,
248
+ "step": 680
249
+ },
250
+ {
251
+ "epoch": 1.2261174408413673,
252
+ "grad_norm": 0.2190049684104704,
253
+ "learning_rate": 0.00013775487649525872,
254
+ "loss": 0.3662476778030396,
255
+ "step": 700
256
+ },
257
+ {
258
+ "epoch": 1.2611744084136722,
259
+ "grad_norm": 0.25350828061700514,
260
+ "learning_rate": 0.0001341516076629807,
261
+ "loss": 0.41669607162475586,
262
+ "step": 720
263
+ },
264
+ {
265
+ "epoch": 1.2962313759859772,
266
+ "grad_norm": 0.27880610020425217,
267
+ "learning_rate": 0.00013049741256772129,
268
+ "loss": 0.4120013236999512,
269
+ "step": 740
270
+ },
271
+ {
272
+ "epoch": 1.331288343558282,
273
+ "grad_norm": 0.2547253635678651,
274
+ "learning_rate": 0.00012679774027946997,
275
+ "loss": 0.399219274520874,
276
+ "step": 760
277
+ },
278
+ {
279
+ "epoch": 1.3663453111305872,
280
+ "grad_norm": 0.24818247234458424,
281
+ "learning_rate": 0.00012305810768298812,
282
+ "loss": 0.383573579788208,
283
+ "step": 780
284
+ },
285
+ {
286
+ "epoch": 1.4014022787028921,
287
+ "grad_norm": 0.26467672232824363,
288
+ "learning_rate": 0.00011928409125113017,
289
+ "loss": 0.37129578590393064,
290
+ "step": 800
291
+ },
292
+ {
293
+ "epoch": 1.4364592462751973,
294
+ "grad_norm": 0.23843710989628483,
295
+ "learning_rate": 0.00011548131872930703,
296
+ "loss": 0.37547523975372316,
297
+ "step": 820
298
+ },
299
+ {
300
+ "epoch": 1.4715162138475022,
301
+ "grad_norm": 0.27932157919803147,
302
+ "learning_rate": 0.0001116554607434938,
303
+ "loss": 0.38849606513977053,
304
+ "step": 840
305
+ },
306
+ {
307
+ "epoch": 1.5065731814198071,
308
+ "grad_norm": 0.22744381445516224,
309
+ "learning_rate": 0.0001078122223442942,
310
+ "loss": 0.3888273239135742,
311
+ "step": 860
312
+ },
313
+ {
314
+ "epoch": 1.541630148992112,
315
+ "grad_norm": 0.22081815925303305,
316
+ "learning_rate": 0.00010395733449967172,
317
+ "loss": 0.3756257057189941,
318
+ "step": 880
319
+ },
320
+ {
321
+ "epoch": 1.5766871165644172,
322
+ "grad_norm": 0.24524791223665604,
323
+ "learning_rate": 0.00010009654554903323,
324
+ "loss": 0.36522583961486815,
325
+ "step": 900
326
+ },
327
+ {
328
+ "epoch": 1.6117440841367223,
329
+ "grad_norm": 0.27311550186403866,
330
+ "learning_rate": 9.62356126314088e-05,
331
+ "loss": 0.37842211723327634,
332
+ "step": 920
333
+ },
334
+ {
335
+ "epoch": 1.6468010517090272,
336
+ "grad_norm": 0.24957805768810531,
337
+ "learning_rate": 9.238029310050955e-05,
338
+ "loss": 0.36957459449768065,
339
+ "step": 940
340
+ },
341
+ {
342
+ "epoch": 1.6818580192813322,
343
+ "grad_norm": 0.2749659935193175,
344
+ "learning_rate": 8.853633593946508e-05,
345
+ "loss": 0.3913578510284424,
346
+ "step": 960
347
+ },
348
+ {
349
+ "epoch": 1.716914986853637,
350
+ "grad_norm": 0.2778166557209832,
351
+ "learning_rate": 8.47094731880437e-05,
352
+ "loss": 0.36133584976196287,
353
+ "step": 980
354
+ },
355
+ {
356
+ "epoch": 1.751971954425942,
357
+ "grad_norm": 0.28003762510185926,
358
+ "learning_rate": 8.090541139513744e-05,
359
+ "loss": 0.3650220394134521,
360
+ "step": 1000
361
+ },
362
+ {
363
+ "epoch": 1.7870289219982471,
364
+ "grad_norm": 0.2655418397043759,
365
+ "learning_rate": 7.712982310925923e-05,
366
+ "loss": 0.3749880790710449,
367
+ "step": 1020
368
+ },
369
+ {
370
+ "epoch": 1.8220858895705523,
371
+ "grad_norm": 0.22818762984408617,
372
+ "learning_rate": 7.33883384197406e-05,
373
+ "loss": 0.36241748332977297,
374
+ "step": 1040
375
+ },
376
+ {
377
+ "epoch": 1.8571428571428572,
378
+ "grad_norm": 0.22281359315424928,
379
+ "learning_rate": 6.96865365612436e-05,
380
+ "loss": 0.36051235198974607,
381
+ "step": 1060
382
+ },
383
+ {
384
+ "epoch": 1.8921998247151621,
385
+ "grad_norm": 0.24561953092610364,
386
+ "learning_rate": 6.602993759410652e-05,
387
+ "loss": 0.34312801361083983,
388
+ "step": 1080
389
+ },
390
+ {
391
+ "epoch": 1.927256792287467,
392
+ "grad_norm": 0.25437370430695394,
393
+ "learning_rate": 6.242399417292937e-05,
394
+ "loss": 0.3559926986694336,
395
+ "step": 1100
396
+ },
397
+ {
398
+ "epoch": 1.962313759859772,
399
+ "grad_norm": 0.22685063854469026,
400
+ "learning_rate": 5.887408341567306e-05,
401
+ "loss": 0.33498687744140626,
402
+ "step": 1120
403
+ },
404
+ {
405
+ "epoch": 1.997370727432077,
406
+ "grad_norm": 0.2123804155698742,
407
+ "learning_rate": 5.538549888539829e-05,
408
+ "loss": 0.34430203437805174,
409
+ "step": 1140
410
+ },
411
+ {
412
+ "epoch": 2.0315512708150747,
413
+ "grad_norm": 0.26834543697058755,
414
+ "learning_rate": 5.1963442696599096e-05,
415
+ "loss": 0.2343144178390503,
416
+ "step": 1160
417
+ },
418
+ {
419
+ "epoch": 2.0666082383873796,
420
+ "grad_norm": 0.2197628238907278,
421
+ "learning_rate": 4.861301775790361e-05,
422
+ "loss": 0.19864696264266968,
423
+ "step": 1180
424
+ },
425
+ {
426
+ "epoch": 2.1016652059596845,
427
+ "grad_norm": 0.29225792782050447,
428
+ "learning_rate": 4.5339220162708506e-05,
429
+ "loss": 0.18144433498382567,
430
+ "step": 1200
431
+ },
432
+ {
433
+ "epoch": 2.1367221735319895,
434
+ "grad_norm": 0.2805551896384275,
435
+ "learning_rate": 4.214693173909409e-05,
436
+ "loss": 0.1948443055152893,
437
+ "step": 1220
438
+ },
439
+ {
440
+ "epoch": 2.1717791411042944,
441
+ "grad_norm": 0.26588323236857764,
442
+ "learning_rate": 3.9040912770130454e-05,
443
+ "loss": 0.18083541393280028,
444
+ "step": 1240
445
+ },
446
+ {
447
+ "epoch": 2.2068361086765993,
448
+ "grad_norm": 0.24411128604094878,
449
+ "learning_rate": 3.602579489542883e-05,
450
+ "loss": 0.19837160110473634,
451
+ "step": 1260
452
+ },
453
+ {
454
+ "epoch": 2.2418930762489047,
455
+ "grad_norm": 0.28033662973674933,
456
+ "learning_rate": 3.3106074204523905e-05,
457
+ "loss": 0.17888429164886474,
458
+ "step": 1280
459
+ },
460
+ {
461
+ "epoch": 2.2769500438212096,
462
+ "grad_norm": 0.3015485429696721,
463
+ "learning_rate": 3.028610453238604e-05,
464
+ "loss": 0.1615851879119873,
465
+ "step": 1300
466
+ },
467
+ {
468
+ "epoch": 2.3120070113935145,
469
+ "grad_norm": 0.3401883272816503,
470
+ "learning_rate": 2.7570090967060868e-05,
471
+ "loss": 0.17859578132629395,
472
+ "step": 1320
473
+ },
474
+ {
475
+ "epoch": 2.3470639789658194,
476
+ "grad_norm": 0.3493775742732503,
477
+ "learning_rate": 2.4962083579117656e-05,
478
+ "loss": 0.19249472618103028,
479
+ "step": 1340
480
+ },
481
+ {
482
+ "epoch": 2.3821209465381243,
483
+ "grad_norm": 0.2586960289960212,
484
+ "learning_rate": 2.246597138225691e-05,
485
+ "loss": 0.17364020347595216,
486
+ "step": 1360
487
+ },
488
+ {
489
+ "epoch": 2.4171779141104293,
490
+ "grad_norm": 0.2353627458632912,
491
+ "learning_rate": 2.0085476534083103e-05,
492
+ "loss": 0.20382912158966066,
493
+ "step": 1380
494
+ },
495
+ {
496
+ "epoch": 2.4522348816827346,
497
+ "grad_norm": 0.30700117695397516,
498
+ "learning_rate": 1.7824148785690288e-05,
499
+ "loss": 0.18904035091400145,
500
+ "step": 1400
501
+ }
502
+ ],
503
+ "logging_steps": 20,
504
+ "max_steps": 1713,
505
+ "num_input_tokens_seen": 0,
506
+ "num_train_epochs": 3,
507
+ "save_steps": 100,
508
+ "stateful_callbacks": {
509
+ "TrainerControl": {
510
+ "args": {
511
+ "should_epoch_stop": false,
512
+ "should_evaluate": false,
513
+ "should_log": false,
514
+ "should_save": true,
515
+ "should_training_stop": false
516
+ },
517
+ "attributes": {}
518
+ }
519
+ },
520
+ "total_flos": 636041574744064.0,
521
+ "train_batch_size": 2,
522
+ "trial_name": null,
523
+ "trial_params": null
524
+ }
checkpoints/Qwen3-32B-5fewshots-bs64-3eps-ckpt-1700/adapter_config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": null,
6
+ "base_model_name_or_path": "/mnt/msrh/Magic_submission/hub/Qwen3-32B",
7
+ "bias": "none",
8
+ "corda_config": null,
9
+ "ensure_weight_tying": false,
10
+ "eva_config": null,
11
+ "exclude_modules": null,
12
+ "fan_in_fan_out": false,
13
+ "inference_mode": true,
14
+ "init_lora_weights": true,
15
+ "layer_replication": null,
16
+ "layers_pattern": null,
17
+ "layers_to_transform": null,
18
+ "loftq_config": {},
19
+ "lora_alpha": 256,
20
+ "lora_bias": false,
21
+ "lora_dropout": 0.05,
22
+ "megatron_config": null,
23
+ "megatron_core": "megatron.core",
24
+ "modules_to_save": null,
25
+ "peft_type": "LORA",
26
+ "peft_version": "0.18.1",
27
+ "qalora_group_size": 16,
28
+ "r": 128,
29
+ "rank_pattern": {},
30
+ "revision": null,
31
+ "target_modules": [
32
+ "q_proj",
33
+ "down_proj",
34
+ "gate_proj",
35
+ "up_proj",
36
+ "o_proj",
37
+ "v_proj",
38
+ "k_proj"
39
+ ],
40
+ "target_parameters": null,
41
+ "task_type": "CAUSAL_LM",
42
+ "trainable_token_indices": null,
43
+ "use_dora": false,
44
+ "use_qalora": false,
45
+ "use_rslora": false
46
+ }
checkpoints/Qwen3-32B-5fewshots-bs64-3eps-ckpt-1700/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8b14d38d568ef04cfeb7606abae3a5f7def1a91c377d339590564e1ac4dd7f8c
3
+ size 2147607752
checkpoints/Qwen3-32B-5fewshots-bs64-3eps-ckpt-1700/chat_template.jinja ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- if tools %}
2
+ {{- '<|im_start|>system\n' }}
3
+ {%- if messages[0].role == 'system' %}
4
+ {{- messages[0].content + '\n\n' }}
5
+ {%- endif %}
6
+ {{- "# 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>" }}
7
+ {%- for tool in tools %}
8
+ {{- "\n" }}
9
+ {{- tool | tojson }}
10
+ {%- endfor %}
11
+ {{- "\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" }}
12
+ {%- else %}
13
+ {%- if messages[0].role == 'system' %}
14
+ {{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }}
15
+ {%- endif %}
16
+ {%- endif %}
17
+ {%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
18
+ {%- for message in messages[::-1] %}
19
+ {%- set index = (messages|length - 1) - loop.index0 %}
20
+ {%- if ns.multi_step_tool and message.role == "user" and message.content is string and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}
21
+ {%- set ns.multi_step_tool = false %}
22
+ {%- set ns.last_query_index = index %}
23
+ {%- endif %}
24
+ {%- endfor %}
25
+ {%- for message in messages %}
26
+ {%- if message.content is string %}
27
+ {%- set content = message.content %}
28
+ {%- else %}
29
+ {%- set content = '' %}
30
+ {%- endif %}
31
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
32
+ {{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
33
+ {%- elif message.role == "assistant" %}
34
+ {%- set reasoning_content = '' %}
35
+ {%- if message.reasoning_content is string %}
36
+ {%- set reasoning_content = message.reasoning_content %}
37
+ {%- else %}
38
+ {%- if '</think>' in content %}
39
+ {%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
40
+ {%- set content = content.split('</think>')[-1].lstrip('\n') %}
41
+ {%- endif %}
42
+ {%- endif %}
43
+ {%- if loop.index0 > ns.last_query_index %}
44
+ {%- if loop.last or (not loop.last and reasoning_content) %}
45
+ {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }}
46
+ {%- else %}
47
+ {{- '<|im_start|>' + message.role + '\n' + content }}
48
+ {%- endif %}
49
+ {%- else %}
50
+ {{- '<|im_start|>' + message.role + '\n' + content }}
51
+ {%- endif %}
52
+ {%- if message.tool_calls %}
53
+ {%- for tool_call in message.tool_calls %}
54
+ {%- if (loop.first and content) or (not loop.first) %}
55
+ {{- '\n' }}
56
+ {%- endif %}
57
+ {%- if tool_call.function %}
58
+ {%- set tool_call = tool_call.function %}
59
+ {%- endif %}
60
+ {{- '<tool_call>\n{"name": "' }}
61
+ {{- tool_call.name }}
62
+ {{- '", "arguments": ' }}
63
+ {%- if tool_call.arguments is string %}
64
+ {{- tool_call.arguments }}
65
+ {%- else %}
66
+ {{- tool_call.arguments | tojson }}
67
+ {%- endif %}
68
+ {{- '}\n</tool_call>' }}
69
+ {%- endfor %}
70
+ {%- endif %}
71
+ {{- '<|im_end|>\n' }}
72
+ {%- elif message.role == "tool" %}
73
+ {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
74
+ {{- '<|im_start|>user' }}
75
+ {%- endif %}
76
+ {{- '\n<tool_response>\n' }}
77
+ {{- content }}
78
+ {{- '\n</tool_response>' }}
79
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
80
+ {{- '<|im_end|>\n' }}
81
+ {%- endif %}
82
+ {%- endif %}
83
+ {%- endfor %}
84
+ {%- if add_generation_prompt %}
85
+ {{- '<|im_start|>assistant\n' }}
86
+ {%- if enable_thinking is defined and enable_thinking is false %}
87
+ {{- '<think>\n\n</think>\n\n' }}
88
+ {%- endif %}
89
+ {%- endif %}
checkpoints/Qwen3-32B-5fewshots-bs64-3eps-ckpt-1700/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:be75606093db2094d7cd20f3c2f385c212750648bd6ea4fb2bf507a6a4c55506
3
+ size 11422650
checkpoints/Qwen3-32B-5fewshots-bs64-3eps-ckpt-1700/tokenizer_config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "model_max_length": 131072,
25
+ "pad_token": "<|endoftext|>",
26
+ "padding_side": "right",
27
+ "split_special_tokens": false,
28
+ "tokenizer_class": "Qwen2Tokenizer",
29
+ "unk_token": null
30
+ }
checkpoints/Qwen3-32B-5fewshots-bs64-3eps-ckpt-1700/trainer_state.json ADDED
@@ -0,0 +1,629 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 2.9780893952673093,
6
+ "eval_steps": 500,
7
+ "global_step": 1700,
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.035056967572304996,
14
+ "grad_norm": 0.2607329259109832,
15
+ "learning_rate": 4.418604651162791e-05,
16
+ "loss": 1.0697125434875487,
17
+ "step": 20
18
+ },
19
+ {
20
+ "epoch": 0.07011393514460999,
21
+ "grad_norm": 0.21943806459933496,
22
+ "learning_rate": 9.069767441860465e-05,
23
+ "loss": 0.8158013343811035,
24
+ "step": 40
25
+ },
26
+ {
27
+ "epoch": 0.10517090271691498,
28
+ "grad_norm": 0.23920311705242867,
29
+ "learning_rate": 0.0001372093023255814,
30
+ "loss": 0.7821506977081298,
31
+ "step": 60
32
+ },
33
+ {
34
+ "epoch": 0.14022787028921999,
35
+ "grad_norm": 0.35946578576738486,
36
+ "learning_rate": 0.00018372093023255815,
37
+ "loss": 0.7410243034362793,
38
+ "step": 80
39
+ },
40
+ {
41
+ "epoch": 0.175284837861525,
42
+ "grad_norm": 0.4306438291535812,
43
+ "learning_rate": 0.00019996849651899697,
44
+ "loss": 0.7126483917236328,
45
+ "step": 100
46
+ },
47
+ {
48
+ "epoch": 0.21034180543382996,
49
+ "grad_norm": 0.28500262211676214,
50
+ "learning_rate": 0.00019979705630030178,
51
+ "loss": 0.7145627975463867,
52
+ "step": 120
53
+ },
54
+ {
55
+ "epoch": 0.24539877300613497,
56
+ "grad_norm": 0.260601498041297,
57
+ "learning_rate": 0.00019947680050653714,
58
+ "loss": 0.6702024459838867,
59
+ "step": 140
60
+ },
61
+ {
62
+ "epoch": 0.28045574057843997,
63
+ "grad_norm": 0.24318856995850366,
64
+ "learning_rate": 0.00019900820669738146,
65
+ "loss": 0.6751674175262451,
66
+ "step": 160
67
+ },
68
+ {
69
+ "epoch": 0.31551270815074495,
70
+ "grad_norm": 0.25488466291309136,
71
+ "learning_rate": 0.0001983919736314933,
72
+ "loss": 0.6340686798095703,
73
+ "step": 180
74
+ },
75
+ {
76
+ "epoch": 0.35056967572305,
77
+ "grad_norm": 0.28321416380377346,
78
+ "learning_rate": 0.00019762902022453483,
79
+ "loss": 0.5914155960083007,
80
+ "step": 200
81
+ },
82
+ {
83
+ "epoch": 0.38562664329535495,
84
+ "grad_norm": 0.23973446586875694,
85
+ "learning_rate": 0.00019672048417890148,
86
+ "loss": 0.6677542686462402,
87
+ "step": 220
88
+ },
89
+ {
90
+ "epoch": 0.42068361086765993,
91
+ "grad_norm": 0.26172850316934704,
92
+ "learning_rate": 0.00019566772028720047,
93
+ "loss": 0.6005615711212158,
94
+ "step": 240
95
+ },
96
+ {
97
+ "epoch": 0.45574057843996496,
98
+ "grad_norm": 0.251076056535901,
99
+ "learning_rate": 0.0001944722984120086,
100
+ "loss": 0.6369094848632812,
101
+ "step": 260
102
+ },
103
+ {
104
+ "epoch": 0.49079754601226994,
105
+ "grad_norm": 0.21698674468743823,
106
+ "learning_rate": 0.0001931360011449213,
107
+ "loss": 0.5932572841644287,
108
+ "step": 280
109
+ },
110
+ {
111
+ "epoch": 0.5258545135845749,
112
+ "grad_norm": 0.2673393007859968,
113
+ "learning_rate": 0.00019166082114838404,
114
+ "loss": 0.5315813541412353,
115
+ "step": 300
116
+ },
117
+ {
118
+ "epoch": 0.5609114811568799,
119
+ "grad_norm": 0.2577888244518932,
120
+ "learning_rate": 0.00019004895818427016,
121
+ "loss": 0.6088322162628174,
122
+ "step": 320
123
+ },
124
+ {
125
+ "epoch": 0.595968448729185,
126
+ "grad_norm": 0.2525655347212635,
127
+ "learning_rate": 0.00018830281583363535,
128
+ "loss": 0.5806102275848388,
129
+ "step": 340
130
+ },
131
+ {
132
+ "epoch": 0.6310254163014899,
133
+ "grad_norm": 0.2723731142723013,
134
+ "learning_rate": 0.00018642499791254085,
135
+ "loss": 0.561124038696289,
136
+ "step": 360
137
+ },
138
+ {
139
+ "epoch": 0.6660823838737949,
140
+ "grad_norm": 0.17912741261394458,
141
+ "learning_rate": 0.0001844183045892899,
142
+ "loss": 0.5584434032440185,
143
+ "step": 380
144
+ },
145
+ {
146
+ "epoch": 0.7011393514461,
147
+ "grad_norm": 0.18549735701435288,
148
+ "learning_rate": 0.00018228572820886695,
149
+ "loss": 0.5559101104736328,
150
+ "step": 400
151
+ },
152
+ {
153
+ "epoch": 0.7361963190184049,
154
+ "grad_norm": 0.22414243532910372,
155
+ "learning_rate": 0.00018003044883080685,
156
+ "loss": 0.5252221107482911,
157
+ "step": 420
158
+ },
159
+ {
160
+ "epoch": 0.7712532865907099,
161
+ "grad_norm": 0.2167055079608228,
162
+ "learning_rate": 0.00017765582948714708,
163
+ "loss": 0.5327632904052735,
164
+ "step": 440
165
+ },
166
+ {
167
+ "epoch": 0.8063102541630149,
168
+ "grad_norm": 0.21328948837791448,
169
+ "learning_rate": 0.00017516541116753502,
170
+ "loss": 0.5318605422973632,
171
+ "step": 460
172
+ },
173
+ {
174
+ "epoch": 0.8413672217353199,
175
+ "grad_norm": 0.26134858618941426,
176
+ "learning_rate": 0.00017256290753896782,
177
+ "loss": 0.5201922416687011,
178
+ "step": 480
179
+ },
180
+ {
181
+ "epoch": 0.8764241893076249,
182
+ "grad_norm": 0.16844582128925603,
183
+ "learning_rate": 0.00016985219940803906,
184
+ "loss": 0.5006133556365967,
185
+ "step": 500
186
+ },
187
+ {
188
+ "epoch": 0.9114811568799299,
189
+ "grad_norm": 0.20268123902184498,
190
+ "learning_rate": 0.00016703732893394964,
191
+ "loss": 0.500429344177246,
192
+ "step": 520
193
+ },
194
+ {
195
+ "epoch": 0.9465381244522348,
196
+ "grad_norm": 0.2631331322702879,
197
+ "learning_rate": 0.00016412249360091277,
198
+ "loss": 0.49962558746337893,
199
+ "step": 540
200
+ },
201
+ {
202
+ "epoch": 0.9815950920245399,
203
+ "grad_norm": 0.1991947295240109,
204
+ "learning_rate": 0.00016111203995894112,
205
+ "loss": 0.48817882537841795,
206
+ "step": 560
207
+ },
208
+ {
209
+ "epoch": 1.0157756354075373,
210
+ "grad_norm": 0.33491726330950855,
211
+ "learning_rate": 0.00015801045714234938,
212
+ "loss": 0.4481941223144531,
213
+ "step": 580
214
+ },
215
+ {
216
+ "epoch": 1.0508326029798423,
217
+ "grad_norm": 0.2657827306745051,
218
+ "learning_rate": 0.00015482237017563812,
219
+ "loss": 0.396005916595459,
220
+ "step": 600
221
+ },
222
+ {
223
+ "epoch": 1.0858895705521472,
224
+ "grad_norm": 0.28475768185801104,
225
+ "learning_rate": 0.00015155253307674055,
226
+ "loss": 0.3950441837310791,
227
+ "step": 620
228
+ },
229
+ {
230
+ "epoch": 1.1209465381244523,
231
+ "grad_norm": 0.26358760611110005,
232
+ "learning_rate": 0.00014820582176791621,
233
+ "loss": 0.3884115695953369,
234
+ "step": 640
235
+ },
236
+ {
237
+ "epoch": 1.1560035056967572,
238
+ "grad_norm": 0.2512485387459438,
239
+ "learning_rate": 0.00014478722680486358,
240
+ "loss": 0.3917705535888672,
241
+ "step": 660
242
+ },
243
+ {
244
+ "epoch": 1.1910604732690622,
245
+ "grad_norm": 0.20657251754939812,
246
+ "learning_rate": 0.00014130184593489327,
247
+ "loss": 0.37499542236328126,
248
+ "step": 680
249
+ },
250
+ {
251
+ "epoch": 1.2261174408413673,
252
+ "grad_norm": 0.24373611516397556,
253
+ "learning_rate": 0.00013775487649525872,
254
+ "loss": 0.36916706562042234,
255
+ "step": 700
256
+ },
257
+ {
258
+ "epoch": 1.2611744084136722,
259
+ "grad_norm": 0.24121351808359115,
260
+ "learning_rate": 0.0001341516076629807,
261
+ "loss": 0.40265941619873047,
262
+ "step": 720
263
+ },
264
+ {
265
+ "epoch": 1.2962313759859772,
266
+ "grad_norm": 0.27014690636269456,
267
+ "learning_rate": 0.00013049741256772129,
268
+ "loss": 0.4007719039916992,
269
+ "step": 740
270
+ },
271
+ {
272
+ "epoch": 1.331288343558282,
273
+ "grad_norm": 0.2255514096887592,
274
+ "learning_rate": 0.00012679774027946997,
275
+ "loss": 0.40675530433654783,
276
+ "step": 760
277
+ },
278
+ {
279
+ "epoch": 1.3663453111305872,
280
+ "grad_norm": 0.20477370973186418,
281
+ "learning_rate": 0.00012305810768298812,
282
+ "loss": 0.3776648283004761,
283
+ "step": 780
284
+ },
285
+ {
286
+ "epoch": 1.4014022787028921,
287
+ "grad_norm": 0.2637082547476057,
288
+ "learning_rate": 0.00011928409125113017,
289
+ "loss": 0.36629462242126465,
290
+ "step": 800
291
+ },
292
+ {
293
+ "epoch": 1.4364592462751973,
294
+ "grad_norm": 0.24368053403889028,
295
+ "learning_rate": 0.00011548131872930703,
296
+ "loss": 0.37551727294921877,
297
+ "step": 820
298
+ },
299
+ {
300
+ "epoch": 1.4715162138475022,
301
+ "grad_norm": 0.24247939972502802,
302
+ "learning_rate": 0.0001116554607434938,
303
+ "loss": 0.37543768882751466,
304
+ "step": 840
305
+ },
306
+ {
307
+ "epoch": 1.5065731814198071,
308
+ "grad_norm": 0.23018505724245242,
309
+ "learning_rate": 0.0001078122223442942,
310
+ "loss": 0.38346543312072756,
311
+ "step": 860
312
+ },
313
+ {
314
+ "epoch": 1.541630148992112,
315
+ "grad_norm": 0.22079038789202285,
316
+ "learning_rate": 0.00010395733449967172,
317
+ "loss": 0.3711265802383423,
318
+ "step": 880
319
+ },
320
+ {
321
+ "epoch": 1.5766871165644172,
322
+ "grad_norm": 0.2388872581772674,
323
+ "learning_rate": 0.00010009654554903323,
324
+ "loss": 0.3541673421859741,
325
+ "step": 900
326
+ },
327
+ {
328
+ "epoch": 1.6117440841367223,
329
+ "grad_norm": 0.2784817886817032,
330
+ "learning_rate": 9.62356126314088e-05,
331
+ "loss": 0.3742485046386719,
332
+ "step": 920
333
+ },
334
+ {
335
+ "epoch": 1.6468010517090272,
336
+ "grad_norm": 0.25593059766609416,
337
+ "learning_rate": 9.238029310050955e-05,
338
+ "loss": 0.3586562633514404,
339
+ "step": 940
340
+ },
341
+ {
342
+ "epoch": 1.6818580192813322,
343
+ "grad_norm": 0.2806883141870909,
344
+ "learning_rate": 8.853633593946508e-05,
345
+ "loss": 0.3772284507751465,
346
+ "step": 960
347
+ },
348
+ {
349
+ "epoch": 1.716914986853637,
350
+ "grad_norm": 0.2450152979933712,
351
+ "learning_rate": 8.47094731880437e-05,
352
+ "loss": 0.35790233612060546,
353
+ "step": 980
354
+ },
355
+ {
356
+ "epoch": 1.751971954425942,
357
+ "grad_norm": 0.27629406054112926,
358
+ "learning_rate": 8.090541139513744e-05,
359
+ "loss": 0.3631918907165527,
360
+ "step": 1000
361
+ },
362
+ {
363
+ "epoch": 1.7870289219982471,
364
+ "grad_norm": 0.2898417678366289,
365
+ "learning_rate": 7.712982310925923e-05,
366
+ "loss": 0.37659993171691897,
367
+ "step": 1020
368
+ },
369
+ {
370
+ "epoch": 1.8220858895705523,
371
+ "grad_norm": 0.25203506526214525,
372
+ "learning_rate": 7.33883384197406e-05,
373
+ "loss": 0.3618522882461548,
374
+ "step": 1040
375
+ },
376
+ {
377
+ "epoch": 1.8571428571428572,
378
+ "grad_norm": 0.19830217542597472,
379
+ "learning_rate": 6.96865365612436e-05,
380
+ "loss": 0.3597991466522217,
381
+ "step": 1060
382
+ },
383
+ {
384
+ "epoch": 1.8921998247151621,
385
+ "grad_norm": 0.23656700271611542,
386
+ "learning_rate": 6.602993759410652e-05,
387
+ "loss": 0.3347702264785767,
388
+ "step": 1080
389
+ },
390
+ {
391
+ "epoch": 1.927256792287467,
392
+ "grad_norm": 0.21906548679161278,
393
+ "learning_rate": 6.242399417292937e-05,
394
+ "loss": 0.34678964614868163,
395
+ "step": 1100
396
+ },
397
+ {
398
+ "epoch": 1.962313759859772,
399
+ "grad_norm": 0.22231553177754299,
400
+ "learning_rate": 5.887408341567306e-05,
401
+ "loss": 0.33619203567504885,
402
+ "step": 1120
403
+ },
404
+ {
405
+ "epoch": 1.997370727432077,
406
+ "grad_norm": 0.21574250656389074,
407
+ "learning_rate": 5.538549888539829e-05,
408
+ "loss": 0.34700756072998046,
409
+ "step": 1140
410
+ },
411
+ {
412
+ "epoch": 2.0315512708150747,
413
+ "grad_norm": 0.2479814425125438,
414
+ "learning_rate": 5.1963442696599096e-05,
415
+ "loss": 0.23154356479644775,
416
+ "step": 1160
417
+ },
418
+ {
419
+ "epoch": 2.0666082383873796,
420
+ "grad_norm": 0.2149324450556186,
421
+ "learning_rate": 4.861301775790361e-05,
422
+ "loss": 0.19337258338928223,
423
+ "step": 1180
424
+ },
425
+ {
426
+ "epoch": 2.1016652059596845,
427
+ "grad_norm": 0.30076038455299203,
428
+ "learning_rate": 4.5339220162708506e-05,
429
+ "loss": 0.1809700608253479,
430
+ "step": 1200
431
+ },
432
+ {
433
+ "epoch": 2.1367221735319895,
434
+ "grad_norm": 0.2639614289581006,
435
+ "learning_rate": 4.214693173909409e-05,
436
+ "loss": 0.19562238454818726,
437
+ "step": 1220
438
+ },
439
+ {
440
+ "epoch": 2.1717791411042944,
441
+ "grad_norm": 0.26707425864651063,
442
+ "learning_rate": 3.9040912770130454e-05,
443
+ "loss": 0.176566743850708,
444
+ "step": 1240
445
+ },
446
+ {
447
+ "epoch": 2.2068361086765993,
448
+ "grad_norm": 0.23275234814494444,
449
+ "learning_rate": 3.602579489542883e-05,
450
+ "loss": 0.19572536945343016,
451
+ "step": 1260
452
+ },
453
+ {
454
+ "epoch": 2.2418930762489047,
455
+ "grad_norm": 0.25986541139016195,
456
+ "learning_rate": 3.3106074204523905e-05,
457
+ "loss": 0.17627604007720948,
458
+ "step": 1280
459
+ },
460
+ {
461
+ "epoch": 2.2769500438212096,
462
+ "grad_norm": 0.2927785159706672,
463
+ "learning_rate": 3.028610453238604e-05,
464
+ "loss": 0.1629226803779602,
465
+ "step": 1300
466
+ },
467
+ {
468
+ "epoch": 2.3120070113935145,
469
+ "grad_norm": 0.301171644263262,
470
+ "learning_rate": 2.7570090967060868e-05,
471
+ "loss": 0.17633190155029296,
472
+ "step": 1320
473
+ },
474
+ {
475
+ "epoch": 2.3470639789658194,
476
+ "grad_norm": 0.33307553082898383,
477
+ "learning_rate": 2.4962083579117656e-05,
478
+ "loss": 0.19391660690307616,
479
+ "step": 1340
480
+ },
481
+ {
482
+ "epoch": 2.3821209465381243,
483
+ "grad_norm": 0.22976355013021266,
484
+ "learning_rate": 2.246597138225691e-05,
485
+ "loss": 0.1659176230430603,
486
+ "step": 1360
487
+ },
488
+ {
489
+ "epoch": 2.4171779141104293,
490
+ "grad_norm": 0.2368618946629272,
491
+ "learning_rate": 2.0085476534083103e-05,
492
+ "loss": 0.20211286544799806,
493
+ "step": 1380
494
+ },
495
+ {
496
+ "epoch": 2.4522348816827346,
497
+ "grad_norm": 0.28220568763488246,
498
+ "learning_rate": 1.7824148785690288e-05,
499
+ "loss": 0.18701364994049072,
500
+ "step": 1400
501
+ },
502
+ {
503
+ "epoch": 2.4872918492550395,
504
+ "grad_norm": 0.27525417176012384,
505
+ "learning_rate": 1.568536018833694e-05,
506
+ "loss": 0.179413902759552,
507
+ "step": 1420
508
+ },
509
+ {
510
+ "epoch": 2.5223488168273445,
511
+ "grad_norm": 0.25506772504918335,
512
+ "learning_rate": 1.367230006510406e-05,
513
+ "loss": 0.1777553677558899,
514
+ "step": 1440
515
+ },
516
+ {
517
+ "epoch": 2.5574057843996494,
518
+ "grad_norm": 0.30619870252269366,
519
+ "learning_rate": 1.178797025503373e-05,
520
+ "loss": 0.18152525424957275,
521
+ "step": 1460
522
+ },
523
+ {
524
+ "epoch": 2.5924627519719543,
525
+ "grad_norm": 0.31819376457547116,
526
+ "learning_rate": 1.003518063684079e-05,
527
+ "loss": 0.17822539806365967,
528
+ "step": 1480
529
+ },
530
+ {
531
+ "epoch": 2.6275197195442592,
532
+ "grad_norm": 0.28512188355801915,
533
+ "learning_rate": 8.416544938872385e-06,
534
+ "loss": 0.16258721351623534,
535
+ "step": 1500
536
+ },
537
+ {
538
+ "epoch": 2.662576687116564,
539
+ "grad_norm": 0.2930999235526907,
540
+ "learning_rate": 6.934476841563054e-06,
541
+ "loss": 0.18719613552093506,
542
+ "step": 1520
543
+ },
544
+ {
545
+ "epoch": 2.6976336546888695,
546
+ "grad_norm": 0.24868905102330174,
547
+ "learning_rate": 5.591186378198032e-06,
548
+ "loss": 0.1639933705329895,
549
+ "step": 1540
550
+ },
551
+ {
552
+ "epoch": 2.7326906222611744,
553
+ "grad_norm": 0.2599144539418039,
554
+ "learning_rate": 4.388676639351396e-06,
555
+ "loss": 0.1779949903488159,
556
+ "step": 1560
557
+ },
558
+ {
559
+ "epoch": 2.7677475898334793,
560
+ "grad_norm": 0.3095617178212254,
561
+ "learning_rate": 3.328740785913298e-06,
562
+ "loss": 0.18669604063034057,
563
+ "step": 1580
564
+ },
565
+ {
566
+ "epoch": 2.8028045574057843,
567
+ "grad_norm": 0.2832079189302701,
568
+ "learning_rate": 2.412959375160806e-06,
569
+ "loss": 0.17197535037994385,
570
+ "step": 1600
571
+ },
572
+ {
573
+ "epoch": 2.8378615249780896,
574
+ "grad_norm": 0.30013896053364103,
575
+ "learning_rate": 1.6426980038593332e-06,
576
+ "loss": 0.17178089618682862,
577
+ "step": 1620
578
+ },
579
+ {
580
+ "epoch": 2.8729184925503946,
581
+ "grad_norm": 0.2507133402692292,
582
+ "learning_rate": 1.0191052719092487e-06,
583
+ "loss": 0.17527294158935547,
584
+ "step": 1640
585
+ },
586
+ {
587
+ "epoch": 2.9079754601226995,
588
+ "grad_norm": 0.2524125166727659,
589
+ "learning_rate": 5.431110695743869e-07,
590
+ "loss": 0.19358527660369873,
591
+ "step": 1660
592
+ },
593
+ {
594
+ "epoch": 2.9430324276950044,
595
+ "grad_norm": 0.288458138416179,
596
+ "learning_rate": 2.154251908464411e-07,
597
+ "loss": 0.17915793657302856,
598
+ "step": 1680
599
+ },
600
+ {
601
+ "epoch": 2.9780893952673093,
602
+ "grad_norm": 0.25025541063149187,
603
+ "learning_rate": 3.653627501291057e-08,
604
+ "loss": 0.1812071681022644,
605
+ "step": 1700
606
+ }
607
+ ],
608
+ "logging_steps": 20,
609
+ "max_steps": 1713,
610
+ "num_input_tokens_seen": 0,
611
+ "num_train_epochs": 3,
612
+ "save_steps": 100,
613
+ "stateful_callbacks": {
614
+ "TrainerControl": {
615
+ "args": {
616
+ "should_epoch_stop": false,
617
+ "should_evaluate": false,
618
+ "should_log": false,
619
+ "should_save": true,
620
+ "should_training_stop": false
621
+ },
622
+ "attributes": {}
623
+ }
624
+ },
625
+ "total_flos": 997161613393920.0,
626
+ "train_batch_size": 2,
627
+ "trial_name": null,
628
+ "trial_params": null
629
+ }
checkpoints/Qwen3-32B-7fewshots-bs64-3eps-ckpt-1200/adapter_config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": null,
6
+ "base_model_name_or_path": "/mnt/msrh/Magic_submission/hub/Qwen3-32B",
7
+ "bias": "none",
8
+ "corda_config": null,
9
+ "ensure_weight_tying": false,
10
+ "eva_config": null,
11
+ "exclude_modules": null,
12
+ "fan_in_fan_out": false,
13
+ "inference_mode": true,
14
+ "init_lora_weights": true,
15
+ "layer_replication": null,
16
+ "layers_pattern": null,
17
+ "layers_to_transform": null,
18
+ "loftq_config": {},
19
+ "lora_alpha": 256,
20
+ "lora_bias": false,
21
+ "lora_dropout": 0.05,
22
+ "megatron_config": null,
23
+ "megatron_core": "megatron.core",
24
+ "modules_to_save": null,
25
+ "peft_type": "LORA",
26
+ "peft_version": "0.18.1",
27
+ "qalora_group_size": 16,
28
+ "r": 128,
29
+ "rank_pattern": {},
30
+ "revision": null,
31
+ "target_modules": [
32
+ "o_proj",
33
+ "v_proj",
34
+ "up_proj",
35
+ "gate_proj",
36
+ "down_proj",
37
+ "q_proj",
38
+ "k_proj"
39
+ ],
40
+ "target_parameters": null,
41
+ "task_type": "CAUSAL_LM",
42
+ "trainable_token_indices": null,
43
+ "use_dora": false,
44
+ "use_qalora": false,
45
+ "use_rslora": false
46
+ }
checkpoints/Qwen3-32B-7fewshots-bs64-3eps-ckpt-1200/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8cf660db6b67fc37c39fdb447d036d316424bd100bbc22d36f143316ae4d2eb8
3
+ size 2147607752
checkpoints/Qwen3-32B-7fewshots-bs64-3eps-ckpt-1200/chat_template.jinja ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- if tools %}
2
+ {{- '<|im_start|>system\n' }}
3
+ {%- if messages[0].role == 'system' %}
4
+ {{- messages[0].content + '\n\n' }}
5
+ {%- endif %}
6
+ {{- "# 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>" }}
7
+ {%- for tool in tools %}
8
+ {{- "\n" }}
9
+ {{- tool | tojson }}
10
+ {%- endfor %}
11
+ {{- "\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" }}
12
+ {%- else %}
13
+ {%- if messages[0].role == 'system' %}
14
+ {{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }}
15
+ {%- endif %}
16
+ {%- endif %}
17
+ {%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
18
+ {%- for message in messages[::-1] %}
19
+ {%- set index = (messages|length - 1) - loop.index0 %}
20
+ {%- if ns.multi_step_tool and message.role == "user" and message.content is string and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}
21
+ {%- set ns.multi_step_tool = false %}
22
+ {%- set ns.last_query_index = index %}
23
+ {%- endif %}
24
+ {%- endfor %}
25
+ {%- for message in messages %}
26
+ {%- if message.content is string %}
27
+ {%- set content = message.content %}
28
+ {%- else %}
29
+ {%- set content = '' %}
30
+ {%- endif %}
31
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
32
+ {{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
33
+ {%- elif message.role == "assistant" %}
34
+ {%- set reasoning_content = '' %}
35
+ {%- if message.reasoning_content is string %}
36
+ {%- set reasoning_content = message.reasoning_content %}
37
+ {%- else %}
38
+ {%- if '</think>' in content %}
39
+ {%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
40
+ {%- set content = content.split('</think>')[-1].lstrip('\n') %}
41
+ {%- endif %}
42
+ {%- endif %}
43
+ {%- if loop.index0 > ns.last_query_index %}
44
+ {%- if loop.last or (not loop.last and reasoning_content) %}
45
+ {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }}
46
+ {%- else %}
47
+ {{- '<|im_start|>' + message.role + '\n' + content }}
48
+ {%- endif %}
49
+ {%- else %}
50
+ {{- '<|im_start|>' + message.role + '\n' + content }}
51
+ {%- endif %}
52
+ {%- if message.tool_calls %}
53
+ {%- for tool_call in message.tool_calls %}
54
+ {%- if (loop.first and content) or (not loop.first) %}
55
+ {{- '\n' }}
56
+ {%- endif %}
57
+ {%- if tool_call.function %}
58
+ {%- set tool_call = tool_call.function %}
59
+ {%- endif %}
60
+ {{- '<tool_call>\n{"name": "' }}
61
+ {{- tool_call.name }}
62
+ {{- '", "arguments": ' }}
63
+ {%- if tool_call.arguments is string %}
64
+ {{- tool_call.arguments }}
65
+ {%- else %}
66
+ {{- tool_call.arguments | tojson }}
67
+ {%- endif %}
68
+ {{- '}\n</tool_call>' }}
69
+ {%- endfor %}
70
+ {%- endif %}
71
+ {{- '<|im_end|>\n' }}
72
+ {%- elif message.role == "tool" %}
73
+ {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
74
+ {{- '<|im_start|>user' }}
75
+ {%- endif %}
76
+ {{- '\n<tool_response>\n' }}
77
+ {{- content }}
78
+ {{- '\n</tool_response>' }}
79
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
80
+ {{- '<|im_end|>\n' }}
81
+ {%- endif %}
82
+ {%- endif %}
83
+ {%- endfor %}
84
+ {%- if add_generation_prompt %}
85
+ {{- '<|im_start|>assistant\n' }}
86
+ {%- if enable_thinking is defined and enable_thinking is false %}
87
+ {{- '<think>\n\n</think>\n\n' }}
88
+ {%- endif %}
89
+ {%- endif %}
checkpoints/Qwen3-32B-7fewshots-bs64-3eps-ckpt-1200/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:be75606093db2094d7cd20f3c2f385c212750648bd6ea4fb2bf507a6a4c55506
3
+ size 11422650
checkpoints/Qwen3-32B-7fewshots-bs64-3eps-ckpt-1200/tokenizer_config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "model_max_length": 131072,
25
+ "pad_token": "<|endoftext|>",
26
+ "padding_side": "right",
27
+ "split_special_tokens": false,
28
+ "tokenizer_class": "Qwen2Tokenizer",
29
+ "unk_token": null
30
+ }
checkpoints/Qwen3-32B-7fewshots-bs64-3eps-ckpt-1200/trainer_state.json ADDED
@@ -0,0 +1,454 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 2.1016652059596845,
6
+ "eval_steps": 500,
7
+ "global_step": 1200,
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.035056967572304996,
14
+ "grad_norm": 0.23483171452352822,
15
+ "learning_rate": 4.418604651162791e-05,
16
+ "loss": 0.9909378051757812,
17
+ "step": 20
18
+ },
19
+ {
20
+ "epoch": 0.07011393514460999,
21
+ "grad_norm": 0.19986055220147195,
22
+ "learning_rate": 9.069767441860465e-05,
23
+ "loss": 0.7854896068572998,
24
+ "step": 40
25
+ },
26
+ {
27
+ "epoch": 0.10517090271691498,
28
+ "grad_norm": 0.23130651455988926,
29
+ "learning_rate": 0.0001372093023255814,
30
+ "loss": 0.7465881824493408,
31
+ "step": 60
32
+ },
33
+ {
34
+ "epoch": 0.14022787028921999,
35
+ "grad_norm": 0.3197363225238927,
36
+ "learning_rate": 0.00018372093023255815,
37
+ "loss": 0.7164266586303711,
38
+ "step": 80
39
+ },
40
+ {
41
+ "epoch": 0.175284837861525,
42
+ "grad_norm": 0.2715619931198569,
43
+ "learning_rate": 0.00019996849651899697,
44
+ "loss": 0.6907209873199462,
45
+ "step": 100
46
+ },
47
+ {
48
+ "epoch": 0.21034180543382996,
49
+ "grad_norm": 0.2856851996713809,
50
+ "learning_rate": 0.00019979705630030178,
51
+ "loss": 0.6624889373779297,
52
+ "step": 120
53
+ },
54
+ {
55
+ "epoch": 0.24539877300613497,
56
+ "grad_norm": 0.2621092411083009,
57
+ "learning_rate": 0.00019947680050653714,
58
+ "loss": 0.642543363571167,
59
+ "step": 140
60
+ },
61
+ {
62
+ "epoch": 0.28045574057843997,
63
+ "grad_norm": 0.3060417273271011,
64
+ "learning_rate": 0.00019900820669738146,
65
+ "loss": 0.646620512008667,
66
+ "step": 160
67
+ },
68
+ {
69
+ "epoch": 0.31551270815074495,
70
+ "grad_norm": 0.21452369072192615,
71
+ "learning_rate": 0.0001983919736314933,
72
+ "loss": 0.6074985504150391,
73
+ "step": 180
74
+ },
75
+ {
76
+ "epoch": 0.35056967572305,
77
+ "grad_norm": 0.30612438725480096,
78
+ "learning_rate": 0.00019762902022453483,
79
+ "loss": 0.5916189193725586,
80
+ "step": 200
81
+ },
82
+ {
83
+ "epoch": 0.38562664329535495,
84
+ "grad_norm": 0.2672865616168627,
85
+ "learning_rate": 0.00019672048417890148,
86
+ "loss": 0.6512822151184082,
87
+ "step": 220
88
+ },
89
+ {
90
+ "epoch": 0.42068361086765993,
91
+ "grad_norm": 0.24914148404479688,
92
+ "learning_rate": 0.00019566772028720047,
93
+ "loss": 0.587531566619873,
94
+ "step": 240
95
+ },
96
+ {
97
+ "epoch": 0.45574057843996496,
98
+ "grad_norm": 0.24657546374303219,
99
+ "learning_rate": 0.0001944722984120086,
100
+ "loss": 0.6211313724517822,
101
+ "step": 260
102
+ },
103
+ {
104
+ "epoch": 0.49079754601226994,
105
+ "grad_norm": 0.2271230878176654,
106
+ "learning_rate": 0.0001931360011449213,
107
+ "loss": 0.5668744087219239,
108
+ "step": 280
109
+ },
110
+ {
111
+ "epoch": 0.5258545135845749,
112
+ "grad_norm": 0.25583543263520286,
113
+ "learning_rate": 0.00019166082114838404,
114
+ "loss": 0.5299773216247559,
115
+ "step": 300
116
+ },
117
+ {
118
+ "epoch": 0.5609114811568799,
119
+ "grad_norm": 0.26046386701317537,
120
+ "learning_rate": 0.00019004895818427016,
121
+ "loss": 0.5769920349121094,
122
+ "step": 320
123
+ },
124
+ {
125
+ "epoch": 0.595968448729185,
126
+ "grad_norm": 0.2698990350624982,
127
+ "learning_rate": 0.00018830281583363535,
128
+ "loss": 0.5816852569580078,
129
+ "step": 340
130
+ },
131
+ {
132
+ "epoch": 0.6310254163014899,
133
+ "grad_norm": 0.26049160579851316,
134
+ "learning_rate": 0.00018642499791254085,
135
+ "loss": 0.5477001190185546,
136
+ "step": 360
137
+ },
138
+ {
139
+ "epoch": 0.6660823838737949,
140
+ "grad_norm": 0.1708923438980022,
141
+ "learning_rate": 0.0001844183045892899,
142
+ "loss": 0.5549935340881348,
143
+ "step": 380
144
+ },
145
+ {
146
+ "epoch": 0.7011393514461,
147
+ "grad_norm": 0.18290090201506068,
148
+ "learning_rate": 0.00018228572820886695,
149
+ "loss": 0.5305068492889404,
150
+ "step": 400
151
+ },
152
+ {
153
+ "epoch": 0.7361963190184049,
154
+ "grad_norm": 0.2120975286999116,
155
+ "learning_rate": 0.00018003044883080685,
156
+ "loss": 0.5133780479431153,
157
+ "step": 420
158
+ },
159
+ {
160
+ "epoch": 0.7712532865907099,
161
+ "grad_norm": 0.22392071288652587,
162
+ "learning_rate": 0.00017765582948714708,
163
+ "loss": 0.5189687728881835,
164
+ "step": 440
165
+ },
166
+ {
167
+ "epoch": 0.8063102541630149,
168
+ "grad_norm": 0.17532736599040075,
169
+ "learning_rate": 0.00017516541116753502,
170
+ "loss": 0.5183590888977051,
171
+ "step": 460
172
+ },
173
+ {
174
+ "epoch": 0.8413672217353199,
175
+ "grad_norm": 0.24787663667303497,
176
+ "learning_rate": 0.00017256290753896782,
177
+ "loss": 0.5011738300323486,
178
+ "step": 480
179
+ },
180
+ {
181
+ "epoch": 0.8764241893076249,
182
+ "grad_norm": 0.1730628728128248,
183
+ "learning_rate": 0.00016985219940803906,
184
+ "loss": 0.48698010444641116,
185
+ "step": 500
186
+ },
187
+ {
188
+ "epoch": 0.9114811568799299,
189
+ "grad_norm": 0.19806277891741542,
190
+ "learning_rate": 0.00016703732893394964,
191
+ "loss": 0.4896900177001953,
192
+ "step": 520
193
+ },
194
+ {
195
+ "epoch": 0.9465381244522348,
196
+ "grad_norm": 0.24968865256753012,
197
+ "learning_rate": 0.00016412249360091277,
198
+ "loss": 0.48049116134643555,
199
+ "step": 540
200
+ },
201
+ {
202
+ "epoch": 0.9815950920245399,
203
+ "grad_norm": 0.21341584083366677,
204
+ "learning_rate": 0.00016111203995894112,
205
+ "loss": 0.47271203994750977,
206
+ "step": 560
207
+ },
208
+ {
209
+ "epoch": 1.0157756354075373,
210
+ "grad_norm": 0.2811762357022581,
211
+ "learning_rate": 0.00015801045714234938,
212
+ "loss": 0.45186548233032225,
213
+ "step": 580
214
+ },
215
+ {
216
+ "epoch": 1.0508326029798423,
217
+ "grad_norm": 0.2624449978453146,
218
+ "learning_rate": 0.00015482237017563812,
219
+ "loss": 0.38692054748535154,
220
+ "step": 600
221
+ },
222
+ {
223
+ "epoch": 1.0858895705521472,
224
+ "grad_norm": 0.21413306480701308,
225
+ "learning_rate": 0.00015155253307674055,
226
+ "loss": 0.3919252634048462,
227
+ "step": 620
228
+ },
229
+ {
230
+ "epoch": 1.1209465381244523,
231
+ "grad_norm": 0.2683586780002,
232
+ "learning_rate": 0.00014820582176791621,
233
+ "loss": 0.3797740936279297,
234
+ "step": 640
235
+ },
236
+ {
237
+ "epoch": 1.1560035056967572,
238
+ "grad_norm": 0.24565139075016496,
239
+ "learning_rate": 0.00014478722680486358,
240
+ "loss": 0.37922732830047606,
241
+ "step": 660
242
+ },
243
+ {
244
+ "epoch": 1.1910604732690622,
245
+ "grad_norm": 0.19742886528967668,
246
+ "learning_rate": 0.00014130184593489327,
247
+ "loss": 0.36946282386779783,
248
+ "step": 680
249
+ },
250
+ {
251
+ "epoch": 1.2261174408413673,
252
+ "grad_norm": 0.20685035595170095,
253
+ "learning_rate": 0.00013775487649525872,
254
+ "loss": 0.357561731338501,
255
+ "step": 700
256
+ },
257
+ {
258
+ "epoch": 1.2611744084136722,
259
+ "grad_norm": 0.24705150218547564,
260
+ "learning_rate": 0.0001341516076629807,
261
+ "loss": 0.39932737350463865,
262
+ "step": 720
263
+ },
264
+ {
265
+ "epoch": 1.2962313759859772,
266
+ "grad_norm": 0.2683288997975443,
267
+ "learning_rate": 0.00013049741256772129,
268
+ "loss": 0.39545512199401855,
269
+ "step": 740
270
+ },
271
+ {
272
+ "epoch": 1.331288343558282,
273
+ "grad_norm": 0.22560628282285475,
274
+ "learning_rate": 0.00012679774027946997,
275
+ "loss": 0.39340255260467527,
276
+ "step": 760
277
+ },
278
+ {
279
+ "epoch": 1.3663453111305872,
280
+ "grad_norm": 0.22070615293553159,
281
+ "learning_rate": 0.00012305810768298812,
282
+ "loss": 0.37275114059448244,
283
+ "step": 780
284
+ },
285
+ {
286
+ "epoch": 1.4014022787028921,
287
+ "grad_norm": 0.2649900027960825,
288
+ "learning_rate": 0.00011928409125113017,
289
+ "loss": 0.35739314556121826,
290
+ "step": 800
291
+ },
292
+ {
293
+ "epoch": 1.4364592462751973,
294
+ "grad_norm": 0.2407480584227103,
295
+ "learning_rate": 0.00011548131872930703,
296
+ "loss": 0.37084987163543703,
297
+ "step": 820
298
+ },
299
+ {
300
+ "epoch": 1.4715162138475022,
301
+ "grad_norm": 0.270524193933959,
302
+ "learning_rate": 0.0001116554607434938,
303
+ "loss": 0.37381908893585203,
304
+ "step": 840
305
+ },
306
+ {
307
+ "epoch": 1.5065731814198071,
308
+ "grad_norm": 0.22614419313290746,
309
+ "learning_rate": 0.0001078122223442942,
310
+ "loss": 0.3795423746109009,
311
+ "step": 860
312
+ },
313
+ {
314
+ "epoch": 1.541630148992112,
315
+ "grad_norm": 0.19336423988589488,
316
+ "learning_rate": 0.00010395733449967172,
317
+ "loss": 0.37464859485626223,
318
+ "step": 880
319
+ },
320
+ {
321
+ "epoch": 1.5766871165644172,
322
+ "grad_norm": 0.24670417800510697,
323
+ "learning_rate": 0.00010009654554903323,
324
+ "loss": 0.35675725936889646,
325
+ "step": 900
326
+ },
327
+ {
328
+ "epoch": 1.6117440841367223,
329
+ "grad_norm": 0.2734530829324958,
330
+ "learning_rate": 9.62356126314088e-05,
331
+ "loss": 0.37122507095336915,
332
+ "step": 920
333
+ },
334
+ {
335
+ "epoch": 1.6468010517090272,
336
+ "grad_norm": 0.2503106764897381,
337
+ "learning_rate": 9.238029310050955e-05,
338
+ "loss": 0.3705612659454346,
339
+ "step": 940
340
+ },
341
+ {
342
+ "epoch": 1.6818580192813322,
343
+ "grad_norm": 0.2989966813336377,
344
+ "learning_rate": 8.853633593946508e-05,
345
+ "loss": 0.38475995063781737,
346
+ "step": 960
347
+ },
348
+ {
349
+ "epoch": 1.716914986853637,
350
+ "grad_norm": 0.25534347655623346,
351
+ "learning_rate": 8.47094731880437e-05,
352
+ "loss": 0.3533210039138794,
353
+ "step": 980
354
+ },
355
+ {
356
+ "epoch": 1.751971954425942,
357
+ "grad_norm": 0.275257264717727,
358
+ "learning_rate": 8.090541139513744e-05,
359
+ "loss": 0.36080729961395264,
360
+ "step": 1000
361
+ },
362
+ {
363
+ "epoch": 1.7870289219982471,
364
+ "grad_norm": 0.27227637979008384,
365
+ "learning_rate": 7.712982310925923e-05,
366
+ "loss": 0.3737907886505127,
367
+ "step": 1020
368
+ },
369
+ {
370
+ "epoch": 1.8220858895705523,
371
+ "grad_norm": 0.21946775823047843,
372
+ "learning_rate": 7.33883384197406e-05,
373
+ "loss": 0.3572577953338623,
374
+ "step": 1040
375
+ },
376
+ {
377
+ "epoch": 1.8571428571428572,
378
+ "grad_norm": 0.1971440107080404,
379
+ "learning_rate": 6.96865365612436e-05,
380
+ "loss": 0.3543445587158203,
381
+ "step": 1060
382
+ },
383
+ {
384
+ "epoch": 1.8921998247151621,
385
+ "grad_norm": 0.2459756703168472,
386
+ "learning_rate": 6.602993759410652e-05,
387
+ "loss": 0.3383913040161133,
388
+ "step": 1080
389
+ },
390
+ {
391
+ "epoch": 1.927256792287467,
392
+ "grad_norm": 0.2208046754121449,
393
+ "learning_rate": 6.242399417292937e-05,
394
+ "loss": 0.3462701320648193,
395
+ "step": 1100
396
+ },
397
+ {
398
+ "epoch": 1.962313759859772,
399
+ "grad_norm": 0.21368660298153802,
400
+ "learning_rate": 5.887408341567306e-05,
401
+ "loss": 0.33631114959716796,
402
+ "step": 1120
403
+ },
404
+ {
405
+ "epoch": 1.997370727432077,
406
+ "grad_norm": 0.19930875245651597,
407
+ "learning_rate": 5.538549888539829e-05,
408
+ "loss": 0.3454852342605591,
409
+ "step": 1140
410
+ },
411
+ {
412
+ "epoch": 2.0315512708150747,
413
+ "grad_norm": 0.2748162634596323,
414
+ "learning_rate": 5.1963442696599096e-05,
415
+ "loss": 0.23102645874023436,
416
+ "step": 1160
417
+ },
418
+ {
419
+ "epoch": 2.0666082383873796,
420
+ "grad_norm": 0.21873172200282442,
421
+ "learning_rate": 4.861301775790361e-05,
422
+ "loss": 0.19582982063293458,
423
+ "step": 1180
424
+ },
425
+ {
426
+ "epoch": 2.1016652059596845,
427
+ "grad_norm": 0.2738253546879238,
428
+ "learning_rate": 4.5339220162708506e-05,
429
+ "loss": 0.18127157688140869,
430
+ "step": 1200
431
+ }
432
+ ],
433
+ "logging_steps": 20,
434
+ "max_steps": 1713,
435
+ "num_input_tokens_seen": 0,
436
+ "num_train_epochs": 3,
437
+ "save_steps": 100,
438
+ "stateful_callbacks": {
439
+ "TrainerControl": {
440
+ "args": {
441
+ "should_epoch_stop": false,
442
+ "should_evaluate": false,
443
+ "should_log": false,
444
+ "should_save": true,
445
+ "should_training_stop": false
446
+ },
447
+ "attributes": {}
448
+ }
449
+ },
450
+ "total_flos": 855440715939840.0,
451
+ "train_batch_size": 2,
452
+ "trial_name": null,
453
+ "trial_params": null
454
+ }
checkpoints/Qwen3-32B-7fewshots-bs64-3eps-ckpt-1600/adapter_config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": null,
6
+ "base_model_name_or_path": "/mnt/msrh/Magic_submission/hub/Qwen3-32B",
7
+ "bias": "none",
8
+ "corda_config": null,
9
+ "ensure_weight_tying": false,
10
+ "eva_config": null,
11
+ "exclude_modules": null,
12
+ "fan_in_fan_out": false,
13
+ "inference_mode": true,
14
+ "init_lora_weights": true,
15
+ "layer_replication": null,
16
+ "layers_pattern": null,
17
+ "layers_to_transform": null,
18
+ "loftq_config": {},
19
+ "lora_alpha": 256,
20
+ "lora_bias": false,
21
+ "lora_dropout": 0.05,
22
+ "megatron_config": null,
23
+ "megatron_core": "megatron.core",
24
+ "modules_to_save": null,
25
+ "peft_type": "LORA",
26
+ "peft_version": "0.18.1",
27
+ "qalora_group_size": 16,
28
+ "r": 128,
29
+ "rank_pattern": {},
30
+ "revision": null,
31
+ "target_modules": [
32
+ "o_proj",
33
+ "v_proj",
34
+ "up_proj",
35
+ "gate_proj",
36
+ "down_proj",
37
+ "q_proj",
38
+ "k_proj"
39
+ ],
40
+ "target_parameters": null,
41
+ "task_type": "CAUSAL_LM",
42
+ "trainable_token_indices": null,
43
+ "use_dora": false,
44
+ "use_qalora": false,
45
+ "use_rslora": false
46
+ }
checkpoints/Qwen3-32B-7fewshots-bs64-3eps-ckpt-1600/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e5230b5ca3c7dd4881a0cf4dc485df11b98d649f6e2e672c98141e252867e5eb
3
+ size 2147607752
checkpoints/Qwen3-32B-7fewshots-bs64-3eps-ckpt-1600/chat_template.jinja ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- if tools %}
2
+ {{- '<|im_start|>system\n' }}
3
+ {%- if messages[0].role == 'system' %}
4
+ {{- messages[0].content + '\n\n' }}
5
+ {%- endif %}
6
+ {{- "# 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>" }}
7
+ {%- for tool in tools %}
8
+ {{- "\n" }}
9
+ {{- tool | tojson }}
10
+ {%- endfor %}
11
+ {{- "\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" }}
12
+ {%- else %}
13
+ {%- if messages[0].role == 'system' %}
14
+ {{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }}
15
+ {%- endif %}
16
+ {%- endif %}
17
+ {%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
18
+ {%- for message in messages[::-1] %}
19
+ {%- set index = (messages|length - 1) - loop.index0 %}
20
+ {%- if ns.multi_step_tool and message.role == "user" and message.content is string and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}
21
+ {%- set ns.multi_step_tool = false %}
22
+ {%- set ns.last_query_index = index %}
23
+ {%- endif %}
24
+ {%- endfor %}
25
+ {%- for message in messages %}
26
+ {%- if message.content is string %}
27
+ {%- set content = message.content %}
28
+ {%- else %}
29
+ {%- set content = '' %}
30
+ {%- endif %}
31
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
32
+ {{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
33
+ {%- elif message.role == "assistant" %}
34
+ {%- set reasoning_content = '' %}
35
+ {%- if message.reasoning_content is string %}
36
+ {%- set reasoning_content = message.reasoning_content %}
37
+ {%- else %}
38
+ {%- if '</think>' in content %}
39
+ {%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
40
+ {%- set content = content.split('</think>')[-1].lstrip('\n') %}
41
+ {%- endif %}
42
+ {%- endif %}
43
+ {%- if loop.index0 > ns.last_query_index %}
44
+ {%- if loop.last or (not loop.last and reasoning_content) %}
45
+ {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }}
46
+ {%- else %}
47
+ {{- '<|im_start|>' + message.role + '\n' + content }}
48
+ {%- endif %}
49
+ {%- else %}
50
+ {{- '<|im_start|>' + message.role + '\n' + content }}
51
+ {%- endif %}
52
+ {%- if message.tool_calls %}
53
+ {%- for tool_call in message.tool_calls %}
54
+ {%- if (loop.first and content) or (not loop.first) %}
55
+ {{- '\n' }}
56
+ {%- endif %}
57
+ {%- if tool_call.function %}
58
+ {%- set tool_call = tool_call.function %}
59
+ {%- endif %}
60
+ {{- '<tool_call>\n{"name": "' }}
61
+ {{- tool_call.name }}
62
+ {{- '", "arguments": ' }}
63
+ {%- if tool_call.arguments is string %}
64
+ {{- tool_call.arguments }}
65
+ {%- else %}
66
+ {{- tool_call.arguments | tojson }}
67
+ {%- endif %}
68
+ {{- '}\n</tool_call>' }}
69
+ {%- endfor %}
70
+ {%- endif %}
71
+ {{- '<|im_end|>\n' }}
72
+ {%- elif message.role == "tool" %}
73
+ {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
74
+ {{- '<|im_start|>user' }}
75
+ {%- endif %}
76
+ {{- '\n<tool_response>\n' }}
77
+ {{- content }}
78
+ {{- '\n</tool_response>' }}
79
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
80
+ {{- '<|im_end|>\n' }}
81
+ {%- endif %}
82
+ {%- endif %}
83
+ {%- endfor %}
84
+ {%- if add_generation_prompt %}
85
+ {{- '<|im_start|>assistant\n' }}
86
+ {%- if enable_thinking is defined and enable_thinking is false %}
87
+ {{- '<think>\n\n</think>\n\n' }}
88
+ {%- endif %}
89
+ {%- endif %}
checkpoints/Qwen3-32B-7fewshots-bs64-3eps-ckpt-1600/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:be75606093db2094d7cd20f3c2f385c212750648bd6ea4fb2bf507a6a4c55506
3
+ size 11422650
checkpoints/Qwen3-32B-7fewshots-bs64-3eps-ckpt-1600/tokenizer_config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "model_max_length": 131072,
25
+ "pad_token": "<|endoftext|>",
26
+ "padding_side": "right",
27
+ "split_special_tokens": false,
28
+ "tokenizer_class": "Qwen2Tokenizer",
29
+ "unk_token": null
30
+ }
checkpoints/Qwen3-32B-7fewshots-bs64-3eps-ckpt-1600/trainer_state.json ADDED
@@ -0,0 +1,594 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 2.8028045574057843,
6
+ "eval_steps": 500,
7
+ "global_step": 1600,
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.035056967572304996,
14
+ "grad_norm": 0.23483171452352822,
15
+ "learning_rate": 4.418604651162791e-05,
16
+ "loss": 0.9909378051757812,
17
+ "step": 20
18
+ },
19
+ {
20
+ "epoch": 0.07011393514460999,
21
+ "grad_norm": 0.19986055220147195,
22
+ "learning_rate": 9.069767441860465e-05,
23
+ "loss": 0.7854896068572998,
24
+ "step": 40
25
+ },
26
+ {
27
+ "epoch": 0.10517090271691498,
28
+ "grad_norm": 0.23130651455988926,
29
+ "learning_rate": 0.0001372093023255814,
30
+ "loss": 0.7465881824493408,
31
+ "step": 60
32
+ },
33
+ {
34
+ "epoch": 0.14022787028921999,
35
+ "grad_norm": 0.3197363225238927,
36
+ "learning_rate": 0.00018372093023255815,
37
+ "loss": 0.7164266586303711,
38
+ "step": 80
39
+ },
40
+ {
41
+ "epoch": 0.175284837861525,
42
+ "grad_norm": 0.2715619931198569,
43
+ "learning_rate": 0.00019996849651899697,
44
+ "loss": 0.6907209873199462,
45
+ "step": 100
46
+ },
47
+ {
48
+ "epoch": 0.21034180543382996,
49
+ "grad_norm": 0.2856851996713809,
50
+ "learning_rate": 0.00019979705630030178,
51
+ "loss": 0.6624889373779297,
52
+ "step": 120
53
+ },
54
+ {
55
+ "epoch": 0.24539877300613497,
56
+ "grad_norm": 0.2621092411083009,
57
+ "learning_rate": 0.00019947680050653714,
58
+ "loss": 0.642543363571167,
59
+ "step": 140
60
+ },
61
+ {
62
+ "epoch": 0.28045574057843997,
63
+ "grad_norm": 0.3060417273271011,
64
+ "learning_rate": 0.00019900820669738146,
65
+ "loss": 0.646620512008667,
66
+ "step": 160
67
+ },
68
+ {
69
+ "epoch": 0.31551270815074495,
70
+ "grad_norm": 0.21452369072192615,
71
+ "learning_rate": 0.0001983919736314933,
72
+ "loss": 0.6074985504150391,
73
+ "step": 180
74
+ },
75
+ {
76
+ "epoch": 0.35056967572305,
77
+ "grad_norm": 0.30612438725480096,
78
+ "learning_rate": 0.00019762902022453483,
79
+ "loss": 0.5916189193725586,
80
+ "step": 200
81
+ },
82
+ {
83
+ "epoch": 0.38562664329535495,
84
+ "grad_norm": 0.2672865616168627,
85
+ "learning_rate": 0.00019672048417890148,
86
+ "loss": 0.6512822151184082,
87
+ "step": 220
88
+ },
89
+ {
90
+ "epoch": 0.42068361086765993,
91
+ "grad_norm": 0.24914148404479688,
92
+ "learning_rate": 0.00019566772028720047,
93
+ "loss": 0.587531566619873,
94
+ "step": 240
95
+ },
96
+ {
97
+ "epoch": 0.45574057843996496,
98
+ "grad_norm": 0.24657546374303219,
99
+ "learning_rate": 0.0001944722984120086,
100
+ "loss": 0.6211313724517822,
101
+ "step": 260
102
+ },
103
+ {
104
+ "epoch": 0.49079754601226994,
105
+ "grad_norm": 0.2271230878176654,
106
+ "learning_rate": 0.0001931360011449213,
107
+ "loss": 0.5668744087219239,
108
+ "step": 280
109
+ },
110
+ {
111
+ "epoch": 0.5258545135845749,
112
+ "grad_norm": 0.25583543263520286,
113
+ "learning_rate": 0.00019166082114838404,
114
+ "loss": 0.5299773216247559,
115
+ "step": 300
116
+ },
117
+ {
118
+ "epoch": 0.5609114811568799,
119
+ "grad_norm": 0.26046386701317537,
120
+ "learning_rate": 0.00019004895818427016,
121
+ "loss": 0.5769920349121094,
122
+ "step": 320
123
+ },
124
+ {
125
+ "epoch": 0.595968448729185,
126
+ "grad_norm": 0.2698990350624982,
127
+ "learning_rate": 0.00018830281583363535,
128
+ "loss": 0.5816852569580078,
129
+ "step": 340
130
+ },
131
+ {
132
+ "epoch": 0.6310254163014899,
133
+ "grad_norm": 0.26049160579851316,
134
+ "learning_rate": 0.00018642499791254085,
135
+ "loss": 0.5477001190185546,
136
+ "step": 360
137
+ },
138
+ {
139
+ "epoch": 0.6660823838737949,
140
+ "grad_norm": 0.1708923438980022,
141
+ "learning_rate": 0.0001844183045892899,
142
+ "loss": 0.5549935340881348,
143
+ "step": 380
144
+ },
145
+ {
146
+ "epoch": 0.7011393514461,
147
+ "grad_norm": 0.18290090201506068,
148
+ "learning_rate": 0.00018228572820886695,
149
+ "loss": 0.5305068492889404,
150
+ "step": 400
151
+ },
152
+ {
153
+ "epoch": 0.7361963190184049,
154
+ "grad_norm": 0.2120975286999116,
155
+ "learning_rate": 0.00018003044883080685,
156
+ "loss": 0.5133780479431153,
157
+ "step": 420
158
+ },
159
+ {
160
+ "epoch": 0.7712532865907099,
161
+ "grad_norm": 0.22392071288652587,
162
+ "learning_rate": 0.00017765582948714708,
163
+ "loss": 0.5189687728881835,
164
+ "step": 440
165
+ },
166
+ {
167
+ "epoch": 0.8063102541630149,
168
+ "grad_norm": 0.17532736599040075,
169
+ "learning_rate": 0.00017516541116753502,
170
+ "loss": 0.5183590888977051,
171
+ "step": 460
172
+ },
173
+ {
174
+ "epoch": 0.8413672217353199,
175
+ "grad_norm": 0.24787663667303497,
176
+ "learning_rate": 0.00017256290753896782,
177
+ "loss": 0.5011738300323486,
178
+ "step": 480
179
+ },
180
+ {
181
+ "epoch": 0.8764241893076249,
182
+ "grad_norm": 0.1730628728128248,
183
+ "learning_rate": 0.00016985219940803906,
184
+ "loss": 0.48698010444641116,
185
+ "step": 500
186
+ },
187
+ {
188
+ "epoch": 0.9114811568799299,
189
+ "grad_norm": 0.19806277891741542,
190
+ "learning_rate": 0.00016703732893394964,
191
+ "loss": 0.4896900177001953,
192
+ "step": 520
193
+ },
194
+ {
195
+ "epoch": 0.9465381244522348,
196
+ "grad_norm": 0.24968865256753012,
197
+ "learning_rate": 0.00016412249360091277,
198
+ "loss": 0.48049116134643555,
199
+ "step": 540
200
+ },
201
+ {
202
+ "epoch": 0.9815950920245399,
203
+ "grad_norm": 0.21341584083366677,
204
+ "learning_rate": 0.00016111203995894112,
205
+ "loss": 0.47271203994750977,
206
+ "step": 560
207
+ },
208
+ {
209
+ "epoch": 1.0157756354075373,
210
+ "grad_norm": 0.2811762357022581,
211
+ "learning_rate": 0.00015801045714234938,
212
+ "loss": 0.45186548233032225,
213
+ "step": 580
214
+ },
215
+ {
216
+ "epoch": 1.0508326029798423,
217
+ "grad_norm": 0.2624449978453146,
218
+ "learning_rate": 0.00015482237017563812,
219
+ "loss": 0.38692054748535154,
220
+ "step": 600
221
+ },
222
+ {
223
+ "epoch": 1.0858895705521472,
224
+ "grad_norm": 0.21413306480701308,
225
+ "learning_rate": 0.00015155253307674055,
226
+ "loss": 0.3919252634048462,
227
+ "step": 620
228
+ },
229
+ {
230
+ "epoch": 1.1209465381244523,
231
+ "grad_norm": 0.2683586780002,
232
+ "learning_rate": 0.00014820582176791621,
233
+ "loss": 0.3797740936279297,
234
+ "step": 640
235
+ },
236
+ {
237
+ "epoch": 1.1560035056967572,
238
+ "grad_norm": 0.24565139075016496,
239
+ "learning_rate": 0.00014478722680486358,
240
+ "loss": 0.37922732830047606,
241
+ "step": 660
242
+ },
243
+ {
244
+ "epoch": 1.1910604732690622,
245
+ "grad_norm": 0.19742886528967668,
246
+ "learning_rate": 0.00014130184593489327,
247
+ "loss": 0.36946282386779783,
248
+ "step": 680
249
+ },
250
+ {
251
+ "epoch": 1.2261174408413673,
252
+ "grad_norm": 0.20685035595170095,
253
+ "learning_rate": 0.00013775487649525872,
254
+ "loss": 0.357561731338501,
255
+ "step": 700
256
+ },
257
+ {
258
+ "epoch": 1.2611744084136722,
259
+ "grad_norm": 0.24705150218547564,
260
+ "learning_rate": 0.0001341516076629807,
261
+ "loss": 0.39932737350463865,
262
+ "step": 720
263
+ },
264
+ {
265
+ "epoch": 1.2962313759859772,
266
+ "grad_norm": 0.2683288997975443,
267
+ "learning_rate": 0.00013049741256772129,
268
+ "loss": 0.39545512199401855,
269
+ "step": 740
270
+ },
271
+ {
272
+ "epoch": 1.331288343558282,
273
+ "grad_norm": 0.22560628282285475,
274
+ "learning_rate": 0.00012679774027946997,
275
+ "loss": 0.39340255260467527,
276
+ "step": 760
277
+ },
278
+ {
279
+ "epoch": 1.3663453111305872,
280
+ "grad_norm": 0.22070615293553159,
281
+ "learning_rate": 0.00012305810768298812,
282
+ "loss": 0.37275114059448244,
283
+ "step": 780
284
+ },
285
+ {
286
+ "epoch": 1.4014022787028921,
287
+ "grad_norm": 0.2649900027960825,
288
+ "learning_rate": 0.00011928409125113017,
289
+ "loss": 0.35739314556121826,
290
+ "step": 800
291
+ },
292
+ {
293
+ "epoch": 1.4364592462751973,
294
+ "grad_norm": 0.2407480584227103,
295
+ "learning_rate": 0.00011548131872930703,
296
+ "loss": 0.37084987163543703,
297
+ "step": 820
298
+ },
299
+ {
300
+ "epoch": 1.4715162138475022,
301
+ "grad_norm": 0.270524193933959,
302
+ "learning_rate": 0.0001116554607434938,
303
+ "loss": 0.37381908893585203,
304
+ "step": 840
305
+ },
306
+ {
307
+ "epoch": 1.5065731814198071,
308
+ "grad_norm": 0.22614419313290746,
309
+ "learning_rate": 0.0001078122223442942,
310
+ "loss": 0.3795423746109009,
311
+ "step": 860
312
+ },
313
+ {
314
+ "epoch": 1.541630148992112,
315
+ "grad_norm": 0.19336423988589488,
316
+ "learning_rate": 0.00010395733449967172,
317
+ "loss": 0.37464859485626223,
318
+ "step": 880
319
+ },
320
+ {
321
+ "epoch": 1.5766871165644172,
322
+ "grad_norm": 0.24670417800510697,
323
+ "learning_rate": 0.00010009654554903323,
324
+ "loss": 0.35675725936889646,
325
+ "step": 900
326
+ },
327
+ {
328
+ "epoch": 1.6117440841367223,
329
+ "grad_norm": 0.2734530829324958,
330
+ "learning_rate": 9.62356126314088e-05,
331
+ "loss": 0.37122507095336915,
332
+ "step": 920
333
+ },
334
+ {
335
+ "epoch": 1.6468010517090272,
336
+ "grad_norm": 0.2503106764897381,
337
+ "learning_rate": 9.238029310050955e-05,
338
+ "loss": 0.3705612659454346,
339
+ "step": 940
340
+ },
341
+ {
342
+ "epoch": 1.6818580192813322,
343
+ "grad_norm": 0.2989966813336377,
344
+ "learning_rate": 8.853633593946508e-05,
345
+ "loss": 0.38475995063781737,
346
+ "step": 960
347
+ },
348
+ {
349
+ "epoch": 1.716914986853637,
350
+ "grad_norm": 0.25534347655623346,
351
+ "learning_rate": 8.47094731880437e-05,
352
+ "loss": 0.3533210039138794,
353
+ "step": 980
354
+ },
355
+ {
356
+ "epoch": 1.751971954425942,
357
+ "grad_norm": 0.275257264717727,
358
+ "learning_rate": 8.090541139513744e-05,
359
+ "loss": 0.36080729961395264,
360
+ "step": 1000
361
+ },
362
+ {
363
+ "epoch": 1.7870289219982471,
364
+ "grad_norm": 0.27227637979008384,
365
+ "learning_rate": 7.712982310925923e-05,
366
+ "loss": 0.3737907886505127,
367
+ "step": 1020
368
+ },
369
+ {
370
+ "epoch": 1.8220858895705523,
371
+ "grad_norm": 0.21946775823047843,
372
+ "learning_rate": 7.33883384197406e-05,
373
+ "loss": 0.3572577953338623,
374
+ "step": 1040
375
+ },
376
+ {
377
+ "epoch": 1.8571428571428572,
378
+ "grad_norm": 0.1971440107080404,
379
+ "learning_rate": 6.96865365612436e-05,
380
+ "loss": 0.3543445587158203,
381
+ "step": 1060
382
+ },
383
+ {
384
+ "epoch": 1.8921998247151621,
385
+ "grad_norm": 0.2459756703168472,
386
+ "learning_rate": 6.602993759410652e-05,
387
+ "loss": 0.3383913040161133,
388
+ "step": 1080
389
+ },
390
+ {
391
+ "epoch": 1.927256792287467,
392
+ "grad_norm": 0.2208046754121449,
393
+ "learning_rate": 6.242399417292937e-05,
394
+ "loss": 0.3462701320648193,
395
+ "step": 1100
396
+ },
397
+ {
398
+ "epoch": 1.962313759859772,
399
+ "grad_norm": 0.21368660298153802,
400
+ "learning_rate": 5.887408341567306e-05,
401
+ "loss": 0.33631114959716796,
402
+ "step": 1120
403
+ },
404
+ {
405
+ "epoch": 1.997370727432077,
406
+ "grad_norm": 0.19930875245651597,
407
+ "learning_rate": 5.538549888539829e-05,
408
+ "loss": 0.3454852342605591,
409
+ "step": 1140
410
+ },
411
+ {
412
+ "epoch": 2.0315512708150747,
413
+ "grad_norm": 0.2748162634596323,
414
+ "learning_rate": 5.1963442696599096e-05,
415
+ "loss": 0.23102645874023436,
416
+ "step": 1160
417
+ },
418
+ {
419
+ "epoch": 2.0666082383873796,
420
+ "grad_norm": 0.21873172200282442,
421
+ "learning_rate": 4.861301775790361e-05,
422
+ "loss": 0.19582982063293458,
423
+ "step": 1180
424
+ },
425
+ {
426
+ "epoch": 2.1016652059596845,
427
+ "grad_norm": 0.2738253546879238,
428
+ "learning_rate": 4.5339220162708506e-05,
429
+ "loss": 0.18127157688140869,
430
+ "step": 1200
431
+ },
432
+ {
433
+ "epoch": 2.1367221735319895,
434
+ "grad_norm": 0.27023723639002367,
435
+ "learning_rate": 4.214693173909409e-05,
436
+ "loss": 0.19596079587936402,
437
+ "step": 1220
438
+ },
439
+ {
440
+ "epoch": 2.1717791411042944,
441
+ "grad_norm": 0.2549604833170729,
442
+ "learning_rate": 3.9040912770130454e-05,
443
+ "loss": 0.1777873754501343,
444
+ "step": 1240
445
+ },
446
+ {
447
+ "epoch": 2.2068361086765993,
448
+ "grad_norm": 0.21441475116085365,
449
+ "learning_rate": 3.602579489542883e-05,
450
+ "loss": 0.19610731601715087,
451
+ "step": 1260
452
+ },
453
+ {
454
+ "epoch": 2.2418930762489047,
455
+ "grad_norm": 0.2673235263264258,
456
+ "learning_rate": 3.3106074204523905e-05,
457
+ "loss": 0.17948269844055176,
458
+ "step": 1280
459
+ },
460
+ {
461
+ "epoch": 2.2769500438212096,
462
+ "grad_norm": 0.29521194033081255,
463
+ "learning_rate": 3.028610453238604e-05,
464
+ "loss": 0.16286152601242065,
465
+ "step": 1300
466
+ },
467
+ {
468
+ "epoch": 2.3120070113935145,
469
+ "grad_norm": 0.2779938716732372,
470
+ "learning_rate": 2.7570090967060868e-05,
471
+ "loss": 0.17882025241851807,
472
+ "step": 1320
473
+ },
474
+ {
475
+ "epoch": 2.3470639789658194,
476
+ "grad_norm": 0.338290787393958,
477
+ "learning_rate": 2.4962083579117656e-05,
478
+ "loss": 0.19410847425460814,
479
+ "step": 1340
480
+ },
481
+ {
482
+ "epoch": 2.3821209465381243,
483
+ "grad_norm": 0.23478644005908705,
484
+ "learning_rate": 2.246597138225691e-05,
485
+ "loss": 0.17010506391525268,
486
+ "step": 1360
487
+ },
488
+ {
489
+ "epoch": 2.4171779141104293,
490
+ "grad_norm": 0.23666992110532725,
491
+ "learning_rate": 2.0085476534083103e-05,
492
+ "loss": 0.19948906898498536,
493
+ "step": 1380
494
+ },
495
+ {
496
+ "epoch": 2.4522348816827346,
497
+ "grad_norm": 0.2717904238341419,
498
+ "learning_rate": 1.7824148785690288e-05,
499
+ "loss": 0.18881454467773437,
500
+ "step": 1400
501
+ },
502
+ {
503
+ "epoch": 2.4872918492550395,
504
+ "grad_norm": 0.25307966701552526,
505
+ "learning_rate": 1.568536018833694e-05,
506
+ "loss": 0.180185866355896,
507
+ "step": 1420
508
+ },
509
+ {
510
+ "epoch": 2.5223488168273445,
511
+ "grad_norm": 0.2573861037469995,
512
+ "learning_rate": 1.367230006510406e-05,
513
+ "loss": 0.1824875831604004,
514
+ "step": 1440
515
+ },
516
+ {
517
+ "epoch": 2.5574057843996494,
518
+ "grad_norm": 0.27731812480850276,
519
+ "learning_rate": 1.178797025503373e-05,
520
+ "loss": 0.17870738506317138,
521
+ "step": 1460
522
+ },
523
+ {
524
+ "epoch": 2.5924627519719543,
525
+ "grad_norm": 0.30734934066822084,
526
+ "learning_rate": 1.003518063684079e-05,
527
+ "loss": 0.18122551441192628,
528
+ "step": 1480
529
+ },
530
+ {
531
+ "epoch": 2.6275197195442592,
532
+ "grad_norm": 0.2646400918278933,
533
+ "learning_rate": 8.416544938872385e-06,
534
+ "loss": 0.16032501459121704,
535
+ "step": 1500
536
+ },
537
+ {
538
+ "epoch": 2.662576687116564,
539
+ "grad_norm": 0.29864309575164133,
540
+ "learning_rate": 6.934476841563054e-06,
541
+ "loss": 0.19240641593933105,
542
+ "step": 1520
543
+ },
544
+ {
545
+ "epoch": 2.6976336546888695,
546
+ "grad_norm": 0.21792778456861328,
547
+ "learning_rate": 5.591186378198032e-06,
548
+ "loss": 0.1665952205657959,
549
+ "step": 1540
550
+ },
551
+ {
552
+ "epoch": 2.7326906222611744,
553
+ "grad_norm": 0.25072518876392397,
554
+ "learning_rate": 4.388676639351396e-06,
555
+ "loss": 0.17795501947402953,
556
+ "step": 1560
557
+ },
558
+ {
559
+ "epoch": 2.7677475898334793,
560
+ "grad_norm": 0.3210307973248795,
561
+ "learning_rate": 3.328740785913298e-06,
562
+ "loss": 0.18478138446807862,
563
+ "step": 1580
564
+ },
565
+ {
566
+ "epoch": 2.8028045574057843,
567
+ "grad_norm": 0.2790969981011738,
568
+ "learning_rate": 2.412959375160806e-06,
569
+ "loss": 0.17509810924530028,
570
+ "step": 1600
571
+ }
572
+ ],
573
+ "logging_steps": 20,
574
+ "max_steps": 1713,
575
+ "num_input_tokens_seen": 0,
576
+ "num_train_epochs": 3,
577
+ "save_steps": 100,
578
+ "stateful_callbacks": {
579
+ "TrainerControl": {
580
+ "args": {
581
+ "should_epoch_stop": false,
582
+ "should_evaluate": false,
583
+ "should_log": false,
584
+ "should_save": true,
585
+ "should_training_stop": false
586
+ },
587
+ "attributes": {}
588
+ }
589
+ },
590
+ "total_flos": 1140521146777600.0,
591
+ "train_batch_size": 2,
592
+ "trial_name": null,
593
+ "trial_params": null
594
+ }
checkpoints/Qwen3-32B-NoFewshots-bs64-4eps-ckpt-6500/README.md ADDED
@@ -0,0 +1,208 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: unsloth/Qwen3-32B
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:unsloth/Qwen3-32B
7
+ - llama-factory
8
+ - lora
9
+ - transformers
10
+ ---
11
+
12
+ # Model Card for Model ID
13
+
14
+ <!-- Provide a quick summary of what the model is/does. -->
15
+
16
+
17
+
18
+ ## Model Details
19
+
20
+ ### Model Description
21
+
22
+ <!-- Provide a longer summary of what this model is. -->
23
+
24
+
25
+
26
+ - **Developed by:** [More Information Needed]
27
+ - **Funded by [optional]:** [More Information Needed]
28
+ - **Shared by [optional]:** [More Information Needed]
29
+ - **Model type:** [More Information Needed]
30
+ - **Language(s) (NLP):** [More Information Needed]
31
+ - **License:** [More Information Needed]
32
+ - **Finetuned from model [optional]:** [More Information Needed]
33
+
34
+ ### Model Sources [optional]
35
+
36
+ <!-- Provide the basic links for the model. -->
37
+
38
+ - **Repository:** [More Information Needed]
39
+ - **Paper [optional]:** [More Information Needed]
40
+ - **Demo [optional]:** [More Information Needed]
41
+
42
+ ## Uses
43
+
44
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
45
+
46
+ ### Direct Use
47
+
48
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
49
+
50
+ [More Information Needed]
51
+
52
+ ### Downstream Use [optional]
53
+
54
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
55
+
56
+ [More Information Needed]
57
+
58
+ ### Out-of-Scope Use
59
+
60
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
61
+
62
+ [More Information Needed]
63
+
64
+ ## Bias, Risks, and Limitations
65
+
66
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
67
+
68
+ [More Information Needed]
69
+
70
+ ### Recommendations
71
+
72
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
73
+
74
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
75
+
76
+ ## How to Get Started with the Model
77
+
78
+ Use the code below to get started with the model.
79
+
80
+ [More Information Needed]
81
+
82
+ ## Training Details
83
+
84
+ ### Training Data
85
+
86
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
87
+
88
+ [More Information Needed]
89
+
90
+ ### Training Procedure
91
+
92
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
93
+
94
+ #### Preprocessing [optional]
95
+
96
+ [More Information Needed]
97
+
98
+
99
+ #### Training Hyperparameters
100
+
101
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
102
+
103
+ #### Speeds, Sizes, Times [optional]
104
+
105
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
106
+
107
+ [More Information Needed]
108
+
109
+ ## Evaluation
110
+
111
+ <!-- This section describes the evaluation protocols and provides the results. -->
112
+
113
+ ### Testing Data, Factors & Metrics
114
+
115
+ #### Testing Data
116
+
117
+ <!-- This should link to a Dataset Card if possible. -->
118
+
119
+ [More Information Needed]
120
+
121
+ #### Factors
122
+
123
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
124
+
125
+ [More Information Needed]
126
+
127
+ #### Metrics
128
+
129
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
130
+
131
+ [More Information Needed]
132
+
133
+ ### Results
134
+
135
+ [More Information Needed]
136
+
137
+ #### Summary
138
+
139
+
140
+
141
+ ## Model Examination [optional]
142
+
143
+ <!-- Relevant interpretability work for the model goes here -->
144
+
145
+ [More Information Needed]
146
+
147
+ ## Environmental Impact
148
+
149
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
150
+
151
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
152
+
153
+ - **Hardware Type:** [More Information Needed]
154
+ - **Hours used:** [More Information Needed]
155
+ - **Cloud Provider:** [More Information Needed]
156
+ - **Compute Region:** [More Information Needed]
157
+ - **Carbon Emitted:** [More Information Needed]
158
+
159
+ ## Technical Specifications [optional]
160
+
161
+ ### Model Architecture and Objective
162
+
163
+ [More Information Needed]
164
+
165
+ ### Compute Infrastructure
166
+
167
+ [More Information Needed]
168
+
169
+ #### Hardware
170
+
171
+ [More Information Needed]
172
+
173
+ #### Software
174
+
175
+ [More Information Needed]
176
+
177
+ ## Citation [optional]
178
+
179
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
180
+
181
+ **BibTeX:**
182
+
183
+ [More Information Needed]
184
+
185
+ **APA:**
186
+
187
+ [More Information Needed]
188
+
189
+ ## Glossary [optional]
190
+
191
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
192
+
193
+ [More Information Needed]
194
+
195
+ ## More Information [optional]
196
+
197
+ [More Information Needed]
198
+
199
+ ## Model Card Authors [optional]
200
+
201
+ [More Information Needed]
202
+
203
+ ## Model Card Contact
204
+
205
+ [More Information Needed]
206
+ ### Framework versions
207
+
208
+ - PEFT 0.19.1
checkpoints/Qwen3-32B-NoFewshots-bs64-4eps-ckpt-6500/adapter_config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": null,
6
+ "base_model_name_or_path": "/mnt/msrh/Magic_submission/hub/Qwen3-32B",
7
+ "bias": "none",
8
+ "corda_config": null,
9
+ "ensure_weight_tying": false,
10
+ "eva_config": null,
11
+ "exclude_modules": null,
12
+ "fan_in_fan_out": false,
13
+ "inference_mode": true,
14
+ "init_lora_weights": true,
15
+ "layer_replication": null,
16
+ "layers_pattern": null,
17
+ "layers_to_transform": null,
18
+ "loftq_config": {},
19
+ "lora_alpha": 256,
20
+ "lora_bias": false,
21
+ "lora_dropout": 0.05,
22
+ "lora_ga_config": null,
23
+ "megatron_config": null,
24
+ "megatron_core": "megatron.core",
25
+ "modules_to_save": null,
26
+ "peft_type": "LORA",
27
+ "peft_version": "0.19.1",
28
+ "qalora_group_size": 16,
29
+ "r": 128,
30
+ "rank_pattern": {},
31
+ "revision": null,
32
+ "target_modules": [
33
+ "q_proj",
34
+ "k_proj",
35
+ "gate_proj",
36
+ "v_proj",
37
+ "down_proj",
38
+ "o_proj",
39
+ "up_proj"
40
+ ],
41
+ "target_parameters": null,
42
+ "task_type": "CAUSAL_LM",
43
+ "trainable_token_indices": null,
44
+ "use_bdlora": null,
45
+ "use_dora": false,
46
+ "use_qalora": false,
47
+ "use_rslora": false
48
+ }
checkpoints/Qwen3-32B-NoFewshots-bs64-4eps-ckpt-6500/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:016ad42fdea946023a75d2afdf7847fe6f9b09ae09191a16ee54020a0f246591
3
+ size 2147607752
checkpoints/Qwen3-32B-NoFewshots-bs64-4eps-ckpt-6500/chat_template.jinja ADDED
@@ -0,0 +1,98 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- if tools %}
2
+ {{- '<|im_start|>system\n' }}
3
+ {%- if messages[0].role == 'system' %}
4
+ {{- messages[0].content + '\n\n' }}
5
+ {%- endif %}
6
+ {{- "# 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>" }}
7
+ {%- for tool in tools %}
8
+ {{- "\n" }}
9
+ {{- tool | tojson }}
10
+ {%- endfor %}
11
+ {{- "\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" }}
12
+ {%- else %}
13
+ {%- if messages[0].role == 'system' %}
14
+ {{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }}
15
+ {%- endif %}
16
+ {%- endif %}
17
+ {%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
18
+ {%- for forward_message in messages %}
19
+ {%- set index = (messages|length - 1) - loop.index0 %}
20
+ {%- set message = messages[index] %}
21
+ {%- set current_content = message.content if message.content is not none else '' %}
22
+ {%- set tool_start = '<tool_response>' %}
23
+ {%- set tool_start_length = tool_start|length %}
24
+ {%- set start_of_message = current_content[:tool_start_length] %}
25
+ {%- set tool_end = '</tool_response>' %}
26
+ {%- set tool_end_length = tool_end|length %}
27
+ {%- set start_pos = (current_content|length) - tool_end_length %}
28
+ {%- if start_pos < 0 %}
29
+ {%- set start_pos = 0 %}
30
+ {%- endif %}
31
+ {%- set end_of_message = current_content[start_pos:] %}
32
+ {%- if ns.multi_step_tool and message.role == "user" and not(start_of_message == tool_start and end_of_message == tool_end) %}
33
+ {%- set ns.multi_step_tool = false %}
34
+ {%- set ns.last_query_index = index %}
35
+ {%- endif %}
36
+ {%- endfor %}
37
+ {%- for message in messages %}
38
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
39
+ {{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
40
+ {%- elif message.role == "assistant" %}
41
+ {%- set content = message.content %}
42
+ {%- set reasoning_content = '' %}
43
+ {%- if message.reasoning_content is defined and message.reasoning_content is not none %}
44
+ {%- set reasoning_content = message.reasoning_content %}
45
+ {%- else %}
46
+ {%- if '</think>' in message.content %}
47
+ {%- set content = (message.content.split('</think>')|last).lstrip('\n') %}
48
+ {%- set reasoning_content = (message.content.split('</think>')|first).rstrip('\n') %}
49
+ {%- set reasoning_content = (reasoning_content.split('<think>')|last).lstrip('\n') %}
50
+ {%- endif %}
51
+ {%- endif %}
52
+ {%- if loop.index0 > ns.last_query_index %}
53
+ {%- if loop.last or (not loop.last and reasoning_content) %}
54
+ {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }}
55
+ {%- else %}
56
+ {{- '<|im_start|>' + message.role + '\n' + content }}
57
+ {%- endif %}
58
+ {%- else %}
59
+ {{- '<|im_start|>' + message.role + '\n' + content }}
60
+ {%- endif %}
61
+ {%- if message.tool_calls %}
62
+ {%- for tool_call in message.tool_calls %}
63
+ {%- if (loop.first and content) or (not loop.first) %}
64
+ {{- '\n' }}
65
+ {%- endif %}
66
+ {%- if tool_call.function %}
67
+ {%- set tool_call = tool_call.function %}
68
+ {%- endif %}
69
+ {{- '<tool_call>\n{"name": "' }}
70
+ {{- tool_call.name }}
71
+ {{- '", "arguments": ' }}
72
+ {%- if tool_call.arguments is string %}
73
+ {{- tool_call.arguments }}
74
+ {%- else %}
75
+ {{- tool_call.arguments | tojson }}
76
+ {%- endif %}
77
+ {{- '}\n</tool_call>' }}
78
+ {%- endfor %}
79
+ {%- endif %}
80
+ {{- '<|im_end|>\n' }}
81
+ {%- elif message.role == "tool" %}
82
+ {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
83
+ {{- '<|im_start|>user' }}
84
+ {%- endif %}
85
+ {{- '\n<tool_response>\n' }}
86
+ {{- message.content }}
87
+ {{- '\n</tool_response>' }}
88
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
89
+ {{- '<|im_end|>\n' }}
90
+ {%- endif %}
91
+ {%- endif %}
92
+ {%- endfor %}
93
+ {%- if add_generation_prompt %}
94
+ {{- '<|im_start|>assistant\n' }}
95
+ {%- if enable_thinking is defined and enable_thinking is false %}
96
+ {{- '<think>\n\n</think>\n\n' }}
97
+ {%- endif %}
98
+ {%- endif %}
checkpoints/Qwen3-32B-NoFewshots-bs64-4eps-ckpt-6500/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:be75606093db2094d7cd20f3c2f385c212750648bd6ea4fb2bf507a6a4c55506
3
+ size 11422650
checkpoints/Qwen3-32B-NoFewshots-bs64-4eps-ckpt-6500/tokenizer_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "is_local": false,
9
+ "local_files_only": false,
10
+ "model_max_length": 40960,
11
+ "pad_token": "<|vision_pad|>",
12
+ "padding_side": "right",
13
+ "split_special_tokens": false,
14
+ "tokenizer_class": "Qwen2Tokenizer",
15
+ "unk_token": null
16
+ }
checkpoints/Qwen3-32B-NoFewshots-bs64-4eps-ckpt-6500/trainer_state.json ADDED
@@ -0,0 +1,1854 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 2.8485645408722333,
6
+ "eval_steps": 500,
7
+ "global_step": 6500,
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.010957703265395573,
14
+ "grad_norm": 1.2978552097196294,
15
+ "learning_rate": 1.050328227571116e-05,
16
+ "loss": 1.3814047241210938,
17
+ "step": 25
18
+ },
19
+ {
20
+ "epoch": 0.021915406530791146,
21
+ "grad_norm": 0.7136933147809937,
22
+ "learning_rate": 2.1444201312910288e-05,
23
+ "loss": 1.1958548736572265,
24
+ "step": 50
25
+ },
26
+ {
27
+ "epoch": 0.03287310979618672,
28
+ "grad_norm": 0.6170623006014918,
29
+ "learning_rate": 3.238512035010941e-05,
30
+ "loss": 1.1010726928710937,
31
+ "step": 75
32
+ },
33
+ {
34
+ "epoch": 0.04383081306158229,
35
+ "grad_norm": 0.6609283433159858,
36
+ "learning_rate": 4.332603938730854e-05,
37
+ "loss": 1.0145082092285156,
38
+ "step": 100
39
+ },
40
+ {
41
+ "epoch": 0.054788516326977864,
42
+ "grad_norm": 0.783477976467315,
43
+ "learning_rate": 5.4266958424507664e-05,
44
+ "loss": 0.9656268310546875,
45
+ "step": 125
46
+ },
47
+ {
48
+ "epoch": 0.06574621959237344,
49
+ "grad_norm": 0.5380538102721405,
50
+ "learning_rate": 6.520787746170678e-05,
51
+ "loss": 0.9432225036621094,
52
+ "step": 150
53
+ },
54
+ {
55
+ "epoch": 0.07670392285776902,
56
+ "grad_norm": 0.5539337260003312,
57
+ "learning_rate": 7.614879649890591e-05,
58
+ "loss": 0.8418754577636719,
59
+ "step": 175
60
+ },
61
+ {
62
+ "epoch": 0.08766162612316458,
63
+ "grad_norm": 0.6054899600906472,
64
+ "learning_rate": 8.708971553610504e-05,
65
+ "loss": 0.9252291870117187,
66
+ "step": 200
67
+ },
68
+ {
69
+ "epoch": 0.09861932938856016,
70
+ "grad_norm": 0.6720454608055798,
71
+ "learning_rate": 9.803063457330416e-05,
72
+ "loss": 0.8630228424072266,
73
+ "step": 225
74
+ },
75
+ {
76
+ "epoch": 0.10957703265395573,
77
+ "grad_norm": 0.7750542553973204,
78
+ "learning_rate": 0.00010897155361050329,
79
+ "loss": 0.8796463012695312,
80
+ "step": 250
81
+ },
82
+ {
83
+ "epoch": 0.12053473591935131,
84
+ "grad_norm": 0.6871207112973714,
85
+ "learning_rate": 0.00011991247264770243,
86
+ "loss": 0.8309561157226563,
87
+ "step": 275
88
+ },
89
+ {
90
+ "epoch": 0.13149243918474687,
91
+ "grad_norm": 0.615645832188525,
92
+ "learning_rate": 0.00013085339168490153,
93
+ "loss": 0.8329324340820312,
94
+ "step": 300
95
+ },
96
+ {
97
+ "epoch": 0.14245014245014245,
98
+ "grad_norm": 0.4992434459601084,
99
+ "learning_rate": 0.00014179431072210066,
100
+ "loss": 0.8697052001953125,
101
+ "step": 325
102
+ },
103
+ {
104
+ "epoch": 0.15340784571553803,
105
+ "grad_norm": 0.5138330027601147,
106
+ "learning_rate": 0.00015273522975929978,
107
+ "loss": 0.7966581726074219,
108
+ "step": 350
109
+ },
110
+ {
111
+ "epoch": 0.16436554898093358,
112
+ "grad_norm": 0.5334733163812426,
113
+ "learning_rate": 0.0001636761487964989,
114
+ "loss": 0.791004638671875,
115
+ "step": 375
116
+ },
117
+ {
118
+ "epoch": 0.17532325224632916,
119
+ "grad_norm": 0.5241184516406538,
120
+ "learning_rate": 0.00017461706783369804,
121
+ "loss": 0.870574951171875,
122
+ "step": 400
123
+ },
124
+ {
125
+ "epoch": 0.18628095551172474,
126
+ "grad_norm": 0.5113413925855853,
127
+ "learning_rate": 0.00018555798687089716,
128
+ "loss": 0.7911457824707031,
129
+ "step": 425
130
+ },
131
+ {
132
+ "epoch": 0.19723865877712032,
133
+ "grad_norm": 0.7172256506710407,
134
+ "learning_rate": 0.0001964989059080963,
135
+ "loss": 0.8079358673095703,
136
+ "step": 450
137
+ },
138
+ {
139
+ "epoch": 0.20819636204251588,
140
+ "grad_norm": 0.6014604168590794,
141
+ "learning_rate": 0.0001999981031724577,
142
+ "loss": 0.8427057647705078,
143
+ "step": 475
144
+ },
145
+ {
146
+ "epoch": 0.21915406530791146,
147
+ "grad_norm": 0.676992513218163,
148
+ "learning_rate": 0.00019998842231904221,
149
+ "loss": 0.8817544555664063,
150
+ "step": 500
151
+ },
152
+ {
153
+ "epoch": 0.23011176857330704,
154
+ "grad_norm": 0.5180395697807777,
155
+ "learning_rate": 0.00019997053817426578,
156
+ "loss": 0.7796897888183594,
157
+ "step": 525
158
+ },
159
+ {
160
+ "epoch": 0.24106947183870261,
161
+ "grad_norm": 0.30769144895407374,
162
+ "learning_rate": 0.00019994445220538677,
163
+ "loss": 0.75110107421875,
164
+ "step": 550
165
+ },
166
+ {
167
+ "epoch": 0.25202717510409817,
168
+ "grad_norm": 0.6946306606035483,
169
+ "learning_rate": 0.000199910166552561,
170
+ "loss": 0.791603012084961,
171
+ "step": 575
172
+ },
173
+ {
174
+ "epoch": 0.26298487836949375,
175
+ "grad_norm": 0.6487575836141458,
176
+ "learning_rate": 0.0001998676840286661,
177
+ "loss": 0.8085326385498047,
178
+ "step": 600
179
+ },
180
+ {
181
+ "epoch": 0.2739425816348893,
182
+ "grad_norm": 0.5041253960929305,
183
+ "learning_rate": 0.00019981700811907082,
184
+ "loss": 0.7662266540527344,
185
+ "step": 625
186
+ },
187
+ {
188
+ "epoch": 0.2849002849002849,
189
+ "grad_norm": 0.5875852413952799,
190
+ "learning_rate": 0.00019975814298134906,
191
+ "loss": 0.7822332763671875,
192
+ "step": 650
193
+ },
194
+ {
195
+ "epoch": 0.2958579881656805,
196
+ "grad_norm": 0.3672633686477288,
197
+ "learning_rate": 0.00019969109344493866,
198
+ "loss": 0.7177228546142578,
199
+ "step": 675
200
+ },
201
+ {
202
+ "epoch": 0.30681569143107607,
203
+ "grad_norm": 0.3284350544286358,
204
+ "learning_rate": 0.00019961586501074537,
205
+ "loss": 0.6856938934326172,
206
+ "step": 700
207
+ },
208
+ {
209
+ "epoch": 0.31777339469647164,
210
+ "grad_norm": 0.5887357472274588,
211
+ "learning_rate": 0.00019953246385069138,
212
+ "loss": 0.729765625,
213
+ "step": 725
214
+ },
215
+ {
216
+ "epoch": 0.32873109796186717,
217
+ "grad_norm": 0.5339181934387838,
218
+ "learning_rate": 0.000199440896807209,
219
+ "loss": 0.6660807800292968,
220
+ "step": 750
221
+ },
222
+ {
223
+ "epoch": 0.33968880122726275,
224
+ "grad_norm": 0.4472635523322388,
225
+ "learning_rate": 0.00019934117139267944,
226
+ "loss": 0.7095761108398437,
227
+ "step": 775
228
+ },
229
+ {
230
+ "epoch": 0.35064650449265833,
231
+ "grad_norm": 0.647261631419608,
232
+ "learning_rate": 0.00019923329578881623,
233
+ "loss": 0.7111241912841797,
234
+ "step": 800
235
+ },
236
+ {
237
+ "epoch": 0.3616042077580539,
238
+ "grad_norm": 0.5322344853153645,
239
+ "learning_rate": 0.0001991172788459941,
240
+ "loss": 0.751135482788086,
241
+ "step": 825
242
+ },
243
+ {
244
+ "epoch": 0.3725619110234495,
245
+ "grad_norm": 0.4006392658135849,
246
+ "learning_rate": 0.00019899313008252297,
247
+ "loss": 0.8565126037597657,
248
+ "step": 850
249
+ },
250
+ {
251
+ "epoch": 0.38351961428884507,
252
+ "grad_norm": 0.4807677057285955,
253
+ "learning_rate": 0.0001988608596838668,
254
+ "loss": 0.6795193481445313,
255
+ "step": 875
256
+ },
257
+ {
258
+ "epoch": 0.39447731755424065,
259
+ "grad_norm": 0.7020250893855614,
260
+ "learning_rate": 0.00019872047850180819,
261
+ "loss": 0.7597425079345703,
262
+ "step": 900
263
+ },
264
+ {
265
+ "epoch": 0.4054350208196362,
266
+ "grad_norm": 0.45570623163372787,
267
+ "learning_rate": 0.00019857199805355794,
268
+ "loss": 0.6242760467529297,
269
+ "step": 925
270
+ },
271
+ {
272
+ "epoch": 0.41639272408503175,
273
+ "grad_norm": 0.5196355349949331,
274
+ "learning_rate": 0.00019841543052081018,
275
+ "loss": 0.7238587188720703,
276
+ "step": 950
277
+ },
278
+ {
279
+ "epoch": 0.42735042735042733,
280
+ "grad_norm": 0.5908561395788653,
281
+ "learning_rate": 0.000198250788748743,
282
+ "loss": 0.75541748046875,
283
+ "step": 975
284
+ },
285
+ {
286
+ "epoch": 0.4383081306158229,
287
+ "grad_norm": 0.537095758875929,
288
+ "learning_rate": 0.00019807808624496448,
289
+ "loss": 0.7320578002929687,
290
+ "step": 1000
291
+ },
292
+ {
293
+ "epoch": 0.4492658338812185,
294
+ "grad_norm": 0.5297475648151708,
295
+ "learning_rate": 0.0001978973371784047,
296
+ "loss": 0.6988375854492187,
297
+ "step": 1025
298
+ },
299
+ {
300
+ "epoch": 0.46022353714661407,
301
+ "grad_norm": 0.5141575664980547,
302
+ "learning_rate": 0.00019770855637815307,
303
+ "loss": 0.6565898132324218,
304
+ "step": 1050
305
+ },
306
+ {
307
+ "epoch": 0.47118124041200965,
308
+ "grad_norm": 0.4631625004938986,
309
+ "learning_rate": 0.00019751175933224176,
310
+ "loss": 0.7007794952392579,
311
+ "step": 1075
312
+ },
313
+ {
314
+ "epoch": 0.48213894367740523,
315
+ "grad_norm": 0.6216674266285784,
316
+ "learning_rate": 0.00019730696218637518,
317
+ "loss": 0.6264320755004883,
318
+ "step": 1100
319
+ },
320
+ {
321
+ "epoch": 0.4930966469428008,
322
+ "grad_norm": 0.6332346570330109,
323
+ "learning_rate": 0.0001970941817426052,
324
+ "loss": 0.744112777709961,
325
+ "step": 1125
326
+ },
327
+ {
328
+ "epoch": 0.5040543502081963,
329
+ "grad_norm": 0.5981225065113883,
330
+ "learning_rate": 0.0001968734354579527,
331
+ "loss": 0.6386201858520508,
332
+ "step": 1150
333
+ },
334
+ {
335
+ "epoch": 0.5150120534735919,
336
+ "grad_norm": 0.558032978032838,
337
+ "learning_rate": 0.00019664474144297534,
338
+ "loss": 0.5493645477294922,
339
+ "step": 1175
340
+ },
341
+ {
342
+ "epoch": 0.5259697567389875,
343
+ "grad_norm": 0.39313732450997557,
344
+ "learning_rate": 0.00019640811846028178,
345
+ "loss": 0.6679231262207032,
346
+ "step": 1200
347
+ },
348
+ {
349
+ "epoch": 0.5369274600043831,
350
+ "grad_norm": 0.4119452624600624,
351
+ "learning_rate": 0.00019616358592299232,
352
+ "loss": 0.6557364654541016,
353
+ "step": 1225
354
+ },
355
+ {
356
+ "epoch": 0.5478851632697787,
357
+ "grad_norm": 0.6414670142686668,
358
+ "learning_rate": 0.00019591116389314615,
359
+ "loss": 0.6710714721679687,
360
+ "step": 1250
361
+ },
362
+ {
363
+ "epoch": 0.5588428665351742,
364
+ "grad_norm": 0.5975703356000196,
365
+ "learning_rate": 0.00019565087308005553,
366
+ "loss": 0.6270205688476562,
367
+ "step": 1275
368
+ },
369
+ {
370
+ "epoch": 0.5698005698005698,
371
+ "grad_norm": 0.41235442325426047,
372
+ "learning_rate": 0.0001953827348386066,
373
+ "loss": 0.7304449462890625,
374
+ "step": 1300
375
+ },
376
+ {
377
+ "epoch": 0.5807582730659654,
378
+ "grad_norm": 0.5275683310744128,
379
+ "learning_rate": 0.00019510677116750755,
380
+ "loss": 0.6244300079345703,
381
+ "step": 1325
382
+ },
383
+ {
384
+ "epoch": 0.591715976331361,
385
+ "grad_norm": 0.39351578691496925,
386
+ "learning_rate": 0.00019482300470748362,
387
+ "loss": 0.6354802322387695,
388
+ "step": 1350
389
+ },
390
+ {
391
+ "epoch": 0.6026736795967566,
392
+ "grad_norm": 0.5434189297758576,
393
+ "learning_rate": 0.00019453145873941973,
394
+ "loss": 0.6688744354248047,
395
+ "step": 1375
396
+ },
397
+ {
398
+ "epoch": 0.6136313828621521,
399
+ "grad_norm": 0.3141344348607065,
400
+ "learning_rate": 0.00019423215718245026,
401
+ "loss": 0.6204352188110351,
402
+ "step": 1400
403
+ },
404
+ {
405
+ "epoch": 0.6245890861275477,
406
+ "grad_norm": 0.5030832686997331,
407
+ "learning_rate": 0.00019392512459199705,
408
+ "loss": 0.6411018371582031,
409
+ "step": 1425
410
+ },
411
+ {
412
+ "epoch": 0.6355467893929433,
413
+ "grad_norm": 0.4634768793832465,
414
+ "learning_rate": 0.0001936103861577544,
415
+ "loss": 0.6204791641235352,
416
+ "step": 1450
417
+ },
418
+ {
419
+ "epoch": 0.6465044926583388,
420
+ "grad_norm": 0.9757986404500928,
421
+ "learning_rate": 0.00019328796770162269,
422
+ "loss": 0.6713768768310547,
423
+ "step": 1475
424
+ },
425
+ {
426
+ "epoch": 0.6574621959237343,
427
+ "grad_norm": 0.33258831559287305,
428
+ "learning_rate": 0.00019295789567558974,
429
+ "loss": 0.6151275634765625,
430
+ "step": 1500
431
+ },
432
+ {
433
+ "epoch": 0.6684198991891299,
434
+ "grad_norm": 0.4044670699191439,
435
+ "learning_rate": 0.00019262019715956088,
436
+ "loss": 0.6552862548828124,
437
+ "step": 1525
438
+ },
439
+ {
440
+ "epoch": 0.6793776024545255,
441
+ "grad_norm": 0.5681492231996502,
442
+ "learning_rate": 0.00019227489985913687,
443
+ "loss": 0.5921820831298829,
444
+ "step": 1550
445
+ },
446
+ {
447
+ "epoch": 0.6903353057199211,
448
+ "grad_norm": 0.4343026202194038,
449
+ "learning_rate": 0.00019192203210334122,
450
+ "loss": 0.6558747863769532,
451
+ "step": 1575
452
+ },
453
+ {
454
+ "epoch": 0.7012930089853167,
455
+ "grad_norm": 0.45481447167039024,
456
+ "learning_rate": 0.0001915616228422958,
457
+ "loss": 0.6270633697509765,
458
+ "step": 1600
459
+ },
460
+ {
461
+ "epoch": 0.7122507122507122,
462
+ "grad_norm": 0.47237387095063543,
463
+ "learning_rate": 0.00019119370164484578,
464
+ "loss": 0.6521648406982422,
465
+ "step": 1625
466
+ },
467
+ {
468
+ "epoch": 0.7232084155161078,
469
+ "grad_norm": 0.4651570244883477,
470
+ "learning_rate": 0.0001908182986961337,
471
+ "loss": 0.5692562866210937,
472
+ "step": 1650
473
+ },
474
+ {
475
+ "epoch": 0.7341661187815034,
476
+ "grad_norm": 0.5779163868208466,
477
+ "learning_rate": 0.00019043544479512302,
478
+ "loss": 0.5608213424682618,
479
+ "step": 1675
480
+ },
481
+ {
482
+ "epoch": 0.745123822046899,
483
+ "grad_norm": 0.48312154624427917,
484
+ "learning_rate": 0.00019004517135207127,
485
+ "loss": 0.6319043731689453,
486
+ "step": 1700
487
+ },
488
+ {
489
+ "epoch": 0.7560815253122946,
490
+ "grad_norm": 0.6169038093687549,
491
+ "learning_rate": 0.00018964751038595324,
492
+ "loss": 0.5678458786010743,
493
+ "step": 1725
494
+ },
495
+ {
496
+ "epoch": 0.7670392285776901,
497
+ "grad_norm": 0.46474648979398947,
498
+ "learning_rate": 0.00018924249452183372,
499
+ "loss": 0.605274772644043,
500
+ "step": 1750
501
+ },
502
+ {
503
+ "epoch": 0.7779969318430857,
504
+ "grad_norm": 0.6934437347685344,
505
+ "learning_rate": 0.0001888301569881913,
506
+ "loss": 0.5229089736938477,
507
+ "step": 1775
508
+ },
509
+ {
510
+ "epoch": 0.7889546351084813,
511
+ "grad_norm": 0.48717433781950337,
512
+ "learning_rate": 0.0001884105316141918,
513
+ "loss": 0.6208004760742187,
514
+ "step": 1800
515
+ },
516
+ {
517
+ "epoch": 0.7999123383738769,
518
+ "grad_norm": 0.4602133778756322,
519
+ "learning_rate": 0.00018798365282691318,
520
+ "loss": 0.6161478424072265,
521
+ "step": 1825
522
+ },
523
+ {
524
+ "epoch": 0.8108700416392725,
525
+ "grad_norm": 0.6487304684461032,
526
+ "learning_rate": 0.0001875495556485208,
527
+ "loss": 0.5896058654785157,
528
+ "step": 1850
529
+ },
530
+ {
531
+ "epoch": 0.821827744904668,
532
+ "grad_norm": 0.5309729149980255,
533
+ "learning_rate": 0.00018710827569339445,
534
+ "loss": 0.5441777420043945,
535
+ "step": 1875
536
+ },
537
+ {
538
+ "epoch": 0.8327854481700635,
539
+ "grad_norm": 0.3756485152004339,
540
+ "learning_rate": 0.00018665984916520597,
541
+ "loss": 0.5416929626464844,
542
+ "step": 1900
543
+ },
544
+ {
545
+ "epoch": 0.8437431514354591,
546
+ "grad_norm": 0.5496224680846356,
547
+ "learning_rate": 0.00018620431285394954,
548
+ "loss": 0.6156987762451172,
549
+ "step": 1925
550
+ },
551
+ {
552
+ "epoch": 0.8547008547008547,
553
+ "grad_norm": 0.4941794346195356,
554
+ "learning_rate": 0.00018574170413292293,
555
+ "loss": 0.591865348815918,
556
+ "step": 1950
557
+ },
558
+ {
559
+ "epoch": 0.8656585579662502,
560
+ "grad_norm": 0.6244829886543544,
561
+ "learning_rate": 0.00018527206095566158,
562
+ "loss": 0.5739054107666015,
563
+ "step": 1975
564
+ },
565
+ {
566
+ "epoch": 0.8766162612316458,
567
+ "grad_norm": 0.5337331049570524,
568
+ "learning_rate": 0.00018479542185282456,
569
+ "loss": 0.5181359100341797,
570
+ "step": 2000
571
+ },
572
+ {
573
+ "epoch": 0.8875739644970414,
574
+ "grad_norm": 0.5480705050808666,
575
+ "learning_rate": 0.00018431182592903365,
576
+ "loss": 0.5471242904663086,
577
+ "step": 2025
578
+ },
579
+ {
580
+ "epoch": 0.898531667762437,
581
+ "grad_norm": 0.5421739618077583,
582
+ "learning_rate": 0.000183821312859665,
583
+ "loss": 0.5618992614746093,
584
+ "step": 2050
585
+ },
586
+ {
587
+ "epoch": 0.9094893710278326,
588
+ "grad_norm": 0.3311633275942834,
589
+ "learning_rate": 0.00018332392288759403,
590
+ "loss": 0.6257458877563477,
591
+ "step": 2075
592
+ },
593
+ {
594
+ "epoch": 0.9204470742932281,
595
+ "grad_norm": 0.29974889200756905,
596
+ "learning_rate": 0.00018281969681989386,
597
+ "loss": 0.5611452484130859,
598
+ "step": 2100
599
+ },
600
+ {
601
+ "epoch": 0.9314047775586237,
602
+ "grad_norm": 0.9653908820248759,
603
+ "learning_rate": 0.00018230867602448742,
604
+ "loss": 0.5552873992919922,
605
+ "step": 2125
606
+ },
607
+ {
608
+ "epoch": 0.9423624808240193,
609
+ "grad_norm": 0.3238436719865102,
610
+ "learning_rate": 0.0001817909024267534,
611
+ "loss": 0.5431422424316407,
612
+ "step": 2150
613
+ },
614
+ {
615
+ "epoch": 0.9533201840894149,
616
+ "grad_norm": 0.601723849110238,
617
+ "learning_rate": 0.0001812664185060868,
618
+ "loss": 0.6057305526733399,
619
+ "step": 2175
620
+ },
621
+ {
622
+ "epoch": 0.9642778873548105,
623
+ "grad_norm": 0.47464675875116885,
624
+ "learning_rate": 0.00018073526729241358,
625
+ "loss": 0.5485016632080079,
626
+ "step": 2200
627
+ },
628
+ {
629
+ "epoch": 0.975235590620206,
630
+ "grad_norm": 0.6859751205226805,
631
+ "learning_rate": 0.00018019749236266065,
632
+ "loss": 0.5430702972412109,
633
+ "step": 2225
634
+ },
635
+ {
636
+ "epoch": 0.9861932938856016,
637
+ "grad_norm": 0.5407864887541908,
638
+ "learning_rate": 0.00017965313783718036,
639
+ "loss": 0.5579008483886718,
640
+ "step": 2250
641
+ },
642
+ {
643
+ "epoch": 0.9971509971509972,
644
+ "grad_norm": 0.5465960072870302,
645
+ "learning_rate": 0.00017910224837613118,
646
+ "loss": 0.5626018524169922,
647
+ "step": 2275
648
+ },
649
+ {
650
+ "epoch": 1.0078895463510849,
651
+ "grad_norm": 0.5251661713406559,
652
+ "learning_rate": 0.00017854486917581332,
653
+ "loss": 0.4892612075805664,
654
+ "step": 2300
655
+ },
656
+ {
657
+ "epoch": 1.0188472496164804,
658
+ "grad_norm": 0.6152523909810319,
659
+ "learning_rate": 0.0001779810459649609,
660
+ "loss": 0.42003105163574217,
661
+ "step": 2325
662
+ },
663
+ {
664
+ "epoch": 1.029804952881876,
665
+ "grad_norm": 0.6686959168385372,
666
+ "learning_rate": 0.0001774108250009902,
667
+ "loss": 0.41712055206298826,
668
+ "step": 2350
669
+ },
670
+ {
671
+ "epoch": 1.0407626561472716,
672
+ "grad_norm": 0.6084073217343031,
673
+ "learning_rate": 0.00017683425306620464,
674
+ "loss": 0.4078028106689453,
675
+ "step": 2375
676
+ },
677
+ {
678
+ "epoch": 1.0517203594126672,
679
+ "grad_norm": 0.4780975609098201,
680
+ "learning_rate": 0.0001762513774639565,
681
+ "loss": 0.4441735076904297,
682
+ "step": 2400
683
+ },
684
+ {
685
+ "epoch": 1.0626780626780628,
686
+ "grad_norm": 0.6010378983840258,
687
+ "learning_rate": 0.00017566224601476627,
688
+ "loss": 0.45469318389892577,
689
+ "step": 2425
690
+ },
691
+ {
692
+ "epoch": 1.0736357659434583,
693
+ "grad_norm": 0.6967390042692502,
694
+ "learning_rate": 0.00017506690705239913,
695
+ "loss": 0.4237989044189453,
696
+ "step": 2450
697
+ },
698
+ {
699
+ "epoch": 1.084593469208854,
700
+ "grad_norm": 0.39791866992468133,
701
+ "learning_rate": 0.0001744654094198996,
702
+ "loss": 0.41963016510009765,
703
+ "step": 2475
704
+ },
705
+ {
706
+ "epoch": 1.0955511724742495,
707
+ "grad_norm": 0.7232124845466396,
708
+ "learning_rate": 0.00017385780246558446,
709
+ "loss": 0.4468261337280273,
710
+ "step": 2500
711
+ },
712
+ {
713
+ "epoch": 1.106508875739645,
714
+ "grad_norm": 0.4443727169257166,
715
+ "learning_rate": 0.0001732441360389939,
716
+ "loss": 0.43564907073974607,
717
+ "step": 2525
718
+ },
719
+ {
720
+ "epoch": 1.1174665790050406,
721
+ "grad_norm": 0.4325837055491758,
722
+ "learning_rate": 0.00017262446048680184,
723
+ "loss": 0.42488311767578124,
724
+ "step": 2550
725
+ },
726
+ {
727
+ "epoch": 1.1284242822704362,
728
+ "grad_norm": 0.3980195564635358,
729
+ "learning_rate": 0.00017199882664868538,
730
+ "loss": 0.42963691711425783,
731
+ "step": 2575
732
+ },
733
+ {
734
+ "epoch": 1.1393819855358318,
735
+ "grad_norm": 0.6009465004570181,
736
+ "learning_rate": 0.0001713672858531538,
737
+ "loss": 0.4399003601074219,
738
+ "step": 2600
739
+ },
740
+ {
741
+ "epoch": 1.1503396888012272,
742
+ "grad_norm": 0.7477269407779865,
743
+ "learning_rate": 0.00017072988991333733,
744
+ "loss": 0.41332855224609377,
745
+ "step": 2625
746
+ },
747
+ {
748
+ "epoch": 1.1612973920666227,
749
+ "grad_norm": 0.47967935298933445,
750
+ "learning_rate": 0.00017008669112273642,
751
+ "loss": 0.40812835693359373,
752
+ "step": 2650
753
+ },
754
+ {
755
+ "epoch": 1.1722550953320183,
756
+ "grad_norm": 0.5365226964392461,
757
+ "learning_rate": 0.00016943774225093144,
758
+ "loss": 0.40122032165527344,
759
+ "step": 2675
760
+ },
761
+ {
762
+ "epoch": 1.183212798597414,
763
+ "grad_norm": 0.508159226031207,
764
+ "learning_rate": 0.00016878309653925314,
765
+ "loss": 0.4251136016845703,
766
+ "step": 2700
767
+ },
768
+ {
769
+ "epoch": 1.1941705018628095,
770
+ "grad_norm": 0.44432375746596137,
771
+ "learning_rate": 0.00016812280769641492,
772
+ "loss": 0.4017474365234375,
773
+ "step": 2725
774
+ },
775
+ {
776
+ "epoch": 1.205128205128205,
777
+ "grad_norm": 0.3713975277440623,
778
+ "learning_rate": 0.00016745692989410623,
779
+ "loss": 0.4365106201171875,
780
+ "step": 2750
781
+ },
782
+ {
783
+ "epoch": 1.2160859083936006,
784
+ "grad_norm": 0.5399569210290663,
785
+ "learning_rate": 0.0001667855177625482,
786
+ "loss": 0.38633155822753906,
787
+ "step": 2775
788
+ },
789
+ {
790
+ "epoch": 1.2270436116589962,
791
+ "grad_norm": 0.5287964277729839,
792
+ "learning_rate": 0.00016610862638601163,
793
+ "loss": 0.4066593170166016,
794
+ "step": 2800
795
+ },
796
+ {
797
+ "epoch": 1.2380013149243918,
798
+ "grad_norm": 0.5583879530662426,
799
+ "learning_rate": 0.00016542631129829794,
800
+ "loss": 0.45244613647460935,
801
+ "step": 2825
802
+ },
803
+ {
804
+ "epoch": 1.2489590181897874,
805
+ "grad_norm": 0.40620191555003865,
806
+ "learning_rate": 0.00016473862847818277,
807
+ "loss": 0.4667433929443359,
808
+ "step": 2850
809
+ },
810
+ {
811
+ "epoch": 1.259916721455183,
812
+ "grad_norm": 0.4535954318973333,
813
+ "learning_rate": 0.00016404563434482356,
814
+ "loss": 0.4026165008544922,
815
+ "step": 2875
816
+ },
817
+ {
818
+ "epoch": 1.2708744247205785,
819
+ "grad_norm": 0.513322677830209,
820
+ "learning_rate": 0.00016334738575313063,
821
+ "loss": 0.4219857788085937,
822
+ "step": 2900
823
+ },
824
+ {
825
+ "epoch": 1.2818321279859741,
826
+ "grad_norm": 0.42389586092570064,
827
+ "learning_rate": 0.0001626439399891028,
828
+ "loss": 0.44494407653808593,
829
+ "step": 2925
830
+ },
831
+ {
832
+ "epoch": 1.2927898312513697,
833
+ "grad_norm": 0.6766414860070618,
834
+ "learning_rate": 0.0001619353547651274,
835
+ "loss": 0.42329719543457034,
836
+ "step": 2950
837
+ },
838
+ {
839
+ "epoch": 1.3037475345167653,
840
+ "grad_norm": 0.5985020346801904,
841
+ "learning_rate": 0.00016122168821524545,
842
+ "loss": 0.45065216064453123,
843
+ "step": 2975
844
+ },
845
+ {
846
+ "epoch": 1.3147052377821609,
847
+ "grad_norm": 0.6405826298129538,
848
+ "learning_rate": 0.00016050299889038225,
849
+ "loss": 0.45827613830566405,
850
+ "step": 3000
851
+ },
852
+ {
853
+ "epoch": 1.3256629410475564,
854
+ "grad_norm": 0.6549621659634891,
855
+ "learning_rate": 0.00015977934575354366,
856
+ "loss": 0.4362139129638672,
857
+ "step": 3025
858
+ },
859
+ {
860
+ "epoch": 1.336620644312952,
861
+ "grad_norm": 0.6106103227315635,
862
+ "learning_rate": 0.0001590507881749786,
863
+ "loss": 0.4384369659423828,
864
+ "step": 3050
865
+ },
866
+ {
867
+ "epoch": 1.3475783475783476,
868
+ "grad_norm": 0.4371166163225976,
869
+ "learning_rate": 0.00015831738592730825,
870
+ "loss": 0.4177792358398438,
871
+ "step": 3075
872
+ },
873
+ {
874
+ "epoch": 1.3585360508437432,
875
+ "grad_norm": 0.5206936757463656,
876
+ "learning_rate": 0.0001575791991806222,
877
+ "loss": 0.4393328857421875,
878
+ "step": 3100
879
+ },
880
+ {
881
+ "epoch": 1.3694937541091388,
882
+ "grad_norm": 0.601154140872349,
883
+ "learning_rate": 0.0001568362884975417,
884
+ "loss": 0.4083403015136719,
885
+ "step": 3125
886
+ },
887
+ {
888
+ "epoch": 1.3804514573745343,
889
+ "grad_norm": 0.6660346927890635,
890
+ "learning_rate": 0.0001560887148282514,
891
+ "loss": 0.4107976531982422,
892
+ "step": 3150
893
+ },
894
+ {
895
+ "epoch": 1.39140916063993,
896
+ "grad_norm": 0.39369331922521944,
897
+ "learning_rate": 0.00015533653950549828,
898
+ "loss": 0.43758338928222656,
899
+ "step": 3175
900
+ },
901
+ {
902
+ "epoch": 1.4023668639053255,
903
+ "grad_norm": 0.4295971116287204,
904
+ "learning_rate": 0.00015457982423956038,
905
+ "loss": 0.4095724105834961,
906
+ "step": 3200
907
+ },
908
+ {
909
+ "epoch": 1.413324567170721,
910
+ "grad_norm": 0.3797449112023034,
911
+ "learning_rate": 0.0001538186311131834,
912
+ "loss": 0.4068620681762695,
913
+ "step": 3225
914
+ },
915
+ {
916
+ "epoch": 1.4242822704361167,
917
+ "grad_norm": 0.4276983810707517,
918
+ "learning_rate": 0.00015305302257648758,
919
+ "loss": 0.42065086364746096,
920
+ "step": 3250
921
+ },
922
+ {
923
+ "epoch": 1.4352399737015122,
924
+ "grad_norm": 0.4666197159909488,
925
+ "learning_rate": 0.00015228306144184414,
926
+ "loss": 0.3989574432373047,
927
+ "step": 3275
928
+ },
929
+ {
930
+ "epoch": 1.4461976769669078,
931
+ "grad_norm": 0.40133694963201777,
932
+ "learning_rate": 0.00015150881087872185,
933
+ "loss": 0.40041751861572267,
934
+ "step": 3300
935
+ },
936
+ {
937
+ "epoch": 1.4571553802323032,
938
+ "grad_norm": 0.583938330669856,
939
+ "learning_rate": 0.00015073033440850454,
940
+ "loss": 0.4483616256713867,
941
+ "step": 3325
942
+ },
943
+ {
944
+ "epoch": 1.4681130834976988,
945
+ "grad_norm": 0.6309031584352569,
946
+ "learning_rate": 0.00014994769589927974,
947
+ "loss": 0.4432932662963867,
948
+ "step": 3350
949
+ },
950
+ {
951
+ "epoch": 1.4790707867630943,
952
+ "grad_norm": 0.5412128473094439,
953
+ "learning_rate": 0.0001491609595605986,
954
+ "loss": 0.4114042663574219,
955
+ "step": 3375
956
+ },
957
+ {
958
+ "epoch": 1.49002849002849,
959
+ "grad_norm": 0.6205106303455942,
960
+ "learning_rate": 0.00014837018993820814,
961
+ "loss": 0.41695125579833986,
962
+ "step": 3400
963
+ },
964
+ {
965
+ "epoch": 1.5009861932938855,
966
+ "grad_norm": 0.9752950103207944,
967
+ "learning_rate": 0.0001475754519087557,
968
+ "loss": 0.45008018493652346,
969
+ "step": 3425
970
+ },
971
+ {
972
+ "epoch": 1.511943896559281,
973
+ "grad_norm": 0.5641458237912382,
974
+ "learning_rate": 0.00014677681067446627,
975
+ "loss": 0.44077972412109373,
976
+ "step": 3450
977
+ },
978
+ {
979
+ "epoch": 1.5229015998246767,
980
+ "grad_norm": 0.5737224320842583,
981
+ "learning_rate": 0.00014597433175779322,
982
+ "loss": 0.42770389556884764,
983
+ "step": 3475
984
+ },
985
+ {
986
+ "epoch": 1.5338593030900722,
987
+ "grad_norm": 0.41428253922267605,
988
+ "learning_rate": 0.00014516808099604268,
989
+ "loss": 0.4266217803955078,
990
+ "step": 3500
991
+ },
992
+ {
993
+ "epoch": 1.5448170063554678,
994
+ "grad_norm": 0.6569121745141964,
995
+ "learning_rate": 0.00014435812453597192,
996
+ "loss": 0.41614547729492185,
997
+ "step": 3525
998
+ },
999
+ {
1000
+ "epoch": 1.5557747096208634,
1001
+ "grad_norm": 0.5741297578975548,
1002
+ "learning_rate": 0.00014354452882836273,
1003
+ "loss": 0.40014656066894533,
1004
+ "step": 3550
1005
+ },
1006
+ {
1007
+ "epoch": 1.566732412886259,
1008
+ "grad_norm": 0.3617286031559024,
1009
+ "learning_rate": 0.00014272736062256958,
1010
+ "loss": 0.353155632019043,
1011
+ "step": 3575
1012
+ },
1013
+ {
1014
+ "epoch": 1.5776901161516546,
1015
+ "grad_norm": 0.6194726963689449,
1016
+ "learning_rate": 0.00014190668696104322,
1017
+ "loss": 0.4024491882324219,
1018
+ "step": 3600
1019
+ },
1020
+ {
1021
+ "epoch": 1.5886478194170501,
1022
+ "grad_norm": 0.3812826850618246,
1023
+ "learning_rate": 0.00014108257517383047,
1024
+ "loss": 0.4127301025390625,
1025
+ "step": 3625
1026
+ },
1027
+ {
1028
+ "epoch": 1.5996055226824457,
1029
+ "grad_norm": 0.6027967532353757,
1030
+ "learning_rate": 0.00014025509287305036,
1031
+ "loss": 0.4099040222167969,
1032
+ "step": 3650
1033
+ },
1034
+ {
1035
+ "epoch": 1.6105632259478413,
1036
+ "grad_norm": 0.6577687378159764,
1037
+ "learning_rate": 0.00013942430794734687,
1038
+ "loss": 0.36910625457763674,
1039
+ "step": 3675
1040
+ },
1041
+ {
1042
+ "epoch": 1.6215209292132369,
1043
+ "grad_norm": 0.5118439158326048,
1044
+ "learning_rate": 0.0001385902885563193,
1045
+ "loss": 0.4529541015625,
1046
+ "step": 3700
1047
+ },
1048
+ {
1049
+ "epoch": 1.6324786324786325,
1050
+ "grad_norm": 0.45743704025700843,
1051
+ "learning_rate": 0.00013775310312493037,
1052
+ "loss": 0.3970626449584961,
1053
+ "step": 3725
1054
+ },
1055
+ {
1056
+ "epoch": 1.643436335744028,
1057
+ "grad_norm": 0.5306975225842998,
1058
+ "learning_rate": 0.00013691282033789236,
1059
+ "loss": 0.35301612854003905,
1060
+ "step": 3750
1061
+ },
1062
+ {
1063
+ "epoch": 1.6543940390094236,
1064
+ "grad_norm": 0.481209904136711,
1065
+ "learning_rate": 0.00013606950913403208,
1066
+ "loss": 0.41025718688964846,
1067
+ "step": 3775
1068
+ },
1069
+ {
1070
+ "epoch": 1.6653517422748192,
1071
+ "grad_norm": 0.4468197234526083,
1072
+ "learning_rate": 0.00013522323870063488,
1073
+ "loss": 0.4039540100097656,
1074
+ "step": 3800
1075
+ },
1076
+ {
1077
+ "epoch": 1.6763094455402148,
1078
+ "grad_norm": 0.3798246354927787,
1079
+ "learning_rate": 0.00013437407846776854,
1080
+ "loss": 0.38895225524902344,
1081
+ "step": 3825
1082
+ },
1083
+ {
1084
+ "epoch": 1.6872671488056104,
1085
+ "grad_norm": 0.5813760717850384,
1086
+ "learning_rate": 0.0001335220981025869,
1087
+ "loss": 0.44722671508789064,
1088
+ "step": 3850
1089
+ },
1090
+ {
1091
+ "epoch": 1.698224852071006,
1092
+ "grad_norm": 0.5020958735964437,
1093
+ "learning_rate": 0.00013266736750361431,
1094
+ "loss": 0.37591259002685545,
1095
+ "step": 3875
1096
+ },
1097
+ {
1098
+ "epoch": 1.7091825553364015,
1099
+ "grad_norm": 0.5910378889000357,
1100
+ "learning_rate": 0.0001318099567950109,
1101
+ "loss": 0.38099960327148436,
1102
+ "step": 3900
1103
+ },
1104
+ {
1105
+ "epoch": 1.720140258601797,
1106
+ "grad_norm": 0.4355687433094115,
1107
+ "learning_rate": 0.00013094993632081948,
1108
+ "loss": 0.41964092254638674,
1109
+ "step": 3925
1110
+ },
1111
+ {
1112
+ "epoch": 1.7310979618671927,
1113
+ "grad_norm": 0.7044250035872699,
1114
+ "learning_rate": 0.0001300873766391943,
1115
+ "loss": 0.3695980072021484,
1116
+ "step": 3950
1117
+ },
1118
+ {
1119
+ "epoch": 1.7420556651325882,
1120
+ "grad_norm": 0.4701082647207719,
1121
+ "learning_rate": 0.00012922234851661232,
1122
+ "loss": 0.3810658645629883,
1123
+ "step": 3975
1124
+ },
1125
+ {
1126
+ "epoch": 1.7530133683979838,
1127
+ "grad_norm": 0.47321051780622075,
1128
+ "learning_rate": 0.00012835492292206734,
1129
+ "loss": 0.42526351928710937,
1130
+ "step": 4000
1131
+ },
1132
+ {
1133
+ "epoch": 1.7639710716633794,
1134
+ "grad_norm": 0.5300139983011811,
1135
+ "learning_rate": 0.00012748517102124755,
1136
+ "loss": 0.4171455383300781,
1137
+ "step": 4025
1138
+ },
1139
+ {
1140
+ "epoch": 1.774928774928775,
1141
+ "grad_norm": 0.5480913021210451,
1142
+ "learning_rate": 0.000126613164170697,
1143
+ "loss": 0.38637245178222657,
1144
+ "step": 4050
1145
+ },
1146
+ {
1147
+ "epoch": 1.7858864781941706,
1148
+ "grad_norm": 0.5028066369365886,
1149
+ "learning_rate": 0.00012573897391196108,
1150
+ "loss": 0.40807647705078126,
1151
+ "step": 4075
1152
+ },
1153
+ {
1154
+ "epoch": 1.7968441814595661,
1155
+ "grad_norm": 0.7192463460046236,
1156
+ "learning_rate": 0.0001248626719657174,
1157
+ "loss": 0.39599617004394533,
1158
+ "step": 4100
1159
+ },
1160
+ {
1161
+ "epoch": 1.8078018847249617,
1162
+ "grad_norm": 0.2827808969257674,
1163
+ "learning_rate": 0.00012398433022589147,
1164
+ "loss": 0.3685328674316406,
1165
+ "step": 4125
1166
+ },
1167
+ {
1168
+ "epoch": 1.8187595879903573,
1169
+ "grad_norm": 0.4274683889238332,
1170
+ "learning_rate": 0.00012310402075375832,
1171
+ "loss": 0.43625213623046877,
1172
+ "step": 4150
1173
+ },
1174
+ {
1175
+ "epoch": 1.8297172912557529,
1176
+ "grad_norm": 0.44692450404712275,
1177
+ "learning_rate": 0.00012222181577203065,
1178
+ "loss": 0.4161438751220703,
1179
+ "step": 4175
1180
+ },
1181
+ {
1182
+ "epoch": 1.8406749945211485,
1183
+ "grad_norm": 0.41658336460133644,
1184
+ "learning_rate": 0.00012133778765893313,
1185
+ "loss": 0.3899082183837891,
1186
+ "step": 4200
1187
+ },
1188
+ {
1189
+ "epoch": 1.851632697786544,
1190
+ "grad_norm": 0.5997761212772421,
1191
+ "learning_rate": 0.0001204520089422647,
1192
+ "loss": 0.38892837524414064,
1193
+ "step": 4225
1194
+ },
1195
+ {
1196
+ "epoch": 1.8625904010519396,
1197
+ "grad_norm": 0.6126818822909509,
1198
+ "learning_rate": 0.00011956455229344792,
1199
+ "loss": 0.3780496978759766,
1200
+ "step": 4250
1201
+ },
1202
+ {
1203
+ "epoch": 1.8735481043173352,
1204
+ "grad_norm": 0.40127703894536587,
1205
+ "learning_rate": 0.00011867549052156701,
1206
+ "loss": 0.30914302825927736,
1207
+ "step": 4275
1208
+ },
1209
+ {
1210
+ "epoch": 1.8845058075827308,
1211
+ "grad_norm": 0.43205111787119116,
1212
+ "learning_rate": 0.00011778489656739435,
1213
+ "loss": 0.35536827087402345,
1214
+ "step": 4300
1215
+ },
1216
+ {
1217
+ "epoch": 1.8954635108481264,
1218
+ "grad_norm": 0.46351963773506527,
1219
+ "learning_rate": 0.00011689284349740629,
1220
+ "loss": 0.3959296035766602,
1221
+ "step": 4325
1222
+ },
1223
+ {
1224
+ "epoch": 1.906421214113522,
1225
+ "grad_norm": 0.4229112462335532,
1226
+ "learning_rate": 0.00011599940449778841,
1227
+ "loss": 0.41460060119628905,
1228
+ "step": 4350
1229
+ },
1230
+ {
1231
+ "epoch": 1.9173789173789175,
1232
+ "grad_norm": 0.4449274400172185,
1233
+ "learning_rate": 0.0001151046528684315,
1234
+ "loss": 0.3677532958984375,
1235
+ "step": 4375
1236
+ },
1237
+ {
1238
+ "epoch": 1.928336620644313,
1239
+ "grad_norm": 0.37239875530774874,
1240
+ "learning_rate": 0.00011420866201691754,
1241
+ "loss": 0.3918146514892578,
1242
+ "step": 4400
1243
+ },
1244
+ {
1245
+ "epoch": 1.9392943239097087,
1246
+ "grad_norm": 0.5479251595725931,
1247
+ "learning_rate": 0.0001133115054524973,
1248
+ "loss": 0.3971866989135742,
1249
+ "step": 4425
1250
+ },
1251
+ {
1252
+ "epoch": 1.9502520271751043,
1253
+ "grad_norm": 0.6738385136938495,
1254
+ "learning_rate": 0.00011241325678005952,
1255
+ "loss": 0.3569622039794922,
1256
+ "step": 4450
1257
+ },
1258
+ {
1259
+ "epoch": 1.9612097304404996,
1260
+ "grad_norm": 0.3304334793339243,
1261
+ "learning_rate": 0.000111513989694092,
1262
+ "loss": 0.35907974243164065,
1263
+ "step": 4475
1264
+ },
1265
+ {
1266
+ "epoch": 1.9721674337058952,
1267
+ "grad_norm": 0.5072052544273601,
1268
+ "learning_rate": 0.0001106137779726357,
1269
+ "loss": 0.3592760467529297,
1270
+ "step": 4500
1271
+ },
1272
+ {
1273
+ "epoch": 1.9831251369712908,
1274
+ "grad_norm": 0.3944491895367133,
1275
+ "learning_rate": 0.0001097126954712318,
1276
+ "loss": 0.3897372817993164,
1277
+ "step": 4525
1278
+ },
1279
+ {
1280
+ "epoch": 1.9940828402366864,
1281
+ "grad_norm": 0.6295150987269155,
1282
+ "learning_rate": 0.00010881081611686228,
1283
+ "loss": 0.3533794403076172,
1284
+ "step": 4550
1285
+ },
1286
+ {
1287
+ "epoch": 2.004821389436774,
1288
+ "grad_norm": 0.42475925428031835,
1289
+ "learning_rate": 0.00010790821390188493,
1290
+ "loss": 0.30100307464599607,
1291
+ "step": 4575
1292
+ },
1293
+ {
1294
+ "epoch": 2.0157790927021697,
1295
+ "grad_norm": 0.6599014787251235,
1296
+ "learning_rate": 0.00010700496287796275,
1297
+ "loss": 0.20593643188476562,
1298
+ "step": 4600
1299
+ },
1300
+ {
1301
+ "epoch": 2.0267367959675653,
1302
+ "grad_norm": 0.7528878273483994,
1303
+ "learning_rate": 0.00010610113714998856,
1304
+ "loss": 0.2313397979736328,
1305
+ "step": 4625
1306
+ },
1307
+ {
1308
+ "epoch": 2.037694499232961,
1309
+ "grad_norm": 0.5793530412033049,
1310
+ "learning_rate": 0.00010519681087000526,
1311
+ "loss": 0.22497249603271485,
1312
+ "step": 4650
1313
+ },
1314
+ {
1315
+ "epoch": 2.0486522024983564,
1316
+ "grad_norm": 0.536535545512749,
1317
+ "learning_rate": 0.00010429205823112235,
1318
+ "loss": 0.18831499099731444,
1319
+ "step": 4675
1320
+ },
1321
+ {
1322
+ "epoch": 2.059609905763752,
1323
+ "grad_norm": 0.4654007970079509,
1324
+ "learning_rate": 0.00010338695346142882,
1325
+ "loss": 0.18600177764892578,
1326
+ "step": 4700
1327
+ },
1328
+ {
1329
+ "epoch": 2.0705676090291476,
1330
+ "grad_norm": 0.26546424867098994,
1331
+ "learning_rate": 0.00010248157081790324,
1332
+ "loss": 0.18008216857910156,
1333
+ "step": 4725
1334
+ },
1335
+ {
1336
+ "epoch": 2.081525312294543,
1337
+ "grad_norm": 0.5303633209359471,
1338
+ "learning_rate": 0.00010157598458032165,
1339
+ "loss": 0.18256614685058595,
1340
+ "step": 4750
1341
+ },
1342
+ {
1343
+ "epoch": 2.0924830155599388,
1344
+ "grad_norm": 0.47371462788258106,
1345
+ "learning_rate": 0.00010067026904516348,
1346
+ "loss": 0.20771533966064454,
1347
+ "step": 4775
1348
+ },
1349
+ {
1350
+ "epoch": 2.1034407188253343,
1351
+ "grad_norm": 0.4992461440902292,
1352
+ "learning_rate": 9.9764498519516e-05,
1353
+ "loss": 0.17464292526245118,
1354
+ "step": 4800
1355
+ },
1356
+ {
1357
+ "epoch": 2.11439842209073,
1358
+ "grad_norm": 0.6353285066286388,
1359
+ "learning_rate": 9.885874731497806e-05,
1360
+ "loss": 0.20087291717529296,
1361
+ "step": 4825
1362
+ },
1363
+ {
1364
+ "epoch": 2.1253561253561255,
1365
+ "grad_norm": 0.5718972692052943,
1366
+ "learning_rate": 9.795308974156334e-05,
1367
+ "loss": 0.21221614837646485,
1368
+ "step": 4850
1369
+ },
1370
+ {
1371
+ "epoch": 2.136313828621521,
1372
+ "grad_norm": 0.5830582148895164,
1373
+ "learning_rate": 9.704760010160385e-05,
1374
+ "loss": 0.21111564636230468,
1375
+ "step": 4875
1376
+ },
1377
+ {
1378
+ "epoch": 2.1472715318869167,
1379
+ "grad_norm": 0.4959043548616016,
1380
+ "learning_rate": 9.614235268365385e-05,
1381
+ "loss": 0.17894338607788085,
1382
+ "step": 4900
1383
+ },
1384
+ {
1385
+ "epoch": 2.1582292351523122,
1386
+ "grad_norm": 0.5614418636383869,
1387
+ "learning_rate": 9.523742175639514e-05,
1388
+ "loss": 0.17951549530029298,
1389
+ "step": 4925
1390
+ },
1391
+ {
1392
+ "epoch": 2.169186938417708,
1393
+ "grad_norm": 0.5186563360064427,
1394
+ "learning_rate": 9.433288156254394e-05,
1395
+ "loss": 0.1830301284790039,
1396
+ "step": 4950
1397
+ },
1398
+ {
1399
+ "epoch": 2.1801446416831034,
1400
+ "grad_norm": 0.5002629074885125,
1401
+ "learning_rate": 9.342880631275967e-05,
1402
+ "loss": 0.22070056915283204,
1403
+ "step": 4975
1404
+ },
1405
+ {
1406
+ "epoch": 2.191102344948499,
1407
+ "grad_norm": 0.4255229272859531,
1408
+ "learning_rate": 9.252527017955665e-05,
1409
+ "loss": 0.21093353271484375,
1410
+ "step": 5000
1411
+ },
1412
+ {
1413
+ "epoch": 2.2020600482138946,
1414
+ "grad_norm": 0.5043061355611567,
1415
+ "learning_rate": 9.162234729121876e-05,
1416
+ "loss": 0.19972602844238282,
1417
+ "step": 5025
1418
+ },
1419
+ {
1420
+ "epoch": 2.21301775147929,
1421
+ "grad_norm": 0.6041952884940843,
1422
+ "learning_rate": 9.072011172571786e-05,
1423
+ "loss": 0.18799491882324218,
1424
+ "step": 5050
1425
+ },
1426
+ {
1427
+ "epoch": 2.2239754547446857,
1428
+ "grad_norm": 0.5727698534096206,
1429
+ "learning_rate": 8.981863750463608e-05,
1430
+ "loss": 0.1831727409362793,
1431
+ "step": 5075
1432
+ },
1433
+ {
1434
+ "epoch": 2.2349331580100813,
1435
+ "grad_norm": 0.4045749347222439,
1436
+ "learning_rate": 8.891799858709309e-05,
1437
+ "loss": 0.1804789733886719,
1438
+ "step": 5100
1439
+ },
1440
+ {
1441
+ "epoch": 2.245890861275477,
1442
+ "grad_norm": 0.46390632444913404,
1443
+ "learning_rate": 8.801826886367825e-05,
1444
+ "loss": 0.1879850769042969,
1445
+ "step": 5125
1446
+ },
1447
+ {
1448
+ "epoch": 2.2568485645408725,
1449
+ "grad_norm": 0.6669996913479316,
1450
+ "learning_rate": 8.711952215038836e-05,
1451
+ "loss": 0.16245586395263673,
1452
+ "step": 5150
1453
+ },
1454
+ {
1455
+ "epoch": 2.267806267806268,
1456
+ "grad_norm": 0.5222544677950751,
1457
+ "learning_rate": 8.622183218257178e-05,
1458
+ "loss": 0.18196407318115235,
1459
+ "step": 5175
1460
+ },
1461
+ {
1462
+ "epoch": 2.2787639710716636,
1463
+ "grad_norm": 0.3025874110311181,
1464
+ "learning_rate": 8.53252726088789e-05,
1465
+ "loss": 0.1737771987915039,
1466
+ "step": 5200
1467
+ },
1468
+ {
1469
+ "epoch": 2.289721674337059,
1470
+ "grad_norm": 0.41280050630518345,
1471
+ "learning_rate": 8.442991698521983e-05,
1472
+ "loss": 0.18274156570434572,
1473
+ "step": 5225
1474
+ },
1475
+ {
1476
+ "epoch": 2.3006793776024543,
1477
+ "grad_norm": 0.5448823180733036,
1478
+ "learning_rate": 8.353583876872973e-05,
1479
+ "loss": 0.2126680374145508,
1480
+ "step": 5250
1481
+ },
1482
+ {
1483
+ "epoch": 2.31163708086785,
1484
+ "grad_norm": 0.39029761062234003,
1485
+ "learning_rate": 8.26431113117422e-05,
1486
+ "loss": 0.17433416366577148,
1487
+ "step": 5275
1488
+ },
1489
+ {
1490
+ "epoch": 2.3225947841332455,
1491
+ "grad_norm": 0.5190303850276005,
1492
+ "learning_rate": 8.175180785577126e-05,
1493
+ "loss": 0.18076852798461915,
1494
+ "step": 5300
1495
+ },
1496
+ {
1497
+ "epoch": 2.333552487398641,
1498
+ "grad_norm": 0.7482891566791909,
1499
+ "learning_rate": 8.086200152550245e-05,
1500
+ "loss": 0.18866779327392577,
1501
+ "step": 5325
1502
+ },
1503
+ {
1504
+ "epoch": 2.3445101906640367,
1505
+ "grad_norm": 0.7997774036170018,
1506
+ "learning_rate": 7.997376532279353e-05,
1507
+ "loss": 0.21518733978271484,
1508
+ "step": 5350
1509
+ },
1510
+ {
1511
+ "epoch": 2.3554678939294322,
1512
+ "grad_norm": 0.40611285671427333,
1513
+ "learning_rate": 7.908717212068516e-05,
1514
+ "loss": 0.18596004486083983,
1515
+ "step": 5375
1516
+ },
1517
+ {
1518
+ "epoch": 2.366425597194828,
1519
+ "grad_norm": 0.5001178592867455,
1520
+ "learning_rate": 7.820229465742233e-05,
1521
+ "loss": 0.17369129180908202,
1522
+ "step": 5400
1523
+ },
1524
+ {
1525
+ "epoch": 2.3773833004602234,
1526
+ "grad_norm": 0.44206195396632475,
1527
+ "learning_rate": 7.731920553048664e-05,
1528
+ "loss": 0.17895523071289063,
1529
+ "step": 5425
1530
+ },
1531
+ {
1532
+ "epoch": 2.388341003725619,
1533
+ "grad_norm": 0.438105736567722,
1534
+ "learning_rate": 7.643797719064025e-05,
1535
+ "loss": 0.1888243293762207,
1536
+ "step": 5450
1537
+ },
1538
+ {
1539
+ "epoch": 2.3992987069910146,
1540
+ "grad_norm": 0.751123609103379,
1541
+ "learning_rate": 7.555868193598188e-05,
1542
+ "loss": 0.22261222839355468,
1543
+ "step": 5475
1544
+ },
1545
+ {
1546
+ "epoch": 2.41025641025641,
1547
+ "grad_norm": 0.38209582613354354,
1548
+ "learning_rate": 7.468139190601522e-05,
1549
+ "loss": 0.22064062118530273,
1550
+ "step": 5500
1551
+ },
1552
+ {
1553
+ "epoch": 2.4212141135218057,
1554
+ "grad_norm": 0.367712009346715,
1555
+ "learning_rate": 7.380617907573069e-05,
1556
+ "loss": 0.1783095932006836,
1557
+ "step": 5525
1558
+ },
1559
+ {
1560
+ "epoch": 2.4321718167872013,
1561
+ "grad_norm": 0.4986161008330237,
1562
+ "learning_rate": 7.293311524969996e-05,
1563
+ "loss": 0.1941888427734375,
1564
+ "step": 5550
1565
+ },
1566
+ {
1567
+ "epoch": 2.443129520052597,
1568
+ "grad_norm": 0.4896068761776909,
1569
+ "learning_rate": 7.206227205618539e-05,
1570
+ "loss": 0.21169797897338868,
1571
+ "step": 5575
1572
+ },
1573
+ {
1574
+ "epoch": 2.4540872233179924,
1575
+ "grad_norm": 0.38617190954847214,
1576
+ "learning_rate": 7.119372094126324e-05,
1577
+ "loss": 0.21524496078491212,
1578
+ "step": 5600
1579
+ },
1580
+ {
1581
+ "epoch": 2.465044926583388,
1582
+ "grad_norm": 0.4265355504283047,
1583
+ "learning_rate": 7.03275331629621e-05,
1584
+ "loss": 0.19470691680908203,
1585
+ "step": 5625
1586
+ },
1587
+ {
1588
+ "epoch": 2.4760026298487836,
1589
+ "grad_norm": 0.3946204507602001,
1590
+ "learning_rate": 6.946377978541672e-05,
1591
+ "loss": 0.17049610137939453,
1592
+ "step": 5650
1593
+ },
1594
+ {
1595
+ "epoch": 2.486960333114179,
1596
+ "grad_norm": 0.37752529397719053,
1597
+ "learning_rate": 6.860253167303782e-05,
1598
+ "loss": 0.18190874099731447,
1599
+ "step": 5675
1600
+ },
1601
+ {
1602
+ "epoch": 2.4979180363795748,
1603
+ "grad_norm": 0.08608989309293166,
1604
+ "learning_rate": 6.774385948469798e-05,
1605
+ "loss": 0.17841957092285157,
1606
+ "step": 5700
1607
+ },
1608
+ {
1609
+ "epoch": 2.5088757396449703,
1610
+ "grad_norm": 0.22563363737773465,
1611
+ "learning_rate": 6.688783366793487e-05,
1612
+ "loss": 0.18140106201171874,
1613
+ "step": 5725
1614
+ },
1615
+ {
1616
+ "epoch": 2.519833442910366,
1617
+ "grad_norm": 0.36334007682627234,
1618
+ "learning_rate": 6.603452445317141e-05,
1619
+ "loss": 0.20584403991699218,
1620
+ "step": 5750
1621
+ },
1622
+ {
1623
+ "epoch": 2.5307911461757615,
1624
+ "grad_norm": 0.5326637941553573,
1625
+ "learning_rate": 6.518400184795399e-05,
1626
+ "loss": 0.18029726028442383,
1627
+ "step": 5775
1628
+ },
1629
+ {
1630
+ "epoch": 2.541748849441157,
1631
+ "grad_norm": 0.6623342855081067,
1632
+ "learning_rate": 6.433633563120873e-05,
1633
+ "loss": 0.2009827423095703,
1634
+ "step": 5800
1635
+ },
1636
+ {
1637
+ "epoch": 2.5527065527065527,
1638
+ "grad_norm": 0.47515403185012606,
1639
+ "learning_rate": 6.349159534751686e-05,
1640
+ "loss": 0.19584007263183595,
1641
+ "step": 5825
1642
+ },
1643
+ {
1644
+ "epoch": 2.5636642559719482,
1645
+ "grad_norm": 0.7770078049833565,
1646
+ "learning_rate": 6.264985030140889e-05,
1647
+ "loss": 0.17622970581054687,
1648
+ "step": 5850
1649
+ },
1650
+ {
1651
+ "epoch": 2.574621959237344,
1652
+ "grad_norm": 0.3173062014548844,
1653
+ "learning_rate": 6.18111695516789e-05,
1654
+ "loss": 0.16865333557128906,
1655
+ "step": 5875
1656
+ },
1657
+ {
1658
+ "epoch": 2.5855796625027394,
1659
+ "grad_norm": 0.5045863359740529,
1660
+ "learning_rate": 6.097562190571871e-05,
1661
+ "loss": 0.18796072006225586,
1662
+ "step": 5900
1663
+ },
1664
+ {
1665
+ "epoch": 2.596537365768135,
1666
+ "grad_norm": 0.3801300693170537,
1667
+ "learning_rate": 6.0143275913872685e-05,
1668
+ "loss": 0.1898968505859375,
1669
+ "step": 5925
1670
+ },
1671
+ {
1672
+ "epoch": 2.6074950690335306,
1673
+ "grad_norm": 0.6268892328040334,
1674
+ "learning_rate": 5.9314199863813814e-05,
1675
+ "loss": 0.17133827209472657,
1676
+ "step": 5950
1677
+ },
1678
+ {
1679
+ "epoch": 2.618452772298926,
1680
+ "grad_norm": 0.4344103574651637,
1681
+ "learning_rate": 5.848846177494113e-05,
1682
+ "loss": 0.16486854553222657,
1683
+ "step": 5975
1684
+ },
1685
+ {
1686
+ "epoch": 2.6294104755643217,
1687
+ "grad_norm": 0.43174106801547035,
1688
+ "learning_rate": 5.766612939279936e-05,
1689
+ "loss": 0.18146709442138673,
1690
+ "step": 6000
1691
+ },
1692
+ {
1693
+ "epoch": 2.6403681788297173,
1694
+ "grad_norm": 0.8320871030708143,
1695
+ "learning_rate": 5.6847270183520704e-05,
1696
+ "loss": 0.1793173599243164,
1697
+ "step": 6025
1698
+ },
1699
+ {
1700
+ "epoch": 2.651325882095113,
1701
+ "grad_norm": 0.6969900218332219,
1702
+ "learning_rate": 5.603195132829004e-05,
1703
+ "loss": 0.1941357421875,
1704
+ "step": 6050
1705
+ },
1706
+ {
1707
+ "epoch": 2.6622835853605085,
1708
+ "grad_norm": 0.5786431019167166,
1709
+ "learning_rate": 5.52202397178329e-05,
1710
+ "loss": 0.18954509735107422,
1711
+ "step": 6075
1712
+ },
1713
+ {
1714
+ "epoch": 2.673241288625904,
1715
+ "grad_norm": 0.5843830848252451,
1716
+ "learning_rate": 5.441220194692791e-05,
1717
+ "loss": 0.17464656829833985,
1718
+ "step": 6100
1719
+ },
1720
+ {
1721
+ "epoch": 2.6841989918912996,
1722
+ "grad_norm": 0.3232102699066598,
1723
+ "learning_rate": 5.360790430894287e-05,
1724
+ "loss": 0.1684918975830078,
1725
+ "step": 6125
1726
+ },
1727
+ {
1728
+ "epoch": 2.695156695156695,
1729
+ "grad_norm": 0.6443713085572776,
1730
+ "learning_rate": 5.2807412790396236e-05,
1731
+ "loss": 0.1757213592529297,
1732
+ "step": 6150
1733
+ },
1734
+ {
1735
+ "epoch": 2.706114398422091,
1736
+ "grad_norm": 0.18177662418436313,
1737
+ "learning_rate": 5.2010793065543106e-05,
1738
+ "loss": 0.16545526504516603,
1739
+ "step": 6175
1740
+ },
1741
+ {
1742
+ "epoch": 2.7170721016874864,
1743
+ "grad_norm": 0.5210754933601423,
1744
+ "learning_rate": 5.121811049098728e-05,
1745
+ "loss": 0.19662631988525392,
1746
+ "step": 6200
1747
+ },
1748
+ {
1749
+ "epoch": 2.728029804952882,
1750
+ "grad_norm": 0.585218121092206,
1751
+ "learning_rate": 5.0429430100319374e-05,
1752
+ "loss": 0.172868709564209,
1753
+ "step": 6225
1754
+ },
1755
+ {
1756
+ "epoch": 2.7389875082182775,
1757
+ "grad_norm": 0.5818397863464598,
1758
+ "learning_rate": 4.964481659878104e-05,
1759
+ "loss": 0.21251907348632812,
1760
+ "step": 6250
1761
+ },
1762
+ {
1763
+ "epoch": 2.749945211483673,
1764
+ "grad_norm": 0.5736086489916201,
1765
+ "learning_rate": 4.8864334357956685e-05,
1766
+ "loss": 0.1800657653808594,
1767
+ "step": 6275
1768
+ },
1769
+ {
1770
+ "epoch": 2.7609029147490687,
1771
+ "grad_norm": 0.5398473637763418,
1772
+ "learning_rate": 4.8088047410492e-05,
1773
+ "loss": 0.17316413879394532,
1774
+ "step": 6300
1775
+ },
1776
+ {
1777
+ "epoch": 2.7718606180144643,
1778
+ "grad_norm": 0.4882500455280308,
1779
+ "learning_rate": 4.7316019444840675e-05,
1780
+ "loss": 0.17947908401489257,
1781
+ "step": 6325
1782
+ },
1783
+ {
1784
+ "epoch": 2.78281832127986,
1785
+ "grad_norm": 0.5173728299684417,
1786
+ "learning_rate": 4.65483138000394e-05,
1787
+ "loss": 0.18379810333251953,
1788
+ "step": 6350
1789
+ },
1790
+ {
1791
+ "epoch": 2.7937760245452554,
1792
+ "grad_norm": 0.2833415056055466,
1793
+ "learning_rate": 4.5784993460511075e-05,
1794
+ "loss": 0.1703580856323242,
1795
+ "step": 6375
1796
+ },
1797
+ {
1798
+ "epoch": 2.804733727810651,
1799
+ "grad_norm": 0.41885716839100023,
1800
+ "learning_rate": 4.502612105089772e-05,
1801
+ "loss": 0.16782974243164062,
1802
+ "step": 6400
1803
+ },
1804
+ {
1805
+ "epoch": 2.8156914310760466,
1806
+ "grad_norm": 0.5808133864295705,
1807
+ "learning_rate": 4.42717588309223e-05,
1808
+ "loss": 0.1972628974914551,
1809
+ "step": 6425
1810
+ },
1811
+ {
1812
+ "epoch": 2.826649134341442,
1813
+ "grad_norm": 0.6332897360024736,
1814
+ "learning_rate": 4.352196869028113e-05,
1815
+ "loss": 0.16635608673095703,
1816
+ "step": 6450
1817
+ },
1818
+ {
1819
+ "epoch": 2.8376068376068377,
1820
+ "grad_norm": 0.5334112612301344,
1821
+ "learning_rate": 4.277681214356591e-05,
1822
+ "loss": 0.1516483783721924,
1823
+ "step": 6475
1824
+ },
1825
+ {
1826
+ "epoch": 2.8485645408722333,
1827
+ "grad_norm": 0.4253163458685073,
1828
+ "learning_rate": 4.203635032521727e-05,
1829
+ "loss": 0.15661946296691895,
1830
+ "step": 6500
1831
+ }
1832
+ ],
1833
+ "logging_steps": 25,
1834
+ "max_steps": 9128,
1835
+ "num_input_tokens_seen": 0,
1836
+ "num_train_epochs": 4,
1837
+ "save_steps": 500,
1838
+ "stateful_callbacks": {
1839
+ "TrainerControl": {
1840
+ "args": {
1841
+ "should_epoch_stop": false,
1842
+ "should_evaluate": false,
1843
+ "should_log": false,
1844
+ "should_save": true,
1845
+ "should_training_stop": false
1846
+ },
1847
+ "attributes": {}
1848
+ }
1849
+ },
1850
+ "total_flos": 308809376858112.0,
1851
+ "train_batch_size": 1,
1852
+ "trial_name": null,
1853
+ "trial_params": null
1854
+ }