annotation_provider.py does from helper_functions import *which does from transformers import BertTokenizerFast, XLMRobertaTokenizerFast. It probably should not be necessary to import from transformers in order to use annotation_provider. helper_functions should be simplified to the absolute minimum we need.
annotation_provider.py does
from helper_functions import *
which doesfrom transformers import BertTokenizerFast, XLMRobertaTokenizerFast
. It probably should not be necessary to import from transformers in order to use annotation_provider. helper_functions should be simplified to the absolute minimum we need.