Skip to content

Commit

Permalink
OpenRouter: update available model names
Browse files Browse the repository at this point in the history
  • Loading branch information
enricoros committed Oct 10, 2023
1 parent dcd7f65 commit 85e97e9
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions src/modules/llms/vendors/openrouter/OpenRouterSourceSetup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,23 +91,27 @@ const orModelMap: { [id: string]: { name: string; contextWindowSize: number; isO
'openai/gpt-3.5-turbo-16k': { name: 'OpenAI: GPT-3.5 Turbo 16k', contextWindowSize: 16383, isOld: false },
'openai/gpt-4': { name: 'OpenAI: GPT-4', contextWindowSize: 8191, isOld: false },
'openai/gpt-4-32k': { name: 'OpenAI: GPT-4 32k', contextWindowSize: 32767, isOld: false },
'openai/gpt-3.5-turbo-instruct': { name: 'OpenAI: GPT-3.5 Turbo Instruct', contextWindowSize: 4095, isOld: false },
'anthropic/claude-2': { name: 'Anthropic: Claude v2', contextWindowSize: 100000, isOld: false },
'anthropic/claude-instant-v1': { name: 'Anthropic: Claude Instant v1', contextWindowSize: 100000, isOld: false },
'google/palm-2-chat-bison': { name: 'Google: PaLM 2 Bison', contextWindowSize: 8000, isOld: false },
'google/palm-2-codechat-bison': { name: 'Google: PaLM 2 Bison (Code Chat)', contextWindowSize: 8000, isOld: false },
'meta-llama/llama-2-13b-chat': { name: 'Meta: Llama v2 13B Chat (beta)', contextWindowSize: 4096, isOld: false },
'meta-llama/llama-2-70b-chat': { name: 'Meta: Llama v2 70B Chat (beta)', contextWindowSize: 4096, isOld: false },
'meta-llama/codellama-34b-instruct': { name: 'Meta: CodeLlama 34B Instruct (beta)', contextWindowSize: 16000, isOld: false },
'meta-llama/codellama-34b-instruct': { name: 'Meta: CodeLlama 34B Instruct (beta)', contextWindowSize: 8096, isOld: false },
'phind/phind-codellama-34b-v2': { name: 'Phind: Phind CodeLlama 34B v2 (beta)', contextWindowSize: 4096, isOld: false },
'nousresearch/nous-hermes-llama2-13b': { name: 'Nous: Hermes Llama2 13B (beta)', contextWindowSize: 4096, isOld: false },
'gryphe/mythomax-l2-13b': { name: 'MythoMax L2 13B (beta)', contextWindowSize: 4096, isOld: false },
'mancer/weaver': { name: 'Mancer: Weaver 12k (alpha)', contextWindowSize: 8000, isOld: false },
'gryphe/mythomax-l2-13b': { name: 'MythoMax L2 13B (beta)', contextWindowSize: 8192, isOld: false },
'jondurbin/airoboros-l2-70b-2.1': { name: 'Airoboros L2 70B (beta)', contextWindowSize: 4096, isOld: false },
'pygmalionai/mythalion-13b': { name: 'Pygmalion: Mythalion 13B (beta)', contextWindowSize: 6144, isOld: false },
'undi95/remm-slerp-l2-13b': { name: 'ReMM SLERP L2 13B (beta)', contextWindowSize: 6144, isOld: false },
'pygmalionai/mythalion-13b': { name: 'Mythalion 13B (NEW)', contextWindowSize: 2560, isOld: false },
'jondurbin/airoboros-l2-70b': { name: 'Airoboros L2 70B (beta)', contextWindowSize: 4096, isOld: false },
'migtissera/synthia-70b': { name: 'Synthia 70B (beta)', contextWindowSize: 6144, isOld: false },
'mistralai/mistral-7b-instruct': { name: 'Mistral 7B Instruct v0.1 (beta)', contextWindowSize: 4096, isOld: false },
'openai/gpt-3.5-turbo-0301': { name: 'OpenAI: GPT-3.5 Turbo (older v0301)', contextWindowSize: 4095, isOld: true },
'openai/gpt-4-0314': { name: 'OpenAI: GPT-4 (older v0314)', contextWindowSize: 8191, isOld: true },
'openai/gpt-4-32k-0314': { name: 'OpenAI: GPT-4 32k (older v0314)', contextWindowSize: 32767, isOld: true },
'openai/text-davinci-002': { name: 'OpenAI: Davinci (No RL)', contextWindowSize: 4095, isOld: true },
'openai/text-davinci-002': { name: 'OpenAI: Davinci 2', contextWindowSize: 4095, isOld: true },
'anthropic/claude-v1': { name: 'Anthropic: Claude v1', contextWindowSize: 9000, isOld: true },
'anthropic/claude-1.2': { name: 'Anthropic: Claude (older v1)', contextWindowSize: 9000, isOld: true },
'anthropic/claude-instant-v1-100k': { name: 'Anthropic: Claude Instant 100k v1', contextWindowSize: 100000, isOld: true },
Expand Down

0 comments on commit 85e97e9

Please sign in to comment.