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

train medusa stage-2 #94

Open
smartliuhw opened this issue Apr 6, 2024 · 1 comment
Open

train medusa stage-2 #94

smartliuhw opened this issue Apr 6, 2024 · 1 comment

Comments

@smartliuhw
Copy link

how can i launch stage-2 training without using axolotl? can i just comment these lines in the train_code and save the whole model?

# Freeze the base model
for param in model.base_model.parameters():
param.requires_grad = False

@smartliuhw
Copy link
Author

and one more question. how can i obtain the medusa_choices during inference like the choices in this file? is it generated automatically or set manually?
looking forward to your relay!
@leeyeehoo @ctlllll

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

1 participant