You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a need similar of @LittlePea13 (see issue #58 ) on the SQUAD task. I want add some tokens at training time in the vocabulary of the language model. But the BertTokenizer (SpanBertcode/pytorch_pretrained_bert/tokenization.py) don't load the following file 'added_tokens.json' and the class has no method to load it.
I have a need similar of @LittlePea13 (see issue #58 ) on the SQUAD task. I want add some tokens at training time in the vocabulary of the language model. But the BertTokenizer (SpanBertcode/pytorch_pretrained_bert/tokenization.py) don't load the following file 'added_tokens.json' and the class has no method to load it.
A naive solution is move from:
It is equal?
In this way the method from_pretrained() load correctly my custom tokenizer and the AutoTokenizer has the method add_tokens()
The text was updated successfully, but these errors were encountered: