update table
Browse files
app.py
CHANGED
@@ -10,6 +10,9 @@ GITHUB_CODE = "https://huggingface.co/datasets/lvwerra/github-code"
|
|
10 |
INCODER_IMG = (
|
11 |
"https://huggingface.co/datasets/loubnabnl/repo-images/raw/main/incoder.png"
|
12 |
)
|
|
|
|
|
|
|
13 |
MODELS = ["CodeParrot", "InCoder", "CodeGen", "PolyCoder"]
|
14 |
GENERATION_MODELS = ["CodeParrot", "InCoder"]
|
15 |
|
@@ -72,6 +75,8 @@ if selected_model == "InCoder":
|
|
72 |
# Model evaluation
|
73 |
st.subheader("3 - Code models evaluation")
|
74 |
read_markdown("evaluation/intro.txt")
|
|
|
|
|
75 |
|
76 |
# Code generation
|
77 |
st.subheader("4 - Code generation ✨")
|
|
|
10 |
INCODER_IMG = (
|
11 |
"https://huggingface.co/datasets/loubnabnl/repo-images/raw/main/incoder.png"
|
12 |
)
|
13 |
+
HUMANEVAL_IMG = (
|
14 |
+
"https://huggingface.co/datasets/loubnabnl/repo-images/raw/main/humaneval_scores.png"
|
15 |
+
)
|
16 |
MODELS = ["CodeParrot", "InCoder", "CodeGen", "PolyCoder"]
|
17 |
GENERATION_MODELS = ["CodeParrot", "InCoder"]
|
18 |
|
|
|
75 |
# Model evaluation
|
76 |
st.subheader("3 - Code models evaluation")
|
77 |
read_markdown("evaluation/intro.txt")
|
78 |
+
st.image(INCODER_IMG, caption="Table 1: HumanEval scores", width=700)
|
79 |
+
read_markdown("evaluation/demo_humaneval.txt")
|
80 |
|
81 |
# Code generation
|
82 |
st.subheader("4 - Code generation ✨")
|