Skip to content
This repository was archived by the owner on Apr 2, 2025. It is now read-only.

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
Collaborator

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants