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

need support for multitask mode #3543

Closed
github-actions bot opened this issue Mar 19, 2024 · 1 comment · Fixed by #3480
Closed

need support for multitask mode #3543

github-actions bot opened this issue Mar 19, 2024 · 1 comment · Fixed by #3480

Comments

@github-actions
Copy link

Line: 22

- ckpt & finetune_model: origin model.
- config: Read from json file.
"""
# TODO need support for multitask mode
if finetune_model is not None:
state_dict = torch.load(finetune_model, map_location=env.DEVICE)
if "model" in state_dict:
state_dict = state_dict["model"]
last_model_params = state_dict["_extra_state"]["model_params"]
finetune_multi_task = "model_dict" in last_model_params
trainable_param = {

Copy link
Author

Closed in commit e47478f

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

Successfully merging a pull request may close this issue.

1 participant