Giter VIP home page Giter VIP logo

movie-chatbot's Introduction

Movie-Chatbot

A chatbot that is built on seq2seq model using tensorflow on movie dialog corpus :)

Requirements:

-Python3.x
-tensorflow
-nltk
-numpy
-pickle
-re

Note: After running data_helper.py data.pkl,vocab.pkl and training_samples.pkl will be created.

1. data.pkl - This is a dictionary which contains questions and answers sentences in index of numbers of the form => {'questions':[[12,1412,35,23,3,124,35],[32,42,6,73,13,564,2,67],....],'answers'=[[312,1,643,26,41,32,6,100],[643,168,6,3,12],......]}

2. vocab.pkl - This contains dictionary which contains word2id and id2word dictionaries which map word from index and index to word

3. training_samples.pkl - this contains the training samples in the form of list of list containing questions and corresponding answer sentences in their id form, i.e  [ [q1,a1] , [q2,a2] , ,....] 
	where,
	q1 = [1,66,234]
	a1 = [34,321,1231]

	q2 = [56,35,5,314]
	a2 = [34,123,12,4532,67]

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.