dialogbot  by shibing624

Dialog bot for search, task, and generative dialogue models

created 7 years ago
334 stars

Top 83.3% on sourcepulse

GitHubView on GitHub
Project Summary

DialogBot is a Python library providing a unified framework for building conversational AI agents, encompassing search-based, task-oriented, and generative dialogue models. It targets developers and researchers seeking to integrate diverse dialogue capabilities, offering solutions for question answering, task completion, and open-domain chit-chat with built-in network retrieval.

How It Works

DialogBot integrates three core dialogue paradigms: search-based (retrieving answers via local similarity or web search), task-oriented (using End-to-End Memory Networks for structured conversations), and generative (leveraging GPT-2 and Seq2Seq models for free-form responses). This multi-model approach allows for flexible and robust dialogue system development, aiming to output optimal responses by combining these strategies.

Quick Start & Requirements

Highlighted Details

  • Supports local and web-based question answering using TFIDF, BM25, and search engine result summarization (Baidu, Bing).
  • Implements task-oriented dialogue with End-to-End Memory Networks (memn2n) on the BABi dataset.
  • Offers generative dialogue capabilities using pre-trained GPT-2 models (e.g., shibing624/gpt2-dialogbot-base-chinese) and Seq2Seq models.
  • Provides access to large Chinese conversational datasets (50w, 100w samples).

Maintenance & Community

  • Project maintained by shibing624. Contact via email (xuming624@qq.com) or WeChat (xuming624) for NLP group access.
  • Citation details provided for academic use.

Licensing & Compatibility

  • Licensed under The Apache License 2.0, permitting commercial use with attribution.

Limitations & Caveats

  • The project code is described as "rough," with a call for contributions and unit tests. Fine-tuning GPT-2 requires specific data preprocessing steps.
Health Check
Last commit

1 year ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
0
Star History
2 stars in the last 90 days

Explore Similar Projects

Starred by Lukas Biewald Lukas Biewald(Cofounder of Weights & Biases), Patrick von Platen Patrick von Platen(Core Contributor to Hugging Face Transformers and Diffusers), and
1 more.

DialoGPT by microsoft

0.0%
2k
Response generation model via large-scale pretraining
created 6 years ago
updated 2 years ago
Feedback? Help us improve.