"git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "bdf1669e3f3fe942699c49f78320208a9d66572d"
Unverified Commit c230504b authored by Bojun Feng's avatar Bojun Feng Committed by GitHub
Browse files

Fix typo in utils (#31169)

fix typo
parent 874ac129
...@@ -170,7 +170,7 @@ class CacheConfig: ...@@ -170,7 +170,7 @@ class CacheConfig:
# Copied from transformers.utils.quantization_config.QuantizationConfigMixin.update # Copied from transformers.utils.quantization_config.QuantizationConfigMixin.update
def update(self, **kwargs): def update(self, **kwargs):
""" """
Updates attributes of this class instance with attributes from `kwargs` if they match existing atributtes, Updates attributes of this class instance with attributes from `kwargs` if they match existing attributes,
returning all the unused kwargs. returning all the unused kwargs.
Args: Args:
......
...@@ -1146,7 +1146,7 @@ class GenerationConfig(PushToHubMixin): ...@@ -1146,7 +1146,7 @@ class GenerationConfig(PushToHubMixin):
def update(self, **kwargs): def update(self, **kwargs):
""" """
Updates attributes of this class instance with attributes from `kwargs` if they match existing atributtes, Updates attributes of this class instance with attributes from `kwargs` if they match existing attributes,
returning all the unused kwargs. returning all the unused kwargs.
Args: Args:
......
...@@ -160,7 +160,7 @@ class QuantizationConfigMixin: ...@@ -160,7 +160,7 @@ class QuantizationConfigMixin:
def update(self, **kwargs): def update(self, **kwargs):
""" """
Updates attributes of this class instance with attributes from `kwargs` if they match existing atributtes, Updates attributes of this class instance with attributes from `kwargs` if they match existing attributes,
returning all the unused kwargs. returning all the unused kwargs.
Args: Args:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment