Downloads · 30 days
19
40% of all-time downloads
Yasir-khan/Recipe-Using-GPT2
Recipe-Using-GPT2 is a text generation model from Yasir-khan. Use it when you need the model to write or continue text. It is set up for transformers.
I want to finetune a Generative AI Model that takes ingredients as input and generate an accurate recipe specific to the Indian cuisine. Finetuning a generation model to be able to generate accurate recipes about a pa…
Downloads · 30 days
19
40% of all-time downloads
All-time downloads
48
Public
Parameters
124M
498 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors498 MB · 99%
From the Hugging Face model README
I want to finetune a Generative AI Model that takes ingredients as input and generate an accurate recipe specific to the Indian cuisine. Finetuning a generation model to be able to generate accurate recipes about a particular dish specific to your cuisine.
There is an existing dataset available on Kaggle which I used to extract some of the samples. I used this particular dataset because it fulfills my requirements of including Indian cuisine for recipe generation. The dataset contained cuisines from various cultures, but I extracted only the samples specific to Indian cuisine.
I have extracted more than 600 samples from the dataset. I also performed comprehensive data analysis to check for incorrect, incomprehensible, irrelavant data. I removed the irrelevant features, duplicate values, and samples that were in languages other than English. I imputated the null values as there were less number of fields. Similarly, I cleaned the text from extra spaces. In order to make sure diversity of the dataset, I included course and diet fields which make the data more diverse.