Merge pull request #2932 from vadjs/nebius-models

Add more models to Nebius provider. Add more models to models list
This commit is contained in:
Nate Sesti 2024-11-14 10:06:09 -08:00 • committed by GitHub
commit 65c83fab57
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 108 additions and 2 deletions

View file

@ -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:

View file

@ -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",
},
};