Join the conversation

Join the community of Machine Learners and AI enthusiasts.

Sign Up
philschmid 
posted an update Jan 23
Post
What's the best way to fine-tune open LLMs in 2024? Look no further! 👀 I am excited to share “How to Fine-Tune LLMs in 2024 with Hugging Face” using the latest research techniques, including Flash Attention, Q-LoRA, OpenAI dataset formats (messages), ChatML, Packing, all built with Hugging Face TRL. 🚀

It is created for consumer-size GPUs (24GB) covering the full end-to-end lifecycle with:
💡Define and understand use cases for fine-tuning
🧑🏻‍💻 Setup of the development environment
🧮 Create and prepare dataset (OpenAI format)
🏋️‍♀️ Fine-tune LLM using TRL and the SFTTrainer
🥇 Test and evaluate the LLM
🚀 Deploy for production with TGI

👉  https://www.philschmid.de/fine-tune-llms-in-2024-with-trl

Coming soon: Advanced Guides for multi-GPU/multi-Node full fine-tuning and alignment using DPO & KTO. 🔜

Thanks a lot for this!

This is so cool, thanks a lot! added to my reading list :)

Thanks a lot! That is exactly the answer to my question where to start. I have no further reason to excuse myself now :-)

Can a beginner take this course ?

How would you advice a beginner in ML to go about his journey (what to focus on and what not to focus on)🥹