Skip to content

Commit

Permalink
Merge pull request #170 from ahmetoner/upgrade-whisper
Browse files Browse the repository at this point in the history
Upgrade faster-whisper to v0.10.0 and OpenAI Whisper to v20231117
  • Loading branch information
ahmetoner committed Nov 27, 2023
2 parents 10d7248 + 71ec948 commit 796d4db
Show file tree
Hide file tree
Showing 6 changed files with 65 additions and 44 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,19 @@ Changelog
Unreleased
----------

### Changed

- Upgraded
- [openai/whisper](https://github.com/openai/whisper) to [v20231117](https://github.com/openai/whisper/releases/tag/v20231117)
- [SYSTRAN/faster-whisper](https://github.com/SYSTRAN/faster-whisper) to [v0.10.0](https://github.com/SYSTRAN/faster-whisper/releases/tag/0.10.0)

[1.2.3] (2023-11-07)
--------------------

### Changed

- Upgraded
- [openai/whisper](https://github.com/openai/whisper) to [v20231106](https://github.com/openai/whisper/releases/tag/v20231106)


[1.2.2] (2023-11-03)
--------------------
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ Whisper is a general-purpose speech recognition model. It is trained on a large
## Features
Current release (v1.2.3) supports following whisper models:

- [openai/whisper](https://github.com/openai/whisper)@[v20231106](https://github.com/openai/whisper/releases/tag/v20231106)
- [guillaumekln/faster-whisper](https://github.com/guillaumekln/faster-whisper)@[0.9.0](https://github.com/guillaumekln/faster-whisper/releases/tag/v0.9.0)
- [openai/whisper](https://github.com/openai/whisper)@[v20231117](https://github.com/openai/whisper/releases/tag/v20231117)
- [SYSTRAN/faster-whisper](https://github.com/SYSTRAN/faster-whisper)@[v0.10.0](https://github.com/SYSTRAN/faster-whisper/releases/tag/0.10.0)


## Quick Usage
Expand Down
4 changes: 2 additions & 2 deletions docs/environmental-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
export ASR_MODEL=base
```

Available ASR_MODELs are `tiny`, `base`, `small`, `medium`, `large` (only OpenAI Whisper), `large-v1`, `large-v2` and `large-v3` (only OpenAI Whisper for now).
Available ASR_MODELs are `tiny`, `base`, `small`, `medium`, `large` (only OpenAI Whisper), `large-v1`, `large-v2` and `large-v3`.

For English-only applications, the `.en` models tend to perform better, especially for the `tiny.en` and `base.en` models. We observed that the difference becomes less significant for the `small.en` and `medium.en` models.

Expand All @@ -24,4 +24,4 @@ For English-only applications, the `.en` models tend to perform better, especial

```sh
export ASR_MODEL_PATH=/data/whisper
```
```
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ Whisper is a general-purpose speech recognition model. It is trained on a large
## Features
Current release (v1.2.3) supports following whisper models:

- [openai/whisper](https://github.com/openai/whisper)@[v20231106](https://github.com/openai/whisper/releases/tag/v20231106)
- [guillaumekln/faster-whisper](https://github.com/guillaumekln/faster-whisper)@[0.9.0](https://github.com/guillaumekln/faster-whisper/releases/tag/v0.9.0)
- [openai/whisper](https://github.com/openai/whisper)@[v20231117](https://github.com/openai/whisper/releases/tag/v20231117)
- [SYSTRAN/faster-whisper](https://github.com/SYSTRAN/faster-whisper)@[v0.10.0](https://github.com/SYSTRAN/faster-whisper/releases/tag/0.10.0)

## Quick Usage

Expand Down
86 changes: 51 additions & 35 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ ffmpeg-python = "^0.2.0"
fastapi = "^0.104.1"
llvmlite = "^0.41.1"
numba = "^0.58.0"
openai-whisper = "20231106"
faster-whisper = "^0.9.0"
openai-whisper = "^20231117"
faster-whisper = "^0.10.0"
torch = [
{markers = "sys_platform == 'darwin' and platform_machine == 'arm64'", url = "https://download.pytorch.org/whl/cpu/torch-1.13.0-cp310-none-macosx_11_0_arm64.whl"},
{markers = "sys_platform == 'linux' and platform_machine == 'arm64'", url="https://download.pytorch.org/whl/cpu/torch-1.13.0-cp310-none-macosx_11_0_arm64.whl"},
Expand Down

0 comments on commit 796d4db

Please sign in to comment.