Files
HuggingFace_transformer/tests
Sander Land d7c8ce57d4 Avoid accessing .dataset of a DataLoader in Trainer (#16451)
* Avoid accessing .dataset of a dataloader

* style

* fix

* cleaning up, reverting some misunderstandings

* black

* add train_dataset argument to get_train_dataloader, and fix other instances of length checks

* flake8

* address comments

* fix bug

* cleanup

* add test

* Update tests/trainer/test_trainer.py

Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>

* under torch

* merge

* stylistic suggestion

Co-authored-by: Sander Land <sander@chatdesk.com>
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
2022-03-29 15:00:18 -04:00
..
2022-03-23 10:26:33 -04:00
2022-03-23 10:26:33 -04:00
2022-03-23 10:26:33 -04:00
2022-03-23 10:26:33 -04:00
2022-03-23 10:26:33 -04:00
2022-03-23 10:26:33 -04:00
2022-03-23 10:26:33 -04:00
2022-03-23 10:26:33 -04:00
2022-03-23 10:26:33 -04:00
2022-03-01 11:09:20 +01:00
2022-03-23 10:26:33 -04:00
2022-03-23 10:26:33 -04:00
2022-03-23 10:26:33 -04:00
2022-03-17 10:53:57 +01:00
2022-03-28 16:28:10 +02:00
2022-03-23 10:26:33 -04:00
2022-01-24 15:25:10 -05:00
2022-03-23 10:26:33 -04:00
2022-03-23 10:26:33 -04:00
2022-03-16 15:44:33 +00:00
2022-03-23 10:26:33 -04:00
2022-03-23 10:26:33 -04:00
2022-03-23 10:26:33 -04:00
2022-03-23 10:26:33 -04:00
2022-03-23 10:26:33 -04:00
2022-03-23 10:26:33 -04:00
2022-03-23 10:26:33 -04:00
2022-03-23 10:26:33 -04:00
2022-03-23 10:26:33 -04:00
2022-03-23 10:26:33 -04:00
2022-03-23 10:26:33 -04:00
2022-03-23 10:26:33 -04:00
2022-03-23 10:26:33 -04:00
2022-03-23 10:26:33 -04:00
2022-03-23 10:26:33 -04:00
2022-03-24 14:40:05 -04:00
2022-03-23 10:26:33 -04:00
2022-03-23 10:26:33 -04:00
2022-03-23 10:26:33 -04:00
2022-03-23 10:26:33 -04:00
2022-03-23 10:26:33 -04:00
2022-03-23 10:26:33 -04:00
2022-03-23 10:26:33 -04:00
2022-03-29 18:24:15 +01:00
2022-03-23 10:26:33 -04:00
2022-03-28 16:28:10 +02:00