xmxoxo / BERT-train2deploy

BERT模型从训练到部署
517 stars 165 forks source link

您好,生成的label2id 文件为什么是空的 #27

Open SevenMpp opened 3 years ago

SevenMpp commented 3 years ago

output_label2id_file = os.path.join(FLAGS.output_dir, "label2id.pkl") if not os.path.exists(output_label2id_file): with open(output_label2id_file,'wb') as w: pickle.dump(label_map,w)

--- Add end ---