data2text
data2text copied to clipboard
nonedenom is not working as claimed
Here you're getting num_to_keep
based on the number of examples not labeled as NONE (len(trlabels)-len(none_idxs)
); however, according to the comment above you should use the number of examples labeled as NONE (len(none_idxs)
).