Skip to content

ImportError: cannot import name 'AdamW' from 'transformers' #22

@marimarifr

Description

@marimarifr

Opened an issue just to share the solution, i had this problem and to solve just import the same "AdamW" but from the library torch, exactly like the screenshot:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions