Can I do annotation for BERT on prodigy

That means you're having a lookup error.

Is the transformers_tokenizers.py script in the same folder where you ran that command?