We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1b59b6 commit 15bddabCopy full SHA for 15bddab
benchmarks/benchmark_dataset.py
@@ -868,7 +868,6 @@ def sample(
868
for item in self.data:
869
if len(sampled_requests) >= num_requests:
870
break
871
- # output_len = len(tokenizer._normalize(item['text']))
872
audio = item["audio"]
873
y, sr = audio["array"], audio["sampling_rate"]
874
duration_s = librosa.get_duration(y=y, sr=sr)
@@ -884,7 +883,6 @@ def sample(
884
883
prompt_len=prompt_len,
885
expected_output_len=output_len,
886
multi_modal_data=mm_content,
887
- # language="en" will default to en on endpoint
888
))
889
if skipped:
890
logger.warning("%d samples discarded from dataset due to" \
0 commit comments