Matchmaker - Mismatch Between Model forward() Inputs and Items Generated by Train #106
-
I've run my implementation of TK for an epoch and the results are worse than completely random weights (i.e. just running it on 10 iterations over 5 epochs, I get ~0.1 MPP@10 whereas running 1 epoch on the full training set gives me 0.01). I assume it has to do with an error in my implementation, so I went into a really deep dive of the matchmaker implementation to see what I'm doing wrong and I'm getting really confused right now. The input produced by train.py in matchmaker is Now, every model we are supposed to look at has a forward that takes in four required inputs, none of which are Even if feeding a tensor argument, I can't see how adding two dictionaries (or even their relevant tensors together) could produce four separate inputs. My pytorch is really rusty as well and unfortunately, none of the pytorch tutorials really help in explaining this. Given I've already spent 8 hours trying to understand this, I'd appreciate some help on that front as the lecture literally only mentions masking once in passing as though it were a trivial matter. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hello, to your questions:
Best, |
Beta Was this translation helpful? Give feedback.
Hello,
to your questions: