Steps to Run the Model
Clone the Repository:
Open your command line interface (CLI) and clone the repository using:git clone https://huggingface.co/webslate/transactify
Create the Virtual Environment:
Navigate to the project directory and create a virtual environment:python -m venv transactify_venv
Activate the Virtual Environment:
To activate the virtual environment, follow these steps:- Open your command line interface (CLI).
- Type the following commands:
cd transactify_venv cd Scripts activate
Install Required Libraries:
After activating the virtual environment, install the necessary libraries by typing:pip install -r requirements.txt
Run the Data Preprocessing Code:
Execute the data preprocessing script by typing:python data_preprocessing.py
Run the LSTM Model Code:
Train the LSTM model by executing:python LSTM_model.py
Generate the H5 File:
After training, you can generate the model file (transactify.h5
).Run the Prediction Code:
To make predictions using the trained model, type:python main.py
Following these steps will set up and run the Transactify model for predicting transaction categories based on descriptions.