Skip to content

Commit

Permalink
fix(rwkv model): add stoptoken
Browse files Browse the repository at this point in the history
Signed-off-by: Ettore Di Giacinto <[email protected]>
  • Loading branch information
mudler committed Nov 28, 2024
1 parent cbedf2f commit 1ce5a82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions gallery/rwkv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ config_file: |
stopwords:
- 'Assistant:'
- '<s>'
template:
chat: "{{.Input}}\nAssistant: "
Expand Down
1 change: 1 addition & 0 deletions tests/models_fixtures/rwkv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ roles:

stopwords:
- 'Assistant:'
- '<s>'

template:
chat: |
Expand Down

0 comments on commit 1ce5a82

Please sign in to comment.