Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 1.16 KB

README.md

File metadata and controls

29 lines (18 loc) · 1.16 KB

Replicating notebook environments

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

Creating the environments manually

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

Data

Fetch the above two files using wget. Then place them in the notebooks/ folder and uncompress them.