Update app.py
Browse files
app.py
CHANGED
@@ -341,11 +341,6 @@ with gr.Blocks(css=css_tech_theme) as demo:
|
|
341 |
Test and optimize mobile-compatible Large Language Models (LLMs) with cutting-edge benchmarks
|
342 |
across 80 fields and over 16,000 questions.
|
343 |
</p>
|
344 |
-
<div class="header-buttons" style="color:#ffffff;>
|
345 |
-
<a href="#overview">Learn More</a>
|
346 |
-
<a href="#submission">Submit Predictions</a>
|
347 |
-
<a href="#leaderboard">View Leaderboard</a>
|
348 |
-
</div>
|
349 |
</header>
|
350 |
""")
|
351 |
# # Pre-Tabs Section
|
@@ -359,32 +354,33 @@ with gr.Blocks(css=css_tech_theme) as demo:
|
|
359 |
</section>
|
360 |
""")
|
361 |
|
362 |
-
|
363 |
-
|
364 |
-
|
365 |
with gr.Tabs(elem_id="tabs"):
|
|
|
366 |
with gr.TabItem("📖 Overview"):
|
367 |
gr.Markdown("""
|
368 |
-
|
369 |
-
|
370 |
-
|
371 |
-
|
372 |
-
|
373 |
-
|
374 |
-
|
375 |
-
|
376 |
-
|
377 |
-
|
378 |
-
|
379 |
-
|
380 |
-
|
381 |
-
|
382 |
-
|
383 |
-
|
384 |
-
|
385 |
-
""")
|
|
|
386 |
|
387 |
with gr.TabItem("📤 Submission"):
|
|
|
388 |
with gr.Row():
|
389 |
file_input = gr.File(label="Upload Prediction CSV", file_types=[".csv"], interactive=True)
|
390 |
model_name_input = gr.Textbox(label="Model Name", placeholder="Enter your model name")
|
@@ -424,7 +420,32 @@ with gr.Blocks(css=css_tech_theme) as demo:
|
|
424 |
outputs=[leaderboard_table],
|
425 |
)
|
426 |
|
427 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
428 |
|
429 |
demo.launch()
|
430 |
|
@@ -720,8 +741,7 @@ demo.launch()
|
|
720 |
# Follow us on social media or contact us for any queries. Let's shape the future of AI together!
|
721 |
# </p>
|
722 |
# <div class="social-links">
|
723 |
-
# <a href="https://
|
724 |
-
# <a href="https://linkedin.com" target="_blank">LinkedIn</a>
|
725 |
# <a href="https://github.com" target="_blank">GitHub</a>
|
726 |
# </div>
|
727 |
# </footer>
|
|
|
341 |
Test and optimize mobile-compatible Large Language Models (LLMs) with cutting-edge benchmarks
|
342 |
across 80 fields and over 16,000 questions.
|
343 |
</p>
|
|
|
|
|
|
|
|
|
|
|
344 |
</header>
|
345 |
""")
|
346 |
# # Pre-Tabs Section
|
|
|
354 |
</section>
|
355 |
""")
|
356 |
|
357 |
+
# Tabs Section
|
|
|
|
|
358 |
with gr.Tabs(elem_id="tabs"):
|
359 |
+
# Overview Tab
|
360 |
with gr.TabItem("📖 Overview"):
|
361 |
gr.Markdown("""
|
362 |
+
<div class="tabs">
|
363 |
+
<h2>About the Competition</h2>
|
364 |
+
<p>
|
365 |
+
The **Mobile-MMLU Benchmark Competition** is an exciting challenge for mobile-optimized
|
366 |
+
LLMs. Compete to achieve the highest accuracy and contribute to advancements in mobile AI.
|
367 |
+
</p>
|
368 |
+
<h3>How It Works</h3>
|
369 |
+
<ul>
|
370 |
+
<li>1️⃣ <strong>Download the Dataset:</strong> Access the dataset and instructions on our
|
371 |
+
<a href="https://github.com/your-github-repo" target="_blank">GitHub page</a>.</li>
|
372 |
+
<li>2️⃣ <strong>Generate Predictions:</strong> Use your LLM to answer the dataset questions.
|
373 |
+
Format your predictions as a CSV file.</li>
|
374 |
+
<li>3️⃣ <strong>Submit Predictions:</strong> Upload your predictions on this platform.</li>
|
375 |
+
<li>4️⃣ <strong>Evaluation:</strong> Submissions are scored based on accuracy.</li>
|
376 |
+
<li>5️⃣ <strong>Leaderboard:</strong> View real-time rankings on the leaderboard.</li>
|
377 |
+
</ul>
|
378 |
+
</div>
|
379 |
+
""")
|
380 |
+
|
381 |
|
382 |
with gr.TabItem("📤 Submission"):
|
383 |
+
gr.Markdown("<div class='tabs'><h2>Submit Your Predictions</h2></div>")
|
384 |
with gr.Row():
|
385 |
file_input = gr.File(label="Upload Prediction CSV", file_types=[".csv"], interactive=True)
|
386 |
model_name_input = gr.Textbox(label="Model Name", placeholder="Enter your model name")
|
|
|
420 |
outputs=[leaderboard_table],
|
421 |
)
|
422 |
|
423 |
+
# Post-Tabs Section
|
424 |
+
gr.Markdown("""
|
425 |
+
<section class="post-tabs">
|
426 |
+
<h2>Ready to Compete?</h2>
|
427 |
+
<p>
|
428 |
+
Submit your predictions today and make your mark in advancing mobile AI technologies.
|
429 |
+
Show the world what your model can achieve!
|
430 |
+
</p>
|
431 |
+
<a href="#submission">Start Submitting</a>
|
432 |
+
</section>
|
433 |
+
""")
|
434 |
+
|
435 |
+
# Footer Section
|
436 |
+
gr.Markdown("""
|
437 |
+
<footer>
|
438 |
+
<h2>Stay Connected</h2>
|
439 |
+
<p>
|
440 |
+
Follow us on social media or contact us for any queries. Let's shape the future of AI together!
|
441 |
+
</p>
|
442 |
+
<div class="social-links">
|
443 |
+
<a href="https://twitter.com" target="_blank">Twitter</a>
|
444 |
+
<a href="https://linkedin.com" target="_blank">LinkedIn</a>
|
445 |
+
<a href="https://github.com" target="_blank">GitHub</a>
|
446 |
+
</div>
|
447 |
+
</footer>
|
448 |
+
""")
|
449 |
|
450 |
demo.launch()
|
451 |
|
|
|
741 |
# Follow us on social media or contact us for any queries. Let's shape the future of AI together!
|
742 |
# </p>
|
743 |
# <div class="social-links">
|
744 |
+
# <a href="https://website.com" target="_blank">Website</a>
|
|
|
745 |
# <a href="https://github.com" target="_blank">GitHub</a>
|
746 |
# </div>
|
747 |
# </footer>
|