Custom GPT: Step-by-step guide to fine tuning Open Source LLMs

Опубликовано: 16 Октябрь 2024
на канале: Datahat -- Simplified AI
1,002
22

Many of you have been asking about fine tuning Open Source LLMs for a custom dataset for a specified task

Large Language Models (LLMs) are deep learning models and utilize the same techniques for fine tuning any other deep learning architecture

In this tutorial, we shall learn a Step-by-Step guide to easily Fine Tune Open Source LLMs on a custom dataset for various tasks such as text classification, question answering, Named Entity Recognition, etc

We shall build a Custom GPT and train it for text classification on emotion dataset

If you find the content useful, make sure to give it a THUMBS UP :)

Additional References

dataset: https://huggingface.co/datasets/dair-...

Various Fine tuning techniques for LLM (Peft, LoRA, QLoRA):    • Fine Tuning LLMs using PeFT with limi...  

Fine tuning Llama2 using Auto LLM:    • Fine tuning Llama2 using AutoTrain Hu...  

Download the notebook here: https://topmate.io/datahat/688726

[Use code "ytdatahat" to grab your copy for FREE]
--------------------------------------------------------------------------------------------------------------------------------------

Why learn from datahat??

"Datahat is a bridge"
learners --- professionals by simplified data science

It provides a platform to learn, create and collaborate helping in the #career #transition to data science, machine learning and data analysis


Here are few interesting reads on our blog:   / souravagarwal54321  

Connect with us on linkedIn:   / datahat-unfoldingmystery  

Book a mentorship session: https://topmate.io/datahat

--------------------------------------------------------------------------------------------------------------------------------------

Additionally, here are few more useful resources for beginners and curious data enthusiasts

1. kaggle: a platform to learn, practice, compete and win cash prizes [https://www.kaggle.com/]

2. paperswithcode: website presenting the latest in machine learning and data science research and the code implementations [https://paperswithcode.com/]

3. google colab: a platform to run code, build machine learning solutions, explore the capabilities of GPU and TPU without any hassle in setting up the environment: [https://colab.research.google.com/]

Remember, "the greatest investment ever made is investment in self growth and learning"