Skip to content

Commit

Permalink
Remove unnecessary CPM model tests (huggingface#33621)
Browse files Browse the repository at this point in the history
Remove model tests
  • Loading branch information
amyeroberts authored and BernardZach committed Dec 5, 2024
1 parent 674463b commit ccd3af0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/models/cpm/test_tokenization_cpm.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,14 @@
# See the License for the specific language governing permissions and
# limitations under the License.

import unittest

from transformers.models.cpm.tokenization_cpm import CpmTokenizer
from transformers.testing_utils import custom_tokenizers

from ..xlnet.test_modeling_xlnet import XLNetModelTest


@custom_tokenizers
class CpmTokenizationTest(XLNetModelTest):
class CpmTokenizationTest(unittest.TestCase):
# There is no `CpmModel`
def is_pipeline_test_to_skip(
self, pipeline_test_casse_name, config_class, model_architecture, tokenizer_name, processor_name
Expand Down

0 comments on commit ccd3af0

Please sign in to comment.