v1.2.2
Highlights
fixed initializer that takes:template
public convenience init(
from url: URL,
template: Template,
history: [Chat] = [],
seed: UInt32 = .random(in: .min ... .max),
topK: Int32 = 40,
topP: Float = 0.95,
temp: Float = 0.8,
historyLimit: Int = 8,
maxTokenCount: Int32 = 2048
) {
self.init(
from: url.path,
history: history,
seed: seed,
topK: topK,
topP: topP,
temp: temp,
historyLimit: historyLimit,
maxTokenCount: maxTokenCount
)
self.template = template
}
it was only setting stopSequence
property, leaving preProcess
property.