This repository was archived by the owner on Oct 31, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 308
Missing required positional arguments #237
Comments
This issue has already been resolved. |
Hello, I encountered the same error as you did and I was wondering if you would be so kind as to share the method you used to solve it. I would greatly appreciate it. Thank you very much for your time and help. |
1 similar comment
Hello, I encountered the same error as you did and I was wondering if you would be so kind as to share the method you used to solve it. I would greatly appreciate it. Thank you very much for your time and help. |
Can you share the solution. I am running into this when training on GPU (though the error does not occur on CPU). |
Hi, I encountered the same error as you did. Is there anyone able to share the solution? Thanks! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi, I'm following the instructional code on the readme and ran
python train_dense_encoder.py \ train_datasets=[nq_train] \ dev_datasets=[nq_dev] \ train=biencoder_local \ output_dir={path to checkpoints dir}
after install the nq_train and nq_dev datasets however whenever I run this I get an error in pytorch
torch/nn/modules/module.py", line 1190, in _call_impl return forward_call(*input, **kwargs) TypeError: forward() missing 6 required positional arguments: 'question_ids', 'question_segments', 'question_attn_mask', 'context_ids', 'ctx_segments', and 'ctx_attn_mask'
I'm not sure what could be causing this.
The text was updated successfully, but these errors were encountered: