Fix typos in instruction description methods

Corrected typos in the docstring for build_description and another function.
This commit is contained in:
crStiv 2026-01-19 23:58:55 +02:00 committed by GitHub
parent 3db6276299
commit ee97038408
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1112,7 +1112,7 @@ class ForbiddenWords(Instruction):
"""Build the instruction description.
Args:
forbidden_words: A sequences of strings respresenting words that are not
forbidden_words: A sequences of strings representing words that are not
allowed in the response.
Returns:
@ -1155,7 +1155,7 @@ class RephraseParagraph(Instruction):
Args:
original_paragraph: A string presenting the original paragraph. The
rephrases response should have betweeb low-high words in common.
rephrases response should have between low-high words in common.
low: An integer presenting the lower bound of similar words.
high: An integer representing the upper bound of similar words.