KernelMemory EmbeddingMode bug correction
This commit is contained in:
parent
2323988cc7
commit
f578fcafa3
|
@ -80,7 +80,8 @@ namespace LLamaSharp.KernelMemory
|
|||
{
|
||||
ContextSize = config?.ContextSize ?? 2048,
|
||||
Seed = config?.Seed ?? 0,
|
||||
GpuLayerCount = config?.GpuLayerCount ?? 20
|
||||
GpuLayerCount = config?.GpuLayerCount ?? 20,
|
||||
EmbeddingMode = true
|
||||
};
|
||||
var weights = LLamaWeights.LoadFromFile(parameters);
|
||||
var context = weights.CreateContext(parameters);
|
||||
|
|
Loading…
Reference in New Issue