mirror of
https://github.com/OpenBMB/MiniCPM-V.git
synced 2026-02-05 18:29:18 +08:00
remove unused doc (#729)
This commit is contained in:
30
README.md
30
README.md
@@ -90,7 +90,6 @@
|
|||||||
- [MiniCPM-o 2.6](#minicpm-o-26)
|
- [MiniCPM-o 2.6](#minicpm-o-26)
|
||||||
- [MiniCPM-V 2.6](#minicpm-v-26)
|
- [MiniCPM-V 2.6](#minicpm-v-26)
|
||||||
- [Chat with Our Demo on Gradio 🤗](#chat-with-our-demo-on-gradio-)
|
- [Chat with Our Demo on Gradio 🤗](#chat-with-our-demo-on-gradio-)
|
||||||
- [Install](#install)
|
|
||||||
- [Inference](#inference)
|
- [Inference](#inference)
|
||||||
- [Model Zoo](#model-zoo)
|
- [Model Zoo](#model-zoo)
|
||||||
- [Multi-turn Conversation](#multi-turn-conversation)
|
- [Multi-turn Conversation](#multi-turn-conversation)
|
||||||
@@ -1831,29 +1830,6 @@ pnpm install # install requirements
|
|||||||
pnpm run dev # start server
|
pnpm run dev # start server
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Install
|
|
||||||
|
|
||||||
1. Clone this repository and navigate to the source folder
|
|
||||||
|
|
||||||
```bash
|
|
||||||
git clone https://github.com/OpenBMB/MiniCPM-o.git
|
|
||||||
cd MiniCPM-o
|
|
||||||
```
|
|
||||||
|
|
||||||
2. Create conda environment
|
|
||||||
|
|
||||||
```Shell
|
|
||||||
conda create -n MiniCPM-o python=3.10 -y
|
|
||||||
conda activate MiniCPM-o
|
|
||||||
```
|
|
||||||
|
|
||||||
3. Install dependencies
|
|
||||||
|
|
||||||
```shell
|
|
||||||
pip install -r requirements.txt
|
|
||||||
```
|
|
||||||
|
|
||||||
## Inference
|
## Inference
|
||||||
|
|
||||||
|
|
||||||
@@ -1870,6 +1846,12 @@ pip install -r requirements.txt
|
|||||||
|
|
||||||
### Multi-turn Conversation
|
### Multi-turn Conversation
|
||||||
|
|
||||||
|
Please ensure that `transformers==4.44.2` is installed, as other versions may have compatibility issues.
|
||||||
|
|
||||||
|
```shell
|
||||||
|
pip install -r requirements_o2.6.txt
|
||||||
|
```
|
||||||
|
|
||||||
Please refer to the following codes to run.
|
Please refer to the following codes to run.
|
||||||
|
|
||||||
<div align="center">
|
<div align="center">
|
||||||
|
|||||||
28
README_zh.md
28
README_zh.md
@@ -77,7 +77,6 @@
|
|||||||
- [MiniCPM-o 2.6](#minicpm-o-26)
|
- [MiniCPM-o 2.6](#minicpm-o-26)
|
||||||
- [MiniCPM-V 2.6](#minicpm-v-26)
|
- [MiniCPM-V 2.6](#minicpm-v-26)
|
||||||
- [Gradio Demo 🤗](#gradio-demo-)
|
- [Gradio Demo 🤗](#gradio-demo-)
|
||||||
- [安装](#安装)
|
|
||||||
- [推理](#推理)
|
- [推理](#推理)
|
||||||
- [模型库](#模型库)
|
- [模型库](#模型库)
|
||||||
- [多轮对话](#多轮对话)
|
- [多轮对话](#多轮对话)
|
||||||
@@ -1817,29 +1816,6 @@ pnpm run dev # start server
|
|||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## 安装
|
|
||||||
|
|
||||||
1. 克隆我们的仓库并跳转到相应目录
|
|
||||||
|
|
||||||
```bash
|
|
||||||
git clone https://github.com/OpenBMB/MiniCPM-o.git
|
|
||||||
cd MiniCPM-o
|
|
||||||
```
|
|
||||||
|
|
||||||
1. 创建 conda 环境
|
|
||||||
|
|
||||||
```Shell
|
|
||||||
conda create -n MiniCPMo python=3.10 -y
|
|
||||||
conda activate MiniCPMo
|
|
||||||
```
|
|
||||||
|
|
||||||
3. 安装依赖
|
|
||||||
|
|
||||||
```shell
|
|
||||||
pip install -r requirements_o2.6.txt
|
|
||||||
```
|
|
||||||
|
|
||||||
## 推理
|
## 推理
|
||||||
|
|
||||||
### 模型库
|
### 模型库
|
||||||
@@ -1857,7 +1833,11 @@ pip install -r requirements_o2.6.txt
|
|||||||
|
|
||||||
|
|
||||||
### 多轮对话
|
### 多轮对话
|
||||||
|
请确保 `transformers==4.44.2`,其他版本目前可能会有兼容性问题
|
||||||
|
|
||||||
|
```shell
|
||||||
|
pip install -r requirements_o2.6.txt
|
||||||
|
```
|
||||||
|
|
||||||
<div align="center">
|
<div align="center">
|
||||||
<img src="assets/minicpmo2_6/show_demo.jpg" width="500px">
|
<img src="assets/minicpmo2_6/show_demo.jpg" width="500px">
|
||||||
|
|||||||
Reference in New Issue
Block a user