Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

meaning of step_forward function in GradientModel #5

Open
lihuiliullh opened this issue Dec 3, 2022 · 1 comment
Open

meaning of step_forward function in GradientModel #5

lihuiliullh opened this issue Dec 3, 2022 · 1 comment

Comments

@lihuiliullh
Copy link

may I know what is the meaning of step_forward function in GradientModel?

image

@duzx16
Copy link
Member

duzx16 commented Dec 7, 2022

Its function is to take multiple gradient update steps on the given few-shot examples until random.random() < stop_gate.

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

No branches or pull requests

2 participants