Skip to content

Uses pytorch AdamW instead of transformers, which is deprecated#168

Open
lrast wants to merge 1 commit intop-lambda:mainfrom
lrast:examples_fixes_lrast
Open

Uses pytorch AdamW instead of transformers, which is deprecated#168
lrast wants to merge 1 commit intop-lambda:mainfrom
lrast:examples_fixes_lrast

Conversation

@lrast
Copy link

@lrast lrast commented Apr 18, 2025

When running examples,
from transformers import AdamW throws ImportError: cannot import name 'AdamW' from 'transformers with transformers =4.51.3. That function is now deprecated.

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