# Preparing a Python venv to enable opening Jupyter notebooks: | |
cd ~/git_repos/whisper_related/community-events/ | |
python3 -m venv ~/python_virtual_envs/whisper_fine_tuning | |
source ~/python_virtual_envs/whisper_fine_tuning/bin/activate.csh | |
alias python_whisper_fine_tuning "source ~/python_virtual_envs/whisper_fine_tuning/bin/activate.csh" | |
python_whisper_fine_tuning | |
pip install --upgrade pip | |
pip install jupyter | |
pip install -r whisper-fine-tuning-event/requirements.txt | |
pip install transformers | |
pip install accelerate -U | |
#pip install numpy | |
#pip install matplotlib | |
#pip install graphviz | |
pip install -U "huggingface_hub[cli]" | |
git config --global credential.helper store | |
rehash | |
huggingface-cli login | |
jupyter notebook | |
==> runs the Jupyter Notebook server (with port 8888) and opens the app in the browser. | |