Class FinetuningProgressEventArgs
- Namespace
- LMKit.Finetuning
- Assembly
- LM-Kit.NET.dll
Progress information raised by FinetuningProgress after every optimizer step and every validation batch.
public sealed class FinetuningProgressEventArgs : EventArgs
- Inheritance
-
FinetuningProgressEventArgs
- Inherited Members
Properties
- Accuracy
Running next-token accuracy for the current pass, in [0, 1].
- Epoch
Zero-based epoch currently running.
- IsValidation
True when this event reports a validation batch, false for a training step.
- LearningRate
Learning rate applied at this step.
- Loss
Running mean loss reported by the optimizer for the current pass.
- Step
Global optimizer step for training updates, or the batch index within the current validation pass when IsValidation is true.
- Stop
Set to true to request a cooperative stop. Training halts after the current batch and the adapter trained so far can still be saved.
- TotalEpochs
Total number of epochs in the run.
- TotalSteps
Total training steps planned for the run (epochs x steps per epoch), or the validation batch count during a validation pass.