@staticmethod
def _fetch_model(model_name) -> str:
    if (model_name == 'tars-ner'):
        cache_dir = Path('models')
        model_name = cached_path('https://nlp.informatik.hu-berlin.de/resources/models/tars-ner/tars-ner.pt', cache_dir=cache_dir)
    return model_name
@staticmethod
def _fetch_model(model_name) -> str:
    if (model_name == 'tars-ner'):
        cache_dir = Path('models')
        model_name = cached_path('https://nlp.informatik.hu-berlin.de/resources/models/tars-ner/tars-ner.pt', cache_dir=cache_dir)
    return model_name