Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenELM example? #55

Closed
MatthewWaller opened this issue Apr 24, 2024 · 3 comments
Closed

OpenELM example? #55

MatthewWaller opened this issue Apr 24, 2024 · 3 comments

Comments

@MatthewWaller
Copy link

Thanks for the awesome work! I would request an OpenELM example. Or if we can tweak one of the existing examples for OpenELM, that would be great. Any guidance?

@mobile-appz
Copy link

Have unsucessfully tried to run the swift LLM tool with this model: mlx-community/OpenELM-1_1B-Instruct-4bit

It's now working in MLX core with the Python code. The output is impressive for the very small model size, meaning it should offer great utility on older iOS devices with less RAM. However, it's not working in MLX-Swift. It has the same error as per the issue below. "Error: unhandledKeys(base: "Embedding", keys: ["biases", "scales"])". So it appears that something fundamental needs to be done to get this to work at all in iOS and Swift.

#53 (comment)

@davidkoski
Copy link
Collaborator

#63

@MatthewWaller
Copy link
Author

Good to close when the other PR is accepted! Would love to figure out how to get the proper instruct prompt working, but I can open a different PR for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants