Skip to content

Commit 73ee7cd

Browse files
Victoran0abetlen
andauthored
fix(docs): remove double word typo in README (abetlen#1791)
Under the Chat Completion section, about the fourth line under it (line 340), we have: 'The model will will format the messages into a single prompt using the following order of precedence:'... 'will' appeared twice. This update fix that. Co-authored-by: Andrei <abetlen@gmail.com>
1 parent 33bf9d2 commit 73ee7cd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ The high-level API also provides a simple interface for chat completion.
337337
Chat completion requires that the model knows how to format the messages into a single prompt.
338338
The `Llama` class does this using pre-registered chat formats (ie. `chatml`, `llama-2`, `gemma`, etc) or by providing a custom chat handler object.
339339

340-
The model will will format the messages into a single prompt using the following order of precedence:
340+
The model will format the messages into a single prompt using the following order of precedence:
341341
- Use the `chat_handler` if provided
342342
- Use the `chat_format` if provided
343343
- Use the `tokenizer.chat_template` from the `gguf` model's metadata (should work for most new models, older models may not have this)

0 commit comments

Comments
 (0)