Beispiel #1
0
 def valid_iter_fct(): 
   return build_dataset_iter(
     load_dataset("valid", opt), fields, opt, is_train=False)
Beispiel #2
0
 def train_iter_fct(): 
   return build_dataset_iter(
     load_dataset("train", opt), fields, opt)