GithubHelp home page GithubHelp logo

chatbot_nlu's Introduction

一、Chatbot_NLU

Chatbot_NLU 是一个基于 RASA 的自定义中文语言理解组件,他可以替换掉RASA中本身的nlu模块,可以使nlu的准确率有较大提升,目前 引入了 bert ,后续将引入 xlnet

同时,RASA 的自定义组件可以参考 Custom NLU Components

目前 Chatbot_NLU 支持的功能有:

1、bert vector

2、bert intent

3、bert slot

二、安装使用

1、安装

pip install chatbot_nlu

2、使用

Chatbot_NLU 的使用是在 config.yml 文件中修改配置,常见的使用方法请参考:

language: "zh"

pipeline:
- name: "JiebaTokenizer"
- name: "chatbot_nlu.extractors.crf_entity_extractor.CRFEntityExtractor"

# ner
- name: "chatbot_nlu.extractors.jieba_pseg_extractor.JiebaPsegExtractor"
  part_of_speech: ["nr"]

- name: "chatbot_nlu.extractors.bilstm_crf_entity_extractor.BilstmCRFEntityExtractor"


# Word Embedding
- name: "chatbot_nlu.featurizers.bert_vectors_featurizer.BertVectorsFeaturizer"
  ip: "172.18.103.43"
  port: 5555
  port_out: 5556
  show_server_config: True
  timeout: 10000
  check_version: False

三、Update News

  • 2020.1.7 接入钉钉群,支持主动推送消息、outgoing交互
  • 2020.1.9 接入微信

四、Resources

chatbot_nlu's People

Watchers

 avatar

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.