Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions Libraries/MLXLLM/LLMModelFactory.swift
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ public class LLMTypeRegistry: ModelTypeRegistry, @unchecked Sendable {
"gpt_oss": create(GPTOSSConfiguration.self, GPTOSSModel.init),
"lille-130m": create(Lille130mConfiguration.self, Lille130mModel.init),
"olmoe": create(OlmoEConfiguration.self, OlmoEModel.init),
"olmo2": create(Olmo2Configuration.self, Olmo2Model.init),
]
}
}
Expand Down Expand Up @@ -298,13 +299,18 @@ public class LLMRegistry: AbstractModelRegistry, @unchecked Sendable {
defaultPrompt: "Why is the sky blue?"
)

static public let lille_130m_bf16 = ModelConfiguration(
id: "mlx-community/lille-130m-instruct-bf16",
defaultPrompt: "Why is the sky blue?"
)

static public let olmoe_1b_7b_0125_instruct_4bit = ModelConfiguration(
id: "mlx-community/OLMoE-1B-7B-0125-Instruct-4bit",
defaultPrompt: "Why is the sky blue?"
)

static public let lille_130m_bf16 = ModelConfiguration(
id: "mlx-community/lille-130m-instruct-bf16",
static public let olmo_2_1124_7B_Instruct_4bit = ModelConfiguration(
id: "mlx-community/OLMo-2-1124-7B-Instruct-4bit",
defaultPrompt: "Why is the sky blue?"
)

Expand Down Expand Up @@ -352,6 +358,7 @@ public class LLMRegistry: AbstractModelRegistry, @unchecked Sendable {
exaone_4_0_1_2b_4bit,
lille_130m_bf16,
olmoe_1b_7b_0125_instruct_4bit,
olmo_2_1124_7B_Instruct_4bit,
]
}

Expand Down
Loading