Commit
·
98e1db4
1
Parent(s):
d1e9c58
Update app.py
Browse files
app.py
CHANGED
@@ -120,7 +120,7 @@ def main():
|
|
120 |
|
121 |
st.markdown("<h3 style='text-align: center;'>Compare pretrained BERT models qualitatively</h3>", unsafe_allow_html=True)
|
122 |
st.markdown("""
|
123 |
-
<small style="font-size:20px; color: #2f2f2f"><br/>Why compare pretrained models <b>before fine-tuning</b>?</small><br/><small style="font-size:16px; color: #7f7f7f">Pretrained BERT models can be used as is, <a href="https://huggingface.co/spaces/ajitrajasekharan/self-supervised-ner"><b>with no fine tuning to perform tasks like NER.</b><br/></a>This can be done ideally by using both fill-mask and CLS predictions, or just using fill-mask predictions if CLS predictions are poor</small>
|
124 |
""", unsafe_allow_html=True)
|
125 |
|
126 |
st.write("This app can be used to examine both fill-mask predictions as well as the neighborhood of CLS vector")
|
@@ -167,7 +167,7 @@ def main():
|
|
167 |
st.stop()
|
168 |
|
169 |
st.markdown("""
|
170 |
-
<small style="font-size:16px; color: #7f7f7f" text-align: center>Link to post <a href="https://ajitrajasekharan.github.io/2021/01/02/my-first-post.html">describing this approach</a></small>
|
171 |
""", unsafe_allow_html=True)
|
172 |
|
173 |
|
|
|
120 |
|
121 |
st.markdown("<h3 style='text-align: center;'>Compare pretrained BERT models qualitatively</h3>", unsafe_allow_html=True)
|
122 |
st.markdown("""
|
123 |
+
<small style="font-size:20px; color: #2f2f2f"><br/>Why compare pretrained models <b>before fine-tuning</b>?</small><br/><small style="font-size:16px; color: #7f7f7f">Pretrained BERT models can be used as is, <a href="https://huggingface.co/spaces/ajitrajasekharan/self-supervised-ner" target='_blank'><b>with no fine tuning to perform tasks like NER.</b><br/></a>This can be done ideally by using both fill-mask and CLS predictions, or just using fill-mask predictions if CLS predictions are poor</small>
|
124 |
""", unsafe_allow_html=True)
|
125 |
|
126 |
st.write("This app can be used to examine both fill-mask predictions as well as the neighborhood of CLS vector")
|
|
|
167 |
st.stop()
|
168 |
|
169 |
st.markdown("""
|
170 |
+
<small style="font-size:16px; color: #7f7f7f"; text-align: center>Link to post <a href="https://ajitrajasekharan.github.io/2021/01/02/my-first-post.html">describing this approach</a></small>
|
171 |
""", unsafe_allow_html=True)
|
172 |
|
173 |
|