Skip to content

rithurajnambiar17/ai-sonnets

Repository files navigation

AI Sonnets

AI Sonnets is a project that explores the generation of sonnets using artificial intelligence (AI) techniques. The project leverages machine learning algorithms to create unique and creative sonnets, inspired by the works of famous poets.

Overview

The objective of this project is to develop a model capable of generating sonnets that resemble the style and structure of traditional poetry. By training a deep learning model on a dataset of sonnets, the AI Sonnets project aims to produce compelling and evocative pieces of poetry.

Features

The AI Sonnets project offers the following features:

  1. Sonnet Generation: The core functionality of the project is the generation of sonnets by utilizing an AI model. The model has been trained on a diverse range of sonnets to produce coherent and meaningful compositions.

  2. Interactive Interface: The project includes an interactive web interface built with Flask, where users can input the starting line of a sonnet and receive generated sonnets in response. The interface offers a seamless experience for users to interact with the AI model and explore the creative outputs.

Technologies Used

The AI Sonnets project is built using the following technologies:

  • TensorFlow: A powerful open-source machine learning framework used for training and deploying deep learning models.

  • Python: The programming language used to implement the AI Sonnets project and its various components.

  • Flask: A lightweight web framework used to build the interactive interface for the AI Sonnets project.

Installation

To run the AI Sonnets project locally, follow these steps:

  1. Clone the repository:

git clone https://github.com/rithurajnambiar17/ai-sonnets.git

  1. Install the required dependencies:

pip install -r requirements.txt

  1. Download the pre-trained model weights (if provided) or train your own model using the provided scripts.

  2. Launch the interactive interface:

python app.py

The application will start, and you can access it through your web browser at http://localhost:5000.

Contribution

Contributions to the AI Sonnets project are welcome! If you'd like to contribute, please follow these steps:

  1. Fork the repository on GitHub.

  2. Create a new branch from the main branch.

  3. Make your modifications and enhancements.

  4. Test your changes thoroughly.

  5. Commit and push your changes to your forked repository.

  6. Submit a pull request to the main repository, describing your changes in detail.

Please ensure your contributions adhere to the project's coding standards and guidelines.

Acknowledgments

The AI Sonnets project is built upon various open-source libraries and resources. We would like to express our gratitude to the developers and contributors of the following projects:

License

This project is licensed under the MIT License. Feel free to modify and distribute it according to the terms of the license.

Contact

If you have any questions, suggestions, or feedback regarding the AI Sonnets project, please contact the project maintainer at rithurajnambiar17@gmail.com

We appreciate your interest in AI Sonnets and hope you enjoy the creative outputs of our AI-powered poetry generator!