The TextDataset* functions from ner_training.py do not preserve the original index. To resolve this we pass along the id's along with the data and the labels:
This ids vector is filled with "IDXX_begin_end".
This ids vector is passed to the evaluation function and added to the prediction output.
The TextDataset* functions from ner_training.py do not preserve the original index. To resolve this we pass along the id's along with the data and the labels: This
ids
vector is filled with "IDXX_begin_end".This ids vector is passed to the evaluation function and added to the prediction output.