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

How to combine autoregressive model and classification multi-task head in ranking model? #30

Open
MoFHeka opened this issue Jun 3, 2024 · 1 comment

Comments

@MoFHeka
Copy link

MoFHeka commented Jun 3, 2024

If I understand correctly, autoregressive model has a loss, and also multi-task dense layers followed autoregressive model has a weighted loss. How to combine them?
And in ranking model, how to calculate the loss of autoregressive model? It's the same as LLM which is cross-entropy? Or a softmax?

@dst111dst
Copy link

same question here
And I'm confused about the loss function part, if I understand correctly, the loss part in the repo does not show things related to generation?

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