Commit Graph

227 Commits

Author SHA1 Message Date
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
yiranyyu
f9581e211d update readme 2024-05-24 15:33:46 +08:00
yiranyyu
20293d584c update readme 2024-05-24 15:14:56 +08:00
yiranyyu
b40284ee21 update readme 2024-05-24 14:53:32 +08:00
yiranyyu
c7efccee2a update readme 2024-05-24 14:22:30 +08:00
yiranyyu
4e76fdb3bc update readme 2024-05-24 14:01:48 +08:00
yiranyyu
9b8bcf7310 update readme 2024-05-24 13:08:18 +08:00
yiranyyu
7369d5e003 update 2024-05-24 11:58:41 +08:00
yiranyyu
c0c5581f22 update readme 2024-05-24 11:57:33 +08:00
Hongji Zhu
4b94ad6d14 Update README_zh.md support llama.cpp 2024-05-23 22:29:05 +08:00
Hongji Zhu
62c684a5ad Update README_en.md support llama.cpp 2024-05-23 22:27:08 +08:00
Hongji Zhu
1eb6b8958b Update README.md support llama.cpp 2024-05-23 22:23:26 +08:00
yiranyyu
24e235f0aa update readme 2024-05-23 20:10:29 +08:00
yiranyyu
c6b764fcfe update readme 2024-05-23 20:09:04 +08:00
cuiunbo
f9bdbe510b add issue tem 2024-05-23 19:52:56 +08:00
cuiunbo
9cc8cfe6d7 update figure 2024-05-23 19:45:21 +08:00
Hongji Zhu
43e7097649 update name 2024-05-23 19:30:48 +08:00
yiranyyu
6dde8b97ea update readme 2024-05-23 19:20:40 +08:00
yiranyyu
980a1e37e2 update readme 2024-05-23 19:18:39 +08:00
yiranyyu
a36f0b01d6 update readme 2024-05-23 19:11:44 +08:00
yiranyyu
c1caf6c3a6 update readmeg 2024-05-23 19:11:15 +08:00
yiranyyu
1a0b2a01c2 update readme 2024-05-23 19:09:51 +08:00
yiranyyu
371b0f0ddd Merge branch 'main' of https://github.com/OpenBMB/MiniCPM-V
t push
2024-05-23 19:08:03 +08:00