def valid_iter_fct(): return build_dataset_iter( load_dataset("valid", opt), fields, opt, is_train=False)
def train_iter_fct(): return build_dataset_iter( load_dataset("train", opt), fields, opt)