Skip to content

Instantly share code, notes, and snippets.

@underwater
underwater / gist:bcecc5a54a0d143d2293e904f31b8f22
Created June 8, 2024 05:33
create hugging face transformers virtual env / jupyter lab
# Step 1: Navigate to your project directory
cd /path/to/your/project
# Step 2: Create a virtual environment named transformers-env
python3 -m venv transformers-env
# Step 3: Activate the virtual environment
source transformers-env/bin/activate
# Step 4: Install Jupyter Lab in the virtual environment