Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
taoht da321db845 | 2 years ago | |
---|---|---|
datasets | 2 years ago | |
src | 2 years ago | |
LICENSE | 2 years ago | |
README.md | 2 years ago | |
ma-pre-start.sh | 2 years ago | |
train.py | 2 years ago |
基于“鹏城云脑Ⅱ”ModelsArts,C78+MIndSpore1.3版本运行的盘古Alpha代码版本
1、下载代码到本地,并上传到账户Obs目录
git clone https://git.openi.org.cn/taoht/PanGu-Alpha_PCL-cloudbrain2.git -b r1.3
2、修改环境配置文件 ma-pre-start.sh 中WORK_DIR:{任务运行目录名}
WORK_DIR=PanGu-Alpha_PCL-cloudbrain2
3、测试用数据集已准备好,云脑2提交训练任务,配置参考如下:
AI引擎: Ascend-Powered-Engine MindSpore-1.3.0-c78-python3.7-euleros2.8-aarch64
启动文件:/path_to_code/train.py
数据存储位置:随便选一个目录(代码中已有测试数据集)
运行参数:在./src/utils.py中配置修改
不修改默认运行参数:
run_type: train
mode: 2.6B
save_checkpoint: False
其中注意:默认WORK_DIR:{PanGu-Alpha_PCL-cloudbrain2}
data_url: f'/home/work/user-job-dir/WORK_DIR/datasets/'
不修改默认配置即可跑通,任务启动到开始训练过程中图编译需约30min左右,请耐心等待...
基于“鹏城云脑Ⅱ”ModelsArts,C78+MIndSpore1.3版本运行的盘古Alpha代码版本
Python Shell
Apache-2.0
Dear OpenI User
Thank you for your continuous support to the Openl Qizhi Community AI Collaboration Platform. In order to protect your usage rights and ensure network security, we updated the Openl Qizhi Community AI Collaboration Platform Usage Agreement in January 2024. The updated agreement specifies that users are prohibited from using intranet penetration tools. After you click "Agree and continue", you can continue to use our services. Thank you for your cooperation and understanding.
For more agreement content, please refer to the《Openl Qizhi Community AI Collaboration Platform Usage Agreement》