Garrafao / durel_system_annotators

3 stars 0 forks source link

unnecessary imports in annotation_provider #26

Closed Garrafao closed 8 months ago

Garrafao commented 8 months ago

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.

Garrafao commented 8 months ago

Solved with commit 313dd58 by removing helper_functions.py.