Spaces:
Runtime error
Runtime error
Commit
Β·
38b6dfd
1
Parent(s):
621caef
Update pages/0_π_Dictionary_(Search).py
Browse files
pages/0_π_Dictionary_(Search).py
CHANGED
@@ -37,14 +37,14 @@ for key in st.session_state.keys():
|
|
37 |
title = st.sidebar.text_input(":red[Search secret languages given the following word (case-sensitive)]", default_title)
|
38 |
|
39 |
st.sidebar.markdown("### Frequent FAQs")
|
40 |
-
st.sidebar.markdown("1. *Why are words in sentences represented as subwords instead of complete words
|
41 |
"The tokenizer we use is from DistillBERT, ALBERT, or Roberta, which tokenizes sentences into subwords. As a result, the word being replaced in a sentence might be a subword (such as `rain` in `rainforest`).",
|
42 |
unsafe_allow_html=True)
|
43 |
-
st.sidebar.markdown("2. *This page is extremely slow. I cannot stand it
|
44 |
"We apologize for the slow performance of this page. We are actively working on improving it. "
|
45 |
"As loading the data can take time and some words have many secret languages, this page needs time to process.",
|
46 |
unsafe_allow_html=True)
|
47 |
-
st.sidebar.markdown("3. *Why are some examples significantly different from the original sentences?* <br>"
|
48 |
"As per our submission, we replace 1 to 10 subwords in a sentence. However, for some examples with short lengths, the entire sentence may be altered. We are conducting experiments and will present examples where only a single subword has been changed.",
|
49 |
unsafe_allow_html=True)
|
50 |
|
|
|
37 |
title = st.sidebar.text_input(":red[Search secret languages given the following word (case-sensitive)]", default_title)
|
38 |
|
39 |
st.sidebar.markdown("### Frequent FAQs")
|
40 |
+
st.sidebar.markdown("1. :blue[*Why are words in sentences represented as subwords instead of complete words?*]<br>"
|
41 |
"The tokenizer we use is from DistillBERT, ALBERT, or Roberta, which tokenizes sentences into subwords. As a result, the word being replaced in a sentence might be a subword (such as `rain` in `rainforest`).",
|
42 |
unsafe_allow_html=True)
|
43 |
+
st.sidebar.markdown("2. :blue[*This page is extremely slow. I cannot stand it.*]<br>"
|
44 |
"We apologize for the slow performance of this page. We are actively working on improving it. "
|
45 |
"As loading the data can take time and some words have many secret languages, this page needs time to process.",
|
46 |
unsafe_allow_html=True)
|
47 |
+
st.sidebar.markdown("3. :blue[*Why are some examples significantly different from the original sentences?*] <br>"
|
48 |
"As per our submission, we replace 1 to 10 subwords in a sentence. However, for some examples with short lengths, the entire sentence may be altered. We are conducting experiments and will present examples where only a single subword has been changed.",
|
49 |
unsafe_allow_html=True)
|
50 |
|