Commit Graph

448 Commits

Author SHA1 Message Date
yiranyyu
088622f7be Update README format 2025-01-14 15:49:27 +08:00
yiranyyu
07afc8e39a Update README format 2025-01-14 15:48:19 +08:00
yiranyyu
53c0174797 Update to MiniCPM-o 2.6 2025-01-14 15:33:44 +08:00
qianyu chen
b75a362dd6 Merge pull request #708 from BUAADreamer/main
[Feature] Support video sft and fix some training bugs
2025-01-14 15:16:08 +08:00
fzc8578
4a087a8aec tiny fix 2025-01-11 13:58:19 +08:00
fzc8578
c5e82b1bc7 support video sft and auto save and load all files 2025-01-11 13:50:36 +08:00
Tianyu Yu
8464c94a7b Update dataset.py
Fix typo in a parameter name.
2024-10-22 16:08:52 +08:00
阿丹(adan)
2ab9fa7913 Update wechat.md 2024-10-18 17:37:01 +08:00
阿丹(adan)
96c9e25287 Add files via upload 2024-10-18 17:36:26 +08:00
Hongji Zhu
8ff6cc0ed0 update readme demo url 2024-10-16 16:36:50 +08:00
Cui Junbo
a209258d85 Merge pull request #484 from JamePeng/main
Update streamlit implementation for MiniCPM-V 2.6
2024-09-14 01:36:37 +08:00
LDLINGLINGLING
7bcca75e29 Update wechat.md 2024-09-12 13:58:54 +08:00
LDLINGLINGLING
fd938af276 Update wechat.md 2024-09-12 13:58:24 +08:00
LDLINGLINGLING
7ec8b3eca4 跟新微信入口 2024-09-12 13:57:47 +08:00
LDLINGLINGLING
0cda63b309 Update wechat.md 2024-09-12 13:53:48 +08:00
LDLINGLINGLING
f48f790d69 Add files via upload 2024-09-12 13:53:25 +08:00
Cui Junbo
c541f1044e Merge pull request #543 from lihytotoro/main
Modify eval_mm for MiniCPM-V 2.6
2024-09-01 00:51:28 +08:00
LDLINGLINGLING
e56f2373f2 Update wechat.md 2024-08-31 16:18:24 +08:00
LDLINGLINGLING
38c5495e1e Update wechat.md 2024-08-31 16:17:49 +08:00
LDLINGLINGLING
fa25b3f20f 跟新微信入口 2024-08-31 16:16:55 +08:00
Haoyu Li
59224808a1 Modify eval_mm for MiniCPM-V 2.6 2024-08-30 18:18:22 +00:00
JamePeng
b109c67478 fixed missing import 2024-08-27 20:52:52 +08:00
JamePeng
344ddc2cb1 Optimize video frame sampling logic
- Replaced manual index calculation with `np.linspace` for improved efficiency and readability.
- Reduced computation overhead by utilizing NumPy's vectorized operations for generating evenly spaced frame indices.
2024-08-27 04:40:48 +08:00
JamePeng
3745c3316a Update web_demo_streamlit-minicpmv2_6.py 2024-08-27 04:20:48 +08:00
JamePeng
dc5f809253 Update web_demo_streamlit-minicpmv2_6.py
1. Avoid using 'None' string when `user_text` is empty.
2. Added `st.spinner` to display a loading message during AI content generation.
2024-08-27 04:03:35 +08:00
JamePeng
48ed792ab8 Merge branch 'OpenBMB:main' into main 2024-08-27 03:39:30 +08:00
yiranyyu
ab1141ee45 update readme 2024-08-25 18:08:59 +08:00
yiranyyu
421c6d7838 update readme 2024-08-25 18:06:15 +08:00
yiranyyu
512d5a8bb0 update readme 2024-08-25 17:11:43 +08:00
LDLINGLINGLING
1c31c6aa78 Update wechat.md 2024-08-22 13:44:10 +08:00
LDLINGLINGLING
93aad9f29f Add files via upload 2024-08-22 13:43:45 +08:00
yiranyyu
c19087cd13 update readme 2024-08-21 11:02:58 +08:00
yiranyyu
0fadd70c9e Merge branch 'main' of https://github.com/OpenBMB/MiniCPM-V 2024-08-19 22:35:57 +08:00
yiranyyu
4b13c46dbb update readme 2024-08-19 22:35:54 +08:00
JamePeng
c9f5cd4b00 Update streamlit implementation for MiniCPM-V 2.6
Compared with the streamlit implementation of 2.5, this code implementation can better play the new multi-modal capabilities of 2.6:
1. The application supports the upload and processing of text, single image, multiple images and videos, and can process different types of input according to the mode selected by the user.

2. Video frame extraction and encoding: In video mode, frames are extracted from the uploaded video through the decord library and uniformly sampled so that the model can process and generate responses. More detailed and clear variables and annotations. Convenient for learning and use

3. File upload and processing: Support users to upload pictures and videos, and perform corresponding processing according to different modes, such as displaying pictures in single picture mode, displaying multiple pictures in multi-picture mode, and processing video frames in video mode. You can switch back and forth between different media.

4. Tip: You can use the command `streamlit run ./web_demo_streamlit-minicpmv2_6.py --server.maxUploadSize 1024` 
to adjust the maximum upload size to 1024MB or larger files. The default 200MB limit of Streamlit's file_uploader component might be insufficient for video-based interactions. Adjust the size based on your GPU memory usage.
2024-08-19 00:45:33 +08:00
JamePeng
259d54ed0a Update web_demo_streamlit-2_5.py
Fixed a bug where imagefile was not initialized when no image was passed in
2024-08-18 23:53:07 +08:00
LDLINGLINGLING
0e4ec319cf Update wechat.md 2024-08-16 16:16:35 +08:00
LDLINGLINGLING
b01d8e4adb 增加了微信群26的入口图片 2024-08-16 16:16:03 +08:00
LDLINGLINGLING
970cea7d60 增加了25群的入口图片 2024-08-16 16:14:35 +08:00
yiranyyu
338892394f update readme 2024-08-15 12:08:47 +08:00
yiranyyu
5553046db7 update readme 2024-08-15 12:06:40 +08:00
yiranyyu
30b2446b0f update readme 2024-08-15 12:05:31 +08:00
qianyu chen
cd64150b51 update finetuen for multi images sft (#462) 2024-08-15 11:24:50 +08:00
tc-mb
825abf10e2 Update README_zh.md 2024-08-15 11:04:58 +08:00
tc-mb
ee458ad848 Update README.md 2024-08-15 10:59:28 +08:00
yiranyyu
352df454a4 update readme 2024-08-14 16:17:51 +08:00
yiranyyu
c198fbf0f1 update readme 2024-08-14 16:17:03 +08:00
yiranyyu
002773de9a update readme 2024-08-14 16:16:11 +08:00
yiranyyu
b4a19cb2f1 update readme 2024-08-14 16:15:32 +08:00
LDLINGLINGLING
61e942ec7c Update wechat.md 2024-08-13 09:32:13 +08:00