Skip to content

Commit

Permalink
Merge pull request #180 from eltociear/patch-1
Browse files Browse the repository at this point in the history
chore: update completion.py
  • Loading branch information
ahartel authored Aug 27, 2024
2 parents f308914 + 6fea377 commit 47f9594
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aleph_alpha_client/completion.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class CompletionRequest:
*Potential use case for a chatbot-based completion:*
Instead of using ``repetition_penalties_include_prompt``, construct a new string with only the chatbot's reponses included. You would leave out any tokens you use for stop sequences (i.e. ``\\nChatbot:``), and all user messages.
Instead of using ``repetition_penalties_include_prompt``, construct a new string with only the chatbot's responses included. You would leave out any tokens you use for stop sequences (i.e. ``\\nChatbot:``), and all user messages.
With this bias, if you turn up the repetition penalties, you can avoid having your chatbot repeat itself, but not penalize the chatbot from mirroring language provided by the user.
Expand Down

0 comments on commit 47f9594

Please sign in to comment.