Getting entity offset from ONNX outputs
Hi all,Working with a BERT model that I’ve exported successfully for NER.  ONNX inference is successful, I’m just wondering if there’s a built-in function to convert the token index (from the model output) to the char offsets.  I want to be able to identify the exact position of the entity in the original text.Hopefully this isn’t too dumb of a question.
2022-04-28T19:19:58Z
Nevermind, I’m an idiot.  You can find out how to do it here:huggingface.coFast tokenizers' special powers - Hugging Face CourseWe’re on a journey to advance and democratize artificial intelligence through open source and open science.There’s just too much documentation to sift through!