private static File createTemporaryApplicationDir(String modelsPath) throws IOException {
        String tmpDir = Files.exists(Path.of("target")) ? "target" : "";
        File temporaryApplicationDir = Files.createTempDirectory(Path.of(tmpDir), "tmp_").toFile();
        File modelsDir = relativePath(temporaryApplicationDir, ApplicationPackage.MODELS_DIR.toString());
        IOUtils.copyDirectory(new File(modelsPath), modelsDir);
        return temporaryApplicationDir;
    }
Create a ModelsEvaluator from the models found in the modelsPath. Does
not need to be in a application package.

@param modelsPath Path to a directory containing models to import
@return a ModelsEvaluator containing the imported models
config-model/src/main/java/com/yahoo/vespa/model/container/ml/ModelsEvaluatorTester.java