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

preview_player
Показать описание
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:

Recommended Videos:

MBart Language Translation (English to Tamil/Hindi) using Hugging Face | Python NLP
-
Рекомендации по теме
Комментарии
Автор

Thanks for amazing tutorials.
Do you have a tutorial on how to clean or make datasets?

lordgideonmarin
Автор

Thanks for the tutorial. I have an issue with a 1gb size txt file but google colab crash without any error. Do you know what configuration I should use to train with this type of files? thanks

ajefernandez
Автор

Thanks for the great tutorial.
Do you have a video tutorial on how to fine-tune GPT2 for language model (i.e., next word prediction) ?

AI-LearnAndEarn
Автор

The model is pytorch_model.bin, how I can run using this with the gpt2.
I used Google colab and trained the model, with the same way you show, but when I try to use the open ai gpt2 on my pc I don't know how to load the pretrained model.

sollekram
Автор

ERROR: Could not find a version that satisfies the requirement aitextgen (from versions: none)
ERROR: No matching distribution found for aitextgen
It don't work- Pls advice

Websbird
Автор

You PC screen is not completely visible. It is difficult to understand what you were trying to do.

surajchopade
Автор

Please can you share the code here so that I can have access to it. Thank you

victoretim
Автор

The part where you say that you are showing the data in the video is not visible. Could you add it somehow so that we can see how you prepared your data? (see 6:14 and onwards)

ConceptOfJustice
Автор

Nadia part is not working for Mac M1, any other way?

rishvikchandel
Автор

what is the difference between aitextgen and gpt2

nesrinebouazizi
Автор

It really bothered me why you kept pronouncing ai as "aye aye". It seems to be your are pronouncing the acryonym "AI" (Artificial Intelligence) instead of saying "aye eye". But this is probably compliant with a younger generation of native english speakers who are (for whatever weird reason) pronouncing every acronym now. It seems the rules of English are going out the window.

fitybux
join shbcf.ru