Git Product home page Git Product logo

Comments (5)

shenlei1020 avatar shenlei1020 commented on July 4, 2024

感谢对bce模型的关注!
bcembedding提供的RerankerModel.rerank方法可以支持32k token长度的passages排序,在readme写了好多地方:

from bcembedding.

flyBirdBoy avatar flyBirdBoy commented on July 4, 2024

感谢对bce模型的关注! bcembedding提供的RerankerModel.rerank方法可以支持32k token长度的passages排序,在readme写了好多地方:

非常感谢你的解答。
1、基于Based on sentence_transformers测试,发现一般900以上文本长度,后续返回的得分都是固定的。这个数值长度是在Based on sentence_transformers中浮动的。
2、基于Based on BCEmbedding测试发现,文本可以支持32k token长度的passages排序。

from bcembedding.

shenlei1020 avatar shenlei1020 commented on July 4, 2024

是的,用BCEmbedding这个包,readme说明得很清楚,BCEmbedding的包封装了我们的业务逻辑。

from bcembedding.

hzs0828 avatar hzs0828 commented on July 4, 2024

请问使用bce reranker的时候需要指定文本的最大长度吗(比如max_length=32K),还是模型会自动匹配

from bcembedding.

shenlei1020 avatar shenlei1020 commented on July 4, 2024

不用,最长支持这么多,超过会提示

from bcembedding.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.