Minicurso de como implementar modelos neurais para PLN usando o PyTorch.
First, clone this repository using git:
git clone https://github.com/mtreviso/torchnilc.gitThen, cd to the TorchNILC folder:
cd torchnilcAutomatically create a Python virtualenv and install all dependencies
using pipenv install. And then activate the virtualenv with pipenv shell:
pip3 install pipenv
pipenv install --skip-lock
pipenv shellThe --skip-lock flag informs pipenv to ignore its lock mechanism, so it works just like pip in a virtual env and then it performs a faster installation.
Please note that since Python 3 is required, all the above commands (pip/python) have to be the Python 3 version.
Afterwards, we are going to install the torchnilc package when we complete the course. For now, just run and follow the first notebook:
cd torchnilc/notebooks
jupyter-notebook