Skip to content

Questions in common_space_learning #16

@DuanXu-97

Description

@DuanXu-97

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions