Spaces:
Sleeping
Sleeping
Shane Weisz
commited on
Commit
·
81d9860
1
Parent(s):
851ef29
Add link to MLMI page
Browse files
app.py
CHANGED
@@ -6,13 +6,13 @@ DECODING_CONFIG = {"max_new_tokens": 100, "no_repeat_ngram_size": 3, "num_beams"
|
|
6 |
|
7 |
TITLE = "Automating Counterspeech in Dialogue Systems"
|
8 |
DESCRIPTION = """
|
9 |
-
Built by [Shane Weisz](https://shaneweisz.com) for my
|
10 |
<br/>
|
11 |
The project is supervised by [Dr Marcus Tomalin](https://www.crassh.cam.ac.uk/about/people/marcus-tomalin/) and forms part of the [Giving Voice to Digital Democracies](https://www.crassh.cam.ac.uk/research/projects-centres/giving-voice-to-digital-democracies/) project on the _The Social Impact of Artificially Intelligent Communications Technology_.
|
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
|
16 |
ARTICLE = f"""
|
17 |
**Model:** {DEFAULT_MODEL}<br>
|
18 |
**Decoding parameters:** {DECODING_CONFIG}
|
|
|
6 |
|
7 |
TITLE = "Automating Counterspeech in Dialogue Systems"
|
8 |
DESCRIPTION = """
|
9 |
+
Built by [Shane Weisz](https://shaneweisz.com) for my research project on _Automating Counterspeech in Dialogue Systems_ as part of the [MPhil in Machine Learning and Machine Intelligence at Cambridge University](https://www.mlmi.eng.cam.ac.uk/).
|
10 |
<br/>
|
11 |
The project is supervised by [Dr Marcus Tomalin](https://www.crassh.cam.ac.uk/about/people/marcus-tomalin/) and forms part of the [Giving Voice to Digital Democracies](https://www.crassh.cam.ac.uk/research/projects-centres/giving-voice-to-digital-democracies/) project on the _The Social Impact of Artificially Intelligent Communications Technology_.
|
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 and see if the system generates an appropriate counterspeech response."""
|
16 |
ARTICLE = f"""
|
17 |
**Model:** {DEFAULT_MODEL}<br>
|
18 |
**Decoding parameters:** {DECODING_CONFIG}
|