examples/research_projects/longform-qa/eli5_utils.py/ELI5DatasetQARetriver/__init__
class ELI5DatasetQARetriver:    def __init__(self, examples_array, extra_answer_threshold=3, min_answer_length=64, training=True, n_samples=None):
        self.data = examples_array
        self.answer_thres = extra_answer_threshold
        self.min_length = min_answer_length
        self.training = training
        self.n_samples = self.data.num_rows if n_samples is None else n_samples