SmartAI_CustomerSupport is an AI-driven customer support assistant built using GPT-2. The project demonstrates how to fine-tune a pre-trained language model on custom customer support data and integrate it into a simple interactive environment.
- Fine-tunes GPT-2 on customer support data.
- Generates contextually relevant responses to customer queries.
- Interactive Jupyter Notebook for experimentation and testing.
-
Clone the repository:
git clone https://github.com/Islam-hady9/SmartAI_CustomerSupport.git cd SmartAI_CustomerSupport
-
Create and activate a conda environment:
conda create --name smartai_customersupport python=3.8 conda activate smartai_customersupport
-
Install the required dependencies:
pip install -r requirements.txt
-
Open the Project:
- Start by opening the
SmartAI_CustomerSupport.ipynb
Jupyter Notebook in your preferred environment (e.g., Jupyter Lab or Jupyter Notebook).
- Start by opening the
-
Run the Notebook Cells:
- Follow the sequential execution of the cells in the notebook. This will:
- Load the pre-trained GPT-2 model and tokenizer.
- Tokenize sample queries.
- Fine-tune the model if necessary.
- Generate and display responses to the input queries.
- Follow the sequential execution of the cells in the notebook. This will:
-
Interact with the Model:
- Modify the input queries within the notebook to test the model with different customer support questions.
- Observe and analyze the generated responses for evaluation.
-
Experiment and Modify:
- Use the notebook to experiment with different hyperparameters, input data, or model configurations to better suit your needs.
Contributions are welcome! Please fork the repository and submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.