Git Product home page Git Product logo

emomemo's Introduction

emomemo

Train on messages received in Facebook chat and remember your emotional state depends on message. Next replies with chatbot based on it.

To download your Facebook data you need to click you profile and choose Download a copy of your Facebook data below your General Account Settings. Next wait for a link in email.

To run notebook you'll need Python3, Tensorflow and

pip3 install -r requirements.txt

You need to setup paths to download data and usernames which used in conversation.

If you want a chatbot (latest cell), you also need setup FB page, API keys, SSL and async call model.

The model is based on Convolutional Neural Networks for Sentence Classification by Yoon Kim with static word2vec embedding trained on text received. It performs over 90% on IMDB 50000 movie reviews, however for recall your emotion statement it needs to be trained on big number of conversations.

There are some problems with other existing Keras implementations - some of them use deprecated Graph API, some don't use external static word2vec, some limited to Convolution1D, single category, most did not ready for call via web service.

Possible improvements : add learning from aditional parameters like text replied, external word2vec or glove, mixed emotion state, Redis for async call.

emomemo's People

Contributors

chroneus avatar

Watchers

James Cloos avatar Alisa Zhila 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.