-
Notifications
You must be signed in to change notification settings - Fork 3
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
Hoping for training code #3
Comments
Hello @karrynest , Unfortunately, I am unable to share the raw audio files due to licensing restrictions. However, you can access the speech captions here. 😄 |
Does the model support "voice chat mode", i.e. the user input is simply the audio without text, and the instructions from the users are inside the audio, like qwen-audio? from io import BytesIO processor = AutoProcessor.from_pretrained("Qwen/Qwen2-Audio-7B-Instruct") conversation = [ inputs = processor(text=text, audios=audios, return_tensors="pt", padding=True) generate_ids = model.generate(**inputs, max_length=256) response = processor.batch_decode(generate_ids, skip_special_tokens=True, clean_up_tokenization_spaces=False)[0] |
Hello @karrynest, In our initial attempt, we discovered that using system prompts can effectively guide the model's behavior. We recommend experimenting with different system prompts for your specific scenario! If you achieve positive results, please let us know! 😊 |
It's an amazing work. Could you release your training code?
The text was updated successfully, but these errors were encountered: