Update README.md
Browse files
README.md
CHANGED
@@ -46,7 +46,7 @@ input_values = processor(input_audio, return_tensors="pt", padding=True).input_v
|
|
46 |
# retrieve logits
|
47 |
logits = model(input_values).logits
|
48 |
|
49 |
-
tokens=torch.argmax(logits, axis=-1)
|
50 |
|
51 |
# decode using n-gram
|
52 |
transcription = tokenizer.batch_decode(tokens)
|
@@ -55,6 +55,6 @@ transcription = tokenizer.batch_decode(tokens)
|
|
55 |
print(transcription)
|
56 |
```
|
57 |
|
58 |
-
|
59 |
|
60 |
email: souregh@gmail.com
|
|
|
46 |
# retrieve logits
|
47 |
logits = model(input_values).logits
|
48 |
|
49 |
+
tokens = torch.argmax(logits, axis=-1)
|
50 |
|
51 |
# decode using n-gram
|
52 |
transcription = tokenizer.batch_decode(tokens)
|
|
|
55 |
print(transcription)
|
56 |
```
|
57 |
|
58 |
+
Output: قالت ليا هاد السيد هادا ما كاينش بحالو
|
59 |
|
60 |
email: souregh@gmail.com
|