MultiKE
MultiKE copied to clipboard
Questions in common_space_learning
Hi, I think it‘s a really awesome work :)
I have a small question. During common space training with mini-batch, samples are taken from all entities with random.sample
.
https://github.com/nju-websoft/MultiKE/blob/e4e3cd25c0dd2f40243f0c9fadd618f8c6b7e5e6/code/MultiKE_model.py#L465 However, random.sample
seems to be a sampling method with replacement. Does it result in some samples not being trained? If yes, is it correct?
Thanks.