Skip to content

Matchmaker - Mismatch Between Model forward() Inputs and Items Generated by Train #106

Discussion options

You must be logged in to vote

Hello,

to your questions:

  • If you want to use lower precision training with fp16 then you can add that as argument to every forward function, if not then just delete it in the train.py. However there is no mentioning of fp16 in the assignment.
  • As given in the assignment, the forward function of the tk model should only take as inputs the following: forward(self, query: Dict[str, torch.Tensor], document: Dict[str, torch.Tensor]) -> torch.Tensor. It seems to me that you are not looking at the assignment, but at the implementation solution from the paper. From the given query and document token input you can also derive the query and document mask within the forward function, therefore you o…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sophiaalthammer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants