Spaces:
Runtime error
Runtime error
Update awesome_chat.py
Browse files- awesome_chat.py +2 -2
awesome_chat.py
CHANGED
@@ -67,11 +67,11 @@ if log_file:
|
|
67 |
logger.addHandler(filehandler)
|
68 |
|
69 |
LLM = config["model"]
|
70 |
-
use_completion =
|
71 |
|
72 |
# consistent: wrong msra model name
|
73 |
LLM_encoding = LLM
|
74 |
-
if LLM == "gpt-3.5-turbo
|
75 |
LLM_encoding = "text-davinci-003"
|
76 |
task_parsing_highlight_ids = get_token_ids_for_task_parsing(LLM_encoding)
|
77 |
choose_model_highlight_ids = get_token_ids_for_choose_model(LLM_encoding)
|
|
|
67 |
logger.addHandler(filehandler)
|
68 |
|
69 |
LLM = config["model"]
|
70 |
+
use_completion = False
|
71 |
|
72 |
# consistent: wrong msra model name
|
73 |
LLM_encoding = LLM
|
74 |
+
if LLM == "gpt-3.5-turbo":
|
75 |
LLM_encoding = "text-davinci-003"
|
76 |
task_parsing_highlight_ids = get_token_ids_for_task_parsing(LLM_encoding)
|
77 |
choose_model_highlight_ids = get_token_ids_for_choose_model(LLM_encoding)
|