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

Example of multi-task #43

Open
NtaylorOX opened this issue Nov 21, 2022 · 3 comments
Open

Example of multi-task #43

NtaylorOX opened this issue Nov 21, 2022 · 3 comments

Comments

@NtaylorOX
Copy link

Hi,

I saw on the documentation page there is a page for multi-task training: https://opendelta.readthedocs.io/en/latest/notes/pluginunplug.html.

However I think it is not entirely clear how this modelling approach would work in practice?

Is there any examples for using OpenDelta for multi-task with the training code etc?

Thanks in advance

Best,

Niall

@NtaylorOX
Copy link
Author

Sorry - just found this; https://colab.research.google.com/drive/1uAhgAdc8Qr42UKYDlgUv0f7W1-gAFwGo?usp=sharing

I will see how this works and once satisfied will close issue

@NtaylorOX
Copy link
Author

Having looked through the provided notebook - https://colab.research.google.com/drive/1uAhgAdc8Qr42UKYDlgUv0f7W1-gAFwGo?usp=sharing, it appears to show how you can load in different delta models as "serving multi-tasks" but it doesn't show how you can train multiple-tasks at the same time efficiently?

This "serving multi-task" just seems to show how to load in 3 different fine-tuned models and act on the same input sequence - is it possible with OpenDelta to train using one back-bone model with 3 different deltas? Each using its own loss sort of thing?

Any help would be much appreciated

@telxt
Copy link
Collaborator

telxt commented Mar 20, 2023

Sorry, the current OpenDelta can't support training with 3 different deltas using one back-bone model.
Sorry for not being able to help you, we will conduct further research and try our best to make improvements so that Open Delta can support multi-task training.

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