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

Possible bug in config file #17

Closed
dv-fenix opened this issue Apr 10, 2022 · 4 comments
Closed

Possible bug in config file #17

dv-fenix opened this issue Apr 10, 2022 · 4 comments

Comments

@dv-fenix
Copy link

Hi @aishwaryap

I was revisiting the code for the E.T. baseline and there seems to be a bug in the config file for training the model:

detach_lang_emb = False

I believe it should be detach_lang_emb = True since we do not want to propagate the gradients through the look-up table or the language encoder.

Please let me know your thoughts on this.

Thanks,
Divyam

@aishwaryap
Copy link
Contributor

Hi @dv-fenix for the TEACh paper, we are not doing any language pretraining so we do want the gradients to propagate through the language encoder. So this is the desired setting.

@dv-fenix
Copy link
Author

Hi @aishwaryap

Thank you for the clarification!
For the sake of completion, can you clarify what the desired setting would be when training the E.T. baseline with a language encoder that has been pre-trained on synthetic language instructions from ALFRED?

@aishwaryap
Copy link
Contributor

Hi @dv-fenix, apologies for the late response but in that situation I would still propagate the gradients (and hence keep detach_lang_emb = False). Pretraining language on ALFRED is not quite as effective as BERT-like pretraining would be so you would still want the language encoder to be finetuned.

@dv-fenix
Copy link
Author

Oh cool! Thanks a lot @aishwaryap, I am closing this issue now.

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