🤖 This is a chatbot project built using PyTorch, leveraging natural language processing and neural networks to provide smart and contextual responses to user inputs.
- NLP-Powered: Understands user queries through advanced NLP techniques.
- Neural Networks: Utilizes a neural network model for accurate responses.
- PyTorch Framework: Built with PyTorch, ensuring efficient and flexible model training.
- Data Tokenization: Tokenize the JSON data to break down sentences into individual words.
- Stemming and Lowercasing: Apply stemming to reduce words to their root forms and convert all text to lowercase for consistency.
- Bag-of-Words: Use the bag-of-words approach to create a numerical representation of text data suitable for model training.
nltkfor natural language processing tasks.numpyfor numerical operations.torchfor building and training neural network models.torch.nnfor constructing neural networks.torch.utils.datafor managing data loading.- Custom modules
nltk_utilsandmodel.
- Python 3.x
- Clone this repository:
git clone https://github.com/codeTun/chatbot.git
- Run the following command to install the packages:
pip install -r requirements.txt