def METHOD_NAME(self):
    from modelscope.preprocessors.nlp.token_classification_preprocessor import TokenClassificationPreprocessorBase
    preprocessor: TokenClassificationPreprocessorBase = \
        Preprocessor.from_pretrained('damo/nlp_raner_named-entity-recognition_chinese-base-news')
    self.assertTrue(preprocessor is not None)
    from modelscope.utils.hub import snapshot_download
    model_dir = snapshot_download(
        'damo/nlp_raner_named-entity-recognition_chinese-base-news')
    self.assertTrue(
        os.path.isfile(os.path.join(model_dir, 'pytorch_model.bin')))