Edit model card

Poem Generation Project

Generate short, contextually relevant poems based on input themes or keywords (e.g., nature, love, seasons) using a fine-tuned GPT-2 model. This project uses the Poetry Dataset by Merve and the GPT-2 model from Hugging Face.

Project Overview

This project is designed to generate creative and stylistic short poems based on user-input themes or keywords. By fine-tuning a GPT-2 model on a curated poetry dataset, the model learns poetic structures and language styles, allowing it to generate verses relevant to a given theme.

Dataset

  • Dataset: Poetry Dataset by Merve
  • This dataset contains various poems, which are used to fine-tune the GPT-2 model for poem generation.

Model

  • Pre-trained Model: GPT-2 by OpenAI
  • Fine-Tuned Model: This GPT-2 model has been fine-tuned specifically for poetry generation on the provided dataset.
Downloads last month
7
Safetensors
Model size
124M params
Tensor type
F32
·
Inference API
Unable to determine this model's library. Check the docs .

Model tree for mehwish67/poem_Generator

Finetuned
(1185)
this model

Dataset used to train mehwish67/poem_Generator