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

fine tuning two tasks at the same time #6

Closed
zkievanlou opened this issue Nov 2, 2022 · 5 comments
Closed

fine tuning two tasks at the same time #6

zkievanlou opened this issue Nov 2, 2022 · 5 comments

Comments

@zkievanlou
Copy link

hello
Thanks for your good repository
Considering that mvp is a multitasking project, how can we fine tune two tasks simultaneously?

@StevenTang1998
Copy link
Member

I think you can merge two datasets into a new dataset with a new property yaml file.

@zkievanlou
Copy link
Author

Is it possible that we can fine tune two task such as Paraphrase generation and text classification whit MVP+M( we merge our two datasets into a new dataset)?
In other words, is it possible that we can have two types of outputs(generation and classification) at the same time?

@StevenTang1998
Copy link
Member

StevenTang1998 commented Nov 3, 2022

If you format the classification task as a generative task, you easily achieve your goal by merging two datasets into a new one. (this is recommended)
If you want to use a classification head to conduct the classification task, maybe you should modify the code to conduct generation and classification at the same time.

@zkievanlou
Copy link
Author

thanks a lot.
Is it possible to do two generation tasks at the same time and get two outputs? How?

@StevenTang1998
Copy link
Member

Just merge them into a new dataset.

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