Skip to content

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

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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions