Skip to content

Commit

Permalink
Merge pull request #3706 from IqbalLx/chore/update-groq-models
Browse files Browse the repository at this point in the history
chore: remove deprecated Groq models and add new llama3.3
  • Loading branch information
RomneyDa authored Jan 27, 2025
2 parents 5f26284 + 4e184df commit 9a00c1d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions core/llm/llms/Groq.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,16 @@ class Groq extends OpenAI {
maxStopWords: number | undefined = 4;

private static modelConversion: { [key: string]: string } = {
"llama2-70b": "llama2-70b-4096",
"mistral-8x7b": "mixtral-8x7b-32768",
gemma: "gemma-7b-it",
gemma2: "gemma2-9b-it",
"llama3-8b": "llama3-8b-8192",
"llama3-70b": "llama3-70b-8192",
"llama3.1-8b": "llama-3.1-8b-instant",
"llama3.1-70b": "llama-3.1-70b-versatile",
"llama3.1-405b": "llama-3.1-405b-reasoning",
"llama3.2-1b": "llama-3.2-1b-preview",
"llama3.2-3b": "llama-3.2-3b-preview",
"llama3.2-11b": "llama-3.2-11b-vision-preview",
"llama3.2-90b": "llama-3.2-90b-vision-preview",
"llama3.3-70b": "llama-3.3-70b-versatile",
};
protected _convertModelName(model: string): string {
return Groq.modelConversion[model] ?? model;
Expand Down

0 comments on commit 9a00c1d

Please sign in to comment.