trungkienbkhn
e0c3a9ed34
Update project github link to SYSTRAN ( #746 )
2024-03-27 08:31:17 +01:00
Sanchit Gandhi
a67e0e47ae
Add support for distil-large-v3 ( #755 )
...
* add distil-large-v3
* Update README.md
* use fp16 weights from Systran
2024-03-26 14:58:39 +01:00
trungkienbkhn
092067208b
Add clip_timestamps and hallucination_silence_threshold options ( #646 )
2024-02-20 17:34:54 +01:00
metame
ad3c83045b
support distil-whisper ( #557 )
2024-01-24 10:17:12 +01:00
Oscaarjs
3084409633
Add V3 Support ( #578 )
...
* Add V3 Support
* update conversion example
---------
Co-authored-by: oscaarjs <oscar.johansson@conversy.se >
2023-11-24 23:16:12 +01:00
Guillaume Klein
0048844f54
Expose function available_models ( #475 )
...
* Expose function available_models
* Add test case
2023-09-14 17:17:01 +02:00
Guillaume Klein
1e6eb967c9
Add "large" alias for "large-v2" model ( #453 )
2023-09-04 11:54:42 +02:00
zh-plus
c7cb2aa8d4
Add support for using whisper models from Huggingface by specifying the model id. ( #334 )
...
* Add support for downloading CTranslate-converted models from Huggingface.
* Update utils.py to pass Flake8.
* Update utils.py to pass black.
* Remove redundant usage instructions.
* Apply suggestions from code review
Co-authored-by: Guillaume Klein <guillaumekln@users.noreply.github.com >
---------
Co-authored-by: Guillaume Klein <guillaumekln@users.noreply.github.com >
2023-07-03 17:40:10 +02:00
Guillaume Klein
efc4f61d85
Do not specify the vocabulary file extension in the download pattern ( #311 )
2023-06-20 10:53:11 +02:00
Guillaume Klein
6a2da9a95c
Also catch client-side network exceptions when synchronizing models ( #228 )
2023-05-11 15:07:15 +02:00
Guillaume Klein
2d7c984bfc
Reformat function download_model for clarity
2023-05-11 14:47:22 +02:00
David Axelrod
53d247b0bb
retry model download locally if huggingface throws an http error. ( #215 )
...
* rety model download locally if huggingface throws an http error.
* appease the linter
* key error fix
* use non internal lib error
Co-authored-by: Guillaume Klein <guillaumekln@users.noreply.github.com >
---------
Co-authored-by: Guillaume Klein <guillaumekln@users.noreply.github.com >
2023-05-09 17:20:22 +02:00
Guillaume Klein
89a4c7f1f0
Update docstring to clarify download_root and output_dir
2023-04-26 17:37:51 +02:00
Guillaume Klein
6f9d68dd6b
Fix typing of local_files_only
2023-04-26 17:36:24 +02:00
Jordi Mas
68df3214ba
Use cache_dir instead of local_dir ( #182 )
...
* Use cache_dir instead of local_dir
* Fix unit test
* Use cache_dir and preserve local_dir parameter
* Remove blank line at the end
* Disable ut
* Implement download_root suggestion
* Use cache_dir=download_root
2023-04-26 16:35:18 +02:00
Jordi Mas
358d373691
Allow specifying local_files_only to prevent checking the Internet everytime ( #166 )
2023-04-20 14:26:06 +02:00
Guillaume Klein
051b3350e5
Add some info and debug logs ( #113 )
2023-04-05 16:57:59 +02:00
Guillaume Klein
19698c95f8
Support VAD filter ( #95 )
...
* Support VAD filter
* Generalize function collect_samples
* Define AudioSegment class
* Only pass prompt and prefix to the first chunk
* Add dict argument vad_parameters
* Fix isort format
* Rename method
* Update README
* Add shortcut when the chunk offset is 0
* Reword readme
* Fix end property
* Concatenate the speech chunks
* Cleanup diff
* Increase default speech pad
* Update README
* Increase default speech pad
2023-04-03 17:22:48 +02:00
Guillaume Klein
eda840f8ff
Always disable the progress bar specific to snapshot_download
2023-03-29 12:11:24 +02:00
Guillaume Klein
0224400584
Add large-v1 model
2023-03-28 14:36:10 +02:00
Guillaume Klein
e2705d11c9
Raise an explicit error message if the model size is invalid
2023-03-26 16:30:00 +02:00
Guillaume Klein
a10732c74a
Only download the required model files
2023-03-24 17:59:11 +01:00
Guillaume Klein
de7682a2f0
Automatically download converted models from the Hugging Face Hub ( #70 )
...
* Automatically download converted models from the Hugging Face Hub
* Remove unused import
* Remove non needed requirements in dev mode
* Remove extra index URL when pip install in CI
* Allow downloading to a specific directory
* Update docstring
* Add argument to disable the progess bars
* Fix typo in docstring
2023-03-24 10:55:55 +01:00
Guillaume Klein
66efd02bd0
Run some automatic tests with GitHub Actions ( #68 )
2023-03-22 20:50:03 +01:00
Guillaume Klein
c5f6b91b7d
Port utility function format_timestamp
2023-03-15 15:27:20 +01:00