Skip to content

Conversation

@niranjanakella
Copy link

Change Type: Cosmetic/Minor

Details:
The existing imports for AlbertModel in the .modules results in an error given that the AlbertModel doesn't exist directly in transformers base class exports. Instead explicitly importing it from models helps fix this issue.

✅ FIX 👇

from transformers.models.albert.modeling_albert import AlbertModel

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