Up next


AI (GPT-2) Text Generation in Python with Kaggle Dataset | FineTuning GPT Model with Custom Text

2,914 Views
AI Lover
3
Published on 06/02/23 / In How-to & Learning

In this Python NLP Tutorial, We'll learn how to fine-tune a pre-trained GPT2 Model with Custom Text Data (Indian Food Recipes) and let the model generate new Text. This is done using aitextgen package and we use 124M GPT-2 Model for Demonstration.

Links:

GPT2 generated Indian Food Recipes - https://www.kaggle.com/nulldat....a/gpt2-generated-ind

aitextgen github - https://github.com/minimaxir/aitextgen

aitextgen documentation - https://docs.aitextgen.io/

How to upload model to hugging face - https://docs.aitextgen.io/upload/

6000+ Indian Food Recipes Dataset- https://www.kaggle.com/kanishk....307/6000-indian-food

Recommended Videos:

Build Streamlit PCA Web App in Python - Code Walkthrough - https://youtu.be/3LjZCvbjq3A


MBart Language Translation (English to Tamil/Hindi) using Hugging Face | Python NLP
-
https://youtu.be/oO7k5lH8Oe8

Show more
0 Comments sort Sort By

Up next