1、rasa官網(wǎng)資料:https://rasa.com/docs/rasa/installation/installing-rasa-open-source
2、代碼下載:git clone https://github.com/RasaHQ/rasa.git
3、conda 創(chuàng)建rasa 運行python環(huán)境
conda create --name rasa python=3.8
conda activate rasa
pip install rasa
rasa init
安裝:poetry
pip install poetry(如果安裝后還是找不到poetry,建議進入當前環(huán)境envs\rasa\Scripts,cmd進行安裝)
安裝transformers: pip install transformers
訓練模型: rasa train --config config.yml --domain domain.yml --data data/
啟動rasa服務(wù): rasa run --port 5005 --endpoints endpoints.yml --credentials credentials.yml --debug --enable-api文章來源:http://www.zghlxwxcb.cn/news/detail-697477.html
啟動action服務(wù): rasa run actions --port 5055 --actions actions --debug文章來源地址http://www.zghlxwxcb.cn/news/detail-697477.html
到了這里,關(guān)于Rasa 3.x 機器學習構(gòu)建筆記的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!