From 8eeaa3212bd3a484a46efd07c7bdd244d683fdc5 Mon Sep 17 00:00:00 2001 From: Nikolaj Olsson Date: Thu, 26 Sep 2024 07:11:39 +0200 Subject: [PATCH] Add llama3.2 model --- src/libse/AutoTranslate/GroqTranslate.cs | 6 ++---- src/libse/Settings/ToolsSettings.cs | 4 ++-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/libse/AutoTranslate/GroqTranslate.cs b/src/libse/AutoTranslate/GroqTranslate.cs index bdbb26650..488515edc 100644 --- a/src/libse/AutoTranslate/GroqTranslate.cs +++ b/src/libse/AutoTranslate/GroqTranslate.cs @@ -28,10 +28,8 @@ namespace Nikse.SubtitleEdit.Core.AutoTranslate /// public static string[] Models => new[] { - "llama3-8b-8192", - "llama3-70b-8192", - "llama3-groq-8b-8192-tool-use-preview", - "llama3-groq-70b-8192-tool-use-preview", + "llama-3.2-1b-preview", + "llama-3.2-3b-preview", "mixtral-8x7b-32768", "gemma-7b-it", "gemma2-9b-it", diff --git a/src/libse/Settings/ToolsSettings.cs b/src/libse/Settings/ToolsSettings.cs index bcb7acfab..177970b62 100644 --- a/src/libse/Settings/ToolsSettings.cs +++ b/src/libse/Settings/ToolsSettings.cs @@ -481,8 +481,8 @@ namespace Nikse.SubtitleEdit.Core.Settings 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:"; OllamaApiUrl = "http://localhost:11434/api/generate"; - OllamaModels = "llama3.1,phi3,gemma2,qwen2,mistral"; - OllamaModel = "llama3.1"; + OllamaModels = "llama3.2,phi3,gemma2,qwen2,mistral"; + 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:"; 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:";