To recreate the exact environment(s) used for these notebooks:
conda env create -f environment.yml
You must then activate the environment:
conda activate book
Note that the above environments were tested on Linux. They do not work on Macs. On Macs, please create them from scratch using the following instructions:
conda create --name book
conda activate book
conda install pytorch torchvision torchaudio torchtext cpuonly -c pytorch
conda install jupyter pandas matplotlib scikit-learn gensim nltk
pip install conllu
conda install -c huggingface transformers
conda install -c huggingface -c conda-forge datasets
- glove embeddings trained on wikipedia 2014 and gigaword 5, from the official website
- spanish glove embeddings found on github
Fetch the above two files using wget. Then place them in the notebooks/ folder and uncompress them.