2023-01-04 10:13:12 +01:00
|
|
|
# NLP Lab on text classification
|
|
|
|
|
2023-01-04 11:06:29 +01:00
|
|
|
to start :
|
2023-01-04 10:13:12 +01:00
|
|
|
|
2023-01-04 11:06:29 +01:00
|
|
|
* clone the code: ```git clone git@github.com:Rouen-NLP/nlp-text-classification-mygithub.git```
|
|
|
|
* create a virtual environment: ```virtualenv -p python3 nlp-env```
|
2023-01-04 11:18:05 +01:00
|
|
|
* activate the virtual env: ```source nlp-env/bin/activate```
|
2023-01-04 11:06:29 +01:00
|
|
|
* install the required packages: ```pip install -r requirements.txt```
|
2023-01-04 11:18:05 +01:00
|
|
|
* 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
|
2023-01-04 10:13:12 +01:00
|
|
|
|