CheshireCC
commited on
Commit
·
1b64b6e
1
Parent(s):
ad0954e
Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,17 @@
|
|
1 |
---
|
2 |
license: mit
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: mit
|
3 |
---
|
4 |
+
|
5 |
+
openai-Whisper model large-v3, CTranslate2 format
|
6 |
+
|
7 |
+
convert from flax model files
|
8 |
+
|
9 |
+
download `flax_model.msgpack` of float32 and other config files from https://huggingface.co/openai/whisper-large-v3
|
10 |
+
|
11 |
+
```
|
12 |
+
from ctranslate2.converters import TransformersConverter as cvter
|
13 |
+
model_name_or_path = <your folder with model files>
|
14 |
+
output_dir = <target folder to save model files>
|
15 |
+
cvter_01 = cvter(model_name_or_path=model_name_or_path)
|
16 |
+
cvter_01.convert(output_dir=output_dir, quantization="float32", force=True)
|
17 |
+
```
|