Closed sagelywizard closed 6 years ago
This PR completes the main functionality of the EpisodeSampler. Specifically, this PR adds functionality to do the following:
It's easiest to use this sampler with episode.load_sampler_from_config(path). This function expects a path to a yaml config file. e.g.
episode.load_sampler_from_config(path)
query_size: 4 support_size: 4 batch_size: 5 max_len: 500 dataset: lyrics dataset_path: /Users/username/lyrics_data split: train
@psc-g @sachinravi14 I think I've made all the changes from your comments! All that should remain is squashing some of those garbage commits. Any final thoughts?
This PR completes the main functionality of the EpisodeSampler. Specifically, this PR adds functionality to do the following:
It's easiest to use this sampler with
episode.load_sampler_from_config(path)
. This function expects a path to a yaml config file. e.g.