File size: 807 Bytes
09b13b3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# 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.