-
Notifications
You must be signed in to change notification settings - Fork 266
support qwen3-reranker #732
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
按照模板添加以下pr描述 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
||
@Reranker.register_reranker() | ||
class UrlReranker(Reranker): | ||
""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
文档注释需要写到这里:lazyllm/docs/module.py
|
||
|
||
@Reranker.register_reranker() | ||
class Qwen3Reranker(UrlReranker): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
建议参考这个来做:
class QwenReranking(OnlineEmbeddingModuleBase): |
|
||
|
||
@Reranker.register_reranker() | ||
class UrlReranker(Reranker): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
都迁移到这里吧:lazyllm/module/llms/onlinemodule/supplier
,作为Online的,不要作为local的。
No description provided.