Skip to content

Commit

Permalink
documentation linked to the parent class PreTrainedTokenizerFast but …
Browse files Browse the repository at this point in the history
…it should be the slow tokenizer (#11410)
  • Loading branch information
cronoik committed Apr 24, 2021
1 parent b7fc043 commit 9cac4fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transformers/models/roberta/tokenization_roberta.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class RobertaTokenizer(GPT2Tokenizer):
When used with ``is_split_into_words=True``, this tokenizer will add a space before each word (even the first
one).
This tokenizer inherits from :class:`~transformers.PreTrainedTokenizerFast` which contains most of the main
This tokenizer inherits from :class:`~transformers.PreTrainedTokenizer` which contains most of the main
methods. Users should refer to this superclass for more information regarding those methods.
Args:
Expand Down

0 comments on commit 9cac4fa

Please sign in to comment.