def METHOD_NAME(config):
    log.info("Dump node feat starting...")
    id2str = [
        line.strip("\n").split("\t")[-1]
        for line in io.open(os.path.join(config.graph_work_path, "terms.txt"), encoding=config.encoding)
    ]
    # pool = multiprocessing.Pool()
    tokenizer_class = TOKENIZER_CLASSES[config.model_name_or_path]
    tokenizer = tokenizer_class.from_pretrained(config.model_name_or_path)
    fn = partial(term2id, tokenizer=tokenizer, max_seqlen=config.max_seqlen)
    term_ids = [fn(x) for x in id2str]
    np.save(os.path.join(config.graph_work_path, "term_ids.npy"), np.array(term_ids, np.uint16))
    log.info("Dump node feat done.")