boumehdi commited on
Commit
f0b89f3
1 Parent(s): 711bff1

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
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
- Here's the output: قالت ليا هاد السيد هادا ما كاينش بحالو
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