-
-
Notifications
You must be signed in to change notification settings - Fork 10.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
331 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
import { ModelProviderCard } from '@/types/llm'; | ||
|
||
// ref: https://ollama.com/library | ||
const LMStudio: ModelProviderCard = { | ||
chatModels: [ | ||
{ | ||
description: | ||
'Llama 3.1 是 Meta 推出的领先模型,支持高达 405B 参数,可应用于复杂对话、多语言翻译和数据分析领域。', | ||
displayName: 'Llama 3.1 8B', | ||
enabled: true, | ||
id: 'llama3.1', | ||
tokens: 128_000, | ||
}, | ||
{ | ||
description: 'Qwen2.5 是阿里巴巴的新一代大规模语言模型,以优异的性能支持多元化的应用需求。', | ||
displayName: 'Qwen2.5 14B', | ||
enabled: true, | ||
id: 'qwen2.5-14b-instruct', | ||
tokens: 128_000, | ||
}, | ||
], | ||
defaultShowBrowserRequest: true, | ||
id: 'lmstudio', | ||
modelList: { showModelFetcher: true }, | ||
modelsUrl: 'https://lmstudio.ai/models', | ||
name: 'LM Studio', | ||
showApiKey: false, | ||
smoothing: { | ||
speed: 2, | ||
text: true, | ||
}, | ||
url: 'https://lmstudio.ai', | ||
}; | ||
|
||
export default LMStudio; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.