committed by
GitHub
parent
a2e8d7e469
commit
c4fda0e036
@@ -118,12 +118,19 @@ extension ModelConfiguration {
|
||||
"<|im_start|>user\n\(prompt)<|im_end|>\n<|im_start|>assistant\n"
|
||||
}
|
||||
|
||||
public static let mistral7B4bit = ModelConfiguration(
|
||||
id: "mlx-community/Mistral-7B-v0.1-hf-4bit-mlx",
|
||||
public static let mistralNeMo4bit = ModelConfiguration(
|
||||
id: "mlx-community/Mistral-Nemo-Instruct-2407-4bit",
|
||||
defaultPrompt: "Explain quaternions."
|
||||
) { prompt in
|
||||
"<s>[INST] \(prompt) [/INST] "
|
||||
}
|
||||
|
||||
// https://www.promptingguide.ai/models/mistral-7b
|
||||
defaultPrompt: "describe the swift language"
|
||||
)
|
||||
public static let mistral7B4bit = ModelConfiguration(
|
||||
id: "mlx-community/Mistral-7B-Instruct-v0.3-4bit",
|
||||
defaultPrompt: "Describe the Swift language."
|
||||
) { prompt in
|
||||
"<s>[INST] \(prompt) [/INST] "
|
||||
}
|
||||
|
||||
public static let codeLlama13b4bit = ModelConfiguration(
|
||||
id: "mlx-community/CodeLlama-13b-Instruct-hf-4bit-MLX",
|
||||
@@ -213,6 +220,8 @@ extension ModelConfiguration {
|
||||
case .idle:
|
||||
bootstrapState = .bootstrapping
|
||||
register(configurations: [
|
||||
mistralNeMo4bit,
|
||||
smolLM_135M_4bit,
|
||||
mistral7B4bit,
|
||||
codeLlama13b4bit,
|
||||
phi4bit,
|
||||
|
||||
Reference in New Issue
Block a user