Spaces:
Sleeping
Sleeping
Shane Weisz
commited on
Commit
·
46cb133
1
Parent(s):
ae062a4
Change to minimum response length of 20
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ from response_generation import ResponseGenerator
|
|
2 |
import gradio as gr
|
3 |
|
4 |
DEFAULT_MODEL = "shaneweisz/DialoGPT-finetuned-multiCONAN"
|
5 |
-
DECODING_CONFIG = {"max_new_tokens": 100, "no_repeat_ngram_size": 3, "num_beams": 10}
|
6 |
|
7 |
TITLE = "Automating Counterspeech in Dialogue Systems"
|
8 |
DESCRIPTION = """
|
|
|
2 |
import gradio as gr
|
3 |
|
4 |
DEFAULT_MODEL = "shaneweisz/DialoGPT-finetuned-multiCONAN"
|
5 |
+
DECODING_CONFIG = {"max_new_tokens": 100, "min_new_tokens": 20, "no_repeat_ngram_size": 3, "num_beams": 10}
|
6 |
|
7 |
TITLE = "Automating Counterspeech in Dialogue Systems"
|
8 |
DESCRIPTION = """
|