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

Can you use the pre-trained BERT models, but add novel tokens to the vocabulary? #94

Open
mepster opened this issue Feb 14, 2023 · 0 comments

Comments

@mepster
Copy link

mepster commented Feb 14, 2023

Can you use the pre-trained BERT models, but add novel tokens to the vocabulary during fine-tuning? Any tips on what's needed for this?

Or during fine-tuning MUST you use the same vocab.txt file that was used in pre-training?

I want to add some of the IUPAC symbols, for example the symbol Y which means "T or C". So that will expand my vocabulary a lot.

But I don't have the resources to retrain.

Related, but I believe talking about training from scratch:
#81

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