Code Monkey home page Code Monkey logo

taskbot's Introduction

TaskBot

TaskBot是一个基于深度学习、机器学习、规则系统的任务驱动型多轮对话框架,欢迎star、contribute。100行代码,实现你的chatbot。

特性

  • 多轮跨场景语义继承
  • 模块化组件,面向快速的2次定制化开发任务
  • 多套替代方案,系统冷启动及热更新。

Models

Preprocessing

  • Query Expandsion| dictionary based, similarity based, context based
  • Spelling error correction
  • segment

Netual Language Representation

  • Bag of Words:|tfidf
  • Network|word2vec[4], glove[3], EMlo[2]
  • Topic Model| LSI, LDA, LSA[5]

Netural Language Understanding

  • Named entity recognization| BiRNN-CRF[6,7], Fuzzy&Keyword Match
  • Entity Normalization|Rule, Keyword Match
  • Intent Classification| FastText[8, 9], TextCNN, Multi-Round-LSTM, Pattern Match
  • Emotion recognization

Dialog Management

  • Dialog state tracker
  • Action Policy| High confidence, Rule, Reinforcement Learning
  • record

Recovery Generation

  • Retrieval based| Text similarity rank, Metric Learning, rule based, Keyword Match
  • Knowlage Graph based[9, 10, 11]|
  • Generation Model| seq2seq

Reference

[1] github.com/deepmipt/DeepPavlov

[2] EMol:Deep contextualized word embeddings

[3] GloVe: Global Vectors for Word Representation

[4] Word2vec: Distributed Representations of Words and Phrases and their Compositionality

[5] Topic Model: LDA, LSI, LSA

[6] BiLSTM-CRF: Empower Sequence Labeling with Task-Aware Neural Language Model

[7] A BiLSTM-CRF inplement with PyTorch

[8] FastText: Compressing text classification models

[9] Nickel, M., Murphy, K., Tresp, V., & Gabrilovich, E. A Review of Relational Machine Learning for Knowledge Graphs.

[10] Socher, R., Chen, D., Manning, C. D., & Ng, A. (2013). Reasoning with neural tensor networks for knowledge base completion. In Advances in Neural Information Processing Systems (pp. 926-934).

[11] Bordes, A., Usunier, N., Garcia-Duran, A., Weston, J., & Yakhnenko, O. (2013). Translating embeddings for modeling multi-relational data. In Advances in Neural Information Processing Systems (pp. 2787-2795).

LICENSE

TaskBot is licensed under the GNU GENERAL PUBLIC LICENSE VERSION 3.0

taskbot's People

Contributors

evilpsycho avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

taskbot's Issues

how to start ?

helllo,
I cloned your code but how to start? which is the start file?

Which file I can start with?

Thanks for you sharing!
The models in readme.md is very interesting. I am new is the domain of taskbot. I donnot know where to start. I want to learn you code for interest.
Looking forward you reply!

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.