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

Code to convert domain-specific BERT #14

Open
maevezhw opened this issue Nov 22, 2024 · 0 comments
Open

Code to convert domain-specific BERT #14

maevezhw opened this issue Nov 22, 2024 · 0 comments

Comments

@maevezhw
Copy link

Hi! I read your paper and am really interested to apply it in ClimateBERT, a domain-specific BERT that is built on DistilRoBERTa. When I want to convert the model, it convert the Roberta model that is the base for ClimateBERT, with type(model) like this
<class 'lsg_converter.roberta.modeling_lsg_roberta.LSGRobertaForMaskedLM'>

Because the model is Roberta converted, I'm confused if it is still a ClimateBERT model or not. I know that you had modify another domain specific BERT like LegalBERT using LSG attention, so I'm really curious about the code. I hope you can give me the code or explain it to me clearly. Thank you so much!

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