diff --git a/README.md b/README.md index d4095e6..9711e08 100644 --- a/README.md +++ b/README.md @@ -90,7 +90,6 @@ - [MiniCPM-o 2.6](#minicpm-o-26) - [MiniCPM-V 2.6](#minicpm-v-26) - [Chat with Our Demo on Gradio 🤗](#chat-with-our-demo-on-gradio-) -- [Install](#install) - [Inference](#inference) - [Model Zoo](#model-zoo) - [Multi-turn Conversation](#multi-turn-conversation) @@ -1831,29 +1830,6 @@ pnpm install # install requirements 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 @@ -1870,6 +1846,12 @@ pip install -r requirements.txt ### 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.
diff --git a/README_zh.md b/README_zh.md index ecc35fe..a1692d1 100644 --- a/README_zh.md +++ b/README_zh.md @@ -77,7 +77,6 @@ - [MiniCPM-o 2.6](#minicpm-o-26) - [MiniCPM-V 2.6](#minicpm-v-26) - [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 +```