Cuiunbo commited on
Commit
9808eca
·
1 Parent(s): 640e05c
Files changed (1) hide show
  1. modeling_minicpmo.py +3 -3
modeling_minicpmo.py CHANGED
@@ -668,9 +668,9 @@ class MiniCPMO(MiniCPMOPreTrainedModel):
668
  mode:
669
  "default": default system prompt and not refer to any task
670
  "omni": input video and audio simultaneously
671
- "audio_assistant": Default voice-only mode, the model will use the ref_audio's voice to reply user as a helpful assistant.
672
- "audio_roleplay": Roleplay voice-only model, the model will use the ref_audio's voice to reply, and also role-play the character based on the audio prompt.
673
- "voice_cloning": TTS mode, the model will clone the voice of ref_audio
674
  language: prompts language, the model has the ability to automatically select the response language
675
  based on the question language
676
  Returns:
 
668
  mode:
669
  "default": default system prompt and not refer to any task
670
  "omni": input video and audio simultaneously
671
+ "audio_assistant": Default voice-only mode, the model will use the ref_audio's voice to reply user's question as a helpful assistant.
672
+ "audio_roleplay": Roleplay voice-only mode, the model will use the ref_audio's voice to reply, and also role-play the character based on the audio prompt.
673
+ "voice_cloning": TTS mode, the model will clone the voice of ref_audio.
674
  language: prompts language, the model has the ability to automatically select the response language
675
  based on the question language
676
  Returns: