-
Notifications
You must be signed in to change notification settings - Fork 38
基于MindSpore NLP实现protein folding应用案例开发 #34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
autism-ip
wants to merge
10
commits into
mindspore-lab:dev
Choose a base branch
from
autism-ip:feature/protein-folding
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Changes to be committed: new file: READEME.md new file: protein_folding.ipynb
Author
|
文件名已按规范修改 |
Author
|
重复文件已删除 |
Contributor
|
Contributor
|
@moyu026 辛苦再验收下代码运行 |
Changes to be committed: modified: EsmForProteinFolding/inference_EsmForProteinFolding_prediction.ipynb
|
MindSpore 2.7.0 与 MindNLP 0.5.1版本可以运行 |
Changes to be committed: deleted: EsmForProteinFolding/READEME.md deleted: EsmForProteinFolding/inference_EsmForProteinFolding_prediction.ipynb
Changes to be committed: new file: esmforproteinfolding/inference_esmforproteinfolding_prediction.ipynb
Changes to be committed: modified: README.md
Author
|
已按要求修改 |
Changes to be committed: modified: inference_esmforproteinfolding_prediction.ipynb
Author
|
环境准备部分格式已修改 |
xing-yiren
reviewed
Jan 7, 2026
| "\n", | ||
| "# 设置运行环境(默认 Ascend 环境)\n", | ||
| "# 推荐使用 PYNATIVE_MODE 便于动态形状;如需极致性能可切换 GRAPH_MODE+AMP\n", | ||
| "ms.set_context(mode=ms.PYNATIVE_MODE, device_target=\"Ascend\")\n", |
Contributor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
默认情况下走的就是动态图,所以理论上这里不用显式地指定了
Contributor
|
其他的没有了,辛苦把最后一点小细节修改下,赞 |
Changes to be committed: modified: inference_esmforproteinfolding_prediction.ipynb
Author
|
修改好了,显式指定部分的代码我已经注释,实际使用也可以根据需要取消注释 |
xing-yiren
approved these changes
Jan 7, 2026
Contributor
|
okie我这边没问题了,辛苦 @wang-hua-2019 也把把关 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR 描述正文范文
1. 关联 Issue
Fixes #1801
2. 修改描述
本PR基于 [Hugging Face Protein Folding 教程](https://github.com/huggingface/notebooks/blob/main/examples/protein_folding.ipynb) MindSpore 2.7.0 和 MindSpore NLP 0.5.1 框架,完成了蛋白质折叠(Protein Folding)领域的应用案例开发。
主要工作内容包括:
.ipynb格式的案例文件,内部文本描述均为中文。mindspore-courses/applications合入规范。3. 开发环境 (Environment)
本次开发与测试在 Atlas 800I A2 / Atlas 800T A2 推理服务器上完成。
4. 目录结构变更
5. 效果展示
成功预测了目标序列的三维结构,生成的 PDB 文件符合预期。
6. 自检清单
.ipynb格式,且文本描述为中文。biopython,py3Dmol等)已在 Notebook 安装步骤中注明。