/nlp-lab-text-classification

Lab for the NLP course

Primary LanguageJupyter Notebook

NLP Lab on text classification

if you want to run the notebook locally

  • clone the code: git clone git@github.com:Rouen-NLP/nlp-lab-text-classification.git
  • 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

if you want to use Google Colab

  • 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