The above code was executed in google Colab. Instructions for using:
- Copy the files into your Google drive.
- Add GloVe embeddings and dataset files to the drive. You may need to make changes in paths in the code.
- The embeddings are available at this link
- Open the python notebook on Colab where it can be executed.
- The code has been run on tensorflow 1.x and may not work as expected on tensorflow 2.x
- In case of Transformer Models run the notebooks on Colab with correct file paths.