Skip to main content

Use Google Bert to implement a chatbot with QA pairs and Reading comprehension!

Project description

Bert Chatbot

This is the first python package I made, so I use this project to attend

Description

Use Google Bert to implement a chatbot with Q&A pairs and Reading comprehension!

Install

  • Use pip to install Bert-ChatBot
pip install bert-bot

How to use

one command to start on your server

bert-chatbot --run_server/
 --qa-model_dir=$YOUR_QA_MODEL_PATH/
 --rc-model_dir=$YOUR_Reading_Comprehension_MODEL_PATH
 --cpu=false
 --gpu=true
 --num_works=1
 --ip=0.0.0.0
 --port=2333 

Then you can test the server in your browser

TODO

  • Complete the whole project
  • Docker support
  • Implement training function

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Bert-Chatbot-0.0.0.tar.gz (19.8 kB view details)

Uploaded Source

File details

Details for the file Bert-Chatbot-0.0.0.tar.gz.

File metadata

  • Download URL: Bert-Chatbot-0.0.0.tar.gz
  • Upload date:
  • Size: 19.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.6.7

File hashes

Hashes for Bert-Chatbot-0.0.0.tar.gz
Algorithm Hash digest
SHA256 d666e28cd44d0a5961524a1ee04b3d940fc30c1355f76d6268f9dd6b76294e5b
MD5 e67985da0ab059fccad6e0a77a543734
BLAKE2b-256 3d0842abea79f9191d389bd9709c737b27f3976fec49c881e7850f2e6d6cff19

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page