Skip to content

bansalsahab/Poem-Generation-using-FastAI-and-GPT-2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

Poem Generation using FastAI and GPT-2

This project utilizes the FastAI library and GPT-2 model for generating poems. It fine-tunes the pre-trained GPT-2 model on a dataset of poems and then generates new poems based on user prompts.

Overview

The repository contains code for the following:

  • Fine-tuning the GPT-2 model on a dataset of poems
  • Generating new poems based on given prompts

Requirements

  • Python 3.x
  • FastAI
  • Transformers library
  • PyTorch

Usage

  1. Clone the repository:
git clone https://github.com/bansalsahab/Poem-Generation-using-FastAI.git
cd Poem-Generation-using-FastAI-and-GPT-2

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published