Skip to content

Evaluation should not be computed with gradient#7

Open
ezelikman wants to merge 1 commit intoAidenDurrant:masterfrom
ezelikman:patch-1
Open

Evaluation should not be computed with gradient#7
ezelikman wants to merge 1 commit intoAidenDurrant:masterfrom
ezelikman:patch-1

Conversation

@ezelikman
Copy link
Copy Markdown

In the original implementation, the evaluation is performed with gradients when finetuning. This can be corrected by wrapping the evaluation in a torch.no_grad()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant