|
@@ -17,7 +17,11 @@ A Transformer sequence-to-sequence model is trained on various speech processing
|
|
|
|
|
|
## Setup
|
|
|
|
|
|
-We used Python 3.9.9 and [PyTorch](https://pytorch.org/) 1.10.1 to train and test our models, but the codebase is expected to be compatible with Python 3.7 or later and recent PyTorch versions. The codebase also depends on a few Python packages, most notably [HuggingFace Transformers](https://huggingface.co/docs/transformers/index) for their fast tokenizer implementation and [ffmpeg-python](https://github.com/kkroening/ffmpeg-python) for reading audio files. The following command will pull and install the latest commit from this repository, along with its Python dependencies:
|
|
|
+We used Python 3.9.9 and [PyTorch](https://pytorch.org/) 1.10.1 to train and test our models, but the codebase is expected to be compatible with Python 3.7 or later and recent PyTorch versions. The codebase also depends on a few Python packages, most notably [HuggingFace Transformers](https://huggingface.co/docs/transformers/index) for their fast tokenizer implementation and [ffmpeg-python](https://github.com/kkroening/ffmpeg-python) for reading audio files. You can download and install (or update to) the latest release of Whisper with the following command:
|
|
|
+
|
|
|
+ pip install -U openai-whisper
|
|
|
+
|
|
|
+Alternatively, the following command will pull and install the latest commit from this repository, along with its Python dependencies:
|
|
|
|
|
|
pip install git+https://github.com/openai/whisper.git
|
|
|
|