Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add AudioCaps scenario #3137

Merged
merged 4 commits into from
Nov 7, 2024
Merged

Add AudioCaps scenario #3137

merged 4 commits into from
Nov 7, 2024

Conversation

asillycat
Copy link
Contributor

scenario_state.json
Add AudioCaps scenario.

@ImKeTT ImKeTT self-requested a review November 7, 2024 01:28
taxonomy:
task: audio captioning
what: audio clips in the wild
who: youtube
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think it's real speakers from youtube videos, right? How about just change this to real speakers?

Copy link
Collaborator

@ImKeTT ImKeTT left a comment

Choose a reason for hiding this comment

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

Thanks Zijun, just left some comments


for row in tqdm(load_dataset("Olivia714/audiocaps", cache_dir=output_path, split=TEST_SPLIT)):
ensure_file_downloaded(source_url=AudioCapsScenario.DOWNLOADING_URL, target_path=data_dir, unpack=True)
assert os.path.exists(data_dir), f"Download the wav_files from {AudioCapsScenario.DOWNLOADING_URL}"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Could you delete this line? This is redundant since we're using ensure_file_downloaded

@@ -297,6 +297,6 @@ run_groups:
taxonomy:
task: audio captioning
what: audio clips in the wild
who: youtube
who: sound and human voices from real-life scenes
Copy link
Collaborator

Choose a reason for hiding this comment

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

how about change to real speakers?

Copy link
Collaborator

@ImKeTT ImKeTT left a comment

Choose a reason for hiding this comment

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

Thanks Zijun, I think this PR is ready

@ImKeTT ImKeTT merged commit a40c760 into stanford-crfm:main Nov 7, 2024
8 checks passed
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