Closed Kryptonites closed 5 years ago
我把2分类改成了多分类 examples += [data.Example.fromlist([sentence, flag], fields=fields)] flag对应line[-2]的值
reference https://github.com/bamtercelboo/cnn-lstm-bilstm-deepcnn-clstm-in-pytorch/blob/master/DataLoader/mydatasets_self_five.py
我把2分类改成了多分类 examples += [data.Example.fromlist([sentence, flag], fields=fields)] flag对应line[-2]的值