diff --git a/data/dataset_info.json b/data/dataset_info.json index b00456d2a7..8a1b4356e4 100644 --- a/data/dataset_info.json +++ b/data/dataset_info.json @@ -38,6 +38,35 @@ "assistant_tag": "assistant" } }, + "video_demo": { + "file_name": "video_demo.json", + "formatting": "sharegpt", + "columns": { + "messages": "messages", + "videos": "videos" + }, + "tags": { + "role_tag": "role", + "content_tag": "content", + "user_tag": "user", + "assistant_tag": "assistant" + } + }, + "visual_mix_demo": { + "file_name": "visual_mix_demo.json", + "formatting": "sharegpt", + "columns": { + "messages": "messages", + "videos": "videos", + "images": "images" + }, + "tags": { + "role_tag": "role", + "content_tag": "content", + "user_tag": "user", + "assistant_tag": "assistant" + } + }, "alpaca_en": { "hf_hub_url": "llamafactory/alpaca_en", "ms_hub_url": "llamafactory/alpaca_en" diff --git a/data/mllm_demo_data/1.mp4 b/data/mllm_demo_data/1.mp4 new file mode 100644 index 0000000000..8afbc6c561 Binary files /dev/null and b/data/mllm_demo_data/1.mp4 differ diff --git a/data/mllm_demo_data/2.avi b/data/mllm_demo_data/2.avi new file mode 100644 index 0000000000..bdb736c256 Binary files /dev/null and b/data/mllm_demo_data/2.avi differ diff --git a/data/mllm_demo_data/3.mp4 b/data/mllm_demo_data/3.mp4 new file mode 100644 index 0000000000..17cc120e9f Binary files /dev/null and b/data/mllm_demo_data/3.mp4 differ diff --git a/data/video_demo.json b/data/video_demo.json new file mode 100644 index 0000000000..1912edb88b --- /dev/null +++ b/data/video_demo.json @@ -0,0 +1,47 @@ +[ + { + "messages": [ + { + "content": "Why is this video funny?", + "role": "user" + }, + { + "content": "Because a baby is reading, and he is so cute!", + "role": "assistant" + } + ], + "videos": [ + "mllm_demo_data/1.mp4" + ] + }, + { + "messages": [ + { + "content": "What is she doing?", + "role": "user" + }, + { + "content": "She is cooking", + "role": "assistant" + } + ], + "videos": [ + "mllm_demo_data/2.avi" + ] + }, + { + "messages": [ + { + "content": "What's in the video?", + "role": "user" + }, + { + "content": "A baby is playing in the living room", + "role": "assistant" + } + ], + "videos": [ + "mllm_demo_data/3.mp4" + ] + } +] \ No newline at end of file diff --git a/data/visual_mix_demo.json b/data/visual_mix_demo.json new file mode 100644 index 0000000000..cfb6d31457 --- /dev/null +++ b/data/visual_mix_demo.json @@ -0,0 +1,56 @@ +[ + { + "messages": [ + { + "content": "