style tweak

This commit is contained in:
Julien Chaumond 2020-01-30 16:45:38 -05:00 committed by Lysandre Debut
parent 0b13fb822a
commit f9bc3f5771
2 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@ CONFIG_MAPPING = OrderedDict(
)
class AutoConfig(object):
class AutoConfig:
r"""
:class:`~transformers.AutoConfig` is a generic configuration class
that will be instantiated as one of the configuration classes of the library

View File

@ -73,7 +73,7 @@ TOKENIZER_MAPPING = OrderedDict(
)
class AutoTokenizer(object):
class AutoTokenizer:
r""":class:`~transformers.AutoTokenizer` is a generic tokenizer class
that will be instantiated as one of the tokenizer classes of the library
when created with the `AutoTokenizer.from_pretrained(pretrained_model_name_or_path)`