Skip to content

Commit

Permalink
🐛 fix(ollama): fix duplicate llama model and add llama2-chinese models (
Browse files Browse the repository at this point in the history
lobehub#1579)

* 🔧 fix:duplicate llama2 config

* ✨ llama2-chinese support
  • Loading branch information
MapleEve authored Mar 15, 2024
1 parent 7bdfa70 commit 6b9b5c8
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions src/config/modelProviders/ollama.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,25 @@ const Ollama: ModelProviderCard = {
vision: false,
},
{
displayName: 'Llama2 Chat 13B',
displayName: 'Llama2 Chat 70B',
functionCall: false,
hidden: true,
id: 'llama2:13b',
id: 'llama2:70b',
tokens: 4000,
vision: false,
},
{
displayName: 'Llama2 Chat 70B',
displayName: 'Llama2 CN 13B',
functionCall: false,
hidden: true,
id: 'llama2:70b',
id: 'llama2-chinese:13b',
tokens: 4000,
vision: false,
},
{
displayName: 'Llama2 CN 7B',
functionCall: false,
id: 'llama2-chinese',
tokens: 4000,
vision: false,
},
Expand Down

0 comments on commit 6b9b5c8

Please sign in to comment.