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

max sequence length #33

Open
denizerden opened this issue Mar 30, 2021 · 1 comment
Open

max sequence length #33

denizerden opened this issue Mar 30, 2021 · 1 comment

Comments

@denizerden
Copy link

How to user bert turkish sentiment cased model for calculating sentiment scores of sentences with more than 512 sequence length?

@stefan-it
Copy link
Collaborator

Hi @denizerden ,

normally, longer sentences will be truncated then. You could use the BERTurk models with a larger vocab (128k):

With these models you should be able to use "longer" sentences, because the tokenizer uses less subtokens per token in theory (compared to the "normal" BERTurk models that have a 32k vocab).

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