Commit
·
620f480
1
Parent(s):
decde52
Install instructions
Browse files
README.md
CHANGED
|
@@ -8,3 +8,55 @@ pinned: false
|
|
| 8 |
---
|
| 9 |
|
| 10 |
Edit this `README.md` markdown file to author your organization card 🔥
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
Edit this `README.md` markdown file to author your organization card 🔥
|
| 11 |
+
|
| 12 |
+
----------------------------------------------------------------
|
| 13 |
+
Clone Whisper small or medium modelproject for run scripts
|
| 14 |
+
----------------------------------------------------------------
|
| 15 |
+
|
| 16 |
+
git clone https://huggingface.co/bjelkenhed/whisper-small-sv
|
| 17 |
+
git clone https://huggingface.co/bjelkenhed/whisper-medium-sv
|
| 18 |
+
|
| 19 |
+
----------------------------------------------------------------
|
| 20 |
+
Install requirements
|
| 21 |
+
----------------------------------------------------------------
|
| 22 |
+
|
| 23 |
+
sudo add-apt-repository -y ppa:jonathonf/ffmpeg-4
|
| 24 |
+
sudo apt update
|
| 25 |
+
sudo apt install -y ffmpeg
|
| 26 |
+
sudo apt-get install git-lfs
|
| 27 |
+
|
| 28 |
+
----------------------------------------------------------------
|
| 29 |
+
Install python libraries
|
| 30 |
+
----------------------------------------------------------------
|
| 31 |
+
|
| 32 |
+
env_name=babelbox
|
| 33 |
+
|
| 34 |
+
python3 -m venv $env_name
|
| 35 |
+
|
| 36 |
+
source ~/$env_name/bin/activate
|
| 37 |
+
|
| 38 |
+
git clone https://github.com/huggingface/community-events.git
|
| 39 |
+
|
| 40 |
+
pip install -r community-events/whisper-fine-tuning-event/requirements.txt
|
| 41 |
+
|
| 42 |
+
python -c "import torch; print(torch.cuda.is_available())"
|
| 43 |
+
|
| 44 |
+
|
| 45 |
+
----------------------------------------------------------------
|
| 46 |
+
Log in to Huggingface
|
| 47 |
+
----------------------------------------------------------------
|
| 48 |
+
|
| 49 |
+
git config --global credential.helper store
|
| 50 |
+
huggingface-cli login
|
| 51 |
+
|
| 52 |
+
----------------------------------------------------------------
|
| 53 |
+
Start training
|
| 54 |
+
----------------------------------------------------------------
|
| 55 |
+
|
| 56 |
+
tmux new -s mysession
|
| 57 |
+
|
| 58 |
+
bach run.sh
|
| 59 |
+
|
| 60 |
+
# To resume session
|
| 61 |
+
|
| 62 |
+
tmux a -t mysession
|