NLP with transformers, quick conda setup


NLP with transformers, quick conda setup

Create a Conda env conda create -n [name of the new env] python=3.11

Activate your conda env conda activate [name of the new env]

Upgrade pip for this new env pip install --upgrade pip

Install transformers library (we us it a lot) pip install transformers

Run Jupyter Lab jupyter-lab

About Conda

Update : Recommanded setup with mamba as package manager: see conda miniforge documentation here to see how to install.

Then use mamba instead of conda mamba install jupyter