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

does SpeechGPT support mixed text plus audio input? #56

Open
reichelu opened this issue Oct 29, 2024 · 0 comments
Open

does SpeechGPT support mixed text plus audio input? #56

reichelu opened this issue Oct 29, 2024 · 0 comments

Comments

@reichelu
Copy link

Hi, thanks a lot for sharing your model and code!

I'd like to ask you, whether SpeechGPT could understand mixed text + audio input. In case it does, how is the user prompt to be written?

Background for these questions: Large Audio LM benchmarks like AIR-Bench require mixed input processing; instructions are given as text which are passed to the model together with an audio signal that is to be analysed or classified. Since SpeechGPT made it to the Chat Leaderboard, I assume that such mixed input processing is in principle possible.

Using your interface cli_infer.py I prompted your model as follows: based on your preprocess method code I separated the text instruction and audio file name by the string "is input:" like so: TEXT INSTRUCTION is input: PATH_TO_AUDIOFILE.wav. Which was not successful, since all model answers were unrelated to both instruction and audio content.

Could you let me know or point me to a documentation on whether there's another way to provide such mixed input? Thanks a lot!

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

No branches or pull requests

1 participant