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