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

Does SpERT work with GPT models? #62

Open
sameeravithana opened this issue Jan 21, 2022 · 1 comment
Open

Does SpERT work with GPT models? #62

sameeravithana opened this issue Jan 21, 2022 · 1 comment

Comments

@sameeravithana
Copy link

Hi, just wondering whether there are any efforts in the SpERT + GPT model integration?

@markus-eberts
Copy link
Member

Hi,
I think nothing speaks against simply replacing BERT with GPT. Just have a look at the huggingface library (which we are using for the BERT implementation) for best practices. You especially need to replace the BERT related calls in spert/models.py and BertTokenizer/BertConfig in spert/spert_trainer.py. Other than that, the preprocessing, training and model architecture related code should also work with GPT.

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