Skip to content
This repository was archived by the owner on Mar 14, 2024. It is now read-only.
This repository was archived by the owner on Mar 14, 2024. It is now read-only.

[Question] Stability of embeddings on consecutive runs? #264

Description

@ml7

Hi there! I hope all is well. I noticed in the code that the embeddings seem to be initialized from a centered normal distribution (originally thought torch.empty was being used), which naturally produces different results on each call (both in terms of magnitude and orientation). We're noticing that the resulting embeddings trained on two separate runs (holding data fixed) seem to differ noticeably. I imagine that it's probably up to a difference in rotation/translation. We're wondering if the initialization might be the cause.

Would it also potentially be caused by the negative sampling not producing the same negatives? I did not see a generator/random seed in the negative sampling function. Any thoughts are appreciated!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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