Skip to content

Commit

Permalink
fix qwen2.5-coder image
Browse files Browse the repository at this point in the history
  • Loading branch information
KMnO4-zx committed Nov 19, 2024
1 parent 56106fc commit 2efb7f2
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ pip install modelscope==1.20.0
```

> 考虑到部分同学配置环境可能会遇到一些问题,我们在AutoDL平台准备了Qwen2.5的环境镜像,点击下方链接并直接创建Autodl示例即可。
> ***https://www.codewithgpu.com/i/datawhalechina/self-llm/Qwen2.5-Coder-fastapi-self-llm***
> ***https://www.codewithgpu.com/i/datawhalechina/self-llm/qwen2.5-coder***

## 模型下载
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ pip install langchain==0.3.7
pip install accelerate==1.1.1
```

> 考虑到部分同学配置环境可能会遇到一些问题,我们在AutoDL平台准备了Qwen2.5的环境镜像,点击下方链接并直接创建Autodl示例即可。
> ***https://www.codewithgpu.com/i/datawhalechina/self-llm/qwen2.5-coder***

## 模型下载
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ pip install transformers==4.46.2
pip install accelerate==0.26.0
```

> 考虑到部分同学配置环境可能会遇到一些问题,我们在 AutoDL 平台准备了 Qwen2.5-Coder 的环境镜像,点击下方链接并直接创建 Autodl 示例即可。
> ***https://www.codewithgpu.com/i/datawhalechina/self-llm/Qwen2.5-self-llm***
> 考虑到部分同学配置环境可能会遇到一些问题,我们在AutoDL平台准备了Qwen2.5的环境镜像,点击下方链接并直接创建Autodl示例即可。
> ***https://www.codewithgpu.com/i/datawhalechina/self-llm/qwen2.5-coder***

## 模型下载
使用 `modelscope` 中的 `snapshot_download` 函数下载模型,第一个参数为模型名称,参数 `cache_dir` 为模型的下载路径。
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ pip install vllm==0.6.3.post1
pip install accelerate==0.26.0
```

> 考虑到部分同学配置环境可能会遇到一些问题,我们在AutoDL平台准备了 `Qwen2.5-Coder` 的环境镜像,点击下方链接并直接创建 `AutoDL` 示例即可
> ***https://www.codewithgpu.com/i/datawhalechina/self-llm/Qwen2.5-self-llm***
> 考虑到部分同学配置环境可能会遇到一些问题,我们在AutoDL平台准备了Qwen2.5的环境镜像,点击下方链接并直接创建Autodl示例即可
> ***https://www.codewithgpu.com/i/datawhalechina/self-llm/qwen2.5-coder***

## 模型下载
Expand Down
6 changes: 3 additions & 3 deletions models/Qwen2.5-Coder/Qwen2.5-Coder-7B-Instruct Lora 微调.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ pip install sentencepiece==0.2.0
pip install accelerate==1.1.1
pip install datasets==3.1.0
pip install peft==0.13.2

```

> 考虑到部分同学配置环境可能会遇到一些问题,我们在AutoDL平台准备了Qwen2.5-Coder-7B-Instruct的环境镜像。点击下方链接并直接创建Autodl示例即可。
> ***https://www.codewithgpu.com/i/datawhalechina/self-llm/Qwen2.5-Coder-7B-Instruct***
> 考虑到部分同学配置环境可能会遇到一些问题,我们在AutoDL平台准备了Qwen2.5的环境镜像,点击下方链接并直接创建Autodl示例即可。
> ***https://www.codewithgpu.com/i/datawhalechina/self-llm/qwen2.5-coder***

在本节教程里,我们将微调数据集放置在根目录 [/dataset](../dataset/huanhuan.json)

Expand Down
1 change: 0 additions & 1 deletion models/Qwen2.5-Coder/readme.md

This file was deleted.

0 comments on commit 2efb7f2

Please sign in to comment.