Sinii Viacheslav
Sinii Viacheslav
having this feature would be nice, indeed
same problem. is there a workaround?
hi, me and my team have the same problem
Hello. I don't understand how you are able to pass a path into the model. It throws me an error when I do that. Please help. Below is the output...
@tjruwase fyi
Hi, I have the same problem. I want to modify arguments in `on_pre_optimizer_step` callback in `transformers.Trainer`, looking at the code it is called in-between of `backward` and `step`. Can we...
I also have the same problem when trying to get the gradients either right before `step` (this line -- https://github.com/huggingface/transformers/blob/d5b81e1ca173efb102649446249e3f2669b98410/src/transformers/trainer.py#L2577) or right after `backward` (this line -- https://github.com/huggingface/transformers/blob/d5b81e1ca173efb102649446249e3f2669b98410/src/transformers/trainer.py#L3702)
@tjruwase now I am not trying to use `set`, only `get`. Since I first need to get the gradients before zeroing out some of them and setting back.
when trying to use `safe_get_full_grad`, I get `ValueError: Gradients are only available immediately after backward and before engine step`. I tried three places (i wrote earlier), ensuring (hopefully) that they...