ajitrajasekharan commited on
Commit
05dc564
·
1 Parent(s): 04e7168

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -93,7 +93,7 @@ st.markdown("""
93
  <small style="font-size:18px; color: #8f8f8f">Pretrained models can be used as is, <a href="https://ajitrajasekharan.github.io/2021/01/02/my-first-post.html"><b>with no fine tuning to perform tasks like NER</b> ideally if both fill-mask and CLS predictions are good, or minimally if fill-mask predictions are adequate</small></a>
94
  """, unsafe_allow_html=True)
95
  #st.write("https://ajitrajasekharan.github.io/2021/01/02/my-first-post.html")
96
- st.write("Model prediction for a masked position as well as the neighborhood of CLS vector for input text can be examined")
97
  st.write(" - To examine model prediction for a position, enter the token [MASK] or <mask>")
98
  st.write(" - To examine just the [CLS] vector, enter a word/phrase or sentence. Example: eGFR or EGFR or non small cell lung cancer")
99
  top_k = st.sidebar.slider("Select how many predictions do you need", 1 , 50, 20) #some times it is possible to have less words
 
93
  <small style="font-size:18px; color: #8f8f8f">Pretrained models can be used as is, <a href="https://ajitrajasekharan.github.io/2021/01/02/my-first-post.html"><b>with no fine tuning to perform tasks like NER</b> ideally if both fill-mask and CLS predictions are good, or minimally if fill-mask predictions are adequate</small></a>
94
  """, unsafe_allow_html=True)
95
  #st.write("https://ajitrajasekharan.github.io/2021/01/02/my-first-post.html")
96
+ st.write("This app can be used to examine both model prediction for a masked position as well as the neighborhood of CLS vector")
97
  st.write(" - To examine model prediction for a position, enter the token [MASK] or <mask>")
98
  st.write(" - To examine just the [CLS] vector, enter a word/phrase or sentence. Example: eGFR or EGFR or non small cell lung cancer")
99
  top_k = st.sidebar.slider("Select how many predictions do you need", 1 , 50, 20) #some times it is possible to have less words