style tweak
This commit is contained in:
committed by
Lysandre Debut
parent
0b13fb822a
commit
f9bc3f5771
@@ -80,7 +80,7 @@ CONFIG_MAPPING = OrderedDict(
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
class AutoConfig(object):
|
class AutoConfig:
|
||||||
r"""
|
r"""
|
||||||
:class:`~transformers.AutoConfig` is a generic configuration class
|
:class:`~transformers.AutoConfig` is a generic configuration class
|
||||||
that will be instantiated as one of the configuration classes of the library
|
that will be instantiated as one of the configuration classes of the library
|
||||||
|
|||||||
@@ -73,7 +73,7 @@ TOKENIZER_MAPPING = OrderedDict(
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
class AutoTokenizer(object):
|
class AutoTokenizer:
|
||||||
r""":class:`~transformers.AutoTokenizer` is a generic tokenizer class
|
r""":class:`~transformers.AutoTokenizer` is a generic tokenizer class
|
||||||
that will be instantiated as one of the tokenizer classes of the library
|
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)`
|
when created with the `AutoTokenizer.from_pretrained(pretrained_model_name_or_path)`
|
||||||
|
|||||||
Reference in New Issue
Block a user