MultiKE icon indicating copy to clipboard operation
MultiKE copied to clipboard

Questions in common_space_learning

Open DuanXu-97 opened this issue 3 years ago • 0 comments

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.

DuanXu-97 avatar May 26 '21 07:05 DuanXu-97