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.
|
batch_pos = random.sample(entities, batch_size) |
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.
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.MultiKE/code/MultiKE_model.py
Line 465 in e4e3cd2
random.sampleseems to be a sampling method with replacement. Does it result in some samples not being trained? If yes, is it correct?Thanks.