huggingface / huggingface/course

Chapter 3 (Processing the Data) imports AdamW from transformers, but it was removed in v4.5.0

Open
#860 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
MDX
Stars
4.2k
Forks
1.4k
Avg merge
13m
Merged PRs (30d)
1

Description

In [Chapter 3, subchapter *Processing the Data* (PyTorch version)](https://huggingface.co/learn/nlp-course/en/chapter3/2?fw=pt), `AdamW` is imported from the `transformers` library. However, starting from `transformers` version 4.5.0, [`AdamW` has been removed](https://github.com/huggingface/transformers/issues/36954) as it was integrated into PyTorch. The course content should be updated accordingly.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.