src/transformers/models/esm/tokenization_esm.py/load_vocab_file
def load_vocab_file(vocab_file):
    with open(vocab_file, "r") as f:
        lines = f.read().splitlines()
        return [l.strip() for l in lines]