processor.py 98 字节
Newer Older
W
wuzewu 已提交
1 2 3
def load_vocab(vocab_path):
    with open(vocab_path) as file:
        return file.read().split()