Skip to content

Document how to use open asr leaderboard to benchmark ASR model accuracy#4355

Open
michalkulakowski wants to merge 3 commits into
mainfrom
mkulakow/document_using_open_asr_leaderboard
Open

Document how to use open asr leaderboard to benchmark ASR model accuracy#4355
michalkulakowski wants to merge 3 commits into
mainfrom
mkulakow/document_using_open_asr_leaderboard

Conversation

@michalkulakowski

Copy link
Copy Markdown
Collaborator

🛠 Summary

JIRA/Issue if applicable.
Describe the changes.

🧪 Checklist

  • Unit tests added.
  • The documentation updated.
  • Change follows security best practices.
    ``

Copilot AI review requested due to automatic review settings July 2, 2026 17:17

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR aims to document how to benchmark ASR model transcription accuracy using the Open ASR Leaderboard tooling within the OVMS audio demo documentation, but it also modifies build dependency sourcing for OpenVINO GenAI.

Changes:

  • Added a new “Evaluate transcription accuracy with Open ASR Leaderboard” section to demos/audio/README.md.
  • Updated versions.mk to point OpenVINO GenAI source checkout to a different commit and a different GitHub organization.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
versions.mk Changes the pinned OpenVINO GenAI commit and switches the source org used by build scripts.
demos/audio/README.md Adds step-by-step instructions for evaluating WER/CER with Open ASR Leaderboard.

Comment thread versions.mk Outdated
Comment on lines +24 to +28
OV_GENAI_BRANCH ?= 27b480d39731996f68ed8cf7c54a5c0dd6122ba6

# Source repository organizations
OV_SOURCE_ORG ?= openvinotoolkit
OV_GENAI_ORG ?= openvinotoolkit
OV_GENAI_ORG ?= as-suvorov
Comment thread demos/audio/README.md Outdated
Comment on lines +372 to +377
2. Apply OVMS API compatibility patch:
```bash
git apply ../external/open_asr_leaderboard.patch
```

If you cloned the leaderboard repository in a different location, adjust the patch path accordingly.
@michalkulakowski michalkulakowski force-pushed the mkulakow/document_using_open_asr_leaderboard branch from e2f66ae to d449971 Compare July 2, 2026 17:19
@michalkulakowski michalkulakowski requested a review from Copilot July 2, 2026 17:20

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

Comment thread external/open_asr_leaderboard.patch Outdated
Comment on lines +15 to +22
@@ -2,7 +2,7 @@
from io import BytesIO
from typing import Optional

-import openai
+from openai import OpenAI

from . import APIProvider, register
Comment on lines +24 to +43
@@ -17,10 +17,11 @@ def transcribe(
use_url: bool = False,
language: str = "en",
) -> str:
+ client = OpenAI()
if use_url:
response = requests.get(sample["row"]["audio"][0]["src"])
audio_data = BytesIO(response.content)
- response = openai.Audio.transcribe(
+ response = client.audio.transcriptions.create(
model=model_variant,
file=audio_data,
response_format="text",
@@ -29,7 +30,7 @@ def transcribe(
)
else:
with open(audio_file_path, "rb") as audio_file:
- response = openai.Audio.transcribe(
+ response = client.audio.transcriptions.create(
model=model_variant,
Comment thread demos/audio/README.md Outdated
@michalkulakowski michalkulakowski force-pushed the mkulakow/document_using_open_asr_leaderboard branch from a379284 to b1452cd Compare July 3, 2026 08:17
Michal Kulakowski added 2 commits July 3, 2026 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants