transformers
43bfd164 - [docs] Fix imports that fail on main in four English docs (#50817)

Commit
1 day ago
[docs] Fix imports that fail on main in four English docs (#50817) - tapas.md: AdamW was removed from transformers; import it from torch.optim - trocr.md: BitsandBytesConfig -> BitsAndBytesConfig - persimmon.md: there is no PersimmonTokenizer; load it with AutoTokenizer - testing.md: MemoryCleanupMixin lives in tests/test_memory_cleanup_mixin.py, not transformers.testing_utils; also import unittest, which the snippet uses
Author
Parents
Loading