what is the id2label mapping
#6
by
archit11
- opened
i cant seem to find it anywhere
archit11
changed discussion status to
closed
Hi, id2label
can be found in the config here https://huggingface.co/ai4bharat/IndicNER/blob/main/config.json#L14 . This is responsible for converting the output indices to labels.
Thanks, I got the mapping with model.config.id2label