This repository contains the code for Incotelligence SimChat, an experimental chatbot trained on a small custom dataset (data/dialogues.txt) and is not yet intended for production use. This version is meant for testing, research and learning purposes and most responses are not perform well in all scenarios like handling ambiguous queries or providing detailed explanations.
Make sure you are using Python 3.13 or higher
If you have a CUDA-compatible GPU, PyTorch will use it automatically. Otherwise, the chatbot will run on CPU (slower).
- Clone this repository
- Install the required dependencies:
pip install -r requirements.txt- Train the model:
If you already have the pretrained model
model.pt, place it insrc/models/and skip step 3.
python src/train.py- Run the chatbot:
python src/main.py- Interact with the chatbot via the command line.
- If you get a
ModuleNotFoundError, ensure all dependencies fromrequirements.txtare installed. - On Windows, you might need to install
torchwith the proper CUDA version manually.