Skip to content

A chatbot built and trained using PyTorch that can process general natural language

Notifications You must be signed in to change notification settings

imranpollob/pytorch-chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PyTorch Chatbot

In this project we trained a chatbot using movie scripts from the Cornell Movie-Dialogs Corpus. We built multi-domain generative conversational model for teaching a machine to carry out a meaningful conversation with a human in multiple domains.

Sample interection with bot

> hello?
Bot: hello .
> where am I?
Bot: you re in a hospital .
> who are you?
Bot: i m a lawyer .
> how are you doing?
Bot: i m fine .
> are you my friend?
Bot: no .
> you're under arrest
Bot: i m trying to help you !
> i'm just kidding
Bot: i m sorry .
> where are you from?
Bot: san francisco .
> it's time for me to leave
Bot: i know .
> goodbye
Bot: goodbye .

Tools Used

  • Python
  • PyTorch

Topics Covered

  • Data loading and preprocessing
  • Recurrent sequence-to-sequence model
  • Encoder model
  • Decoder model
  • Greedy-search decoding

About

A chatbot built and trained using PyTorch that can process general natural language

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages