Вход на сайт

Просмотр новости

Найдите то, что Вас интересует

A simple guide to local LLM fine-tuning on a Mac with MLX

Дата публикации: 08-01-2024 03:50:07

Hello there! Are you looking to fine-tune a large language model (LLM) on your Apple silicon Mac? If so, you’re in the right place. Let’s walk through the process of fine-tuning step-by-step. It won’t cost you a penny because we’re going to do it all on your own hardware using Apple’s MLX framework. Once we’re […]

Основное содержимое страницы с новостью.

Hello there! Are you looking to fine-tune a large language model (LLM) on your Apple silicon Mac? If so, you’re in the right place.

Let’s walk through the process of fine-tuning step-by-step. It won’t cost you a penny because we’re going to do it all on your own hardware using Apple’s MLX framework.

Once we’re done you’ll have a fully fine-tuned LLM you can prompt, all from the comfort of your own device.

I’ve broken this guide down into multiple sections. Each part is self contained, so feel free to skip to the part that’s most relevant to you:

  1. Setting up your environment.
  2. Building your training data for fine-tuning.
  3. Fine-tuning your LLM using the MLX framework.
  4. Testing and interacting with your fine-tuned LLM.

Let me add a disclaimer here. Everything in this space moves really fast, so within weeks some of this is going to be out of date! I’m also learning this myself, so I expect to read this back in a few months and feel slightly embarrassed.

That said, what I’m writing looks to be a good approach as of January 2024. I’ll try and update parts when major changes happen or I figure out a better way.

I hope you find this guide helpful! If you have any feedback, questions, or suggestions please drop them on the Twitter/X thread, or on the Mastodon thread.



P.S. Happy birthday Matt! Thanks for the prompt to write a blog post.

Схожие новости

#Наименование новостиТональностьИнформативностьДата публикации
1Part 3: Fine-tuning your LLM using the MLX framework012.2508-01-2024
2Part 1: Setting up your environment012.2408-01-2024
3Part 4: Testing and interacting with your fine-tuned LLM012.9108-01-2024
4Part 2: Building your training data for fine-tuning012.2808-01-2024
5How I'm Solving Local Inference010.419-06-2026
6Alibaba Aids In Development for Apple LLM07.4815-08-2026
7Local LLM on a Laptop: A 2026 Spreadsheet to Estimate RAM/VRAM, Token Speed, and ‘Can It Run Offline’06.5427-07-2026
8Lokale KI auf dem Laptop: So gut funktioniert LM Studio im Alltag0504-07-2026
9Как дообучить LLM. Рассказываю шаг за шагом08.708-06-2026

Классификация: . Схожих патентов: 0. Схожих новостей: 9. Тональность: 0. Информативность: 18.22. Источник: apeatling.com.