Skip to content

A simple chatbot project implemented using PyTorch, designed to provide a basic understanding of building chatbots with neural networks.

Notifications You must be signed in to change notification settings

DaveSimoes/Chatbot-with-PyTorch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

new-cat-logo

Chatbot with PyTorch

A simple chatbot project implemented using PyTorch, designed to provide a basic understanding of building chatbots with neural networks.

Features

  • Training Script: Train the chatbot using PyTorch with a feedforward neural network.
  • Inference Script: Interact with the trained chatbot in a simple command-line interface.
  • Modular Structure: Organized project structure with separate modules for dataset, model, and utilities.
  • Requirements File: requirements.txt file included for easy installation of dependencies.

Dependencies

  • Python 3.x
  • PyTorch
  • torchvision
  • Other dependencies specified in requirements.txt

Installation

  1. Clone the repository:

    git clone https://github.com/https://github.com/DaveSimoes/Web-Scraping.git/chatbot-pytorch.git
  2. Install the required dependencies:

    pip install -r requirements.txt

Usage

  1. Train the chatbot:

    python train_chatbot.py
  2. Interact with the chatbot:

    python chatbot_app.py
  3. Follow the on-screen instructions to chat with the trained chatbot.

Configuration

  • Adjust hyperparameters (e.g., input_size, hidden_size1, hidden_size2) in the training script according to your needs.
  • Customize the intents.json file in the data directory to define different intents and responses for your chatbot.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A simple chatbot project implemented using PyTorch, designed to provide a basic understanding of building chatbots with neural networks.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages