File size: 1,829 Bytes
decde52
 
 
 
 
 
 
 
 
8ae04bc
 
f4cd216
 
 
 
 
620f480
 
 
 
 
f4cd216
11fef9b
620f480
 
11fef9b
620f480
 
 
 
 
11fef9b
620f480
 
 
 
11fef9b
620f480
 
 
 
 
 
11fef9b
620f480
 
 
 
 
11fef9b
620f480
 
 
 
 
11fef9b
620f480
 
11fef9b
 
 
 
620f480
 
 
 
 
11fef9b
620f480
11fef9b
620f480
11fef9b
620f480
11fef9b
 
620f480
 
 
11fef9b
620f480
11fef9b
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
---
title: README
emoji: πŸ‘
colorFrom: gray
colorTo: pink
sdk: static
pinned: false
---

# Whisper Fine-Tuning Event πŸ€—

----------------------------------------------------------------
 Sign in to Lambdalabs
----------------------------------------------------------------

https://cloud.lambdalabs.com/instances

----------------------------------------------------------------
 Clone Whisper small or medium modelproject for run scripts
----------------------------------------------------------------


```
git clone https://huggingface.co/bjelkenhed/whisper-small-sv
git clone https://huggingface.co/bjelkenhed/whisper-medium-sv
```

----------------------------------------------------------------
 Install requirements
----------------------------------------------------------------

```
sudo add-apt-repository -y ppa:jonathonf/ffmpeg-4
sudo apt update
sudo apt install -y ffmpeg
sudo apt-get install git-lfs
```

----------------------------------------------------------------
 Install python libraries
----------------------------------------------------------------


```
git clone https://github.com/huggingface/community-events.git

pip install -r community-events/whisper-fine-tuning-event/requirements.txt

python -c "import torch; print(torch.cuda.is_available())"
```

----------------------------------------------------------------
  Log in to Huggingface
----------------------------------------------------------------

```
git config --global credential.helper store
huggingface-cli login
```

#### Provide Huggingface access token for your account


----------------------------------------------------------------
  Start training
----------------------------------------------------------------

```
tmux new -s mysession
```

```
bach run.sh
```


# To resume session

```
tmux a -t mysession
```