Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lfm/key-concepts/chat-template.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Conversations are formatted using special tokens:

* **`<|startoftext|>`** — Start of the conversation.
* **`<|im_start|>`** — Start of the message. Always followed by the role name (`system`, `user`, `assistant`, or `tool`) and a line break.
* **`<|im_end|>`** — End end of the message.
* **`<|im_end|>`** — End of the message.

LFM2 supports four conversation roles:

Expand Down