carlosdanielhernandezmena
commited on
Commit
•
7128e96
1
Parent(s):
9dfb22d
Adding the link to a notebook in the model card
Browse files
README.md
CHANGED
@@ -46,6 +46,9 @@ This model can used for Automatic Speech Recognition (ASR) in Catalan. The model
|
|
46 |
|
47 |
## How to Get Started with the Model
|
48 |
|
|
|
|
|
|
|
49 |
### Installation
|
50 |
|
51 |
In order to use this model, you may install [faster-whisper](https://github.com/guillaumekln/faster-whisper/tree/master)
|
@@ -79,7 +82,7 @@ model = WhisperModel(model_size, device="cuda", compute_type="float16")
|
|
79 |
# or run on CPU with INT8
|
80 |
# model = WhisperModel(model_size, device="cpu", compute_type="int8")
|
81 |
|
82 |
-
segments, info = model.transcribe("audio_in_catalan.mp3", beam_size=5, task="
|
83 |
|
84 |
print("Detected language '%s' with probability %f" % (info.language, info.language_probability))
|
85 |
|
|
|
46 |
|
47 |
## How to Get Started with the Model
|
48 |
|
49 |
+
To see an updated and functional version of this code, please see our our [Notebook](https://colab.research.google.com/drive/1v_3m1aR9CwYXgPVBlhwDI9Hz4V5Dlh95?usp=sharing
|
50 |
+
).
|
51 |
+
|
52 |
### Installation
|
53 |
|
54 |
In order to use this model, you may install [faster-whisper](https://github.com/guillaumekln/faster-whisper/tree/master)
|
|
|
82 |
# or run on CPU with INT8
|
83 |
# model = WhisperModel(model_size, device="cpu", compute_type="int8")
|
84 |
|
85 |
+
segments, info = model.transcribe("audio_in_catalan.mp3", beam_size=5, task="transcribe",language="ca")
|
86 |
|
87 |
print("Detected language '%s' with probability %f" % (info.language, info.language_probability))
|
88 |
|