Oskar van der Wal commited on
Commit
2ac0d4a
1 Parent(s): af2cd43

Expand the description of the demo

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -70,8 +70,8 @@ iface = gradio.Interface(
70
  fn=run,
71
  inputs=bias_type_sel,
72
  outputs="html",
73
- title="CROW-S bias",
74
- description="Shows which of each pair from 10 random samples in the CROW-S dataset gpt-2 thinks is more likely",
75
  )
76
 
77
  iface.launch()
 
70
  fn=run,
71
  inputs=bias_type_sel,
72
  outputs="html",
73
+ title="Detecting stereotypes in the GPT-2 language model using CrowS-Pairs",
74
+ 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.",
75
  )
76
 
77
  iface.launch()