@staticmethod
def _fetch_model(model_name) -> str:
    model_map = {}
    hu_path: str = 'https://nlp.informatik.hu-berlin.de/resources/models'
    model_map['tars-base'] = '/'.join([hu_path, 'tars-base', 'tars-base-v8.pt'])
    cache_dir = Path('models')
    if (model_name in model_map):
        model_name = cached_path(model_map[model_name], cache_dir=cache_dir)
    return model_name
@staticmethod
def _fetch_model(model_name) -> str:
    model_map = {}
    hu_path: str = 'https://nlp.informatik.hu-berlin.de/resources/models'
    model_map['tars-base'] = '/'.join([hu_path, 'tars-base', 'tars-base-v8.pt'])
    cache_dir = Path('models')
    if (model_name in model_map):
        model_name = cached_path(model_map[model_name], cache_dir=cache_dir)
    return model_name