update
This commit is contained in:
@@ -264,6 +264,7 @@ function formatLLMtext(messages::Vector{Dict{Symbol, T}},
|
||||
str *= f(t[:name], t[:text])
|
||||
end
|
||||
|
||||
# add <|assistant|> so that the model don't generate it and I don't need to clean it up later
|
||||
if formatname == "phi3instruct"
|
||||
str *= "<|assistant|>\n"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user