-
Notifications
You must be signed in to change notification settings - Fork 218
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
What is bert/encoder
and bert_1/encoder
for retriever model?
#152
Comments
@xhluca |
Sorry I'm not sure, id recommend taking a look at the Huggingface repo. |
@xhluca |
I am not aware of it. I just finetune it using in-batch negative sampling following papers like DPR (a lot of examples by huggingface on how to do that), there might be ways to finetune TAPAS specifically but I am not aware of them. |
I needed to convert the models to torch, but I can't figure out whether
bert/encoder
corresponds to the question encoder andbert_1/encoder
to the table encoder, or the other way around.The variable names can be found when you directly read the ckpt file:
Which gives you the following:
It is not clear from reading the code which one is the question encoder, which makes it difficult to use the model on a different dataset.
The text was updated successfully, but these errors were encountered: