Skip to content

Shared personal notes created while working with the Apple MLX machine learning framework

License

Notifications You must be signed in to change notification settings

uogbuji/mlx-notes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Notes on the Apple MLX machine learning framework

Apple MLX for AI/Large Language Models—Day One

Google Gemini-generated cover image for: Apple MLX for AI/Large Language Models—Day One Rendered markdown
LinkedIn version
Jupyter notebook

Converting models from Hugging Face to MLX format, and sharing

Google Gemini-generated cover image for: Converting models from Hugging Face to MLX format, and sharing Rendered markdown
LinkedIn version
Jupyter notebook

Retrieval augmentation with MLX: A bag full of RAG, part 1

Google Gemini-generated cover image for: Retrieval augmentation with MLX: A bag full of RAG, part 1 Rendered markdown
LinkedIn version
Jupyter notebook: In Progress…

More (up to date) MLX resources

A few general notes

  • For the many chat formats already charted out in llama.cpp, see the @register_chat_format decorated functions in llama_chat_format.py

To do, or figure out

Syncing articles to notebooks

Use Jupytext to convert the .md articles to .ipynb notebooks:

jupytext --to ipynb 2024/MLX-day-one.md

May have to convert cells using plain pip to use %pip instead. It also doesn't seem to check the format metadata, so you might need to convert non-Python cells back to Markdown by hand.

License

Shield: CC BY 4.0

This work is licensed under a Creative Commons Attribution 4.0 International License.

CC BY 4.0

See also: https://github.com/santisoler/cc-licenses?tab=readme-ov-file#cc-attribution-40-international