rajatsharma369007 / peft-fine-tuning-genAI

Lightweight fine-tuning is one of the most important techniques for adapting foundation models, because it allows you to modify foundation models for your needs without needing substantial computational resources.
0 stars 0 forks source link

Lightweight Fine-Tuning to a Foundation Model using PEFT

Lightweight fine-tuning is one of the most important techniques for adapting foundation models, because it allows you to modify foundation models for your needs without needing substantial computational resources. In this project, I am applying parameter-efficient fine-tuning using the Hugging Face peft library. Hugging Face PEFT allows you to fine-tune a model without having to fine-tune all of its parameters

Dataset Used:

AG is a collection of more than 1 million news articles. News articles have been gathered from more than 2000 news sources by ComeToMyHead in more than 1 year of activity. https://huggingface.co/datasets/fancyzhx/ag_news

Libraries Used:

Files in the Repo:

Licensing, Authors, Acknowledgements

Must give credit to Udacity in providing the required resources to train and test the model. You can checkout their program: Generative AI nanodegree. Feel free to use the code here as you would like!