anonauthors commited on
Commit
5b31999
β€’
1 Parent(s): 7ef98e6

Update SecretLanguage.py

Browse files
Files changed (1) hide show
  1. SecretLanguage.py +10 -10
SecretLanguage.py CHANGED
@@ -8,40 +8,40 @@ from PIL import Image
8
  search_image = Image.open('images/Search.png')
9
  browse_image = Image.open('images/Browse.png')
10
 
11
- st.set_page_config(layout="wide", page_title="ACl23 Secret Language")
12
  # with open('style.css') as f:
13
  # st.markdown(f'<style>{f.read()}</style>', unsafe_allow_html=True)
14
 
15
 
16
- st.title("ACl23 Submission: Finding Secret Language")
17
 
18
  # st.sidebar.markdown("### This webpage serves as an illustration of an anonymous submission to ACL 23.")
19
 
20
- st.markdown('This webpage serves as an illustration of an anonymous submission to ACL 23.')
21
 
22
  st.markdown('### What do we offer?')
23
- st.markdown('We present two methods for searching secret languages. The first method is a direct search using the "πŸ“™ Dictionary (Search)" option, while the second method, "πŸ“– Dictionary (Browse)", involves browsing words that have already been found to have secret languages. '
24
- 'Additionally, we also provide a tool for finding secret languages in a black-box manner.')
25
 
26
  st.markdown('#### How to use "πŸ“™ Dictionary (Search)"?')
27
- st.markdown("By entering a word you want to find its secret languages, you can view the word's meaning in English, all the secret languages we have discovered for it, and examples. "
28
  "The hyperlinks sometimes might not work due to the contained property of Hugging Face space.")
29
  st.image(search_image, caption='A search example.')
30
 
31
  st.markdown('#### How to use "πŸ“– Dictionary (Browse)"?')
32
- st.markdown('By clicking on the initial letters (A to Z, numbers, and other characters), you can view all the words whose secret languages have been discovered and that begin with the selected initial. By clicking on a word, you will be redirected to the search page, where you can view information about the selected word.')
33
  st.image(browse_image, caption='A browse example.')
34
 
35
  st.markdown('#### How to use "😈 Blackbox Attack"?')
36
- st.markdown('We offer two methods for generating replacement words using secret languages. Detailed introduction can be found on the page.')
37
 
38
  st.markdown('### Models and datasets.')
39
 
40
- st.markdown('On this page, we present the secret languages we discovered using ALBERT, DistillBERT, and Roberta models and data from the GLUE (MRPC), SNLI, and SQuAD datasets.')
41
 
42
  st.markdown('### Ethics statements for this webpage')
43
 
44
- st.markdown('We present secret languages discovered using our proposed algorithms. '
45
  'Our experiments utilize publicly available NLP and cross-modal datasets and leverage pre-trained language models. '
46
  'We do not believe that our code or methods raise concerns regarding discrimination, bias, fairness, inappropriate potential applications, impact, privacy and security issues, legal compliance, research integrity, or research practice. '
47
  'However, the datasets and models used may contain biases that may be inherited by the models we use.')
 
8
  search_image = Image.open('images/Search.png')
9
  browse_image = Image.open('images/Browse.png')
10
 
11
+ st.set_page_config(layout="wide", page_title="AAAI24 Obstinate Adversarial Examples")
12
  # with open('style.css') as f:
13
  # st.markdown(f'<style>{f.read()}</style>', unsafe_allow_html=True)
14
 
15
 
16
+ st.title("Finding Obstinate Adversarial Examples")
17
 
18
  # st.sidebar.markdown("### This webpage serves as an illustration of an anonymous submission to ACL 23.")
19
 
20
+ st.markdown('This webpage serves as an illustration of an anonymous submission to AAAI 24.')
21
 
22
  st.markdown('### What do we offer?')
23
+ st.markdown('We present two methods for searching Obstinate Adversarial Examples. The first method is a direct search using the "πŸ“™ Dictionary (Search)" option, while the second method, "πŸ“– Dictionary (Browse)", involves browsing words that have already been found to have obstinate substitutions. '
24
+ 'Additionally, we also provide a tool for finding Obstinate Adversarial Examples in a black-box manner.')
25
 
26
  st.markdown('#### How to use "πŸ“™ Dictionary (Search)"?')
27
+ st.markdown("By entering a word you want to find its obstinate substitutions, you can view the word's meaning in English, all the obstinate substitutions we have discovered for it, and examples. "
28
  "The hyperlinks sometimes might not work due to the contained property of Hugging Face space.")
29
  st.image(search_image, caption='A search example.')
30
 
31
  st.markdown('#### How to use "πŸ“– Dictionary (Browse)"?')
32
+ st.markdown('By clicking on the initial letters (A to Z, numbers, and other characters), you can view all the words whose obstinate substitutions have been discovered and that begin with the selected initial. By clicking on a word, you will be redirected to the search page, where you can view information about the selected word.')
33
  st.image(browse_image, caption='A browse example.')
34
 
35
  st.markdown('#### How to use "😈 Blackbox Attack"?')
36
+ st.markdown('We offer two methods for generating replacement words using obstinate substitutions. Detailed introduction can be found on the page.')
37
 
38
  st.markdown('### Models and datasets.')
39
 
40
+ st.markdown('On this page, we present the obstinate substitutions we discovered using ALBERT, DistillBERT, and Roberta models and data from the GLUE (MRPC), SNLI, and SQuAD datasets.')
41
 
42
  st.markdown('### Ethics statements for this webpage')
43
 
44
+ st.markdown('We present obstinate substitutions discovered using our proposed algorithms. '
45
  'Our experiments utilize publicly available NLP and cross-modal datasets and leverage pre-trained language models. '
46
  'We do not believe that our code or methods raise concerns regarding discrimination, bias, fairness, inappropriate potential applications, impact, privacy and security issues, legal compliance, research integrity, or research practice. '
47
  'However, the datasets and models used may contain biases that may be inherited by the models we use.')