Coder Social home page Coder Social logo

qachatbot's Introduction

Q&A Chatbot

Inspired by the paper from Meta Research lab, this project is a try to build a NLP model that embeded End to End Network and LSTM techniques. Through training phase, the model tried to catch the relation between the words that it saw in training dataset.
And when making the prediction, it will calculate the probobility of 'Yes' and 'No' among question words.
If the probobility of 'Yes' is greater than 'No', the answer will be positive.

Link of live demo page can be found at:
https://rexxwei.github.io/portfolio/

Dependence

To make this project work, below libraries or features must included in your Python environment.

  • Flask
  • SciKit-Learn
  • Pandas
  • Beautifulsoup4
  • Jinja2
  • Joblib
  • matplotlib
  • Numpy
  • Scipy
  • Seaborn

The dependence can be installed by execute below command

pip install -r requirements.txt

How to Use

In the project directory, run the Python file 'app.py'.

python app.py

Then open a browser and try the address like:

localhost:8080

Limitation

Due to the small vocabulary size in the dataset, the words never shown up in the vocabulary won't be recoganized.
Hope a bigger size vocabulary dataset will be available soon.

Demo

(demo might need a little bit time to display)

qachatbot's People

Contributors

rexxwei avatar

Watchers

 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.