-
-
Notifications
You must be signed in to change notification settings - Fork 104
prompt_format
You can use {prompt}
or {{prompt}}
to indicate a prompt.
The system prompt can be specified at the beginning of the template in the format [system](<your system prompt>)
.
Adds the Begin Of Session token to the beginning of the prompt.
Adds the End Of Session token to the end of the prompt.
If enabled, the tokenizer will accept special tokens in the template, such as <|user|>
.
Allows you to specify sequences at the occurrence of which the prediction will be stopped. The sequences are specified using commas.
Example: <|end|>,user:
.
Allows you to specify tokens (in string format) that will not be displayed in the prediction results. Tokens are specified using commas.
Example: <|end|>,<|assistant|>
.
System prompt can be specified in the prompt template field according to the following rule:
[system](<system prompt>)
<template>
Example:
[system](You are a helpful, respectful and honest assistant.)
### User: {prompt}
### Assistant: