4 references to FromPretrained
Microsoft.ML.GenAI.Samples (4)
MEAI\Phi3.cs (1)
30
var model = Phi3ForCasualLM.
FromPretrained
(weightFolder, "config.json", layersOnTargetDevice: -1, quantizeToInt8: true);
Phi3Mini\AutoGenSample.cs (1)
32
var model = Phi3ForCasualLM.
FromPretrained
(weightFolder, "config.json", layersOnTargetDevice: -1, quantizeToInt8: true);
Phi3Mini\SemanticKernelSample.cs (2)
28
var model = Phi3ForCasualLM.
FromPretrained
(weightFolder, "config.json", layersOnTargetDevice: -1, quantizeToInt8: true);
59
var model = Phi3ForCasualLM.
FromPretrained
(weightFolder, "config.json", layersOnTargetDevice: -1, quantizeToInt8: true);