fix(rwkv model): add stoptoken (#4283)

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
Ettore Di Giacinto 2024-11-28 09:34:35 +01:00 committed by GitHub
parent cbedf2f428
commit 7b75e9de2d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View File

@ -16,6 +16,7 @@ config_file: |
stopwords: stopwords:
- 'Assistant:' - 'Assistant:'
- '<s>'
template: template:
chat: "{{.Input}}\nAssistant: " chat: "{{.Input}}\nAssistant: "

View File

@ -14,6 +14,7 @@ roles:
stopwords: stopwords:
- 'Assistant:' - 'Assistant:'
- '<s>'
template: template:
chat: | chat: |