Update README.md
Browse files
README.md
CHANGED
@@ -25,6 +25,11 @@ This a quantized model that reads arabic voice and transcribes/translate it into
|
|
25 |
|
26 |
### Direct Use
|
27 |
|
|
|
|
|
|
|
|
|
|
|
28 |
```python
|
29 |
from optimum.onnxruntime import ORTModelForSpeechSeq2Seq
|
30 |
from transformers import WhisperTokenizerFast, WhisperFeatureExtractor, pipeline
|
@@ -63,6 +68,12 @@ Users (both direct and downstream) should be made aware of the risks, biases and
|
|
63 |
Use the code below to get started with the model.
|
64 |
|
65 |
```python
|
|
|
|
|
|
|
|
|
|
|
|
|
66 |
from optimum.onnxruntime import ORTModelForSpeechSeq2Seq
|
67 |
from transformers import WhisperTokenizerFast, WhisperFeatureExtractor, pipeline
|
68 |
|
|
|
25 |
|
26 |
### Direct Use
|
27 |
|
28 |
+
First, install the following packages using the following commands:
|
29 |
+
|
30 |
+
pip install -U optimum[exporters,onnxruntime] transformers
|
31 |
+
pip install huggingface_hub
|
32 |
+
|
33 |
```python
|
34 |
from optimum.onnxruntime import ORTModelForSpeechSeq2Seq
|
35 |
from transformers import WhisperTokenizerFast, WhisperFeatureExtractor, pipeline
|
|
|
68 |
Use the code below to get started with the model.
|
69 |
|
70 |
```python
|
71 |
+
|
72 |
+
First, install the following packages using the following commands:
|
73 |
+
|
74 |
+
pip install -U optimum[exporters,onnxruntime] transformers
|
75 |
+
pip install huggingface_hub
|
76 |
+
|
77 |
from optimum.onnxruntime import ORTModelForSpeechSeq2Seq
|
78 |
from transformers import WhisperTokenizerFast, WhisperFeatureExtractor, pipeline
|
79 |
|