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.
任务
任务编号:IC6YQU
任务链接:【开源实习】技术公开课内容测试任务
实现内容:
一、测试了代码在文件创建时期的mindnlp+mindspore发行版本后可以跑通,即在mindspore=2.4.0下可以正确训练和推理,并达到和原始得分相近的效果。(参见transformer-ms24.ipynb)
测试得分:
原始得分:
从中可得,测试得分为46.92,原始得分为44.92,两者得分接近,精度达标;并且相比原始得分有所提高,效果更优。
二、测试了代码在MindSpore2.6.0以及MindSpore NLP套件0.4.0版本下同样可以正确训练和推理,并达到和原始得分相近的效果。(参见transformer-ms26.ipynb)
在mindspore2.6.0中,模型得分为46.19,和原始得分44.92接近,精度达标,且略有提升。