You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ChatMLX depends on mlx-libraries and the latest version of swift-transformers, but mlx-libraries uses an older swift-transformers version. Looking forward to an upgrade.
defaultPrompt:"What is the difference between a fruit and a vegetable?"
){
prompt in
"<|begin_of_text|><|start_header_id|>system<|end_header_id|>\nYou are a helpful assistant<|eot_id|>\n<|start_header_id|>user<|end_header_id|>\n\(prompt)<|eot_id|>\n<|start_header_id|>assistant<|end_header_id|>"
}
publicstaticletllama3_8B_4bit=ModelConfiguration(
id:"mlx-community/Meta-Llama-3-8B-Instruct-4bit",
defaultPrompt:"What is the difference between a fruit and a vegetable?"
){
prompt in
"<|begin_of_text|><|start_header_id|>system<|end_header_id|>\nYou are a helpful assistant<|eot_id|>\n<|start_header_id|>user<|end_header_id|>\n\(prompt)<|eot_id|>\n<|start_header_id|>assistant<|end_header_id|>"
}
privateenumBootstrapState:Sendable{
case idle
case bootstrapping
case bootstrapped
}
The text was updated successfully, but these errors were encountered:
Hi @davidkoski @awni !
Is it possible to upgrade the dependencies?
The latest version of swift-transformers supports chat-template. huggingface/swift-transformers#104
ChatMLX depends on mlx-libraries and the latest version of swift-transformers, but mlx-libraries uses an older swift-transformers version. Looking forward to an upgrade.
mlx-swift-examples/Package.swift
Line 19 in 9266a62
After upgrading, you can also modify Libraries/LLM/Models.swift.
mlx-swift-examples/Libraries/LLM/Models.swift
Lines 115 to 237 in 9266a62
The text was updated successfully, but these errors were encountered: