ImmanuelLee

Results 1 issues of ImmanuelLee

Why code below, in the project, can be used as "loss". ` oloss = t.bmm(ovectors, ivectors).squeeze().sigmoid().log().mean(1) nloss = t.bmm(nvectors, ivectors).squeeze().sigmoid().log().view(-1, context_size, self.n_negs).sum(2).mean(1)` In my judgment, "loss" should be "prediction" -...