Enhancing GPT-2 Performance through DistilBERT Integration for Improved Natural Language Understanding and Generation
This project implements a hybrid model combining GPT-2 and DistilBERT for enhanced customer support applications. It features:
- Intent Classification
- Category Classification
- Named Entity Recognition (NER)
Make sure the following are installed:
- Node.js (v16 or higher)
- Python (v3.8 or higher)
- npm (Node Package Manager)
-
Navigate to the
clientfolder:cd client -
Install dependencies:
npm install
-
Start the development server:
npm run dev
-
Open your browser and go to: http://localhost:5173
⚡ This project uses Vite for a faster development experience.
You have two options for running the backend server:
-
Navigate to the
server2folder:cd server2 -
Install Python dependencies:
pip install -r requirements.txt
-
Run the Flask server:
python main.py
-
The backend API will be available at: http://localhost:5000
-
Navigate to the
serverfolder:cd server -
Install Python dependencies:
pip install -r requirements.txt
-
Run the Flask server:
python main.py
📝 Note: If
requirements.txtis not available, manually install the Python packages by referring to theimportstatements in the.pyfiles.
This project is intended for academic and educational use only.