Skip to content

pauri32/BERT-reviews-score-prediction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BERT-reviews-score-prediction

Prediction of Amazon's reviews rating using a BERT model.

Structure of the project:

  • bertconfig: Configuration of the pre-trained BERT model, downloaded from Hugging Face (link).
  • amazon-cell-phones-reviews: Dataset from Griko Nibras shared on Kaggle (link).
  • nlp-project.ipynb: Notebook with the project.

How to run the code

  1. Download the files, including the bertconfig and amazon-cell-phones-reviews directories. ATTENTION: To complete the bertconfig directory it is required an extra file that has to be downloaded from the (link), as it exceeds the size limits of GitHub.

  2. Open the notebook with a Python environment. It is recommended to open it using Kaggle notebooks, as Conda is installed by defult and does not require any further installation. Kaggle notbooks was the cloud platform used for this development.

  3. Check the installation of the packages listed in the first cell.

  4. Run the cells sequentially, preferably using an accelerator, such as a GPU.

Link to Kaggle project

This project was created using Kaggle notebooks: BERT Amazon's reviews prediction

Project developed for the NLP course of Intelligent Systems (Universidad Politécnica de Madrid)

About

Prediction of Amazon's reviews rating using a BERT model.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published