Skip to content
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

The max_position_embedding is only 512 and 514 in config.py of "beg-rerangker-large" and "beg-large-zh-v1.5", which result the "max_input_token" cannot support over 512/514 #765

Open
xwqianbei opened this issue May 11, 2024 · 1 comment

Comments

@xwqianbei
Copy link

The max_position_embedding is only 512 and 514 in config.py of "beg-rerangker-large" and "beg-large-zh-v1.5", which result the "max_input_token" cannot support over 512/514
image
image
so how can i solve the problem?

@staoxiao
Copy link
Collaborator

If you want to process longer text, you can use new models: bge-m3 and bge-reranker-v2-m3, which both support 8192 tokens.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants