[Question]: You're using a BertTokenizerFast tokenizer. Please note that with a fast tokenizer, using the __call__
method is faster than using a method to encode the text followed by a call to the pad
method to get a padded encoding.
#3617
Labels
question
Further information is requested
Describe your problem
The retrieval speed is too slow, How do I follow the prompt "You're using a BertTokenizerFast tokenizer. Please note that with a fast tokenizer, using the
__call__
method is faster than using a method to encode the text followed by a call to thepad
method to get a padded encoding. "to speed up the retrieval_test api? The commit id for my ragflow version is a20b820, and I hope you can help me.The text was updated successfully, but these errors were encountered: