Label names?

#1
by Gagampy - opened

Hi!
model_target.config.label2id generates
{'LABEL_0': 0,
'LABEL_1': 1,
'LABEL_2': 2,
'LABEL_3': 3,
'LABEL_4': 4,
'LABEL_5': 5,
'LABEL_6': 6}

But how to get real label names as 'MISC' or whatever? Will be much appreciated

Sign up or log in to comment