Husnain commited on
Commit
a3e1368
1 Parent(s): c66e20f

♻️ [Refactor] Rename gpt-3.5 to gpt-3.5-turbo

Browse files
Files changed (1) hide show
  1. networks/openai_streamer.py +4 -2
networks/openai_streamer.py CHANGED
@@ -149,8 +149,10 @@ class OpenaiRequester:
149
 
150
  class OpenaiStreamer:
151
  def __init__(self):
152
- self.model = "gpt-3.5"
153
- self.message_outputer = OpenaiStreamOutputer(owned_by="openai", model="gpt-3.5")
 
 
154
  self.tokenizer = tiktoken.get_encoding("cl100k_base")
155
 
156
  def count_tokens(self, messages: list[dict]):
 
149
 
150
  class OpenaiStreamer:
151
  def __init__(self):
152
+ self.model = "gpt-3.5-turbo"
153
+ self.message_outputer = OpenaiStreamOutputer(
154
+ owned_by="openai", model="gpt-3.5-turbo"
155
+ )
156
  self.tokenizer = tiktoken.get_encoding("cl100k_base")
157
 
158
  def count_tokens(self, messages: list[dict]):