the simpliest way if found is to adapt the config.json and adapt the ‘id2label’ dictionary to map to IOB
“id2label”: {
“0”: “O”,
“1”: “B-DISORDER”,
“2”: “B-DISORDER”,
“3”: “I-DISORDER”,
“4”: “I-DISORDER”,
“5”: “B-FINDING”,
“6”: “B-FINDING”,
“7”: “I-FINDING”,
“8”: “I-FINDING”
},
Hope this helps,
Herman