YAML Metadata
Warning:
empty or missing yaml metadata in repo card
(https://huggingface.co/docs/hub/model-cards#model-card-metadata)
Chatbot
Overview
This is a simple chatbot that interacts with users via the command line. It is built using Python and can be installed and run as a standalone package.
Features
- Interactive chatbot interface
- Easy installation and execution
- Modular design for easy customization
Installation
Clone the repository
git clone https://github.com/ugaurav/chatbot.git cd chatbot
Install dependencies
pip install -r requirements.txt
Install the package in editable mode
pip install -e .
Usage
Running the Chatbot
After installation, you can start the chatbot using:
chatbot-interact
Manual Execution
Alternatively, you can run the script directly:
python chatbot/interact.py
Development
Project Structure
chatbot/
βββ chatbot/
β βββ __init__.py
β βββ interact.py
β βββ train.py
βββ setup.py
βββ requirements.txt
βββ README.md
Entry Point Fix
Ensure your setup.py
has a correct entry point:
entry_points={
"console_scripts": [
"chatbot-interact=chatbot.interact:main"
]
}
And inside chatbot/interact.py
, define a main()
function:
def main():
chatbot = Chatbot()
chatbot.chat()
if __name__ == "__main__":
main()
Troubleshooting
- If the
chatbot-interact
command is not found, try:python -m chatbot.interact
- If installation fails, ensure you are in the correct environment and have
pip
updated:python -m pip install --upgrade pip
License
This project is licensed under the MIT License.
Author
Gaurav Upadhyay
Inference Providers
NEW
This model is not currently available via any of the supported Inference Providers.
The model cannot be deployed to the HF Inference API:
The model has no library tag.