js-lee-AI / emotional_chatbot_Interface

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EMOTIONAL CHATBOT Interface

This project aims to develop meorable and emotional chatbot using transfer learning (fine tune GPT-2 345M). You can find original code here.

This is gpt-2 chatbot using interface.

It is never designed for commercial purposes.

ex_screenshot

Install python library

$ pip install -r requirements.txt

Model install

  1. clik the link and download.
  2. Place the downloaded model in models\345M_org..

Usage

just run main.py.

$ python main.py

and go to "http://localhost:5000".

you can see this page.

ex_screenshot

you can use text mode mode and speech mode.

text mode

click toggle and type your message.

ex_screenshot

speech mode

if you want to use speech mode, you need google speech-to-text key. refer this page speech to text

if you get key.json, replace key.json with you key.json

then click toggle and click ChatBot . text color changes to black. now you can to the chatbot with your mic.

ex_screenshot

Author

Jungseob Lee / js-lee-AI / omanma1928@naver.com

Jungmu Park / boong_u / madogisa12@naver.com

Related papers

A Radford, et al., "Language Models are Unsupervised Multitask Learners", openAI blog, 2019.

A Vaswani, et al., "Attention is All you Need", NIPS 2017

References

openAI

emotional chatbot

speech to text

rasa chatbot interface youtube

interface

About


Languages

Language:Python 65.8%Language:JavaScript 20.2%Language:HTML 8.5%Language:CSS 5.4%