@@ -66,8 +66,14 @@ def label(cls) -> str:
66
66
def config (cls ) -> Dict [str , Any ]:
67
67
return {
68
68
"type" : "line" ,
69
- "data" : {"datasets" : [{"data" : []}]},
70
- "options" : {"parsing" : {"xAxisKey" : "step" , "yAxisKey" : "loss" }},
69
+ "data" : {"datasets" : [{"label" : "Supervised Loss" , "data" : []}]},
70
+ "options" : {
71
+ "parsing" : {"xAxisKey" : "step" , "yAxisKey" : "loss" },
72
+ "scales" : {
73
+ "x" : {"title" : {"text" : "Step" }},
74
+ "y" : {"title" : {"text" : "Loss" }},
75
+ },
76
+ },
71
77
}
72
78
73
79
@@ -84,8 +90,14 @@ def label(cls) -> str:
84
90
def config (cls ) -> Dict [str , Any ]:
85
91
return {
86
92
"type" : "line" ,
87
- "data" : {"datasets" : [{"data" : []}]},
88
- "options" : {"parsing" : {"xAxisKey" : "step" , "yAxisKey" : "score" }},
93
+ "data" : {"datasets" : [{"label" : "Reinforced Score" , "data" : []}]},
94
+ "options" : {
95
+ "parsing" : {"xAxisKey" : "step" , "yAxisKey" : "score" },
96
+ "scales" : {
97
+ "x" : {"title" : {"text" : "Step" }},
98
+ "y" : {"title" : {"text" : "Score" }},
99
+ },
100
+ },
89
101
}
90
102
91
103
@@ -102,8 +114,14 @@ def label(cls) -> str:
102
114
def config (cls ) -> Dict [str , Any ]:
103
115
return {
104
116
"type" : "line" ,
105
- "data" : {"datasets" : [{"data" : []}]},
106
- "options" : {"parsing" : {"xAxisKey" : "step" , "yAxisKey" : "loss" }},
117
+ "data" : {"datasets" : [{"label" : "Reward Model Loss" , "data" : []}]},
118
+ "options" : {
119
+ "parsing" : {"xAxisKey" : "step" , "yAxisKey" : "loss" },
120
+ "scales" : {
121
+ "x" : {"title" : {"text" : "Step" }},
122
+ "y" : {"title" : {"text" : "Loss" }},
123
+ },
124
+ },
107
125
}
108
126
109
127
@@ -120,8 +138,16 @@ def label(cls) -> str:
120
138
def config (cls ) -> Dict [str , Any ]:
121
139
return {
122
140
"type" : "line" ,
123
- "data" : {"datasets" : [{"data" : []}]},
124
- "options" : {"parsing" : {"xAxisKey" : "step" , "yAxisKey" : "score" }},
141
+ "data" : {
142
+ "datasets" : [{"label" : "Reward Model Score" , "data" : []}]
143
+ },
144
+ "options" : {
145
+ "parsing" : {"xAxisKey" : "step" , "yAxisKey" : "score" },
146
+ "scales" : {
147
+ "x" : {"title" : {"text" : "Step" }},
148
+ "y" : {"title" : {"text" : "Score" }},
149
+ },
150
+ },
125
151
}
126
152
127
153
0 commit comments