Commit
·
41ebdc7
1
Parent(s):
c239150
Update README.md
Browse files
README.md
CHANGED
|
@@ -24,32 +24,28 @@ https://cloud.lambdalabs.com/instances
|
|
| 24 |
and create a new instance with a A100 GPU without disk storage
|
| 25 |
|
| 26 |
----------------------------------------------------------------
|
| 27 |
-
|
| 28 |
----------------------------------------------------------------
|
| 29 |
|
| 30 |
```
|
| 31 |
-
|
| 32 |
-
sudo apt update
|
| 33 |
-
sudo apt install -y ffmpeg
|
| 34 |
-
sudo apt-get install git-lfs
|
| 35 |
```
|
| 36 |
-
|
| 37 |
-
|
|
|
|
| 38 |
```
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
sudo apt-get update
|
| 43 |
-
sudo apt-get upgrade && sudo apt-get dist-upgrade
|
| 44 |
-
sudo apt-get install ffmpeg
|
| 45 |
```
|
| 46 |
|
|
|
|
| 47 |
----------------------------------------------------------------
|
| 48 |
-
Install python libraries
|
| 49 |
----------------------------------------------------------------
|
| 50 |
|
| 51 |
-
|
| 52 |
```
|
|
|
|
| 53 |
|
| 54 |
pip install --pre torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/nightly/cu117
|
| 55 |
|
|
@@ -57,11 +53,6 @@ pip install -r whisper-medium/requirements.txt
|
|
| 57 |
|
| 58 |
python -c "import torch; print(torch.cuda.is_available())"
|
| 59 |
|
| 60 |
-
#git clone https://github.com/huggingface/community-events.git
|
| 61 |
-
|
| 62 |
-
#pip install -r community-events/whisper-fine-tuning-event/requirements.txt
|
| 63 |
-
|
| 64 |
-
#python -c "import torch; print(torch.cuda.is_available())"
|
| 65 |
```
|
| 66 |
|
| 67 |
----------------------------------------------------------------
|
|
@@ -77,21 +68,7 @@ huggingface-cli login
|
|
| 77 |
|
| 78 |
https://huggingface.co/settings/tokens
|
| 79 |
|
| 80 |
-
----------------------------------------------------------------
|
| 81 |
-
Clone Whisper small or medium modelproject for run scripts
|
| 82 |
-
----------------------------------------------------------------
|
| 83 |
|
| 84 |
-
```
|
| 85 |
-
git clone https://huggingface.co/bjelkenhed/whisper-small
|
| 86 |
-
```
|
| 87 |
-
or
|
| 88 |
-
```
|
| 89 |
-
git clone https://huggingface.co/bjelkenhed/whisper-medium
|
| 90 |
-
```
|
| 91 |
-
or
|
| 92 |
-
```
|
| 93 |
-
git clone https://huggingface.co/bjelkenhed/whisper-large
|
| 94 |
-
```
|
| 95 |
|
| 96 |
----------------------------------------------------------------
|
| 97 |
Create and clone Huggingface model repository
|
|
|
|
| 24 |
and create a new instance with a A100 GPU without disk storage
|
| 25 |
|
| 26 |
----------------------------------------------------------------
|
| 27 |
+
Clone Whisper small or medium modelproject for run scripts
|
| 28 |
----------------------------------------------------------------
|
| 29 |
|
| 30 |
```
|
| 31 |
+
git clone https://huggingface.co/bjelkenhed/whisper-small
|
|
|
|
|
|
|
|
|
|
| 32 |
```
|
| 33 |
+
or
|
| 34 |
+
```
|
| 35 |
+
git clone https://huggingface.co/bjelkenhed/whisper-medium
|
| 36 |
```
|
| 37 |
+
or
|
| 38 |
+
```
|
| 39 |
+
git clone https://huggingface.co/bjelkenhed/whisper-large
|
|
|
|
|
|
|
|
|
|
| 40 |
```
|
| 41 |
|
| 42 |
+
|
| 43 |
----------------------------------------------------------------
|
| 44 |
+
Install requirements and python libraries
|
| 45 |
----------------------------------------------------------------
|
| 46 |
|
|
|
|
| 47 |
```
|
| 48 |
+
sudo apt-get install git-lfs
|
| 49 |
|
| 50 |
pip install --pre torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/nightly/cu117
|
| 51 |
|
|
|
|
| 53 |
|
| 54 |
python -c "import torch; print(torch.cuda.is_available())"
|
| 55 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 56 |
```
|
| 57 |
|
| 58 |
----------------------------------------------------------------
|
|
|
|
| 68 |
|
| 69 |
https://huggingface.co/settings/tokens
|
| 70 |
|
|
|
|
|
|
|
|
|
|
| 71 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 72 |
|
| 73 |
----------------------------------------------------------------
|
| 74 |
Create and clone Huggingface model repository
|