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

Is there a way to delete or insert certain words/word segments after loading a trained smp model? #8

Open
IstiaqAnsari opened this issue Sep 20, 2021 · 0 comments

Comments

@IstiaqAnsari
Copy link

I trained a sentencepiece and loaded it to the BPEmb. But there are some words / word segments that I want excluded meaning I want the model to give UNKNOWN token for those.I don't want to clean my original corpus which I trained the sentencepiece with but I want certain words removed. Is there a way to do it?

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

1 participant