Closed hyunjongkimmath closed 1 month ago
cc @ArthurZucker
I think this is because tokenizers.pre_tokenizers.Metaspace has been refactored and the argument add_prefix_space
has been replace with prepend_scheme
(see this commit).
I can open a PR to fix this.
System Info
transformers
version: 4.41.2Who can help?
@sanchit-gandhi
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction
I am trying out the example in https://github.com/huggingface/transformers/tree/main/examples/flax/language-modeling#t5-like-span-masked-language-modeling. Unforunately, when I tried to initialize the tokenizer I get an error:
Steps to reproduce the error:
cd ./norwegian-t5-base
The following is the error message that I got:
Expected behavior
I expect the tokenizer to be initialized.