Skip to content
This repository has been archived by the owner on Jun 23, 2024. It is now read-only.

Commit

Permalink
updated away from text-davinci-003 model which has been deprecated to…
Browse files Browse the repository at this point in the history
… gpt-3.5-turbo-instruct
  • Loading branch information
JustinGOSSES committed Apr 20, 2024
1 parent 97d7b9b commit be698bc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/agentA.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
# llm = OpenAI(model_name="text-davinci-003",temperature=0.2,max_tokens=4096) ### does not work as too short!
#llm = OpenAI(model_name="gpt-3.5-turbo",temperature=0.2) ### can only do chat? not text?
# llm = OpenAI(model_name="gpt-4",temperature=0.2, max_tokens=4096)
llm = OpenAI(model_name="text-davinci-003",temperature=0.0)
llm = OpenAI(model_name="gpt-3.5-turbo-instruct",temperature=0.0)

llm_math_chain = LLMMathChain(llm=llm, verbose=True)

Expand Down
2 changes: 1 addition & 1 deletion src/agentB.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
# llm = OpenAI(model_name="text-davinci-003",temperature=0.2,max_tokens=4096) ### does not work as too short!
#llm = OpenAI(model_name="gpt-3.5-turbo",temperature=0.2) ### can only do chat? not text?
# llm = OpenAI(model_name="gpt-4",temperature=0.2, max_tokens=4096)
llm = OpenAI(model_name="text-davinci-003",temperature=0.0)
llm = OpenAI(model_name="gpt-3.5-turbo-instruct",temperature=0.0)

llm_math_chain = LLMMathChain(llm=llm, verbose=True)

Expand Down
2 changes: 1 addition & 1 deletion src/agentC.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
# llm = OpenAI(model_name="text-davinci-003",temperature=0.2,max_tokens=4096) ### does not work as too short!
#llm = OpenAI(model_name="gpt-3.5-turbo",temperature=0.2) ### can only do chat? not text?
# llm = OpenAI(model_name="gpt-4",temperature=0.2, max_tokens=4096)
llm = OpenAI(model_name="text-davinci-003",temperature=0.0)
llm = OpenAI(model_name="gpt-3.5-turbo-instruct",temperature=0.0)

llm_math_chain = LLMMathChain(llm=llm, verbose=True)

Expand Down
2 changes: 1 addition & 1 deletion src/agentD.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
# llm = OpenAI(model_name="text-davinci-003",temperature=0.2,max_tokens=4096) ### does not work as too short!
#llm = OpenAI(model_name="gpt-3.5-turbo",temperature=0.2) ### can only do chat? not text?
# llm = OpenAI(model_name="gpt-4",temperature=0.2, max_tokens=4096)
llm = OpenAI(model_name="text-davinci-003",temperature=0.0)
llm = OpenAI(model_name="gpt-3.5-turbo-instruct",temperature=0.0)

llm_math_chain = LLMMathChain(llm=llm, verbose=True)

Expand Down

0 comments on commit be698bc

Please sign in to comment.