update sambanova models lists

This commit is contained in:
jhpiedrahitao 2025-02-25 17:00:45 -05:00 • committed by jorgep_snova
parent 637d6b8ded
commit 908410b294
5 changed files with 227 additions and 10 deletions

View file

@ -9,11 +9,20 @@ class SambaNova extends OpenAI {
};
private static MODEL_IDS: { [name: string]: string } = {
"qwen2.5-coder-32b": "Qwen2.5-Coder-32B-Instruct",
"llama3.3-70b": "Meta-Llama-3.3-70B-Instruct",
"llama3.1-8b": "Meta-Llama-3.1-8B-Instruct",
"llama3.1-70b": "Meta-Llama-3.1-70B-Instruct",
"llama3.1-405b": "Meta-Llama-3.1-405B-Instruct",
"llama3.1-1b": "Meta-Llama-3.2-1B-Instruct",
"llama3.1-3b": "Meta-Llama-3.2-3B-Instruct",
"llama3.1-tulu-405b":"Llama-3.1-Tulu-3-405B",
"llama3.2-1b": "Meta-Llama-3.2-1B-Instruct",
"llama3.2-3b": "Meta-Llama-3.2-3B-Instruct",
"llama3.2-11b": "Llama-3.2-11B-Vision-Instruct",
"llama3.2-90b": "Llama-3.2-90B-Vision-Instruct",
"qwen2.5-72b": "Qwen2.5-72B-Instruct",
"qwq-32b": "QwQ-32B-Preview",
"deepseek-r1-distill-llama-70b": "DeepSeek-R1-Distill-Llama-70B",
"deepseek-r1": "DeepSeek-R1",
};
protected _convertModelName(model: string) {

View file

@ -244,6 +244,7 @@
"### Msty\nMsty is the simplest way to get started with online or local LLMs on all desktop platforms - Windows, Mac, and Linux. No fussing around, one-click and you are up and running. To get started, follow these steps:\n1. Download from [Msty.app](https://msty.app/), open the application, and click 'Setup Local AI'.\n2. Go to the Local AI Module page and download a model of your choice.\n3. Once the model has finished downloading, you can start asking questions through Continue.\n> [Reference](https://continue.dev/docs/reference/Model%20Providers/Msty)",
"### IBM watsonx\nwatsonx, developed by IBM, offers a variety of pre-trained AI foundation models that can be used for natural language processing (NLP), computer vision, and speech recognition tasks.",
"### OpenRouter\nOpenRouter offers a single API to access almost any language model. To get started, obtain an API key from [their console](https://openrouter.ai/settings/keys).",
"### SambaNova\n SambaNova provides fast inference of open-source language models with zero data retention. To get started, obtain an API key in [SambaNova Cloud](https://cloud.sambanova.ai/apis).",
"### NVIDIA NIMs\nNVIDIA offers a single API to access almost any language model. To find out more, visit the [LLM APIs Documentation](https://docs.api.nvidia.com/nim/reference/llm-apis).\nFor information specific to getting a key, please check out the [docs here](https://docs.nvidia.com/nim/large-language-models/latest/getting-started.html#option-1-from-api-catalog)",
"### vLLM\nvLLM is a highly performant way of hosting LLMs for a team. To get started, follow their [quickstart](https://docs.vllm.ai/en/latest/getting_started/quickstart.html) to set up your server.",
"### Cerebras\nCerebras Inference uses specialized silicon to provides superfast inference. To get started, get your API keys from [their console](https://cloud.cerebras.ai/).",
@ -1639,7 +1640,22 @@
"model": {
"anyOf": [
{
"enum": ["llama3.1-8b", "llama3.1-70b", "llama3.1-405b"]
"enum": [
"Qwen2.5-Coder-32B-Instruct",
"Meta-Llama-3.3-70B-Instruct",
"Meta-Llama-3.1-8B-Instruct",
"Meta-Llama-3.1-70B-Instruct",
"Meta-Llama-3.1-405B-Instruct",
"Llama-3.1-Tulu-3-405B",
"Meta-Llama-3.2-1B-Instruct",
"Meta-Llama-3.2-3B-Instruct",
"Llama-3.2-11B-Vision-Instruct",
"Llama-3.2-90B-Vision-Instruct",
"Qwen2.5-72B-Instruct",
"QwQ-32B-Preview",
"DeepSeek-R1-Distill-Llama-70B",
"DeepSeek-R1"
]
},
{
"type": "string"

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

View file

@ -173,7 +173,6 @@ export const models: { [key: string]: ModelPackage } = {
"together",
"llama.cpp",
"replicate",
"sambanova",
"cerebras",
"nebius",
"scaleway",
@ -1497,6 +1496,187 @@ export const models: { [key: string]: ModelPackage } = {
providerOptions: ["siliconflow"],
isOpenSource: true,
},
llama3370BInstruct: {
title: "Llama 3.3 70B Instruct",
description: "A model from Meta, fine-tuned for chat",
params: {
title: "Llama 3.3 70B instruct",
model: "Meta-Llama-3.3-70B-Instruct",
contextLength: 16_000,
},
icon: "meta.png",
providerOptions: ["sambanova"],
isOpenSource: true,
},
llama318BInstruct: {
title: "Llama3.1 8B",
description: "A model from Meta, fine-tuned for chat",
refUrl: "",
params: {
title: "Llama 3.1 8B Instruct",
model: "Meta-Llama-3.1-8B-Instruct",
contextLength: 16_000,
},
icon: "meta.png",
providerOptions: ["sambanova"],
isOpenSource: true,
},
llama3170BInstruct: {
title: "Llama3.1 70B",
description: "A model from Meta, fine-tuned for chat",
refUrl: "",
params: {
title: "Llama 3.1 70B Instruct",
model: "Meta-Llama-3.1-70B-Instruct",
contextLength: 128_000,
},
icon: "meta.png",
providerOptions: ["sambanova"],
isOpenSource: true,
},
llama31405BInstruct: {
title: "Llama3.1 405B",
description: "A model from Meta, fine-tuned for chat",
refUrl: "",
params: {
title: "Llama 3.1 405B Instruct",
model: "Meta-Llama-3.1-405B-Instruct",
contextLength: 16_000,
},
icon: "meta.png",
providerOptions: ["sambanova"],
isOpenSource: true,
},
llama31Tulu3405B: {
title: "Llama3.1 Tulu 3405B",
description: "A model from Meta, fine-tuned for chat",
refUrl: "",
params: {
title: "Llama 3.1 Tulu 3 405B",
model: "Llama-3.1-Tulu-3-405B",
contextLength: 16_000,
},
icon: "allenai.png",
providerOptions: ["sambanova"],
isOpenSource: true,
},
llama321BInstruct: {
title: "Llama3.2 1B",
description: "A model from Meta, fine-tuned for chat",
refUrl: "",
params: {
title: "Llama 3.2 1B Instruct",
model: "Meta-Llama-3.2-1B-Instruct",
contextLength: 16_000,
},
icon: "meta.png",
providerOptions: ["sambanova"],
isOpenSource: true,
},
llama323BInstruct: {
title: "Llama3.2 3B",
description: "A model from Meta, fine-tuned for chat",
refUrl: "",
params: {
title: "Llama 3.2 3B Instruct",
model: "Meta-Llama-3.2-3B-Instruct",
contextLength: 8192,
},
icon: "meta.png",
providerOptions: ["sambanova"],
isOpenSource: true,
},
llama3211BInstruct: {
title: "Llama3.2 11B",
description: "A model from Meta, fine-tuned for multimodal chat with images",
refUrl: "",
params: {
title: "Llama 3.2 11B Vision Instruct",
model: "Llama-3.2-11B-Vision-Instruct",
contextLength: 4096,
},
icon: "meta.png",
providerOptions: ["sambanova"],
isOpenSource: true,
},
llama3290BInstruct: {
title: "Llama3.2 90B",
description: "A model from Meta, fine-tuned for multimodal chat with images",
refUrl: "",
params: {
title: "Llama 3.2 11B Vision Instruct",
model: "Llama-3.2-11B-Vision-Instruct",
contextLength: 4096,
},
icon: "meta.png",
providerOptions: ["sambanova"],
isOpenSource: true,
},
qwen25Coder32BInstruct: {
title: "Qwen 2.5 Coder 32B",
description:
"Qwen 2.5 coder is an auto-regressive language model that uses an optimized transformer architecture, fine-tuned for coding tasks.",
params: {
title: "Qwen2.5 Coder 32B Instruct",
model: "Qwen2.5-Coder-32B-Instruct",
contextLength: 16_000,
},
icon: "qwen.png",
providerOptions: ["sambanova"],
isOpenSource: true,
},
qwen2572BInstruct: {
title: "Qwen 2.5 72B",
description:
"Qwen 2.5 is an auto-regressive language model that uses an optimized transformer architecture.",
params: {
title: "Qwen2.5 72B Instruct",
model: "Qwen2.5-72B-Instruct",
contextLength: 16_000,
},
icon: "qwen.png",
providerOptions: ["sambanova"],
isOpenSource: true,
},
qwq32BPreview: {
title: "QwQ 32B Preview",
description:
"QwQ-32B-Preview is Qwen's latest experimental research model, focusing on improving AI reasoning capabilities.",
params: {
title: "QwQ 32B Preview",
model: "QwQ-32B-Preview",
contextLength: 16_000,
},
icon: "qwen.png",
providerOptions: ["sambanova"],
isOpenSource: true,
},
deepseekR1DistillLlama70B: {
title: "DeepSeek R1 Distill Llama 70B",
description:
"A llama 3.1 70 model distilled from deekseek R1",
params: {
title: "DeepSeek R1 Distill Llama 70B",
model: "DeepSeek-R1-Distill-Llama-70B",
contextLength: 32_000,
},
icon: "deepseek.png",
providerOptions: ["sambanova"],
isOpenSource: true,
},
deepseekR1: {
title: "DeepSeek R1",
description:
"DeekSeek R1 reasoning model from DeepSeek",
params: {
title: "DeepSeek R1",
model: "DeepSeek-R1",
contextLength: 8192,
},
icon: "deepseek.png",
providerOptions: ["sambanova"],
isOpenSource: true,
},
AUTODETECT: {
title: "Autodetect",
description:

View file

@ -703,12 +703,12 @@ To get started, [register](https://dataplatform.cloud.ibm.com/registration/stepo
collectInputFor: [...completionParamsInputsConfigs],
},
sambanova: {
title: "SambaNova Cloud",
title: "SambaNova",
provider: "sambanova",
refPage: "sambanova",
description: "Use SambaNova Cloud for fast inference performance",
icon: "sambanova.png",
longDescription: `The SambaNova Cloud is a cloud platform for running large AI models with the world record Llama 3.1 70B/405B performance. You can sign up [here](https://cloud.sambanova.ai/)`,
longDescription: `The SambaNova Cloud is a cloud platform for running large open source AI models with the world record performance and zero data retention. You can sign up [here](https://cloud.sambanova.ai/)`,
tags: [ModelProviderTags.RequiresApiKey, ModelProviderTags.OpenSource],
params: {
apiKey: "",
@ -723,10 +723,22 @@ To get started, [register](https://dataplatform.cloud.ibm.com/registration/stepo
},
...completionParamsInputsConfigs,
],
packages: [models.llama31Chat].map((p) => {
p.params.contextLength = 4096;
return p;
}),
packages:[
models.qwen25Coder32BInstruct,
models.llama3370BInstruct,
models.llama318BInstruct,
models.llama3170BInstruct,
models.llama31405BInstruct,
models.llama31Tulu3405B,
models.llama321BInstruct,
models.llama323BInstruct,
models.llama3211BInstruct,
models.llama3290BInstruct,
models.qwen2572BInstruct,
models.qwq32BPreview,
models.deepseekR1DistillLlama70B,
models.deepseekR1,
],
apiKeyUrl: "https://cloud.sambanova.ai/apis",
},
cerebras: {