Skip to content
Snippets Groups Projects

Add interface for using generic CoreML LLMs

Merged Abhinav Jain requested to merge compile_cmd_line_generic_model_broken into main
Files
3
@@ -46,9 +46,9 @@ class CoreMLEncoder<Scalar: BinaryFloatingPoint & Codable>: SNLPEncoder {
var model: String
required init() {
zeroes = []
dimensions = 0
model = "all-MiniLM-L6-v2"
zeroes = Array(repeating: Scalar(0), count: 384)
dimensions = 384
model = "all_MiniLM_L6_v2"
}
Loading