From c0f03b9f70a598f58726556876020202df9d0f3b Mon Sep 17 00:00:00 2001 From: Vadim Zhamkov Date: Thu, 14 Nov 2024 17:32:50 +0100 Subject: [PATCH] Add more models to Nebius provider. Add more models to models list --- gui/src/pages/AddNewModel/configs/models.ts | 93 ++++++++++++++++++- .../pages/AddNewModel/configs/providers.ts | 17 +++- 2 files changed, 108 insertions(+), 2 deletions(-) diff --git a/gui/src/pages/AddNewModel/configs/models.ts b/gui/src/pages/AddNewModel/configs/models.ts index 67c3547a7..01293f87a 100644 --- a/gui/src/pages/AddNewModel/configs/models.ts +++ b/gui/src/pages/AddNewModel/configs/models.ts @@ -169,6 +169,19 @@ export const models: { [key: string]: ModelPackage } = { providerOptions: ["deepseek"], isOpenSource: false, }, + deepseekCoder2Lite: { + title: "DeepSeek Coder 2 Lite", + description: + "DeepSeek-Coder-V2-Lite-Instruct is an open-source code language model that supports 338 programming languages and offers a context length of up to 128,000 tokens.", + params: { + title: "DeepSeek-2-lite", + model: "deepseek-2-lite", + contextLength: 128_000, + }, + icon: "deepseek.png", + providerOptions: ["nebius"], + isOpenSource: true, + }, mistralOs: { title: "Mistral", description: @@ -359,6 +372,18 @@ export const models: { [key: string]: ModelPackage } = { providerOptions: ["groq"], isOpenSource: false, }, + llama3170bNemotron: { + title: "Llama 3.1 Nemotron 70B", + description: + "Llama-3.1-Nemotron-70B-Instruct is a large language model customized by NVIDIA to improve the helpfulness of LLM generated responses to user queries.", + params: { + title: "Llama 3.1 Nemotron 70B", + model: "llama3.1-70b-nemotron", + contextLength: 128_000, + }, + icon: "meta.png", + isOpenSource: true, + }, llama321bChat: { title: "Llama3.2 1b Chat", description: @@ -628,6 +653,18 @@ export const models: { [key: string]: ModelPackage } = { providerOptions: ["mistral", "askSage"], isOpenSource: false, }, + mistralNemo: { + title: "Mistral Nemo", + description: + "Mistral Nemo Instruct is a large language model developed by Mistral AI and NVIDIA.", + params: { + title: "Mistral Nemo", + model: "mistral-nemo", + contextLength: 128_000, + }, + icon: "mistral.png", + isOpenSource: true, + }, geminiPro: { title: "Gemini Pro", description: "A highly capable model created by Google DeepMind", @@ -979,7 +1016,6 @@ export const models: { [key: string]: ModelPackage } = { providerOptions: ["vertexai"], isOpenSource: false, }, - gpt4gov: { title: "GPT-4 gov", description: @@ -1048,6 +1084,61 @@ export const models: { [key: string]: ModelPackage } = { providerOptions: ["xAI"], isOpenSource: false, }, + gemma2_2b: { + title: "Gemma 2 2b IT", + description: + "Gemma 2 IT instruction-tuned language model developed by Google, designed for tasks like question answering, summarization, and reasoning.", + params: { + title: "Gemma 2 2b IT", + model: "gemma2-2b-it", + contextLength: 4000, + }, + isOpenSource: true, + }, + gemma2_9b: { + title: "Gemma 2 9b IT", + description: + "Gemma 2 IT instruction-tuned language model developed by Google, designed for tasks like question answering, summarization, and reasoning.", + params: { + title: "Gemma 2 9b IT", + model: "gemma2-9b-it", + contextLength: 8000, + }, + isOpenSource: true, + }, + phi3mini: { + title: "Microsoft Phi 3 mini", + description: + "Phi 3 Mini is a 3.8-billion-parameter language model developed by Microsoft.", + params: { + title: "Microsoft Phi 3 mini", + model: "phi-3-mini", + contextLength: 4000, + }, + isOpenSource: true, + }, + phi3medium: { + title: "Microsoft Phi 3 medium", + description: + "Phi 3 Medium is a 14-billion-parameter language model developed by Microsoft.", + params: { + title: "Microsoft Phi 3 medium", + model: "phi-3-medium", + contextLength: 128_000, + }, + isOpenSource: true, + }, + olmo7b: { + title: "OLMo 7b", + description: + "OLMo 7B Instruct HF is a 7-billion-parameter language model by the Allen Institute for AI, fine-tuned for question answering tasks.", + params: { + title: "OLMo 7b", + model: "olmo-7b", + contextLength: 2000, + }, + isOpenSource: true, + }, AUTODETECT: { title: "Autodetect", description: diff --git a/gui/src/pages/AddNewModel/configs/providers.ts b/gui/src/pages/AddNewModel/configs/providers.ts index 39613731b..5047fbad0 100644 --- a/gui/src/pages/AddNewModel/configs/providers.ts +++ b/gui/src/pages/AddNewModel/configs/providers.ts @@ -744,7 +744,22 @@ To get started, [register](https://dataplatform.cloud.ibm.com/registration/stepo ], icon: "nebius.png", tags: [ModelProviderTags.RequiresApiKey, ModelProviderTags.OpenSource], - packages: [models.llama31Chat, models.Qwen2Coder, models.mistralOs], + packages: [ + models.llama318bChat, + models.llama3170bChat, + models.llama31405bChat, + models.llama3170bNemotron, + models.mistral8x7b, + models.mistral8x22b, + models.mistralNemo, + models.phi3mini, + models.phi3medium, + models.gemma2_2b, + models.gemma2_9b, + models.Qwen2Coder, + models.deepseekCoder2Lite, + models.olmo7b, + ], apiKeyUrl: "https://studio.nebius.ai/settings/api-keys", }, };