experimenting changes
Browse files- ChitChat/common/utils.py +1 -1
ChitChat/common/utils.py
CHANGED
@@ -58,7 +58,7 @@ def conversation(user, userInput):
|
|
58 |
def complexChat(userInput):
|
59 |
input_ids = large_tokenizer(userInput, return_tensors="pt").input_ids
|
60 |
outputs = large_model.generate(input_ids,
|
61 |
-
min_length =
|
62 |
max_new_tokens = 600,
|
63 |
length_penalty = 1.6,
|
64 |
num_beams = 4,
|
|
|
58 |
def complexChat(userInput):
|
59 |
input_ids = large_tokenizer(userInput, return_tensors="pt").input_ids
|
60 |
outputs = large_model.generate(input_ids,
|
61 |
+
min_length = 10,
|
62 |
max_new_tokens = 600,
|
63 |
length_penalty = 1.6,
|
64 |
num_beams = 4,
|