qians commited on
Commit
9b2e364
β€’
1 Parent(s): c6f6149

Update lib/helper.py

Browse files

upgrade deprecated model text-davinci-003 to gpt-3.5-turbo-instruct

Files changed (1) hide show
  1. lib/helper.py +1 -1
lib/helper.py CHANGED
@@ -59,7 +59,7 @@ environ['TOKENIZERS_PARALLELISM'] = 'true'
59
  environ['OPENAI_API_BASE'] = st.secrets['OPENAI_API_BASE']
60
 
61
  # query_model_name = "gpt-3.5-turbo-instruct"
62
- query_model_name = "text-davinci-003"
63
  chat_model_name = "gpt-3.5-turbo-16k"
64
 
65
 
 
59
  environ['OPENAI_API_BASE'] = st.secrets['OPENAI_API_BASE']
60
 
61
  # query_model_name = "gpt-3.5-turbo-instruct"
62
+ query_model_name = "gpt-3.5-turbo-instruct"
63
  chat_model_name = "gpt-3.5-turbo-16k"
64
 
65