Shane Weisz commited on
Commit
a9b8087
1 Parent(s): 5e6bf87

Add disclaimer note about inappropriate responses

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -12,10 +12,14 @@ The project is supervised by [Dr Marcus Tomalin](https://www.crassh.cam.ac.uk/ab
12
  <br/>
13
  The system is built by fine-tuning [DialoGPT](https://huggingface.co/microsoft/DialoGPT-medium#:~:text=DialoGPT%20is%20a%20SOTA%20large,single%2Dturn%20conversation%20Turing%20test) on the [MultiCONAN](https://github.com/marcoguerini/CONAN#Multitarget-CONAN) dataset, a dataset comprising a set of hate speech inputs and appropriate counterspeech responses produced under the supervision of trained NGO operators from [Stop Hate UK](https://www.stophateuk.org/).
14
  <br/><br/>
15
- **Try it out**: Enter some hate speech (or select one of the provided examples) and see if the system generates an appropriate counterspeech response."""
 
 
16
  ARTICLE = f"""
17
  **Model:** {DEFAULT_MODEL}<br>
18
  **Decoding parameters:** {DECODING_CONFIG}
 
 
19
  """
20
 
21
  model = ResponseGenerator(DEFAULT_MODEL, DECODING_CONFIG)
 
12
  <br/>
13
  The system is built by fine-tuning [DialoGPT](https://huggingface.co/microsoft/DialoGPT-medium#:~:text=DialoGPT%20is%20a%20SOTA%20large,single%2Dturn%20conversation%20Turing%20test) on the [MultiCONAN](https://github.com/marcoguerini/CONAN#Multitarget-CONAN) dataset, a dataset comprising a set of hate speech inputs and appropriate counterspeech responses produced under the supervision of trained NGO operators from [Stop Hate UK](https://www.stophateuk.org/).
14
  <br/><br/>
15
+ **Try it out**: Enter some hate speech (or select one of the provided examples) and see if the system generates an appropriate counterspeech response.
16
+ """
17
+
18
  ARTICLE = f"""
19
  **Model:** {DEFAULT_MODEL}<br>
20
  **Decoding parameters:** {DECODING_CONFIG}
21
+ <br/><br/>
22
+ _Please note: The system is still in development and can sometimes be prone to generating inappropriate responses. Any views or responses expressed by the system should not be construed as reflective of the views or values of the developer._
23
  """
24
 
25
  model = ResponseGenerator(DEFAULT_MODEL, DECODING_CONFIG)