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

Use existing pretrained model for retraining using SpanBERT #87

Open
aman31kmr opened this issue Feb 1, 2022 · 0 comments
Open

Use existing pretrained model for retraining using SpanBERT #87

aman31kmr opened this issue Feb 1, 2022 · 0 comments

Comments

@aman31kmr
Copy link

Hi,
I have a pretrained BERT model for domain specific corpus, and I am trying to create SpanBERT language model for my corpus to predict ngrams masked terms. It is not allowing me to use my model.bin file and error is :
train.py: error: argument --arch/-a: invalid choice: 'model/model.bin' (choose from 'bert_pair', 'bert_pair_large', 'cased_bert_pair', 'cased_bert_pair_large', 'bert_hf', 'bert_hf_large', 'cased_bert_hf', 'cased_bert_hf_large')

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