Commit Graph

249 Commits

Author SHA1 Message Date
yiranyyu
9add466cdd Merge branch 'main' of https://github.com/OpenBMB/MiniCPM-V 2024-05-30 00:00:41 +08:00
yiranyyu
73e9f65d3f update readme 2024-05-30 00:00:29 +08:00
qianyu chen
e75512cb9a Update model_minicpmv.py for latest compatibility (#174) 2024-05-29 16:03:59 +08:00
Hongji Zhu
e88df8f04d Fix multiple rounds of conversations in web_demo 2024-05-29 11:37:23 +08:00
Hongji Zhu
573844b146 Update readme 2024-05-29 10:44:54 +08:00
yiranyyu
1fb7d94f63 update readme 2024-05-28 18:56:37 +08:00
yiranyyu
137d4454e0 update readme 2024-05-28 18:47:20 +08:00
yiranyyu
f7de7e797e update readme 2024-05-28 18:45:57 +08:00
yiranyyu
974565202f update readme 2024-05-28 18:45:49 +08:00
yiranyyu
ed713a7986 update readme 2024-05-28 17:23:31 +08:00
yiranyyu
dc516e8da4 update readme 2024-05-28 17:21:42 +08:00
yiranyyu
6fad023ea7 update readme 2024-05-28 17:20:24 +08:00
yiranyyu
1eb9ba3c24 Merge branch 'main' of https://github.com/OpenBMB/MiniCPM-V
t push
2024-05-28 17:15:07 +08:00
yiranyyu
70c6f2526d update readme 2024-05-28 17:15:04 +08:00
YuzaChongyi
ae0f1e63ee Update finetune_lora.sh 2024-05-28 17:12:24 +08:00
YuzaChongyi
e1aa52f714 Update finetune_ds.sh 2024-05-28 17:11:48 +08:00
yiranyyu
e62beb985f Merge branch 'main' of https://github.com/OpenBMB/MiniCPM-V
t push
2024-05-28 15:02:16 +08:00
yiranyyu
faf3ba957f update readme 2024-05-28 15:02:12 +08:00
qianyu chen
5fdf2e0fd6 update finetuning code (#165) 2024-05-28 14:19:49 +08:00
yiranyyu
8af86a14ea update readme 2024-05-28 13:47:25 +08:00
Cui Junbo
068ef695f0 update news 2024-05-28 12:42:23 +08:00
Tianyu Yu
2697a318a4 Update README_en.md 2024-05-28 12:34:21 +08:00
Tianyu Yu
16790eab56 Update README_zh.md 2024-05-28 12:34:06 +08:00
Tianyu Yu
bc0cc25948 Update README.md 2024-05-28 12:33:46 +08:00
JamePeng
b89f8354f9 Implement chatbot functionality using Streamlit (#61)
* Implement chatbot functionality using Streamlit

This commit adds the implementation of a chatbot using Streamlit, a Python library for building interactive web applications. The chatbot allows users to interact with an AI assistant, asking questions and receiving responses in real-time. 

Features include:
- Integration with the MiniCPM-V-2.0 model for generating responses.
- User-friendly interface with text input for questions and options for uploading images.
- Sidebar settings for adjusting parameters such as max_length, top_p, and temperature.
- Ability to clear chat history to start a new conversation.

The chat history and session state are managed using Streamlit's session_state functionality, ensuring a seamless user experience across interactions.

This implementation provides a simple and intuitive way for users to engage with the chatbot, making it accessible for various use cases.

* update MiniCPM-Llama3-V-2_5 streamlit demo

* Update web_demo_streamlit-2_5.py

This update, based on the May 25, 2024 version of modeling_minicpmv.py, includes the following enhancements:

1. Introduction of repetition_penalty and top_k parameters to the st.sidebar, enabling users to adjust these model parameters dynamically.
2. Default support for stream=True in the model.chat method to facilitate real-time streaming responses.
2024-05-28 12:22:21 +08:00
Cui Junbo
4457c6af38 update readme 2024-05-28 12:19:54 +08:00
Cui Junbo
d58dcde81c Merge pull request #156 from lihytotoro/main
Add evaluation and inference
2024-05-28 12:10:34 +08:00
qianyu chen
f592fedb2e Model Fine-tuning Memory Usage Statistics (#160) 2024-05-28 11:41:27 +08:00
trainfanlhy
65f5567a3a Add eval_mm dir 2024-05-28 01:21:34 +08:00
qianyu chen
7e12387362 Update LoRA finetuning code (#154)
* update lora tuning

* updata lora fine-tuning code

* update finetuning lora code

* lora code

* lora finetuning code

* updating lora finetuning code

* update lora finetuning code

* Update Lora finetuning code

* Update LoRA finetuning code

* Update LoRA finetuning code
2024-05-27 19:02:59 +08:00
yiranyyu
2b572c9221 update readme 2024-05-27 11:17:05 +08:00
Tianyu Yu
d9504ce142 Update README.md 2024-05-26 21:41:14 +08:00
Tianyu Yu
95cbc5eba0 Update README.md 2024-05-26 21:31:30 +08:00
Tianyu Yu
013e073da5 Update README.md 2024-05-26 19:38:41 +08:00
yiranyyu
421372a0f0 update readme 2024-05-26 13:56:56 +08:00
yiranyyu
7387fabc75 update readme 2024-05-25 20:54:38 +08:00
yiranyyu
35346046e7 update readme 2024-05-25 18:44:28 +08:00
yiranyyu
fe7829c55c update readme 2024-05-25 18:37:00 +08:00
Tianyu Yu
36ade15517 Update README.md 2024-05-25 18:31:06 +08:00
yiranyyu
8382ecb64e update readme 2024-05-25 15:25:22 +08:00
yiranyyu
6fb784ca69 update readme 2024-05-25 15:07:25 +08:00
yiranyyu
e1ca4391a7 update readme 2024-05-25 15:01:01 +08:00
yiranyyu
c43bfd8140 update readme 2024-05-25 12:46:33 +08:00
yiranyyu
8b4f5dba86 update readme 2024-05-25 12:19:16 +08:00
yiranyyu
fd0b3875e6 update readme 2024-05-25 11:50:06 +08:00
yiranyyu
cdac9359f0 update readme 2024-05-25 11:44:33 +08:00
yiranyyu
8ae337efdc update readme 2024-05-25 10:58:40 +08:00
zhangao
0f3556f874 Update README.md 2024-05-24 21:50:46 +08:00
yiranyyu
f2380d41fd update readme 2024-05-24 18:50:17 +08:00
yiranyyu
0c157b504a update readme 2024-05-24 15:43:47 +08:00