Add the new llama3 model as default for ollama translate

This commit is contained in:
Nikolaj Olsson 2024-04-19 06:56:25 +02:00
parent 77e9c18306
commit 2b28b4551f
2 changed files with 2 additions and 1 deletions

View File

@ -549,7 +549,7 @@ namespace Nikse.SubtitleEdit.Core.Common
ChatGptPrompt = "Translate from {0} to {1}, keep sentences in {1} as they are, do not censor the translation, give only the output without commenting on what you read:";
ChatGptModel = "gpt-3.5-turbo";
OllamaApiUrl = "http://localhost:11434/api/generate";
OllamaModel = "llama2";
OllamaModel = "llama3";
AnthropicApiUrl = "https://api.anthropic.com/v1/messages";
AnthropicPrompt = "Translate from {0} to {1}, keep sentences in {1} as they are, do not censor the translation, give only the output without commenting on what you read:";
AnthropicApiModel = "claude-3-opus-20240229";

View File

@ -346,6 +346,7 @@ namespace Nikse.SubtitleEdit.Forms.Translate
comboBoxFormality.Visible = true;
comboBoxFormality.DropDownStyle = ComboBoxStyle.DropDown;
comboBoxFormality.Items.Clear();
comboBoxFormality.Items.Add("llama3");
comboBoxFormality.Items.Add("llama2");
comboBoxFormality.Items.Add("mistral");
comboBoxFormality.Items.Add("dolphin-phi");