Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
asmirnov82 committed Oct 2, 2024
1 parent 68fa64d commit b3f420d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LLama.Examples/Examples/LLama2ChatSession.cs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public IHistoryTransform Clone()
public string HistoryToText(ChatHistory history)
{
//More info on template format for llama2 https://huggingface.co/blog/llama2#how-to-prompt-llama-2
//We don't have to insert <BOS> token for the first message, as it's done automaticaly by LLamaSharp.InteractExecutor and LLama.cpp
//We don't have to insert <BOS> token for the first message, as it's done automatically by LLamaSharp.InteractExecutor and LLama.cpp
//See more in https://github.com/ggerganov/llama.cpp/pull/7107
if (history.Messages.Count == 0)
return string.Empty;
Expand Down

0 comments on commit b3f420d

Please sign in to comment.