Skip to content

Commit 41eec46

Browse files
author
ochafik
committed
rm unused templates, rename one
1 parent 40cc3f2 commit 41eec46

File tree

5 files changed

+3
-269
lines changed

5 files changed

+3
-269
lines changed

examples/server/tests/unit/test_tool_call.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ def test_completion_with_required_tool_tiny_fast(template_name: str, tool: dict,
107107

108108
@pytest.mark.slow
109109
@pytest.mark.parametrize("template_name,tool,argument_key", [
110-
("meta-llama-Meta-Llama-3.1-8B-Instruct", TEST_TOOL, "success"),
111-
("meta-llama-Meta-Llama-3.1-8B-Instruct", PYTHON_TOOL, "code"),
110+
("meta-llama-Llama-3.1-8B-Instruct", TEST_TOOL, "success"),
111+
("meta-llama-Llama-3.1-8B-Instruct", PYTHON_TOOL, "code"),
112112
("meetkai-functionary-medium-v3.1", TEST_TOOL, "success"),
113113
("meetkai-functionary-medium-v3.1", PYTHON_TOOL, "code"),
114114
("meetkai-functionary-medium-v3.2", TEST_TOOL, "success"),

tests/chat/templates/NousResearchHermes-2-Pro-Llama-3-8B-tool_use.jinja

Lines changed: 0 additions & 153 deletions
This file was deleted.

tests/chat/templates/google-gemma-7b-it.jinja

Lines changed: 0 additions & 4 deletions
This file was deleted.

tests/chat/templates/meta-llama-Meta-Llama-3.1-8B-Instruct.jinja

Lines changed: 0 additions & 109 deletions
This file was deleted.

tests/test-chat-handler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ static void test_template_output_parsers() {
369369
"</tool_call>");
370370
}
371371
{
372-
const common_chat_template tmpl(read_file("tests/chat/templates/meta-llama-Meta-Llama-3.1-8B-Instruct.jinja"), "<s>", "</s>");
372+
const common_chat_template tmpl(read_file("tests/chat/templates/meta-llama-Llama-3.1-8B-Instruct.jinja"), "<s>", "</s>");
373373
std::vector<std::string> end_tokens { "<|eom_id|>", "<|eot_id|>" };
374374

375375
assert_equals(std::string("llama 3.1 tool calls"), describe(tmpl, tools_params));

0 commit comments

Comments
 (0)