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

Joint loss in pretraining #21

Open
zhangliang-04 opened this issue Sep 15, 2021 · 1 comment
Open

Joint loss in pretraining #21

zhangliang-04 opened this issue Sep 15, 2021 · 1 comment

Comments

@zhangliang-04
Copy link

Hi,
We found that video text joint loss in pretraining is calculated from masked video and text. Why not use the origin video and text like retrieval finetune?

sim_matrix_text_visual = self.get_similarity_logits(sequence_output_alm, visual_output_alm,

@ArrowLuo
Copy link
Contributor

ArrowLuo commented Sep 15, 2021

Hi @zhangliang-04, we use the masked sequences for the consistency of other losses. An elaborate design for the retrieval task may benefit from a non-masked version, however, we have not tested on it. Maybe it can improve performance further.

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