- clone the code:
- with a ssh key :
git clone git@github.com:Deep-NLP-Course/nlp-lab-text-classification.git - without a ssh key :
git clone https://github.com/Deep-NLP-Course/nlp-lab-text-classification.git
- with a ssh key :
- create a virtual environment:
virtualenv -p python3 nlp-env - activate the virtual env:
source nlp-env/bin/activate - install the required packages:
pip install -r requirements.txt - register the virtualenv with jupyter:
python -m ipykernel install --name=nlp-env - run jupyter:
jupyter notenook - run the notebook and change the kernel to nlp-env
- start coding
- log in https://colab.research.google.com/
- in the File menu, Open notebook -> Github
- copy/paste the github URL
- open the notebook file and start coding
- upload the data files in
/content/if needed