repro.data.dataset_readers.dataset_reader#
- class repro.data.dataset_readers.dataset_reader.DatasetReader#
- read(*input_files)#
Loads the instances from the input_files by calling the _read method. After the instances have been loaded, this method verifies that the instances all have an “instance_id” key.
- Parameters
input_files (str) – The input files
- Returns
The instances
- Return type
List[InstanceDict]