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.
$ pip install -r requirements.txt
- clik the link and download.
- Place the downloaded model in models\345M_org..
just run main.py.
$ python main.py
and go to "http://localhost:5000".
you can see this page.
you can use text mode mode and speech mode.
click toggle and type your message.
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.
Jungseob Lee / js-lee-AI / omanma1928@naver.com
Jungmu Park / boong_u / madogisa12@naver.com
A Radford, et al., "Language Models are Unsupervised Multitask Learners", openAI blog, 2019.
A Vaswani, et al., "Attention is All you Need", NIPS 2017