This repository contains a new generative model of chatbot based on seq2seq modeling. The trained model available here used a small dataset composed of ~8K pairs of context (the last two utterances of the dialogue up to the current point) and respective response. The data were collected from dialogues of English courses online. This trained model can be fine-tuned using a closed-domain dataset to real-world applications. The canonical seq2seq model became popular in neural machine translation, a task that has different prior probability distributions for the words belonging to the input and output sequences since the input and output utterances are written in different languages. The architecture presented here assumes the same prior distributions for input and output words. Therefore, it shares an embedding layer (Glove pre-trained word embedding) between the encoding and decoding processes through the adoption of a new model.

Features

  • The algorithm iterates by including the predicted token into the incomplete answer
  • Chat with the pre-trained model
  • Chat with the new model trained by our new GAN-based training algorithm
  • Our model can be applied to other NLP tasks
  • Contains a new generative model of chatbot based on seq2seq modeling
  • This trained model can be fine-tuned using a closed domain dataset to real-world applications

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow Seq2seq Chatbot for Keras

Seq2seq Chatbot for Keras Web Site

Other Useful Business Software
Enterprise-grade ITSM, for every business Icon
Enterprise-grade ITSM, for every business

Give your IT, operations, and business teams the ability to deliver exceptional services—without the complexity.

Freshservice is an intuitive, AI-powered platform that helps IT, operations, and business teams deliver exceptional service without the usual complexity. Automate repetitive tasks, resolve issues faster, and provide seamless support across the organization. From managing incidents and assets to driving smarter decisions, Freshservice makes it easy to stay efficient and scale with confidence.
Try it Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Seq2seq Chatbot for Keras!

Additional Project Details

Programming Language

Python

Related Categories

Python Generative Adversarial Networks (GAN), Python Natural Language Processing (NLP) Tool, Python Generative AI

Registered

2023-03-21