Git Product home page Git Product logo

xhome_bjtu's Introduction

Xhome_bjtu

1.训练NLU
python bot.py train-nlu
python -m rasa_nlu.train --data ./data/music_nlu_data.json --config ivr_chatbot.yml --path models --fixed_model_name demo --project ivr_nlu

#训练数据在路径data/xxx,配置文件在xxx.yml,训练好的数据在path(models/xxx)/project(ivr_nlu)/fixed_model_name(demo)里

2.服务器检验抽取实体
开启服务器监听:
python -m rasa_nlu.server -c ivr_chatbot.yml --path models 发送请求:
curl -XPOST localhost:5000/parse -d '{"q":"我想听薛之谦的歌", "project": "ivr_nlu", "model": "demo"}' | python -mjson.tool | jq

3.在线训练
python bot.py online-train
python -m rasa_core.train --online -o models/dialogue -d domain.yml -s stories.md --endpoints endpoints.yml

4.训练对话
python bot.py train-dialogue
python -m rasa_core.train -d domain.yml -s data/stories.md -o models/current/dialogue --epochs 200

5.Debug
python -m rasa_core.run -d models/dialogue -u models/ivr_nlu/demo --debug

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.