Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions finetune/finetune_minicpmv46.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,11 @@ MAX_JOBS=32 NVCC_THREADS=4 pip install --no-build-isolation flash-attn==2.8.3
git clone https://github.com/modelscope/ms-swift.git
cd ms-swift
pip install -e .
pip install transformers==5.7.0
```

Note: MiniCPM-V 4.6 is officially supported by `transformers>=5.7.0`. Please make sure the final version of `transformers` in your environment is larger or equal to `5.7.0`.

- **Reference dependency versions**

```text
Expand Down Expand Up @@ -211,8 +214,11 @@ git clone https://github.com/hiyouga/LlamaFactory.git
cd LlamaFactory
pip install -e .
pip install -r requirements/metrics.txt -r requirements/deepspeed.txt
pip install transformers==5.7.0
```

Note: MiniCPM-V 4.6 is officially supported by `transformers>=5.7.0`. Please make sure the final version of `transformers` in your environment is larger or equal to `5.7.0`.

- **Reference dependency versions**

```text
Expand Down
6 changes: 6 additions & 0 deletions finetune/finetune_minicpmv46_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,11 @@ MAX_JOBS=32 NVCC_THREADS=4 pip install --no-build-isolation flash-attn==2.8.3
git clone https://github.com/modelscope/ms-swift.git
cd ms-swift
pip install -e .
pip install transformers==5.7.0
```

注意:MiniCPM-V 4.6 在 `transformers>=5.7.0` 版本被官方支持。请保证最后安装的 `transformers` 版本为 5.7.0 及以上。

- **依赖版本参考**

```text
Expand Down Expand Up @@ -209,8 +212,11 @@ git clone https://github.com/hiyouga/LlamaFactory.git
cd LlamaFactory
pip install -e .
pip install -r requirements/metrics.txt -r requirements/deepspeed.txt
pip install transformers==5.7.0
```

注意:MiniCPM-V 4.6 在 `transformers>=5.7.0` 版本被官方支持。请保证最后安装的 `transformers` 版本为 5.7.0 及以上。

- **依赖版本参考**

```text
Expand Down
3 changes: 3 additions & 0 deletions finetune/llamafactory_minicpmv46.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,11 @@ git clone https://github.com/hiyouga/LlamaFactory.git
cd LlamaFactory
pip install -e .
pip install -r requirements/metrics.txt -r requirements/deepspeed.txt
pip install transformers==5.7.0
```

Note: MiniCPM-V 4.6 is officially supported by `transformers>=5.7.0`. Please make sure the final version of `transformers` in your environment is larger or equal to `5.7.0`.

**Reference dependency versions**

```text
Expand Down
3 changes: 3 additions & 0 deletions finetune/llamafactory_minicpmv46_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,11 @@ git clone https://github.com/hiyouga/LlamaFactory.git
cd LlamaFactory
pip install -e .
pip install -r requirements/metrics.txt -r requirements/deepspeed.txt
pip install transformers==5.7.0
```

注意:MiniCPM-V 4.6 在 `transformers>=5.7.0` 版本被官方支持。请保证最后安装的 `transformers` 版本为 5.7.0 及以上。

**依赖版本参考**

```text
Expand Down
3 changes: 3 additions & 0 deletions finetune/swift_minicpmv46.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,11 @@ MAX_JOBS=32 NVCC_THREADS=4 pip install --no-build-isolation flash-attn==2.8.3
git clone https://github.com/modelscope/ms-swift.git
cd ms-swift
pip install -e .
pip install transformers==5.7.0
```

Note: MiniCPM-V 4.6 is officially supported by `transformers>=5.7.0`. Please make sure the final version of `transformers` in your environment is larger or equal to `5.7.0`.

**Reference dependency versions**

```text
Expand Down
3 changes: 3 additions & 0 deletions finetune/swift_minicpmv46_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,11 @@ MAX_JOBS=32 NVCC_THREADS=4 pip install --no-build-isolation flash-attn==2.8.3
git clone https://github.com/modelscope/ms-swift.git
cd ms-swift
pip install -e .
pip install transformers==5.7.0
```

注意:MiniCPM-V 4.6 在 `transformers>=5.7.0` 版本被官方支持。请保证最后安装的 `transformers` 版本为 5.7.0 及以上。

**依赖版本参考**

```text
Expand Down