Update app.py
Browse files
app.py
CHANGED
@@ -151,7 +151,9 @@ body {
|
|
151 |
background-color: #f4f6fa;
|
152 |
color: #333333;
|
153 |
font-family: 'Roboto', sans-serif;
|
154 |
-
line-height: 1.
|
|
|
|
|
155 |
}
|
156 |
|
157 |
a {
|
@@ -164,15 +166,40 @@ a:hover {
|
|
164 |
text-decoration: underline;
|
165 |
}
|
166 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
167 |
button {
|
168 |
background-color: #64b5f6;
|
169 |
color: #ffffff;
|
170 |
border: none;
|
171 |
border-radius: 6px;
|
172 |
-
padding:
|
173 |
-
font-size:
|
|
|
174 |
cursor: pointer;
|
175 |
transition: background-color 0.3s ease;
|
|
|
176 |
}
|
177 |
|
178 |
button:hover {
|
@@ -180,23 +207,34 @@ button:hover {
|
|
180 |
}
|
181 |
|
182 |
.input-row, .tab-content {
|
183 |
-
background-color: #
|
184 |
border-radius: 10px;
|
185 |
-
padding:
|
186 |
-
box-shadow: 0
|
|
|
187 |
}
|
188 |
|
189 |
.tabs {
|
190 |
-
margin-bottom:
|
191 |
-
gap:
|
|
|
|
|
192 |
}
|
193 |
|
194 |
.tab-item {
|
195 |
background-color: #ece2f4;
|
196 |
-
border-radius:
|
197 |
-
padding:
|
|
|
|
|
198 |
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
199 |
-
margin:
|
|
|
|
|
|
|
|
|
|
|
|
|
200 |
}
|
201 |
|
202 |
.dataframe {
|
@@ -204,9 +242,10 @@ button:hover {
|
|
204 |
background-color: #ffffff;
|
205 |
border: 1px solid #e5eff2;
|
206 |
border-radius: 10px;
|
207 |
-
padding:
|
208 |
-
font-size:
|
209 |
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
|
|
|
210 |
}
|
211 |
|
212 |
.center-content {
|
@@ -215,20 +254,41 @@ button:hover {
|
|
215 |
align-items: center;
|
216 |
justify-content: center;
|
217 |
text-align: center;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
218 |
margin: 20px 0;
|
219 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
220 |
|
221 |
|
222 |
with gr.Blocks(css=css_tech_theme) as demo:
|
223 |
-
|
224 |
<div class="center-content">
|
225 |
-
<h1>π Mobile-MMLU Benchmark Competition</h1>
|
226 |
-
<h3>π Welcome to the Competition Overview</h3>
|
227 |
-
<img src="https://via.placeholder.com/
|
228 |
-
<p>
|
229 |
-
|
|
|
|
|
|
|
230 |
</div>
|
231 |
-
|
|
|
232 |
|
233 |
with gr.Tabs(elem_id="tabs"):
|
234 |
with gr.TabItem("π Overview", elem_classes=["tab-item"]):
|
@@ -250,7 +310,6 @@ Mobile-MMLU is a benchmark designed to test the capabilities of LLMs optimized f
|
|
250 |
Submissions are scored on accuracy.
|
251 |
5. **Leaderboard**
|
252 |
View real-time rankings on the leaderboard.
|
253 |
-
|
254 |
---
|
255 |
### Competition Tasks
|
256 |
Participants must:
|
|
|
151 |
background-color: #f4f6fa;
|
152 |
color: #333333;
|
153 |
font-family: 'Roboto', sans-serif;
|
154 |
+
line-height: 1.8;
|
155 |
+
margin: 0;
|
156 |
+
padding: 0;
|
157 |
}
|
158 |
|
159 |
a {
|
|
|
166 |
text-decoration: underline;
|
167 |
}
|
168 |
|
169 |
+
h1, h2, h3 {
|
170 |
+
color: #4a148c;
|
171 |
+
margin: 15px 0;
|
172 |
+
text-align: center;
|
173 |
+
}
|
174 |
+
|
175 |
+
h1 {
|
176 |
+
font-size: 2.5rem;
|
177 |
+
}
|
178 |
+
|
179 |
+
h2 {
|
180 |
+
font-size: 2rem;
|
181 |
+
}
|
182 |
+
|
183 |
+
h3 {
|
184 |
+
font-size: 1.8rem;
|
185 |
+
}
|
186 |
+
|
187 |
+
p, li {
|
188 |
+
font-size: 1.2rem;
|
189 |
+
margin: 10px 0;
|
190 |
+
}
|
191 |
+
|
192 |
button {
|
193 |
background-color: #64b5f6;
|
194 |
color: #ffffff;
|
195 |
border: none;
|
196 |
border-radius: 6px;
|
197 |
+
padding: 12px 18px;
|
198 |
+
font-size: 16px;
|
199 |
+
font-weight: bold;
|
200 |
cursor: pointer;
|
201 |
transition: background-color 0.3s ease;
|
202 |
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
203 |
}
|
204 |
|
205 |
button:hover {
|
|
|
207 |
}
|
208 |
|
209 |
.input-row, .tab-content {
|
210 |
+
background-color: #ffffff;
|
211 |
border-radius: 10px;
|
212 |
+
padding: 25px;
|
213 |
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
214 |
+
margin: 15px 0;
|
215 |
}
|
216 |
|
217 |
.tabs {
|
218 |
+
margin-bottom: 20px;
|
219 |
+
gap: 15px;
|
220 |
+
display: flex;
|
221 |
+
justify-content: center;
|
222 |
}
|
223 |
|
224 |
.tab-item {
|
225 |
background-color: #ece2f4;
|
226 |
+
border-radius: 8px;
|
227 |
+
padding: 12px 20px;
|
228 |
+
font-size: 1.1rem;
|
229 |
+
font-weight: bold;
|
230 |
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
231 |
+
margin: 8px;
|
232 |
+
text-align: center;
|
233 |
+
transition: background-color 0.3s ease;
|
234 |
+
}
|
235 |
+
|
236 |
+
.tab-item:hover {
|
237 |
+
background-color: #d1c4e9;
|
238 |
}
|
239 |
|
240 |
.dataframe {
|
|
|
242 |
background-color: #ffffff;
|
243 |
border: 1px solid #e5eff2;
|
244 |
border-radius: 10px;
|
245 |
+
padding: 20px;
|
246 |
+
font-size: 1rem;
|
247 |
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
|
248 |
+
margin: 15px 0;
|
249 |
}
|
250 |
|
251 |
.center-content {
|
|
|
254 |
align-items: center;
|
255 |
justify-content: center;
|
256 |
text-align: center;
|
257 |
+
margin: 30px 0;
|
258 |
+
padding: 20px;
|
259 |
+
}
|
260 |
+
|
261 |
+
.center-content img {
|
262 |
+
max-width: 200px;
|
263 |
+
height: auto;
|
264 |
margin: 20px 0;
|
265 |
+
border-radius: 10px;
|
266 |
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
267 |
+
}
|
268 |
+
|
269 |
+
hr {
|
270 |
+
border: 1px solid #ddd;
|
271 |
+
width: 80%;
|
272 |
+
margin: 30px auto;
|
273 |
+
}
|
274 |
+
"""
|
275 |
+
|
276 |
|
277 |
|
278 |
with gr.Blocks(css=css_tech_theme) as demo:
|
279 |
+
gr.Markdown("""
|
280 |
<div class="center-content">
|
281 |
+
<h1>π Mobile-MMLU Benchmark Competition</h1>
|
282 |
+
<h3>π Welcome to the Competition Overview</h3>
|
283 |
+
<img src="https://via.placeholder.com/200" alt="Competition Logo">
|
284 |
+
<p>
|
285 |
+
Welcome to the Mobile-MMLU Benchmark Competition. Here you can submit your predictions,
|
286 |
+
view the leaderboard, and track your performance!
|
287 |
+
</p>
|
288 |
+
<hr>
|
289 |
</div>
|
290 |
+
""", elem_id="center-content")
|
291 |
+
|
292 |
|
293 |
with gr.Tabs(elem_id="tabs"):
|
294 |
with gr.TabItem("π Overview", elem_classes=["tab-item"]):
|
|
|
310 |
Submissions are scored on accuracy.
|
311 |
5. **Leaderboard**
|
312 |
View real-time rankings on the leaderboard.
|
|
|
313 |
---
|
314 |
### Competition Tasks
|
315 |
Participants must:
|