Renaming labels in NER

Late to the party, but I've successfully changed labels just using sed.

sed 's,"label":"OLD_LABEL","label":"NEW_LABEL",g' old_task.jsonl > new_task.jsonl
3 Likes