Skip to content
Discussion options

You must be logged in to vote

If you have specific constraints on how negatives should look like (e.g., a specific subset of allowed negatives), then I think the most straightforward way is to simply write a custom negative_sampling function that fits your needs.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@songsong0425
Comment options

@rusty1s
Comment options

@songsong0425
Comment options

@rusty1s
Comment options

Answer selected by songsong0425
@songsong0425
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants