[model] Apertus Tool/Function and Reasoning parser (#25100)
This commit is contained in:
@@ -114,6 +114,13 @@ class TestTemplateDetectionRuleMatrix(unittest.TestCase):
|
||||
|
||||
PARSER_RULES_MATRIX = [
|
||||
# (name, template_snippet, vocab, expected_parser, expected_toggle_param)
|
||||
(
|
||||
"apertus2509_via_unique_vocab_token",
|
||||
"{% set enable_thinking = enable_thinking if enable_thinking is defined else true %}\n",
|
||||
["<|inner_prefix|>"],
|
||||
"apertus2509",
|
||||
"enable_thinking",
|
||||
),
|
||||
(
|
||||
"deepseek_r1_think_tags",
|
||||
"<think>\nLet me reason about this\n</think>\nAnswer here",
|
||||
|
||||
Reference in New Issue
Block a user