Remove duplicate words in docstring (#3)
This commit is contained in:
parent
ab3688a401
commit
4226a6c008
@ -59,7 +59,7 @@ class Encoding:
|
|||||||
) -> list[int]:
|
) -> list[int]:
|
||||||
"""Encodes a string into tokens.
|
"""Encodes a string into tokens.
|
||||||
|
|
||||||
Special tokens are tokens are artificial tokens used to unlock capabilities from a model,
|
Special tokens are artificial tokens used to unlock capabilities from a model,
|
||||||
such as fill-in-the-middle. So we want to be careful about accidentally encoding special
|
such as fill-in-the-middle. So we want to be careful about accidentally encoding special
|
||||||
tokens, since they can be used to trick a model into doing something we don't want it to do.
|
tokens, since they can be used to trick a model into doing something we don't want it to do.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user