From adc778221ea9ca3f9a9e598b21c1881744e8a283 Mon Sep 17 00:00:00 2001 From: sanchit-gandhi Date: Fri, 23 Jun 2023 09:18:43 +0100 Subject: [PATCH] add to dummy objects --- src/transformers/utils/dummy_pt_objects.py | 3 +++ src/transformers/utils/dummy_tf_objects.py | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/transformers/utils/dummy_pt_objects.py b/src/transformers/utils/dummy_pt_objects.py index 0ce9f5da2c3..2ca6f015622 100644 --- a/src/transformers/utils/dummy_pt_objects.py +++ b/src/transformers/utils/dummy_pt_objects.py @@ -524,6 +524,9 @@ def __init__(self, *args, **kwargs): MODEL_FOR_TABLE_QUESTION_ANSWERING_MAPPING = None +MODEL_FOR_TEXT_ENCODING_MAPPING = None + + MODEL_FOR_TOKEN_CLASSIFICATION_MAPPING = None diff --git a/src/transformers/utils/dummy_tf_objects.py b/src/transformers/utils/dummy_tf_objects.py index 1b3617a8443..e5568440280 100644 --- a/src/transformers/utils/dummy_tf_objects.py +++ b/src/transformers/utils/dummy_tf_objects.py @@ -264,6 +264,9 @@ def __init__(self, *args, **kwargs): TF_MODEL_FOR_TABLE_QUESTION_ANSWERING_MAPPING = None +TF_MODEL_FOR_TEXT_ENCODING_MAPPING = None + + TF_MODEL_FOR_TOKEN_CLASSIFICATION_MAPPING = None