Ensure to use python 3.10 or higher
Open a terminal or command prompt and run:
python --version
or
python3 --version
# Clone the repository
git clone [email protected]:AmonAmanyabyona/inference.git
cd inference
# Create and activate a virtual environment:
python3 -m venv sentiment_env
source sentiment_env/bin/activate # On Unix or MacOS
sentiment_env\Scripts\activate # On Windows
# Install dependencies:
pip install -r requirements.txt
# Run the inference script:
python3 inference.py
# Usage
Follow the prompts to enter a review and get the predicted score.