Install Conda and Transformers library
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
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
This post is licensed under CC BY 4.0 by the author.