This project aims to predict the emoji associated with a given sentence using LSTM (Long Short-Term Memory) neural networks and pre-trained GloVe (Global Vectors for Word Representation) word embeddings.
The model is trained on a dataset containing sentences with associated emojis. The sentences are tokenized and converted into word embeddings using pre-trained GloVe word vectors. The LSTM model is then trained on the input sentences to predict the associated emoji. The model is evaluated on a test dataset to measure its performance.
To use this repository:
- Clone the repository
git clone https://github.com/nhan-ngo-usf/emoji-prediction.git
- Install the required packages:
pip install -r requirements.txt or pip3 install -r requirements.txt
- Download the pre-trained GloVe word embeddings from the following link:
https://www.kaggle.com/watts2/glove6b50dtxt
- Run the model on your dataset or utilize the provided scripts for training and testing the model: