How to use Transformer Trainer report_to method with Accelerator Library?
How to use Transformer Trainer Training Argumentsreport_tomethod in Accelerator? Do I need to make manually calculate each data like loss etc. and send to tensorboard or wandb?
2022-12-06T06:05:56Z
Hello@Indramal, yes, you are correct. Please refer to the*no_trainer.pyexamples heretransformers/examples/pytorch at main · huggingface/transformers · GitHub.For example,run_glue_no_trainer.pyhas argreport_totransformers/run_glue_no_trainer.py at main · huggingface/transformers · GitHub. You can log to the trackers viaaccelerator.logas shown heretransformers/run_glue_no_trainer.py at main · huggingface/transformers · GitHub.Hope this helps. Let us know if this resolves your query.
2022-12-06T14:18:10Z
Thank you very much i will try it and get back to you