Closed kashif closed 2 days ago
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.
thanks @qgallouedec
Failing test not related (same as https://github.com/huggingface/trl/pull/2370#issuecomment-2486585773)
What does this PR do?
removes the redundant call to
eval
andtrain
as the model'sgenerate
is done in inference mode. This fixes the issue that the mode's state is not changed unexpectedly.