You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`Qwen2.5-Omni-7B` chekpoint can be found on the [Huggingface Hub](https://huggingface.co/collections/Qwen/qwen25-omni-67de1e5f0f9464dc6314b36e).
27
+
`Qwen2.5-Omni-7B`, `Qwen2.5-Omni-3B` checkpoints can be found on the [Huggingface Hub](https://huggingface.co/collections/Qwen/qwen25-omni-67de1e5f0f9464dc6314b36e).
27
28
28
29
The speakers checkpoint need to be converted before use:
|[Voice Chatting](voice_chatting.py)| Chatting with Qwen2.5-Omni by voice input and output. |
43
44
|[Video Information Extracting](video_information_extracting.py)| Obtaining information from the video stream. |
44
-
[Multi Round Omni Chatting](multi_round_omni_chatting.py) |Conducted multiple rounds of audio and video dialogues with Qwen2.5-Omni to provide the most comprehensive ability demonstration.|
45
-
46
-
<!-- OOM:
45
+
|[Multi Round Omni Chatting](multi_round_omni_chatting.py)|Conducted multiple rounds of audio and video dialogues with Qwen2.5-Omni to provide the most comprehensive ability demonstration.|
47
46
|[Screen Recording Interaction](screen_recording_interaction.py)| Get the information and content you want to know by asking questions in real time on the recording screen. |
48
47
|[Omni Chatting for Music](omni_chatting_for_music.py)| Chat with Qwen2.5-Omni about music content in a audio and video stream.|
49
48
|[Omni Chatting for Math](omni_chatting_for_math.py)|Chat with Qwen2.5-Omni about math content in a audio and video stream.|
50
-
|-->
49
+
|
51
50
52
51
### Single Media inference
53
52
@@ -142,12 +141,12 @@ conversation = [
142
141
"content": [
143
142
{
144
143
"type": "video",
145
-
"video": "/path/to/video.mp4"
146
-
"max_pixels": 360*420,
147
-
},
148
-
{"type": "text", "text": "What cant you hear and see in this video?"},
149
-
],
150
-
},
144
+
"video": "/path/to/video.mp4",
145
+
"max_pixels": 360*420,
146
+
},
147
+
{"type": "text", "text": "What cant you hear and see in this video?"},
@@ -358,22 +356,71 @@ model = Qwen2_5OmniForConditionalGeneration.from_pretrained(
358
356
)
359
357
```
360
358
359
+
### Finetuning
360
+
361
+
There are example scripts `finetune_lora_with_mindspore_trainer.py` and `finetune_lora_in_native_mindspore.py` for finetuning the model for OCR task with LoRA.
0 commit comments