-
Notifications
You must be signed in to change notification settings - Fork 0
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
Added tests + updated docs for asr mp3 change #51
Conversation
Signed-off-by: okhleif-IL <[email protected]>
@@ -332,6 +332,9 @@ echo "This is an apple." > ${caption_fn} | |||
|
|||
export audio_fn="AudioSample.wav" | |||
wget https://github.com/intel/intel-extension-for-transformers/raw/main/intel_extension_for_transformers/neural_chat/assets/audio/sample.wav -O ${audio_fn} | |||
|
|||
export audio_mp3_fn="sample_audio.mp3" | |||
wget wget https://audio-samples.github.io/samples/mp3/blizzard_biased/sample-0.mp3 -O ${audio_mp3_fn} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wget wget https://audio-samples.github.io/samples/mp3/blizzard_biased/sample-0.mp3 -O ${audio_mp3_fn} | |
wget https://audio-samples.github.io/samples/mp3/blizzard_biased/sample-0.mp3 -O ${audio_mp3_fn} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, not sure on the licensing of this blizzard dataset. It might be safer to use another ITREX sample. For example:
wget https://github.com/intel/intel-extension-for-transformers/raw/refs/tags/v1.5/intel_extension_for_transformers/neural_chat/ui/customized/talkingbot/src/lib/components/talkbot/assets/mid-age-man.mp3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another idea is that instead of adding another audio file download to this example (the list of downloads is getting long), maybe the documentation should list what types of files are supported. For example, even for image ingestion, we support png, gif, and jpg, but I don't see that listed in the documentation. 🤔
@@ -332,6 +332,9 @@ echo "This is an apple." > ${caption_fn} | |||
|
|||
export audio_fn="AudioSample.wav" | |||
wget https://github.com/intel/intel-extension-for-transformers/raw/main/intel_extension_for_transformers/neural_chat/assets/audio/sample.wav -O ${audio_fn} | |||
|
|||
export audio_mp3_fn="sample_audio.mp3" | |||
wget wget https://audio-samples.github.io/samples/mp3/blizzard_biased/sample-0.mp3 -O ${audio_mp3_fn} | |||
``` | |||
|
|||
Test dataprep microservice with generating transcript. This command updates a knowledge base by uploading a local video .mp4 and an audio .wav file. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add .mp3 to this sentence (if we are keeping mp3 as part of the example)
@@ -116,6 +117,7 @@ function prepare_data() { | |||
cd $LOG_PATH | |||
echo "Downloading image and video" | |||
wget https://github.com/docarray/docarray/blob/main/tests/toydata/image-data/apple.png?raw=true -O ${image_fn} | |||
wget https://audio-samples.github.io/samples/mp3/blizzard_biased/sample-0.mp3 -O ${audio_fn} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same comment about swapping this for an ITREX file
Signed-off-by: okhleif-IL <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
Added tests and updated documentation for mp3 ingestion feature.
Issues
N/A
Type of change
List the type of change like below. Please delete options that are not relevant.
Dependencies
N/A
Tests
Ran tests locally