Skip to content

Conversation

@zpyuan6
Copy link

@zpyuan6 zpyuan6 commented Feb 4, 2024

Hi, here is minor correction for the model selection between BERT and ALBERT in the model class.

In the previous code, when the model type was entered as "albert-base-v2" or "albert-large-v2", the method would load the corresponding BERT model instead of ALBERT since "bert-base" exists in the "albert-base-v2".

This may explain why the reported ALBERT performance is so close to BERT.

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

Successfully merging this pull request may close these issues.

1 participant