v1.4.2
Highlights
- fixed initializer with
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,
stopSequence: template.stopSequence,
history: history,
seed: seed,
topK: topK,
topP: topP,
temp: temp,
historyLimit: historyLimit,
maxTokenCount: maxTokenCount
)
self.preProcess = template.preProcess
self.template = template
}
last line was missing. damn.
Full Changelog: v1.4.1...v1.4.2