Spaces:
Runtime error
Runtime error
Update awesome_chat.py
Browse files- awesome_chat.py +2 -2
awesome_chat.py
CHANGED
@@ -71,8 +71,8 @@ use_completion = config["use_completion"]
|
|
71 |
|
72 |
# consistent: wrong msra model name
|
73 |
LLM_encoding = LLM
|
74 |
-
if LLM == "text-
|
75 |
-
LLM_encoding = "text-
|
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)
|
78 |
|
|
|
71 |
|
72 |
# consistent: wrong msra model name
|
73 |
LLM_encoding = LLM
|
74 |
+
if LLM == "text-davinci-003":
|
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)
|
78 |
|