Skip to content

Commit

Permalink
Remove duplicate words in docstring (openai#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
henriktorget authored Dec 16, 2022
1 parent ab3688a commit 4226a6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tiktoken/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def encode(
) -> list[int]:
"""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
tokens, since they can be used to trick a model into doing something we don't want it to do.
Expand Down

0 comments on commit 4226a6c

Please sign in to comment.