stevillis/bertimbau-finetuned-glassdoor-reviews
0
Bertimbau Finetuned Glassdoor Reviews
This project provides a Streamlit web application for classifying Glassdoor reviews into sentiment categories using a fine-tuned BERT model. The model is based on the pre-trained BERT model from neuralmind/bert-base-portuguese-cased and fine-tuned on Glassdoor review data.
Model
The model architecture and training process can be found at glassdoor-reviews-analysis-nlp.
Installation
To run this project locally, follow these steps:
- Download the pytorch_model.bin from
stevillis/bertimbau-finetuned-glassdoor-reviews.
- Clone the repository:
git clone https://github.com/your-username/bertimbau-finetuned-glassdoor-reviews.git
cd bertimbau-finetuned-glassdoor-reviews- Create a virtual environment and activate it:
python -m venv venv
source venv/bin/activate # On Windows, use `venv\Scripts\activate`- Install the required dependencies:
pip install -r requirements.txt- Move the pytorch_model.bin to
bertimbau-finetuned-glassdoor-reviewsdirectory.
- Run the Streamlit application:
streamlit run app.pyUsage
- Open your web browser and go to
http://localhost:8501. - Enter a Glassdoor review text in the input box.
- The application will display the predicted sentiment and its corresponding score.
