def METHOD_NAME(self):
    cache_path = snapshot_download(self.thai_tcrf_model_id)
    tokenizer = NERPreprocessorThai(cache_path)
    model = ModelForTokenClassificationWithCRF.from_pretrained(cache_path)
    pipeline1 = NamedEntityRecognitionPipeline(
        model, preprocessor=tokenizer)
    pipeline2 = pipeline(
        Tasks.named_entity_recognition,
        model=model,
        preprocessor=tokenizer)
    print(f'thai_sentence: {self.thai_sentence}\n'
          f'pipeline1:{pipeline1(input=self.thai_sentence)}')
    print()
    print(f'pipeline2: {pipeline2(input=self.thai_sentence)}')