├── .flake8 ├── .gitattributes ├── .github └── workflows │ ├── python-publish.yml │ └── test.yml ├── .gitignore ├── CHANGELOG.md ├── LICENSE ├── MANIFEST.in ├── README.md ├── approach.png ├── data ├── README.md └── meanwhile.json ├── language-breakdown.svg ├── model-card.md ├── notebooks ├── LibriSpeech.ipynb └── Multilingual_ASR.ipynb ├── notes.txt ├── pyproject.toml ├── requirements.txt ├── setup.py ├── tests ├── conftest.py ├── jfk.flac ├── test_audio.py ├── test_normalizer.py ├── test_timing.py ├── test_tokenizer.py └── test_transcribe.py └── whisper ├── __init__.py ├── __main__.py ├── assets ├── gpt2.tiktoken ├── mel_filters.npz └── multilingual.tiktoken ├── audio.py ├── decoding.py ├── model.py ├── normalizers ├── __init__.py ├── basic.py ├── english.json └── english.py ├── timing.py ├── tokenizer.py ├── transcribe.py ├── triton_ops.py ├── utils.py └── version.py /.flake8: -------------------------------------------------------------------------------- 1 | [flake8] 2 | per-file-ignores = 3 | */__init__.py: F401 4 | 5 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectEGU/whisper-for-low-vram/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/workflows/python-publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectEGU/whisper-for-low-vram/HEAD/.github/workflows/python-publish.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectEGU/whisper-for-low-vram/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectEGU/whisper-for-low-vram/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectEGU/whisper-for-low-vram/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectEGU/whisper-for-low-vram/HEAD/LICENSE -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectEGU/whisper-for-low-vram/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectEGU/whisper-for-low-vram/HEAD/README.md -------------------------------------------------------------------------------- /approach.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectEGU/whisper-for-low-vram/HEAD/approach.png -------------------------------------------------------------------------------- /data/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectEGU/whisper-for-low-vram/HEAD/data/README.md -------------------------------------------------------------------------------- /data/meanwhile.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectEGU/whisper-for-low-vram/HEAD/data/meanwhile.json -------------------------------------------------------------------------------- /language-breakdown.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectEGU/whisper-for-low-vram/HEAD/language-breakdown.svg -------------------------------------------------------------------------------- /model-card.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectEGU/whisper-for-low-vram/HEAD/model-card.md -------------------------------------------------------------------------------- /notebooks/LibriSpeech.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectEGU/whisper-for-low-vram/HEAD/notebooks/LibriSpeech.ipynb -------------------------------------------------------------------------------- /notebooks/Multilingual_ASR.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectEGU/whisper-for-low-vram/HEAD/notebooks/Multilingual_ASR.ipynb -------------------------------------------------------------------------------- /notes.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectEGU/whisper-for-low-vram/HEAD/notes.txt -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectEGU/whisper-for-low-vram/HEAD/pyproject.toml -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectEGU/whisper-for-low-vram/HEAD/requirements.txt -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectEGU/whisper-for-low-vram/HEAD/setup.py -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectEGU/whisper-for-low-vram/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/jfk.flac: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectEGU/whisper-for-low-vram/HEAD/tests/jfk.flac -------------------------------------------------------------------------------- /tests/test_audio.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectEGU/whisper-for-low-vram/HEAD/tests/test_audio.py -------------------------------------------------------------------------------- /tests/test_normalizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectEGU/whisper-for-low-vram/HEAD/tests/test_normalizer.py -------------------------------------------------------------------------------- /tests/test_timing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectEGU/whisper-for-low-vram/HEAD/tests/test_timing.py -------------------------------------------------------------------------------- /tests/test_tokenizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectEGU/whisper-for-low-vram/HEAD/tests/test_tokenizer.py -------------------------------------------------------------------------------- /tests/test_transcribe.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectEGU/whisper-for-low-vram/HEAD/tests/test_transcribe.py -------------------------------------------------------------------------------- /whisper/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectEGU/whisper-for-low-vram/HEAD/whisper/__init__.py -------------------------------------------------------------------------------- /whisper/__main__.py: -------------------------------------------------------------------------------- 1 | from .transcribe import cli 2 | 3 | cli() 4 | -------------------------------------------------------------------------------- /whisper/assets/gpt2.tiktoken: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectEGU/whisper-for-low-vram/HEAD/whisper/assets/gpt2.tiktoken -------------------------------------------------------------------------------- /whisper/assets/mel_filters.npz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectEGU/whisper-for-low-vram/HEAD/whisper/assets/mel_filters.npz -------------------------------------------------------------------------------- /whisper/assets/multilingual.tiktoken: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectEGU/whisper-for-low-vram/HEAD/whisper/assets/multilingual.tiktoken -------------------------------------------------------------------------------- /whisper/audio.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectEGU/whisper-for-low-vram/HEAD/whisper/audio.py -------------------------------------------------------------------------------- /whisper/decoding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectEGU/whisper-for-low-vram/HEAD/whisper/decoding.py -------------------------------------------------------------------------------- /whisper/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectEGU/whisper-for-low-vram/HEAD/whisper/model.py -------------------------------------------------------------------------------- /whisper/normalizers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectEGU/whisper-for-low-vram/HEAD/whisper/normalizers/__init__.py -------------------------------------------------------------------------------- /whisper/normalizers/basic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectEGU/whisper-for-low-vram/HEAD/whisper/normalizers/basic.py -------------------------------------------------------------------------------- /whisper/normalizers/english.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectEGU/whisper-for-low-vram/HEAD/whisper/normalizers/english.json -------------------------------------------------------------------------------- /whisper/normalizers/english.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectEGU/whisper-for-low-vram/HEAD/whisper/normalizers/english.py -------------------------------------------------------------------------------- /whisper/timing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectEGU/whisper-for-low-vram/HEAD/whisper/timing.py -------------------------------------------------------------------------------- /whisper/tokenizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectEGU/whisper-for-low-vram/HEAD/whisper/tokenizer.py -------------------------------------------------------------------------------- /whisper/transcribe.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectEGU/whisper-for-low-vram/HEAD/whisper/transcribe.py -------------------------------------------------------------------------------- /whisper/triton_ops.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectEGU/whisper-for-low-vram/HEAD/whisper/triton_ops.py -------------------------------------------------------------------------------- /whisper/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectEGU/whisper-for-low-vram/HEAD/whisper/utils.py -------------------------------------------------------------------------------- /whisper/version.py: -------------------------------------------------------------------------------- 1 | __version__ = "20230308" 2 | --------------------------------------------------------------------------------