make blog
Browse files
app.py
CHANGED
@@ -54,8 +54,8 @@ with open(f"datasets/{selected_model.lower()}.txt", "r") as f:
|
|
54 |
st.markdown(text)
|
55 |
|
56 |
# Model architecture
|
57 |
-
st.title("Model architecture")
|
58 |
-
st.
|
59 |
st.header("Model")
|
60 |
selected_model = st.selectbox(
|
61 |
"Select a code generation model", MODELS
|
@@ -67,13 +67,13 @@ if model == "InCoder":
|
|
67 |
st.image(INCODER_IMG, caption="Figure 1: InCoder training", width=700)
|
68 |
|
69 |
# Model evaluation
|
70 |
-
st.title("Code models evaluation π")
|
71 |
with open("evaluation/intro.txt", "r") as f:
|
72 |
intro = f.read()
|
73 |
st.markdown(intro)
|
74 |
|
75 |
# Code generation
|
76 |
-
st.title("Code generation π»")
|
77 |
st.header("Models")
|
78 |
selected_models = st.sidebar.multiselect(
|
79 |
"Select code generation models to compare", MODELS, default=["CodeParrot"]
|
|
|
54 |
st.markdown(text)
|
55 |
|
56 |
# Model architecture
|
57 |
+
st.title("2 - Model architecture")
|
58 |
+
st.markdown("Most code generation models use GPT style architectures trained on code. Some use encoder-decoder architectures such as AlphaCode.")
|
59 |
st.header("Model")
|
60 |
selected_model = st.selectbox(
|
61 |
"Select a code generation model", MODELS
|
|
|
67 |
st.image(INCODER_IMG, caption="Figure 1: InCoder training", width=700)
|
68 |
|
69 |
# Model evaluation
|
70 |
+
st.title("3 - Code models evaluation π")
|
71 |
with open("evaluation/intro.txt", "r") as f:
|
72 |
intro = f.read()
|
73 |
st.markdown(intro)
|
74 |
|
75 |
# Code generation
|
76 |
+
st.title("4 - Code generation π»")
|
77 |
st.header("Models")
|
78 |
selected_models = st.sidebar.multiselect(
|
79 |
"Select code generation models to compare", MODELS, default=["CodeParrot"]
|