Glossary: NLP with Transformers
Offsets
Also written: offset_mapping, offset
Each token's (start, end) character positions in the original text, so `text[start:end]` recovers the characters.
Glossary: NLP with Transformers
Also written: offset_mapping, offset
Each token's (start, end) character positions in the original text, so `text[start:end]` recovers the characters.