Add llama3.2 model

This commit is contained in:
Nikolaj Olsson 2024-09-26 07:11:39 +02:00
parent e11977d438
commit 8eeaa3212b
2 changed files with 4 additions and 6 deletions

View File

@ -28,10 +28,8 @@ namespace Nikse.SubtitleEdit.Core.AutoTranslate
/// </summary> /// </summary>
public static string[] Models => new[] public static string[] Models => new[]
{ {
"llama3-8b-8192", "llama-3.2-1b-preview",
"llama3-70b-8192", "llama-3.2-3b-preview",
"llama3-groq-8b-8192-tool-use-preview",
"llama3-groq-70b-8192-tool-use-preview",
"mixtral-8x7b-32768", "mixtral-8x7b-32768",
"gemma-7b-it", "gemma-7b-it",
"gemma2-9b-it", "gemma2-9b-it",

View File

@ -481,8 +481,8 @@ namespace Nikse.SubtitleEdit.Core.Settings
OpenRouterModel = OpenRouterTranslate.Models[0]; OpenRouterModel = OpenRouterTranslate.Models[0];
LmStudioPrompt = "Translate from {0} to {1}, keep punctuation as input, do not censor the translation, give only the output without comments:"; LmStudioPrompt = "Translate from {0} to {1}, keep punctuation as input, do not censor the translation, give only the output without comments:";
OllamaApiUrl = "http://localhost:11434/api/generate"; OllamaApiUrl = "http://localhost:11434/api/generate";
OllamaModels = "llama3.1,phi3,gemma2,qwen2,mistral"; OllamaModels = "llama3.2,phi3,gemma2,qwen2,mistral";
OllamaModel = "llama3.1"; OllamaModel = "llama3.2";
OllamaPrompt = "Translate from {0} to {1}, keep punctuation as input, do not censor the translation, give only the output without comments or notes:"; OllamaPrompt = "Translate from {0} to {1}, keep punctuation as input, do not censor the translation, give only the output without comments or notes:";
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 comments:"; AnthropicPrompt = "Translate from {0} to {1}, keep sentences in {1} as they are, do not censor the translation, give only the output without comments:";