Skip to content

A Sequence to Sequence Model Implementation of Urdu Natural Language Processing

Notifications You must be signed in to change notification settings

irdanish11/Seq2Seq-UrduChatBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Seq2Seq-UrduChatBot

A Sequence to Sequence Model Implementation of Urdu Natural Language Processing. Below is the link to download the windows installer. Make sure to install the prequisites before installing. After Installation run the app by the Icon from the desktop and after 40 seconds referesh the page which is opened in your browser.

  • Urdu Chatbot Windows App Windows app will not work if your tensorflow 1.13 installed using virtual environment, for that you have to download the source from Github. We will add environment support soon!
  • Download Checkpoints Download the checpoints folder and paste in the main directory of the chatbot.

seq2seq-chatbot

A sequence2sequence chatbot implementation with TensorFlow. Here are some responses.

To run this program successfully the following requirements mustbe fullfilled. Anaconda with Python 3.6 or higher Tensorflow Version 1.13.1

  1. Anaconda. Download Anaconda from https://www.anaconda.com/distribution/ Install Anaconda

  2. Tensorflow 1.13.1 If you already installed the anaconda and tensorflow. Check version of your Tensorflow Installation. Open Anaconda Prompt and write 'python' and hit enter. Python command line interface will open. In there write following python lines to check your version of Tensorflow.

    import tensorflow as tf print(tf.version) If the result is 1.13.1 then you are good to go. Just Double Click the 'Urdu Virtual Assistant' icon on your desktop. If the webpage is not loaded wait for 20 seconds and reload the page or hit the F5 key.

    If the version of your Tensorflow Installation is not 1.0.0 then you have to uninstall your current Tensorflow. Open Anaconda Prompt and write the following command.

    pip uninstall tensorflow

    You will be asked to 'Procees (y/n)?' enter 'y' and hit enter key. After uninstallation enter the following command in Anaconda Prompt to Install Tensorflow 1.13.1

    pip install tensorflow==1.13.1

    and hit enter. After installation Just Double Click the 'Urdu Virtual Assistant' icon on your desktop. If the webpage is not loaded wait for 20-40 seconds and reload the page or hit the F5 key.

Dependencies

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

Relevant papers

  1. Sequence to Sequence Learning with Neural Networks

  2. A Neural Conversational Model

  3. Neural Machine Translation by Jointly Learning to Align and Translate (Bahdanau attention mechanism)

  4. Effective Approaches to Attention-based Neural Machine Translation (Luong attention mechanism)