File size: 200 Bytes
f19c8aa
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
global_label={0:'Negative', 1:'Positive',2:'Neutral'}


label2id_custom={0: 2, 1: 0, 2: 1}


train_label = [label2id_custom[x] for x in train_label]
dev_label = [label2id_custom[x] for x in dev_label]