Code Monkey home page Code Monkey logo

mlx-notes's Introduction

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

mlx-notes's People

Contributors

uogbuji avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.