Oskar van der Wal commited on
Commit
5b02a9a
Β·
unverified Β·
1 Parent(s): 1b9dc66

Reformat description

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -73,7 +73,11 @@ iface = gradio.Interface(
73
  inputs=bias_type_sel,
74
  outputs="html",
75
  title="Detecting stereotypes in the GPT-2 language model using CrowS-Pairs",
76
- description="GPT-2 is a language model which can score how likely it is that some text is a valid English sentence: not only grammaticality, but also the 'meaning' of the sentence is part of this score. CrowS-Pairs is a dataset with pairs of more and less stereotypical examples for different social groups (e.g., gender and nationality stereotypes). We sample 10 random pairs from CrowS-Pairs and show whether the stereotypical example gets a higher score ('is more likely'). If GPT-2 systematically prefers the stereotypical examples, it has probably learnt these stereotypes from the training data.",
 
 
 
 
77
  )
78
 
79
  iface.launch()
 
73
  inputs=bias_type_sel,
74
  outputs="html",
75
  title="Detecting stereotypes in the GPT-2 language model using CrowS-Pairs",
76
+ description="""GPT-2 is a language model which can score how likely it is that some text is a valid English sentence: not only grammaticality, but also the 'meaning' of the sentence is part of this score.
77
+ CrowS-Pairs is a dataset with pairs of more and less stereotypical examples for different social groups (e.g., gender and nationality stereotypes).
78
+ We sample 10 random pairs from CrowS-Pairs and show whether the stereotypical example gets a higher score ('is more likely').
79
+ If GPT-2 systematically prefers the stereotypical examples, it has probably learnt these stereotypes from the training data.
80
+ """,
81
  )
82
 
83
  iface.launch()