1 write to _pipeline
Microsoft.ML.GenAI.Core (1)
Trainer\CasualLMSupervisedFineTuningTrainer.cs (1)
24
_pipeline
= pipeline;
3 references to _pipeline
Microsoft.ML.GenAI.Core (3)
Trainer\CasualLMSupervisedFineTuningTrainer.cs (3)
37
var optimizer = new Adam(
_pipeline
.Model.parameters(), lr: trainingOption.LearningRate);
58
var output =
_pipeline
.Model.forward(new CausalLMModelInput(inputIds, attentionMask: attentionMask, labels: labels, useCache: false));
82
yield return
_pipeline
;