GithubHelp home page GithubHelp logo

srinivas175 / seq2seq_chatbot_tensorflow Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kunalbhashkar/seq2seq_chatbot_tensorflow

0.0 1.0 0.0 14 MB

Tensorflow, Python

Python 93.41% HTML 4.34% Batchfile 2.25%

seq2seq_chatbot_tensorflow's Introduction

seq2seq-chatbot

A sequence2sequence chatbot implementation with TensorFlow.

Chatting with a trained model

For console chat:

  1. Run chat_console_best_weights_training.bat or chat_console_best_weights_validation.bat

For web chat:

  1. Run chat_web_best_weights_training.bat or chat_web_best_weights_validation.bat

  2. Open a browser to the URL indicated by the server console, followed by /chat_ui.html. This is typically: http://localhost:8080/chat_ui.html

To chat with a trained model from a python console:

  1. Set console working directory to the seq2seq-chatbot directory. This directory should have the models and datasets directories directly within it.

  2. Run chat.py with the model checkpoint path:

run chat.py models\cornell_movie_dialog\trained_model\best_weights_training.ckpt

Training a model

To train a model from a python console:

  1. To train a new model, run train.py with the dataset path:
run train.py --datasetdir=datasets\dataset_name

Or to resume training an existing model, run train.py with the model checkpoint path:

run train.py --checkpointfile=models\dataset_name\model_name\checkpoint.ckpt

Visualizing a model in TensorBoard

To start TensorBoard from a terminal:

tensorboard --logdir=model_dir

Dependencies

The following python packages are used in seq2seq-chatbot: (excluding packages that come with Anaconda)

seq2seq_chatbot_tensorflow's People

Contributors

kunalbhashkar avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.