modify links

This commit is contained in:
huan
2025-07-23 17:35:59 +08:00
parent c2af833494
commit 83a307e139
16 changed files with 75 additions and 77 deletions

View File

@@ -1,9 +1,9 @@
# FAQ 目录
## 1. [模型相关FAQ](https://www.mindspore.cn/mindformers/docs/zh-CN/dev/faq/model_related.html)
## 1. [模型相关FAQ](https://www.mindspore.cn/mindformers/docs/zh-CN/master/faq/model_related.html)
## 2. [功能相关FAQ](https://www.mindspore.cn/mindformers/docs/zh-CN/dev/faq/feature_related.html)
## 2. [功能相关FAQ](https://www.mindspore.cn/mindformers/docs/zh-CN/master/faq/feature_related.html)
## 3. [MindSpore Transformers贡献指南](https://www.mindspore.cn/mindformers/docs/zh-CN/dev/contribution/mindformers_contribution.html)
## 3. [MindSpore Transformers贡献指南](https://www.mindspore.cn/mindformers/docs/zh-CN/master/contribution/mindformers_contribution.html)
## 4. [魔乐社区贡献指南](https://www.mindspore.cn/mindformers/docs/zh-CN/dev/contribution/modelers_contribution.html)
## 4. [魔乐社区贡献指南](https://www.mindspore.cn/mindformers/docs/zh-CN/master/contribution/modelers_contribution.html)

View File

@@ -64,7 +64,7 @@ Call和长文本推理支持最大 128K 上下文)等高级功能。 本
### 安装环境
MindSpore Transformers 软硬件配套关系以及安装参考[环境安装指南](https://www.mindspore.cn/mindformers/docs/zh-CN/dev/installation.html#%E5%AE%89%E8%A3%85%E4%BE%9D%E8%B5%96%E8%BD%AF%E4%BB%B6)和[版本匹配关系](https://www.mindspore.cn/mindformers/docs/zh-CN/dev/installation.html#%E7%A1%AE%E8%AE%A4%E7%89%88%E6%9C%AC%E5%8C%B9%E9%85%8D%E5%85%B3%E7%B3%BB)。
MindSpore Transformers 软硬件配套关系以及安装参考[环境安装指南](https://www.mindspore.cn/mindformers/docs/zh-CN/master/installation.html#%E5%AE%89%E8%A3%85%E4%BE%9D%E8%B5%96%E8%BD%AF%E4%BB%B6)和[版本匹配关系](https://www.mindspore.cn/mindformers/docs/zh-CN/master/installation.html#%E7%A1%AE%E8%AE%A4%E7%89%88%E6%9C%AC%E5%8C%B9%E9%85%8D%E5%85%B3%E7%B3%BB)。
### 数据及权重准备
@@ -138,7 +138,7 @@ MindSpore TransFormers 提供已经转换完成的预训练权重、词表文件
mlp_concat: False
```
2. 执行 mindforers 根目录下的 `convert_weight.py` [转换脚本](https://gitee.com/mindspore/mindformers/blob/dev/convert_weight.py),将 HuggingFace 的权重转换为完整的 MindSpore ckpt 权重。
2. 执行 mindforers 根目录下的 `convert_weight.py` [转换脚本](https://gitee.com/mindspore/mindformers/blob/master/convert_weight.py),将 HuggingFace 的权重转换为完整的 MindSpore ckpt 权重。
```shell
python convert_weight.py --model glm4 --input_path HF_CKPT_PATH --output_path MS_NOT_CONCAT_CKPT_PATH --dtype DTYPE --config YAML_PATH

View File

@@ -57,7 +57,7 @@ mindformers在源码构建安装过程中会产生临时目录和程序文件
| 开发引入 | - | mindformers/mindformers/tools/hub/hub.py | https://hub-ci.openmind.cn | staging_mode下用于从openmind下载模型 |
| 开发引入 | - | mindformers/mindformers/tools/hub/hub.py | https://openmind.cn | 非staging_mode下用于从openmind下载模型 |
| 开发引入 | - | mindformers/setup.py | https://gitee.com/mindspore/mindformers | setup脚本方式安装mindformers地址 |
| 开发引入 | - | mindformers/trainer/training_args.py | https://www.mindspore.cn/mindformers/docs/zh-CN/dev/feature/ckpt.html#%E6%9D%83%E9%87%8D%E5%88%87%E5%88%86%E4%B8%8E%E5%90%88%E5%B9%B6 | mindformers权重切分与合并特性文档 |
| 开发引入 | - | mindformers/trainer/training_args.py | https://www.mindspore.cn/mindformers/docs/zh-CN/master/feature/ckpt.html#%E6%9D%83%E9%87%8D%E5%88%87%E5%88%86%E4%B8%8E%E5%90%88%E5%B9%B6 | mindformers权重切分与合并特性文档 |
| 开发引入 | - | mindformers/run_check.py | https://www.hiascend.com/document/detail/zh/canncommercial/ | CANN官方使用文档 |
| 开发引入 | - | mindformers/run_check.py | https://www.mindspore.cn/install/ | mindspore官方安装文档 |
| 开发引入 | - | run_mindformer.py | https://gitee.com/mindspore/mindformers#%E4%BB%8B%E7%BB%8D | mindformers介绍 |
@@ -66,7 +66,7 @@ mindformers在源码构建安装过程中会产生临时目录和程序文件
### 公开接口声明
mindformers对外暴露接口可参考[api](https://gitee.com/mindspore/mindformers/tree/dev/docs/api) 具体接口规格可参考对应API文档查询。
mindformers对外暴露接口可参考[api](https://gitee.com/mindspore/mindformers/tree/master/docs/api) 具体接口规格可参考对应API文档查询。
### 通信矩阵