Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a1651b518e | ||
|
|
ca45659a07 |
2
setup.py
2
setup.py
@@ -392,7 +392,7 @@ install_requires = [
|
||||
|
||||
setup(
|
||||
name="transformers",
|
||||
version="4.19.0", # expected format is one of x.y.z.dev0, or x.y.z.rc1 or x.y.z (no to dashes, yes to dots)
|
||||
version="4.19.1", # expected format is one of x.y.z.dev0, or x.y.z.rc1 or x.y.z (no to dashes, yes to dots)
|
||||
author="The Hugging Face team (past and future) with the help of all our contributors (https://github.com/huggingface/transformers/graphs/contributors)",
|
||||
author_email="transformers@huggingface.co",
|
||||
description="State-of-the-art Machine Learning for JAX, PyTorch and TensorFlow",
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
# to defer the actual importing for when the objects are requested. This way `import transformers` provides the names
|
||||
# in the namespace without actually importing anything (and especially none of the backends).
|
||||
|
||||
__version__ = "4.19.0"
|
||||
__version__ = "4.19.1"
|
||||
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
|
||||
@@ -676,6 +676,8 @@ class RemoveColumnsCollator:
|
||||
self.message_logged = False
|
||||
|
||||
def _remove_columns(self, feature: dict) -> dict:
|
||||
if not isinstance(feature, dict):
|
||||
return feature
|
||||
if not self.message_logged and self.logger and self.model_name:
|
||||
ignored_columns = list(set(feature.keys()) - set(self.signature_columns))
|
||||
if len(ignored_columns) > 0:
|
||||
|
||||
Reference in New Issue
Block a user