Some fixes for gemma2 (#99)
* some fixes for gemma2 * format * fixes * format
This commit is contained in:
@@ -58,7 +58,7 @@ public enum ModelType: String, Codable {
|
||||
return GemmaModel(configuration)
|
||||
case .gemma2:
|
||||
let configuration = try JSONDecoder().decode(
|
||||
GemmaConfiguration.self, from: Data(contentsOf: configuration))
|
||||
Gemma2Configuration.self, from: Data(contentsOf: configuration))
|
||||
return Gemma2Model(configuration)
|
||||
case .qwen2:
|
||||
let configuration = try JSONDecoder().decode(
|
||||
|
||||
Reference in New Issue
Block a user