initContext method
Future<Map<Object?, dynamic> ?>
initContext(
- String model, {
- bool embedding = false,
- int nCtx = 768,
- int nBatch = 768,
- int nThreads = 0,
- int nGpuLayers = 0,
- bool useMlock = true,
- bool useMmap = true,
- String lora = "",
- bool loraInitWithoutApply = false,
- double loraScaled = 1.0,
- double ropeFreqBase = 0.0,
- double ropeFreqScale = 0.0,
- bool emitLoadProgress = false,
Implementation
Future<Map<Object?, dynamic>?> initContext(String model,
{bool embedding = false,
int nCtx = 768,
int nBatch = 768,
int nThreads = 0,
int nGpuLayers = 0,
bool useMlock = true,
bool useMmap = true,
String lora = "",
bool loraInitWithoutApply = false,
double loraScaled = 1.0,
double ropeFreqBase = 0.0,
double ropeFreqScale = 0.0,
bool emitLoadProgress = false}) {
throw UnimplementedError(
"Method initContext(String model,{int modelType = 1,bool embedding = false,int nCtx = 768,int nBatch = 768,int nThreads = 0,int nGpuLayers = 0,bool useMlock = true,bool useMmap = true,String lora = "
",bool loraInitWithoutApply = false,double loraScaled = 1.0,double ropeFreqBase = 0.0,double ropeFreqScale = 0.0,bool emitLoadProgress = false}) has not been implemented.");
}