Use huggingface models to create an intelligent and scalable chatbot
Project description
Genius Chatbot
Version: 0.6.0
Chatbot that uses any desired hugging face model or allows for scalable intelligence based on hardware limitations
Usage:
Short Flag | Long Flag | Description |
---|---|---|
-h | --help | See Usage |
-c | --cuda | Use Nvidia Cuda instead of CPU |
-s | --save | Save model locally |
-d | --directory | Directory for model |
-o | --output-length | Maximum output length of response |
-p | --prompt | Prompt for chatbot |
-m | --model | Model to use from Huggingface |
Example:
genius-chatbot --model "facebook/opt-66b" --output-length "500" --prompt "Chatbots are cool because they"
Install Instructions
Install Python Package
python -m pip install genius-chatbot
Build Instructions
Build Python Package
sudo chmod +x ./*.py
sudo pip install .
python3 setup.py bdist_wheel --universal
# Test Pypi
twine upload --repository-url https://test.pypi.org/legacy/ dist/* --verbose -u "Username" -p "Password"
# Prod Pypi
twine upload dist/* --verbose -u "Username" -p "Password"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for genius_chatbot-0.6.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45992f235eca7b99839c936c300de0bc9e4e78c92cc696578cbe99f0f5c782b8 |
|
MD5 | 44e846005309d3af2c6a91aee728ee2b |
|
BLAKE2b-256 | ae8b6e2f4ceaf650b897adfbf0fabe8864860c4b03fe535fd4c9dcdcdfbd7a13 |