Run the model loader in batches so as to avoid memory issues if dealing with too many records.