Class TrainingCheckpoint
java.lang.Object
io.github.kirstenali.deepj.persistence.TrainingCheckpoint
-
Method Summary
Modifier and TypeMethodDescriptionstatic TrainingProgressload(DecoderOnlyModel model, AdamW optimizer, StatefulBatchSource dataset, CosineLearningRateSchedule schedule, Path path) static TrainingProgressload(List<Parameter> params, AdamW optimizer, StatefulBatchSource dataset, CosineLearningRateSchedule schedule, Path path) static booleanstatic voidsave(DecoderOnlyModel model, AdamW optimizer, StatefulBatchSource dataset, TrainingProgress progress, CosineLearningRateSchedule schedule, Path path) static voidsave(List<Parameter> params, AdamW optimizer, StatefulBatchSource dataset, TrainingProgress progress, CosineLearningRateSchedule schedule, Path path)
-
Method Details
-
matches
- Throws:
IOException
-
save
public static void save(List<Parameter> params, AdamW optimizer, StatefulBatchSource dataset, TrainingProgress progress, CosineLearningRateSchedule schedule, Path path) throws IOException - Throws:
IOException
-
save
public static void save(DecoderOnlyModel model, AdamW optimizer, StatefulBatchSource dataset, TrainingProgress progress, CosineLearningRateSchedule schedule, Path path) throws IOException - Throws:
IOException
-
load
public static TrainingProgress load(List<Parameter> params, AdamW optimizer, StatefulBatchSource dataset, CosineLearningRateSchedule schedule, Path path) throws IOException - Throws:
IOException
-
load
public static TrainingProgress load(DecoderOnlyModel model, AdamW optimizer, StatefulBatchSource dataset, CosineLearningRateSchedule schedule, Path path) throws IOException - Throws:
IOException
-