parent
e4351e2bf3
commit
ee1905290b
5 changed files with 68 additions and 84 deletions
|
|
@ -9,17 +9,16 @@ class SambaNova extends OpenAI {
|
|||
};
|
||||
|
||||
private static MODEL_IDS: { [name: string]: string } = {
|
||||
"llama4-scout": "Llama-4-Scout-17B-16E-Instruct",
|
||||
"llama4-maverick": "Llama-4-Maverick-17B-128E-Instruct",
|
||||
"llama3.3-70b": "Meta-Llama-3.3-70B-Instruct",
|
||||
"llama3.3-swalllow-70b": "Llama-3.3-Swallow-70B-Instruct-v0.4",
|
||||
"llama3.1-8b": "Meta-Llama-3.1-8B-Instruct",
|
||||
"llama3.1-405b": "Meta-Llama-3.1-405B-Instruct",
|
||||
"llama3.2-1b": "Meta-Llama-3.2-1B-Instruct",
|
||||
"llama3.2-3b": "Meta-Llama-3.2-3B-Instruct",
|
||||
"qwq-32b": "QwQ-32B",
|
||||
"deepseek-r1-distill-llama-70b": "DeepSeek-R1-Distill-Llama-70B",
|
||||
"deepseek-r1": "DeepSeek-R1",
|
||||
"deepseek-v3": "DeepSeek-V3-0324",
|
||||
"deepseek-v3.1": "DeepSeek-V3-0324",
|
||||
"gpt-oss-120b": "gpt-oss-120b",
|
||||
"qwen3-32b": "Qwen3-32B",
|
||||
};
|
||||
|
||||
protected _convertModelName(model: string) {
|
||||
|
|
|
|||
|
|
@ -203,7 +203,9 @@ export const PROVIDER_TOOL_SUPPORT: Record<string, (model: string) => boolean> =
|
|||
if (
|
||||
model.toLowerCase().startsWith("meta-llama-3") ||
|
||||
model.toLowerCase().includes("llama-4") ||
|
||||
model.toLowerCase().includes("deepseek")
|
||||
model.toLowerCase().includes("deepseek") ||
|
||||
model.toLowerCase().includes("gpt") ||
|
||||
model.toLowerCase().includes("qwen")
|
||||
) {
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
title: "SambaNova"
|
||||
description: "Configure SambaNova Cloud with Continue to access their high-performance platform for running large AI models, including Llama 4 Scout with world record open source model performance"
|
||||
description: "Configure SambaCloud with Continue to access their high-performance platform for running large AI models, including Llama 4 Scout with world record open source model performance"
|
||||
---
|
||||
|
||||
The SambaNova Cloud is a cloud platform for running large AI models with the world record open source models performance. You can follow the instructions in [this blog post](https://sambanova.ai/blog/accelerating-coding-with-sambanova-cloud?ref=blog.continue.dev) to configure your setup.
|
||||
|
|
@ -9,9 +9,9 @@ The SambaNova Cloud is a cloud platform for running large AI models with the wor
|
|||
<Tab title="YAML">
|
||||
```yaml title="config.yaml"
|
||||
models:
|
||||
- name: SambaNova Llama 4 Scout
|
||||
- name: GPT OSS 120B
|
||||
provider: sambanova
|
||||
model: Llama-4-Scout-17B-16E-Instruct
|
||||
model: gpt-oss-120b
|
||||
apiKey: <YOUR_SAMBANOVA_API_KEY>
|
||||
```
|
||||
</Tab>
|
||||
|
|
@ -20,9 +20,9 @@ The SambaNova Cloud is a cloud platform for running large AI models with the wor
|
|||
{
|
||||
"models": [
|
||||
{
|
||||
"title": "SambaNova Llama 4 Scout",
|
||||
"title": "GPT OSS 120B",
|
||||
"provider": "sambanova",
|
||||
"model": "Llama-4-Scout-17B-16E-Instruct",
|
||||
"model": "gpt-oss-120b",
|
||||
"apiKey": "<YOUR_SAMBANOVA_API_KEY>"
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -592,7 +592,7 @@ export const models: { [key: string]: ModelPackage } = {
|
|||
contextLength: 8192,
|
||||
},
|
||||
icon: "meta.png",
|
||||
providerOptions: ["ollama", "groq", "llama.cpp", "sambanova", "nebius"],
|
||||
providerOptions: ["ollama", "groq", "llama.cpp", "nebius"],
|
||||
isOpenSource: false,
|
||||
},
|
||||
llama323bChat: {
|
||||
|
|
@ -605,7 +605,7 @@ export const models: { [key: string]: ModelPackage } = {
|
|||
contextLength: 8192,
|
||||
},
|
||||
icon: "meta.png",
|
||||
providerOptions: ["ollama", "groq", "llama.cpp", "sambanova", "together"],
|
||||
providerOptions: ["ollama", "groq", "llama.cpp", "together"],
|
||||
isOpenSource: false,
|
||||
},
|
||||
llama3211bChat: {
|
||||
|
|
@ -1705,25 +1705,13 @@ export const models: { [key: string]: ModelPackage } = {
|
|||
providerOptions: ["siliconflow"],
|
||||
isOpenSource: true,
|
||||
},
|
||||
llama4Scout: {
|
||||
title: "Llama 4 Scout Instruct",
|
||||
description: "A model from Meta, fine-tuned for chat",
|
||||
params: {
|
||||
title: "Llama 4 Scout Instruct",
|
||||
model: "Llama-4-Scout-17B-16E-Instruct",
|
||||
contextLength: 16_000,
|
||||
},
|
||||
icon: "meta.png",
|
||||
providerOptions: ["sambanova"],
|
||||
isOpenSource: true,
|
||||
},
|
||||
llama4Maverick: {
|
||||
title: "Llama 4 Maverick Instruct",
|
||||
description: "A model from Meta, fine-tuned for chat",
|
||||
params: {
|
||||
title: "Llama 4 Maverick Instruct",
|
||||
model: "Llama-4-Maverick-17B-128E-Instruct",
|
||||
contextLength: 16_000,
|
||||
contextLength: 128_000,
|
||||
},
|
||||
icon: "meta.png",
|
||||
providerOptions: ["sambanova"],
|
||||
|
|
@ -1741,6 +1729,18 @@ export const models: { [key: string]: ModelPackage } = {
|
|||
providerOptions: ["sambanova"],
|
||||
isOpenSource: true,
|
||||
},
|
||||
llama33Swallow70BInstruct: {
|
||||
title: "Llama 3.3 Swallow 70B Instruct",
|
||||
description: "A model from TokyoTech, fine-tuned for chat",
|
||||
params: {
|
||||
title: "Llama 3.3 70B instruct",
|
||||
model: "Llama-3.3-Swallow-70B-Instruct-v0.4",
|
||||
contextLength: 128_000,
|
||||
},
|
||||
icon: "meta.png",
|
||||
providerOptions: ["sambanova"],
|
||||
isOpenSource: true,
|
||||
},
|
||||
llama318BInstruct: {
|
||||
title: "Llama3.1 8B",
|
||||
description: "A model from Meta, fine-tuned for chat",
|
||||
|
|
@ -1754,58 +1754,6 @@ export const models: { [key: string]: ModelPackage } = {
|
|||
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,
|
||||
},
|
||||
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,
|
||||
},
|
||||
qwq32B: {
|
||||
title: "QwQ 32B",
|
||||
description:
|
||||
"QwQ-32B is Qwen's latest experimental research model, focusing on improving AI reasoning capabilities.",
|
||||
params: {
|
||||
title: "QwQ 32B",
|
||||
model: "QwQ-32B",
|
||||
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",
|
||||
|
|
@ -1824,7 +1772,7 @@ export const models: { [key: string]: ModelPackage } = {
|
|||
params: {
|
||||
title: "DeepSeek R1",
|
||||
model: "DeepSeek-R1",
|
||||
contextLength: 8192,
|
||||
contextLength: 32_000,
|
||||
},
|
||||
icon: "deepseek.png",
|
||||
providerOptions: ["sambanova"],
|
||||
|
|
@ -1842,6 +1790,42 @@ export const models: { [key: string]: ModelPackage } = {
|
|||
providerOptions: ["sambanova"],
|
||||
isOpenSource: true,
|
||||
},
|
||||
deepseekV31: {
|
||||
title: "DeepSeek V3.1",
|
||||
description: "DeekSeek V3.1 reasoning model from DeepSeek",
|
||||
params: {
|
||||
title: "DeepSeek V3.1",
|
||||
model: "DeepSeek-V3.1",
|
||||
contextLength: 32_000,
|
||||
},
|
||||
icon: "deepseek.png",
|
||||
providerOptions: ["sambanova"],
|
||||
isOpenSource: true,
|
||||
},
|
||||
qwen332B: {
|
||||
title: "Qwen 3 32B",
|
||||
description: "Qwen 3 32B model from Alibaba",
|
||||
params: {
|
||||
title: "Qwen 3 32B",
|
||||
model: "Qwen3-32B",
|
||||
contextLength: 8192,
|
||||
},
|
||||
icon: "qwen.png",
|
||||
providerOptions: ["sambanova"],
|
||||
isOpenSource: true,
|
||||
},
|
||||
gptOss120b: {
|
||||
title: "GPT OSS 120B",
|
||||
description: "GPT oss 120b reasoning model from OpenAI",
|
||||
params: {
|
||||
title: "GPT OSS 120B",
|
||||
model: "gpt-oss-120b",
|
||||
contextLength: 128_000,
|
||||
},
|
||||
icon: "openai.png",
|
||||
providerOptions: ["sambanova"],
|
||||
isOpenSource: true,
|
||||
},
|
||||
AUTODETECT: {
|
||||
title: "Autodetect",
|
||||
description:
|
||||
|
|
|
|||
|
|
@ -809,17 +809,16 @@ To get started, [register](https://dataplatform.cloud.ibm.com/registration/stepo
|
|||
...completionParamsInputsConfigs,
|
||||
],
|
||||
packages: [
|
||||
models.llama4Scout,
|
||||
models.llama4Maverick,
|
||||
models.llama3370BInstruct,
|
||||
models.llama33Swallow70BInstruct,
|
||||
models.llama318BInstruct,
|
||||
models.llama31405BInstruct,
|
||||
models.llama321BInstruct,
|
||||
models.llama323BInstruct,
|
||||
models.qwq32B,
|
||||
models.deepseekR1DistillLlama70B,
|
||||
models.deepseekR1,
|
||||
models.deepseekV3,
|
||||
models.deepseekV31,
|
||||
models.qwen332B,
|
||||
models.gptOss120b,
|
||||
],
|
||||
apiKeyUrl: "https://cloud.sambanova.ai/apis",
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue