loubnabnl HF staff commited on
Commit
816c983
1 Parent(s): 650da67
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -60,12 +60,10 @@ read_markdown(f"datasets/{selected_model.lower()}.txt")
60
 
61
  # Model architecture
62
  st.subheader("2 - Model architecture")
63
- st.markdown("Most code generation models use GPT style architectures trained on code. Some use encoder-decoder architectures such as AlphaCode.")
64
  col1, col2= st.columns([1,2])
65
  with col1:
66
- selected_model = st.selectbox(
67
- "Select a code generation model", MODELS, key=2
68
- )
69
  read_markdown(f"architectures/{selected_model.lower()}.txt")
70
  if selected_model == "InCoder":
71
  st.image(INCODER_IMG, caption="Figure 1: InCoder training", width=700)
 
60
 
61
  # Model architecture
62
  st.subheader("2 - Model architecture")
63
+ read_markdown("architectures/intro.txt")
64
  col1, col2= st.columns([1,2])
65
  with col1:
66
+ selected_model = st.selectbox("", MODELS, key=2, index=-1)
 
 
67
  read_markdown(f"architectures/{selected_model.lower()}.txt")
68
  if selected_model == "InCoder":
69
  st.image(INCODER_IMG, caption="Figure 1: InCoder training", width=700)