Skip to content

Commit

Permalink
fix(llm): llama3.1 add trailing new line (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
matoushavlena authored Sep 13, 2024
1 parent 5411ae1 commit 99ace8f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/adapters/shared/llmChatTemplates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ const llama31: LLMChatTemplate = {
{{assistant}}<|eot_id|>{{/assistant}}{{#ipython}}<|start_header_id|>ipython<|end_header_id|>
{{ipython}}<|eot_id|>{{/ipython}}{{/messages}}<|start_header_id|>assistant<|end_header_id|>
`,
}),
messagesToPrompt: messagesToPromptFactory({ ipython: "ipython" }),
Expand Down

0 comments on commit 99ace8f

Please sign in to comment.