Girish A Koushik 5a6285f23f
Add checkpointing for reader.train() to allow stopping + resuming training (#1554)
* adding create checkpoint feature for train function in farm reader

* added arguments for create_or_load_checkpoint function

* accessing class method inside Trainer class

* added default value for checkpoint_root_dir and checkpoint_every, checkpoints_to_keep as arguments for reader.train()

* change in default value for checkpoint_root_dir and checkpoint_every

* update docstring and add Path conversion

Co-authored-by: girish.koushik <girish.koushik@diatoz.com>
Co-authored-by: Malte Pietsch <malte.pietsch@deepset.ai>
2021-10-19 12:36:32 +02:00
..
2021-10-15 16:34:48 +02:00
2021-09-20 08:40:38 +02:00
2021-10-14 11:49:35 +02:00