patrickvonplaten
commited on
Commit
•
11d64f7
1
Parent(s):
371b4e0
Update README.md
Browse files
README.md
CHANGED
@@ -51,7 +51,7 @@ To transcribe audio files the model can be used as a standalone acoustic model a
|
|
51 |
ds = load_dataset("patrickvonplaten/librispeech_asr_dummy", "clean", split="validation")
|
52 |
|
53 |
# tokenize
|
54 |
-
input_values = processor(ds[0]["audio"]["array], return_tensors="pt", padding="longest").input_values # Batch size 1
|
55 |
|
56 |
# retrieve logits
|
57 |
logits = model(input_values).logits
|
|
|
51 |
ds = load_dataset("patrickvonplaten/librispeech_asr_dummy", "clean", split="validation")
|
52 |
|
53 |
# tokenize
|
54 |
+
input_values = processor(ds[0]["audio"]["array"], return_tensors="pt", padding="longest").input_values # Batch size 1
|
55 |
|
56 |
# retrieve logits
|
57 |
logits = model(input_values).logits
|