Torchtext implementation applied to nlp-ft project.
An exploratory project to get and process GloVe embeddings for use in a NLP neural network.
-
Get Started From Terminal
-
Project created with Anaconda version (conda=4.9.2)
# make new conda environment (optional but recommended)
conda create -n nlp-421
# activate conda environment (if using your own env)
conda activate nlp-421
# install requirements (a wrapper for pip install)
make install
- Run Script With Defaults
make run
- Currently focusing on leveraging pre-built methods from torchtext and torchnlp to get datasets and load vectors for nn training.
- See branch torchtext
-
Helper Functions for find close embeddings and parse word embeddings: https://medium.com/analytics-vidhya/basics-of-using-pre-trained-glove-vectors-in-python-d38905f356db