refactor(tools): 移除未使用的导入语句
移除了 tools/model.py 文件中未使用的 get_chat_template 导入语句。这个修改提高了代码的可读性和维护性。
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
import os
|
||||
from unsloth.chat_templates import get_chat_template
|
||||
|
||||
def formatting_prompts_func(examples,tokenizer):
|
||||
"""格式化对话数据的函数
|
||||
Args:
|
||||
|
Reference in New Issue
Block a user