Open nikhilcms opened 2 months ago
Thank you for your interests!
bce-reranker-base_v1
for reranking long passages (each passage < 32k tokens) by our python package BCEmbedding
. You can install it simply by pip install BCEmbedding
.bce-reranker-base_v1
just supports max length for 512, and the method for reranking long passages is open-source (see "NOTE" in the url above), which is a good balance between efficiency and effectivity (also adopted by other projects).
Hi, using huggingface/text-embeddings-inference I have deploy bce-reranker-base_v1 model.
In the info endpoint and in your provided example I can see you are setting max_length=512
could you confirm this model support only 512 tokens only or Is there any way to process long text without truncate ?