Skip to content

Feat/randomized neg sampling types#10

Open
Yokto13 wants to merge 11 commits intomainfrom
feat/randomized-neg-sampling-types
Open

Feat/randomized neg sampling types#10
Yokto13 wants to merge 11 commits intomainfrom
feat/randomized-neg-sampling-types

Conversation

@Yokto13
Copy link
Owner

@Yokto13 Yokto13 commented Dec 3, 2024

No description provided.

…ge if it is present multiple times

It might happen that langage description contains multiple ocurrences of the same qid (in theory it shouldn't but due to remaping it happens) this makes sure that these multiple QIDs do not break the process.
Calling np.random.choice repeatedly is grossly inefficient. This speeds things up. Nevertheless, it can probably be optimized further.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant