Skip to content

Commit

Permalink
Add model aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
ppinchuk committed Nov 21, 2024
1 parent 2e3cb1e commit d6fe843
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion elm/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,10 @@ class ApiBase(ABC):

TOKENIZER_ALIASES = {'gpt-35-turbo': 'gpt-3.5-turbo',
'gpt-4-32k': 'gpt-4-32k-0314',
'llmev-gpt-4-32k': 'gpt-4-32k-0314'
'llmev-gpt-4-32k': 'gpt-4-32k-0314',
'wetosa-gpt-4': 'gpt-4',
'wetosa-gpt-4-standard': 'gpt-4',
'wetosa-gpt-4o': 'gpt-4o',
}
"""Optional mappings for unusual Azure names to tiktoken/openai names."""

Expand Down

0 comments on commit d6fe843

Please sign in to comment.