mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 03:02:35 +01:00
Add the new llama3 model as default for ollama translate
This commit is contained in:
parent
77e9c18306
commit
2b28b4551f
@ -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:";
|
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";
|
ChatGptModel = "gpt-3.5-turbo";
|
||||||
OllamaApiUrl = "http://localhost:11434/api/generate";
|
OllamaApiUrl = "http://localhost:11434/api/generate";
|
||||||
OllamaModel = "llama2";
|
OllamaModel = "llama3";
|
||||||
AnthropicApiUrl = "https://api.anthropic.com/v1/messages";
|
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:";
|
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";
|
AnthropicApiModel = "claude-3-opus-20240229";
|
||||||
|
@ -346,6 +346,7 @@ namespace Nikse.SubtitleEdit.Forms.Translate
|
|||||||
comboBoxFormality.Visible = true;
|
comboBoxFormality.Visible = true;
|
||||||
comboBoxFormality.DropDownStyle = ComboBoxStyle.DropDown;
|
comboBoxFormality.DropDownStyle = ComboBoxStyle.DropDown;
|
||||||
comboBoxFormality.Items.Clear();
|
comboBoxFormality.Items.Clear();
|
||||||
|
comboBoxFormality.Items.Add("llama3");
|
||||||
comboBoxFormality.Items.Add("llama2");
|
comboBoxFormality.Items.Add("llama2");
|
||||||
comboBoxFormality.Items.Add("mistral");
|
comboBoxFormality.Items.Add("mistral");
|
||||||
comboBoxFormality.Items.Add("dolphin-phi");
|
comboBoxFormality.Items.Add("dolphin-phi");
|
||||||
|
Loading…
Reference in New Issue
Block a user