This is the github repository for our project in the class Méthodes de l'IA (Methods of Artificial Intelligence). The project consists of implementing a Transformer model for sentiment analysis for movie reviews. The model predicts whether a review is good (1), or bad (0). The architecture is based on the Transformer architecture from the paper "Attention is all you need".
To use the streamlit application, follow these steps:
- Clone the repository to your disc.
- Create a new environment, for example with anaconda.
- Install the requirements by typing
pip install -r requirements.txt
orconda install --file requirements.txt
- cd into
TransformerProject/src
- Type
streamlit run application.py
- The application should now open in your browser.