ar08 commited on
Commit
4a123f1
1 Parent(s): 76a3cec

Update shortGPT/gpt/gpt_utils.py

Browse files
Files changed (1) hide show
  1. shortGPT/gpt/gpt_utils.py +1 -1
shortGPT/gpt/gpt_utils.py CHANGED
@@ -8,7 +8,7 @@ import tiktoken
8
  import yaml
9
 
10
  from shortGPT.config.api_db import ApiKeyManager
11
- openai.base_url="https://api.pawan.krd/cosmosrp/v1"
12
 
13
  def num_tokens_from_messages(texts, model="gpt-3.5-turbo-0301"):
14
  """Returns the number of tokens used by a list of messages."""
 
8
  import yaml
9
 
10
  from shortGPT.config.api_db import ApiKeyManager
11
+ openai.base_url="https://api-inference.huggingface.co/models/mistralai/Mistral-Nemo-Instruct-2407/v1/chat/"
12
 
13
  def num_tokens_from_messages(texts, model="gpt-3.5-turbo-0301"):
14
  """Returns the number of tokens used by a list of messages."""