src/transformers/models/marian/convert_marian_to_pytorch.py/remove_prefix
def remove_prefix(text: str, prefix: str):
    if text.startswith(prefix):
        return text[len(prefix) :]
    return text  # or whatever