Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable custom sampling strategy in MultiCorpusSampledDataset #639

Closed
wants to merge 2 commits into from

Conversation

cndn
Copy link
Contributor

@cndn cndn commented Apr 17, 2019

Summary: Add argument sampling_func in the constructor to enable custom sampling over a list of dataset keys. The default strategy is to sample uniformly as it did previously.

Reviewed By: liezl200

Differential Revision: D14965774

Summary: RT

Differential Revision: D14967268

fbshipit-source-id: 874c171a061cccc84d4e04214067d48423449e07
…kresearch#639)

Summary:
Pull Request resolved: facebookresearch#639

Add argument sampling_func in the constructor to enable custom sampling over a list of dataset keys. The default strategy is to sample uniformly as it did previously.

Reviewed By: liezl200

Differential Revision: D14965774

fbshipit-source-id: 7cc4e5d5542289cdf14840e5432d5bba43cb4287
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 90d6eac.

yfyeung pushed a commit to yfyeung/fairseq that referenced this pull request Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants