public ParallelTrainRunner(RNNLMConfiguration conf, LMSaver saver) {

        lm = null;
        try {
            lm = new RNNLM(conf);
        } catch (IOException e) {
            Logger.error("[ParallelTrainRunner] error");
            e.printStackTrace();
        }

        if (saver != null && lm != null) {
            saver.restore(lm);
        }
    }