Skip to content

Introducing WhatsNext - your AI text generator trained on the New York Times comments dataset. With cutting-edge LSTM models, it predicts text, offering real-time insights and assistance for writers, content creators, and conversational interfaces. Get hooked on the future of text generation today!

Notifications You must be signed in to change notification settings

amMistic/WhatsNext

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WhatsNext: AI Text Generator

AI Text Generator

Introduction

Welcome to WhatsNext, an AI text generator powered by LSTM models trained on the New York Times comments dataset. This project enables users to generate predictive text based on their input, aiding writers, content creators, and conversational interfaces.

Setup

Prerequisites

  • Python 3.x
  • pip

Clone Repository

Clone this repository to your local machine using the following command:

git clone https://github.com/your-username/whatsnext.git

Installation

Navigate to the project directory:

cd whatsnext

Install the required Python packages:

pip install -r requirements.txt

Usage

  1. Prepare Dataset: Before running the model, prepare your dataset in a CSV format containing text data. You can use the New York Times comments dataset or any other text dataset of your choice.

  2. Train Model: Use the provided Jupyter notebook or Python script to train the LSTM model on your dataset.

  3. Generate Text: Once the model is trained, you can use it to generate text by providing a partial sentence or phrase as input.

Model Details

  • TensorFlow Version: 2.15.0
  • Model Architecture: LSTM
  • Vocabulary Size: 17
  • Embedding Size: 10
  • LSTM Units: 256
  • Dropout Rate: 0.5

Model Architecture

Model

Code and Outputs

Example Code Snippet

Example Code

Example Output

Example Output

Dataset Used

The model was trained on the New York Times comments dataset available on Kaggle.

TODO :

  • Add the demo video
  • Code Snippets with outputs of each section

About

Introducing WhatsNext - your AI text generator trained on the New York Times comments dataset. With cutting-edge LSTM models, it predicts text, offering real-time insights and assistance for writers, content creators, and conversational interfaces. Get hooked on the future of text generation today!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published