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

Commit

Permalink
feat: 100k model support for Claude
Browse files Browse the repository at this point in the history
  • Loading branch information
ciuzaak committed May 12, 2023
1 parent 131b817 commit 9ed5990
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions utils/claude_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,19 @@ def reset(self):
self.prompt = ''

def change_model(self, model):
valid_models = {'claude-v1', 'claude-v1.0', 'claude-v1.2',
'claude-v1.3', 'claude-instant-v1', 'claude-instant-v1.0'}
valid_models = {
'claude-v1',
'claude-v1-100k',
'claude-instant-v1',
'claude-instant-v1-100k',
'claude-v1.3',
'claude-v1.3-100k',
'claude-v1.2',
'claude-v1.0',
'claude-instant-v1.1',
'claude-instant-v1.1-100k',
'claude-instant-v1.0'
}
if model in valid_models:
self.model = model
return True
Expand Down

0 comments on commit 9ed5990

Please sign in to comment.