Skip to content

Commit

Permalink
Update rank_gpt.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnweiwei authored Jan 20, 2024
1 parent b925e41 commit 44167f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rank_gpt.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,8 @@ def create_permutation_instruction(item=None, rank_start=0, rank_end=100, model_
def run_llm(messages, api_key=None, model_name="gpt-3.5-turbo"):
if 'gpt' in model_name:
Client = OpenaiClient
# elif 'claude' in model_name:
# Client = ClaudeClient
elif 'claude' in model_name:
Client = ClaudeClient
else:
Client = LitellmClient

Expand Down

0 comments on commit 44167f8

Please sign in to comment.