79087872

Date: 2024-10-14 22:26:01
Score: 1.5
Natty:
Report link

See https://github.com/microsoft/unilm/issues/328

word_list = []
for id in encoding['input_ids'].squeeze().tolist():
    word_list.append(processor.decode([id]))
word_list1 = ' '.join([x for x in word_list if x!='[PAD]' and x!='[CLS]' and x!='[SEP]'])
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Vladimir