ajitrajasekharan
commited on
Commit
•
a340b6b
1
Parent(s):
0a31bde
Update app.py
Browse files
app.py
CHANGED
@@ -123,6 +123,9 @@ def init_selectbox():
|
|
123 |
|
124 |
def main():
|
125 |
global top_k
|
|
|
|
|
|
|
126 |
st.markdown("<h3 style='text-align: center;'>Qualitative evaluation of any pretrained BERT model</h3>", unsafe_allow_html=True)
|
127 |
st.markdown("""
|
128 |
<small style="font-size:18px; color: #7f7f7f">Pretrained BERT 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></a> <i>ideally if both fill-mask and CLS predictions are good, or minimally if fill-mask predictions are adequate</i></small>
|
|
|
123 |
|
124 |
def main():
|
125 |
global top_k
|
126 |
+
global bert_tokenizer
|
127 |
+
global bert_model
|
128 |
+
|
129 |
st.markdown("<h3 style='text-align: center;'>Qualitative evaluation of any pretrained BERT model</h3>", unsafe_allow_html=True)
|
130 |
st.markdown("""
|
131 |
<small style="font-size:18px; color: #7f7f7f">Pretrained BERT 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></a> <i>ideally if both fill-mask and CLS predictions are good, or minimally if fill-mask predictions are adequate</i></small>
|