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

[Info] Can this package be used for bert based models like RoBerta or m-Bert? #100

Open
geeky-programer opened this issue Oct 14, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@geeky-programer
Copy link

Cool package.

Wanted to try this with better and newer models

@geeky-programer geeky-programer added the bug Something isn't working label Oct 14, 2024
@R1j1t
Copy link
Owner

R1j1t commented Oct 22, 2024

Thanks @geeky-programer. You should be able to use newer packages similar to example here:

nlp.add_pipe(
"contextual spellchecker",
config={
"model_name": "cl-tohoku/bert-base-japanese-whole-word-masking",
"max_edit_dist": 2,
},
)

Let me know if you face any issues. I will try my best to resolve them if any.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants