make blog
Browse files
app.py
CHANGED
@@ -47,7 +47,7 @@ df = pd.read_csv("utils/data_preview.csv")
|
|
47 |
st.dataframe(df)
|
48 |
st.header("Model")
|
49 |
selected_model = st.selectbox(
|
50 |
-
"Select a code generation model", MODELS
|
51 |
)
|
52 |
with open(f"datasets/{selected_model.lower()}.txt", "r") as f:
|
53 |
text = f.read()
|
@@ -58,7 +58,7 @@ st.title("Model architecture")
|
|
58 |
st.markdow("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
|
62 |
)
|
63 |
with open(f"architectures/{selected_model.lower()}.txt", "r") as f:
|
64 |
text = f.read()
|
|
|
47 |
st.dataframe(df)
|
48 |
st.header("Model")
|
49 |
selected_model = st.selectbox(
|
50 |
+
"Select a code generation model", MODELS
|
51 |
)
|
52 |
with open(f"datasets/{selected_model.lower()}.txt", "r") as f:
|
53 |
text = f.read()
|
|
|
58 |
st.markdow("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
|
62 |
)
|
63 |
with open(f"architectures/{selected_model.lower()}.txt", "r") as f:
|
64 |
text = f.read()
|