add warning on leaderboard's last update
#49
by loubnabnl HF Staff - opened
Files changed (2)
- app.py+6-39
- src/text_content.py+19-1
129 unmodified lines130131132133134135136111 unmodified lines248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291129 unmodified lines"""<div style="text-align: center;"><h1> ⭐ Big <span style='color: #e6b800;'>Code</span> Models <span style='color: #e6b800;'>Leaderboard</span></h1></div>\<br>\<p>Inspired from the <a href="https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard">🤗 Open LLM Leaderboard</a> and <a href="https://huggingface.co/spaces/optimum/llm-perf-leaderboard">🤗 Open LLM-Perf Leaderboard 🏋️</a>, we compare performance of base multilingual code generation models on <a href="https://huggingface.co/datasets/openai_humaneval">HumanEval</a> benchmark and <a href="https://huggingface.co/datasets/nuprl/MultiPL-E">MultiPL-E</a>. We also measure throughput and provide\information about the models. We only compare open pre-trained multilingual code models, that people can start from as base models for their trainings.</p>""",elem_classes="markdown-text",)111 unmodified lineswith gr.TabItem("📝 About", id=2):gr.Markdown(ABOUT_TEXT, elem_classes="markdown-text")with gr.TabItem("Submit results 🚀", id=3):gr.Markdown(SUBMISSION_TEXT)gr.Markdown("## 📤 Submit your model here:", elem_classes="markdown-text")with gr.Column():with gr.Row():model_name = gr.Textbox(label="Model name")revision_name = gr.Textbox(label="revision", placeholder="main")with gr.Row():precision = gr.Dropdown(choices=["float16","bfloat16","8bit","4bit",],label="Precision",multiselect=False,value="float16",interactive=True,)model_type = gr.Dropdown(choices=["🟢 base", "🔶 instruction-tuned"],label="Model type",multiselect=False,value=None,interactive=True,)submit_button = gr.Button("Submit Eval")submission_result = gr.Markdown()submit_button.click(add_new_eval,inputs=[model_name, revision_name, precision, model_type],outputs=[submission_result],)gr.Markdown(SUBMISSION_TEXT_2)demo.launch()129 unmodified lines130131132133134135136137138139140111 unmodified lines252253254255256257258129 unmodified lines"""<div style="text-align: center;"><h1> ⭐ Big <span style='color: #e6b800;'>Code</span> Models <span style='color: #e6b800;'>Leaderboard</span></h1></div>\<br>\<p>Inspired from the <a href="https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard">🤗 Open LLM Leaderboard</a> and <a href="https://huggingface.co/spaces/optimum/llm-perf-leaderboard">🤗 Open LLM-Perf Leaderboard 🏋️</a>, we compare performance of base multilingual code generation models on <a href="https://huggingface.co/datasets/openai_humaneval">HumanEval</a> benchmark and <a href="https://huggingface.co/datasets/nuprl/MultiPL-E">MultiPL-E</a>. We also measure throughput and provide\information about the models. We only compare open pre-trained multilingual code models, that people can start from as base models for their trainings.</p><div style='background-color: yellow; text-align: center; padding: 10px;'><p>Warning: This leaderboard was last updated as of the release of <a href="https://huggingface.co/deepseek-ai/deepseek-coder-33b-instruct">DeepSeek-Coder-33b-instruct</a> on November 2023. Stronger models might have been released since, check the <b>Submit Results</b> section for submitting new evaluation results for the leaderboard.You can also check other code leaderboards like <a href="https://huggingface.co/spaces/mike-ravkine/can-ai-code-results">Can-AI-Code</a> .</p></div>""",elem_classes="markdown-text",)111 unmodified lineswith gr.TabItem("📝 About", id=2):gr.Markdown(ABOUT_TEXT, elem_classes="markdown-text")with gr.TabItem("Submit results 🚀", id=3):gr.Markdown(SUBMISSION_TEXT_3)demo.launch()
73 unmodified lines7475767773 unmodified lines- Put your json file with grouped scores from the guide, in addition generations folder and metrics folder in it.The title of the PR should be `[Community Submission] Model: org/model, Username: your_username`, replace org and model with those corresponding to the model you evaluated."""73 unmodified lines7475767778798081828384858687888990919293949573 unmodified lines- Put your json file with grouped scores from the guide, in addition generations folder and metrics folder in it.The title of the PR should be `[Community Submission] Model: org/model, Username: your_username`, replace org and model with those corresponding to the model you evaluated."""SUBMISSION_TEXT_3 = """<h1 align="center">How to submit models/results to the leaderboard?</h1>We welcome the community to submit evaluation results of new models. These results will be added as non-verified, the authors are however required to upload their generations in case other members want to check.### 1 - Running EvaluationWe wrote a detailed guide for running the evaluation on your model. You can find the it in [bigcode-evaluation-harness/leaderboard](https://github.com/bigcode-project/bigcode-evaluation-harness/tree/main/leaderboard). This will generate a json file summarizing the results, in addition to the raw generations and metric files.### 2- Submitting Results 🚀To submit your results create a **Pull Request** in the community tab to add them under the [folder](https://huggingface.co/spaces/bigcode/multilingual-code-evals/tree/main/community_results) `community_results` in this repository:- Create a folder called `ORG_MODELNAME_USERNAME` for example `bigcode_starcoder_loubnabnl`- Put your json file with grouped scores from the guide, in addition generations folder and metrics folder in it.The title of the PR should be `[Community Submission] Model: org/model, Username: your_username`, replace org and model with those corresponding to the model you evaluated."""
app.py+6-39
src/text_content.py+19-1