hallucination / SupplementaryMaterial_Code /transformers-4.37.2 /utils /dummy_tensorflow_text_objects.py
chen459664's picture
Add files using upload-large-folder tool
483ed5a verified
Raw
History Blame Contribute Delete
306 Bytes
# This file is autogenerated by the command `make fix-copies`, do not edit.
from ..utils import DummyObject, requires_backends
class TFBertTokenizer(metaclass=DummyObject):
_backends = ["tensorflow_text"]
def __init__(self, *args, **kwargs):
requires_backends(self, ["tensorflow_text"])